Difference between revisions of "Template:FrontPageModule"

From CSE330 Wiki
Jump to: navigation, search
m
m (Fixing CSS to avoid column breaks in Firefox)
 
Line 1: Line 1:
<div style="background-color:#A7DCEB; padding:5px; border: 2px solid #333; border-radius: 10px; 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); 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 />

Latest revision as of 19:45, 9 March 2013

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

Articles: {{{links}}}

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