Difference between revisions of "Template:FrontPageModule"

From CSE330 Wiki
Jump to navigationJump to search
m
m (Fixing CSS to avoid column breaks in Firefox)
 
(One intermediate revision by the same user not shown)
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; 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 01:45, 10 March 2013

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

Articles: {{{links}}}

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