Sha256: 326e0b31485f4bcc69e43a446cb46f993eefefc08816a6ca7e29044c687f4930
Contents?: true
Size: 1.8 KB
Versions: 1
Compression:
Stored size: 1.8 KB
Contents
/* ------------------------------------------------- * * 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; } .column { /* Grid column base at a 4-column context */ margin-left: 4.165%; margin-right: 4.165%; float: left; /* Fixing double margin on IE6 */ _display: inline; } .page { max-width: 1050px; padding-left: 0; padding-right: 0; } .grid { margin-left: -4.545%; margin-right: -4.545%; } @media (min-width: 361px) { .grid { margin-left: -2.17%; margin-right: -2.17%; } } @media (min-width: 721px) { .grid { margin-left: -1.425%; margin-right: -1.425%; } } .no-media-queries .grid { /* Fallback for browsers not supporting media queries */ margin-left: -1.425%; margin-right: -1.425%; } .column { /* Spanning 4 of 4 columns */ width: 91.66%; } @media (min-width: 361px) { .column { /* Spanning 4 of 8 columns */ width: 45.83%; margin-left: 2.08%; margin-right: 2.08%; } } @media (min-width: 721px) { .column { /* Spanning 4 of 12 columns */ width: 30.55%; margin-left: 1.385%; margin-right: 1.385%; } } .no-media-queries .column { /* Fallback for browsers not supporting media queries */ /* Spanning 4 of 12 columns */ width: 30.55%; margin-left: 1.385%; margin-right: 1.385%; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ezy-0.2.6.alpha | test/css/grid/responsive.css |