/* ------------------------------------------------- * * Ezy Grid by Frej Raahede Nielsen * http://github.com/raahede/ezy * ------------------------------------------------- * */ /* ------------------------------------------------- * * 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; } /* --- End clearfix --- */ .page { margin-left: auto; margin-right: auto; } .page { max-width: 70em; padding-left: 0; padding-right: 0; 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%; float: left; /* Fixing double margin on IE6 */ _display: inline; margin-left: 1.385%; margin-right: 1.385%; }