Difference between revisions of "Template:FrontPageModule"

From CSE330 Wiki
Jump to navigationJump to search
m (Fixing CSS to avoid column breaks in Firefox)
 
(7 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 />
Line 9: Line 9:
 
</div>
 
</div>
  
<div style="font-size: 1.3em;">
+
<div style="font-size: 1.5em; text-align:center;">
<strong>[[Module {{{num}}}|Module {{num}} Assignment]]</strong>
+
<strong>« [[Module {{{num}}}|Module {{{num}}} Assignment]] »</strong>
 
</div>
 
</div>
  
 
</div>
 
</div>

Latest revision as of 01:45, 10 March 2013

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

Articles: {{{links}}}

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