vendor/assets/stylesheets/purecss/grids.css in purecss-0.3.0 vs vendor/assets/stylesheets/purecss/grids.css in purecss-0.4.2

- old
+ new

@@ -1,8 +1,8 @@ /*! -Pure v0.3.1-pre -Copyright 2013 Yahoo! Inc. All rights reserved. +Pure v0.5.0-pre +Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. https://github.com/yui/pure/blob/master/LICENSE.md */ /*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/ @@ -71,19 +71,21 @@ .pure-g [class *= "pure-u"] { font-family: sans-serif; } .pure-u-1, +.pure-u-1-1, .pure-u-1-2, .pure-u-1-3, .pure-u-2-3, .pure-u-1-4, .pure-u-3-4, .pure-u-1-5, .pure-u-2-5, .pure-u-3-5, .pure-u-4-5, +.pure-u-5-5, .pure-u-1-6, .pure-u-5-6, .pure-u-1-8, .pure-u-3-8, .pure-u-5-8, @@ -91,262 +93,193 @@ .pure-u-1-12, .pure-u-5-12, .pure-u-7-12, .pure-u-11-12, .pure-u-1-24, +.pure-u-2-24, +.pure-u-3-24, +.pure-u-4-24, .pure-u-5-24, +.pure-u-6-24, .pure-u-7-24, +.pure-u-8-24, +.pure-u-9-24, +.pure-u-10-24, .pure-u-11-24, +.pure-u-12-24, .pure-u-13-24, +.pure-u-14-24, +.pure-u-15-24, +.pure-u-16-24, .pure-u-17-24, +.pure-u-18-24, .pure-u-19-24, -.pure-u-23-24 { +.pure-u-20-24, +.pure-u-21-24, +.pure-u-22-24, +.pure-u-23-24, +.pure-u-24-24 { display: inline-block; - *display: inline; /* IE < 8: fake inline-block */ + *display: inline; zoom: 1; letter-spacing: normal; word-spacing: normal; vertical-align: top; text-rendering: auto; } -.pure-u-1 { - width: 100%; +.pure-u-1-24 { + width: 4.1667%; + *width: 4.1357%; } -.pure-u-1-2 { - width: 50%; - *width: 49.969%; +.pure-u-1-12, +.pure-u-2-24 { + width: 8.3333%; + *width: 8.3023%; } -.pure-u-1-3 { - width: 33.3333%; - *width: 33.3023%; +.pure-u-1-8, +.pure-u-3-24 { + width: 12.5000%; + *width: 12.4690%; } -.pure-u-2-3 { - width: 66.6667%; - *width: 66.6357%; +.pure-u-1-6, +.pure-u-4-24 { + width: 16.6667%; + *width: 16.6357%; } -.pure-u-1-4 { - width: 25%; - *width: 24.969%; -} - -.pure-u-3-4 { - width: 75%; - *width: 74.969%; -} - .pure-u-1-5 { width: 20%; - *width: 19.969%; + *width: 19.9690%; } -.pure-u-2-5 { - width: 40%; - *width: 39.969%; +.pure-u-5-24 { + width: 20.8333%; + *width: 20.8023%; } -.pure-u-3-5 { - width: 60%; - *width: 59.969%; +.pure-u-1-4, +.pure-u-6-24 { + width: 25%; + *width: 24.9690%; } -.pure-u-4-5 { - width: 80%; - *width: 79.969%; +.pure-u-7-24 { + width: 29.1667%; + *width: 29.1357%; } -.pure-u-1-6 { - width: 16.6667%; - *width: 16.6357%; +.pure-u-1-3, +.pure-u-8-24 { + width: 33.3333%; + *width: 33.3023%; } -.pure-u-5-6 { - width: 83.3333%; - *width: 83.3023%; +.pure-u-3-8, +.pure-u-9-24 { + width: 37.5000%; + *width: 37.4690%; } -.pure-u-1-8 { - width: 12.5%; - *width: 12.469%; +.pure-u-2-5 { + width: 40%; + *width: 39.9690%; } -.pure-u-3-8 { - width: 37.5%; - *width: 37.469%; +.pure-u-5-12, +.pure-u-10-24 { + width: 41.6667%; + *width: 41.6357%; } -.pure-u-5-8 { - width: 62.5%; - *width: 62.469%; +.pure-u-11-24 { + width: 45.8333%; + *width: 45.8023%; } -.pure-u-7-8 { - width: 87.5%; - *width: 87.469%; +.pure-u-1-2, +.pure-u-12-24 { + width: 50%; + *width: 49.9690%; } -.pure-u-1-12 { - width: 8.3333%; - *width: 8.3023%; +.pure-u-13-24 { + width: 54.1667%; + *width: 54.1357%; } -.pure-u-5-12 { - width: 41.6667%; - *width: 41.6357%; -} - -.pure-u-7-12 { +.pure-u-7-12, +.pure-u-14-24 { width: 58.3333%; *width: 58.3023%; } -.pure-u-11-12 { - width: 91.6667%; - *width: 91.6357%; +.pure-u-3-5 { + width: 60%; + *width: 59.9690%; } -.pure-u-1-24 { - width: 4.1667%; - *width: 4.1357%; +.pure-u-5-8, +.pure-u-15-24 { + width: 62.5000%; + *width: 62.4690%; } -.pure-u-5-24 { - width: 20.8333%; - *width: 20.8023%; +.pure-u-2-3, +.pure-u-16-24 { + width: 66.6667%; + *width: 66.6357%; } -.pure-u-7-24 { - width: 29.1667%; - *width: 29.1357%; -} - -.pure-u-11-24 { - width: 45.8333%; - *width: 45.8023%; -} - -.pure-u-13-24 { - width: 54.1667%; - *width: 54.1357%; -} - .pure-u-17-24 { width: 70.8333%; *width: 70.8023%; } +.pure-u-3-4, +.pure-u-18-24 { + width: 75%; + *width: 74.9690%; +} + .pure-u-19-24 { width: 79.1667%; *width: 79.1357%; } -.pure-u-23-24 { - width: 95.8333%; - *width: 95.8023%; +.pure-u-4-5 { + width: 80%; + *width: 79.9690%; } -/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/ - -.pure-g-r { - letter-spacing: -0.31em; - *letter-spacing: normal; - *word-spacing: -0.43em; - - /* - Sets the font stack to fonts known to work properly with the above letter - and word spacings. See: https://github.com/yui/pure/issues/41/ - - The following font stack makes Pure Grids work on all known environments. - - * FreeSans: Ships with many Linux distros, including Ubuntu - - * Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and - Arial to get picked up by the browser, even though neither is available - in Chrome OS. - - * Droid Sans: Ships with all versions of Android. - - * Helvetica, Arial, sans-serif: Common font stack on OS X and Windows. - */ - font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif; - - /* - Use flexbox when possible to avoid `letter-spacing` side-effects. - - NOTE: Firefox (as of 25) does not currently support flex-wrap, so the - `-moz-` prefix version is omitted. - */ - - display: -webkit-flex; - -webkit-flex-flow: row wrap; - - /* IE10 uses display: flexbox */ - display: -ms-flexbox; - -ms-flex-flow: row wrap; +.pure-u-5-6, +.pure-u-20-24 { + width: 83.3333%; + *width: 83.3023%; } -/* Opera as of 12 on Windows needs word-spacing. - The ".opera-only" selector is used to prevent actual prefocus styling - and is not required in markup. -*/ -.opera-only :-o-prefocus, -.pure-g-r { - word-spacing: -0.43em; +.pure-u-7-8, +.pure-u-21-24 { + width: 87.5000%; + *width: 87.4690%; } -/* -Resets the font family back to the OS/browser's default sans-serif font, -this the same font stack that Normalize.css sets for the `body`. -*/ -.pure-g-r [class *= "pure-u"] { - font-family: sans-serif; +.pure-u-11-12, +.pure-u-22-24 { + width: 91.6667%; + *width: 91.6357%; } -.pure-g-r img { - max-width: 100%; - height: auto; +.pure-u-23-24 { + width: 95.8333%; + *width: 95.8023%; } -@media (min-width: 980px) { - .pure-visible-phone { - display: none; - } - .pure-visible-tablet { - display: none; - } - .pure-hidden-desktop { - display: none; - } -} - -@media (max-width: 480px) { - .pure-g-r > .pure-u, - .pure-g-r > [class *= "pure-u-"] { - width: 100%; - } -} - -@media (max-width: 767px) { - .pure-g-r > .pure-u, - .pure-g-r > [class *= "pure-u-"] { - width: 100%; - } - .pure-hidden-phone { - display: none; - } - .pure-visible-desktop { - display: none; - } -} - -@media (min-width: 768px) and (max-width: 979px) { - .pure-hidden-tablet { - display: none; - } - .pure-visible-desktop { - display: none; - } -} +.pure-u-1, +.pure-u-1-1, +.pure-u-5-5, +.pure-u-24-24 { + width: 100%; +} \ No newline at end of file