/* -------------------------------------------------------------------- * * Micro Clearfix * http://nicolasgallagher.com/micro-clearfix-hack/ */ .page:before, .grid:before, .page:after, .grid:after { content: " "; display: table; } .page:after, .grid:after { clear: both; } .page, .grid { /** * For IE 6/7 only * Include this rule to trigger hasLayout and contain floats. */ *zoom: 1; } /* -------------------------------------------------------------------- */ .page { margin-left: auto; margin-right: auto; } .page { max-width: 70em; font-size: 14px; } @media (min-width: 20.1em) { .page { font-size: 16px; } } @media (min-width: 30em) { .page { font-size: 18px; } } .no-media-queries .page { /* Fallback for browsers not supporting media queries */ font-size: 18px; } .grid { margin-left: -1.425%; margin-right: -1.425%; } .column { /* Spanning 4 of 12 columns */ width: 30.55%; margin-left: 1.38%; margin-right: 1.38%; }