Difference between revisions of "Template:FrontPageModule"

From CSE330 Wiki
Jump to navigationJump to search
m (Fixing CSS to avoid column breaks in Firefox)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="background-color:#85B3F2; padding:5px; border: 2px solid #333; border-radius: 10px; break-inside: avoid-column; -webkit-column-break-inside: avoid; margin-bottom: 10px;">
+
<div style="background-color:#A7DCEB; padding:5px; border: 2px solid #333; border-radius: 10px; margin-bottom: 10px; /* The following styles prevent the module boxes from breaking across columns: */ break-inside: avoid-column; column-break-inside: avoid; -webkit-column-break-inside: avoid; display: inline-block; width: calc(100% - 10px); width: -webkit-calc(100% - 10px);">
  
 
<h2 style="text-align:center; border:none;"><strong>Module {{{num}}}</strong><br />
 
<h2 style="text-align:center; border:none;"><strong>Module {{{num}}}</strong><br />
 
<em>{{{subject}}}</em></h2>
 
<em>{{{subject}}}</em></h2>
  
<p style="font-size: 1.3em;">
+
<div style="font-size: 1.3em;">
 
<strong>Articles:</strong>
 
<strong>Articles:</strong>
 
{{{links}}}
 
{{{links}}}
</p>
+
</div>
  
<p style="font-size: 1.3em;">
+
<div style="font-size: 1.5em; text-align:center;">
<strong>Assignment:</strong>
+
<strong>« [[Module {{{num}}}|Module {{{num}}} Assignment]] »</strong>
[[Module {{{num}}}]]
+
</div>
</p>
 
  
 
</div>
 
</div>

Latest revision as of 01:45, 10 March 2013

Module {{{num}}}
{{{subject}}}

Articles: {{{links}}}

« [[Module {{{num}}}|Module {{{num}}} Assignment]] »