Difference between revisions of "Template:FrontPageModule"

From CSE330 Wiki
Jump to navigationJump to search
(Created page with '<div style="background-color:#85B3F2; padding:5px; border: 2px solid #333; border-radius: 10px; break-inside: avoid-column; -webkit-column-break-inside: avoid;"> <h2 style="text…')
 
m (Fixing CSS to avoid column breaks in Firefox)
 
(11 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;">
+
<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.2em;">
+
<div style="font-size: 1.3em;">
 +
<strong>Articles:</strong>
 
{{{links}}}
 
{{{links}}}
</p>
+
</div>
 +
 
 +
<div style="font-size: 1.5em; text-align:center;">
 +
<strong>« [[Module {{{num}}}|Module {{{num}}} Assignment]] »</strong>
 +
</div>
  
 
</div>
 
</div>

Latest revision as of 01:45, 10 March 2013

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

Articles: {{{links}}}

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