grid.css in Sassy 7.3
/* Arfully Masterminded by ZURB */
/* --------------------------------------------------
:: Grid
This is the mobile-friendly, responsive grid that
lets Foundation work much of its magic.
-------------------------------------------------- */
.container { padding: 0px 20px; }
.row { width: 100%; max-width: 980px; min-width: 727px; margin: 0 auto; }
/* To fix the grid into a certain size, set max-width to width */
.row .row { min-width: 0px; }
.column, .columns { margin-left: 4.4%; float: left; min-height: 1px; position: relative; }
.column:first-child, .columns:first-child { margin-left: 0px; }
.row .one.columns { width: 4.3%; }
.row .two.columns { width: 13%; }
.row .three.columns { width: 21.68%; }
.row .four.columns { width: 30.4%; }
.row .five.columns { width: 39.1%; }
.row .six.columns { width: 47.8%; }
.row .seven.columns { width: 56.5%; }
.row .eight.columns { width: 65.2%; }
.row .nine.columns { width: 73.9%; }
.row .ten.columns { width: 82.6%; }
.row .eleven.columns { width: 91.3%; }
.row .twelve.columns { width: 100%; }
.row .offset-by-one { margin-left: 13.1%; }
.row .offset-by-two { margin-left: 21.8%; }
.row .offset-by-three { margin-left: 30.5%; }
.row .offset-by-four { margin-left: 39.2%; }
.row .offset-by-five { margin-left: 47.9%; }
.row .offset-by-six { margin-left: 56.6%; }
.row .offset-by-seven { margin-left: 65.3%; }
.row .offset-by-eight { margin-left: 74.0%; }
.row .offset-by-nine { margin-left: 82.7%; }
.row .offset-by-ten { margin-left: 91.4%; }
/*.row .offset-by-eleven { margin-left: 95.7%; }*/
.row .one.centered { margin-left: 47.9%; }
.row .two.centered { margin-left: 43.5%; }
.row .three.centered { margin-left: 39.2%; }
.row .four.centered { margin-left: 34.8%; }
.row .five.centered { margin-left: 30.5%; }
.row .six.centered { margin-left: 26.1%; }
.row .seven.centered { margin-left: 21.8%; }
.row .eight.centered { margin-left: 17.4%; }
.row .nine.centered { margin-left: 13.1%; }
.row .ten.centered { margin-left: 8.7%; }
.row .eleven.centered { margin-left: 4.3%; }
.row .offset-by-one:first-child { margin-left: 8.7%; }
.row .offset-by-two:first-child { margin-left: 17.4%; }
.row .offset-by-three:first-child { margin-left: 26.1%; }
.row .offset-by-four:first-child { margin-left: 34.8%; }
.row .offset-by-five:first-child { margin-left: 43.5%; }
.row .offset-by-six:first-child { margin-left: 52.2%; }
.row .offset-by-seven:first-child { margin-left: 60.9%; }
.row .offset-by-eight:first-child { margin-left: 69.6%; }
.row .offset-by-nine:first-child { margin-left: 78.3%; }
.row .offset-by-ten:first-child { margin-left: 87%; }
.row .offset-by-eleven:first-child { margin-left: 95.7%; }
img, object, embed { max-width: 100%; height: auto; }
img { -ms-interpolation-mode: bicubic; }
/* Nicolas Gallagher's micro clearfix */
.row:before, .row:after, .clearfix:before, .clearfix:after { content:""; display:table; }
.row:after, .clearfix:after { clear: both; }
.row, .clearfix { zoom: 1; }
/* --------------------------------------------------
:: Block grids
These are 2-up, 3-up, 4-up and 5-up ULs, suited
for repeating blocks of content. Add 'mobile' to
them to switch them just like the layout grid
(one item per line) on phones
-------------------------------------------------- */
.block-grid { display: block; overflow: hidden; }
.block-grid>li { display: block; height: auto; float: left; }
.block-grid.two-up { margin-left: -4% }
.block-grid.two-up>li { margin-left: 4%; width: 46%; }
.block-grid.three-up { margin-left: -2% }
.block-grid.three-up>li { margin-left: 2%; width: 31.3%; }
.block-grid.four-up { margin-left: -2% }
.block-grid.four-up>li { margin-left: 2%; width: 23%; }
.block-grid.five-up { margin-left: -1.5% }
.block-grid.five-up>li { margin-left: 1.5%; width: 18.5%; }
File
sassy_foundation/foundation/stylesheets/grid.css
View source
- /* Arfully Masterminded by ZURB */
-
- /* --------------------------------------------------
- :: Grid
-
- This is the mobile-friendly, responsive grid that
- lets Foundation work much of its magic.
-
- -------------------------------------------------- */
-
- .container { padding: 0px 20px; }
-
- .row { width: 100%; max-width: 980px; min-width: 727px; margin: 0 auto; }
- /* To fix the grid into a certain size, set max-width to width */
- .row .row { min-width: 0px; }
-
- .column, .columns { margin-left: 4.4%; float: left; min-height: 1px; position: relative; }
- .column:first-child, .columns:first-child { margin-left: 0px; }
-
- .row .one.columns { width: 4.3%; }
- .row .two.columns { width: 13%; }
- .row .three.columns { width: 21.68%; }
- .row .four.columns { width: 30.4%; }
- .row .five.columns { width: 39.1%; }
- .row .six.columns { width: 47.8%; }
- .row .seven.columns { width: 56.5%; }
- .row .eight.columns { width: 65.2%; }
- .row .nine.columns { width: 73.9%; }
- .row .ten.columns { width: 82.6%; }
- .row .eleven.columns { width: 91.3%; }
- .row .twelve.columns { width: 100%; }
-
- .row .offset-by-one { margin-left: 13.1%; }
- .row .offset-by-two { margin-left: 21.8%; }
- .row .offset-by-three { margin-left: 30.5%; }
- .row .offset-by-four { margin-left: 39.2%; }
- .row .offset-by-five { margin-left: 47.9%; }
- .row .offset-by-six { margin-left: 56.6%; }
- .row .offset-by-seven { margin-left: 65.3%; }
- .row .offset-by-eight { margin-left: 74.0%; }
- .row .offset-by-nine { margin-left: 82.7%; }
- .row .offset-by-ten { margin-left: 91.4%; }
- /*.row .offset-by-eleven { margin-left: 95.7%; }*/
-
- .row .one.centered { margin-left: 47.9%; }
- .row .two.centered { margin-left: 43.5%; }
- .row .three.centered { margin-left: 39.2%; }
- .row .four.centered { margin-left: 34.8%; }
- .row .five.centered { margin-left: 30.5%; }
- .row .six.centered { margin-left: 26.1%; }
- .row .seven.centered { margin-left: 21.8%; }
- .row .eight.centered { margin-left: 17.4%; }
- .row .nine.centered { margin-left: 13.1%; }
- .row .ten.centered { margin-left: 8.7%; }
- .row .eleven.centered { margin-left: 4.3%; }
-
- .row .offset-by-one:first-child { margin-left: 8.7%; }
- .row .offset-by-two:first-child { margin-left: 17.4%; }
- .row .offset-by-three:first-child { margin-left: 26.1%; }
- .row .offset-by-four:first-child { margin-left: 34.8%; }
- .row .offset-by-five:first-child { margin-left: 43.5%; }
- .row .offset-by-six:first-child { margin-left: 52.2%; }
- .row .offset-by-seven:first-child { margin-left: 60.9%; }
- .row .offset-by-eight:first-child { margin-left: 69.6%; }
- .row .offset-by-nine:first-child { margin-left: 78.3%; }
- .row .offset-by-ten:first-child { margin-left: 87%; }
- .row .offset-by-eleven:first-child { margin-left: 95.7%; }
-
- img, object, embed { max-width: 100%; height: auto; }
- img { -ms-interpolation-mode: bicubic; }
-
- /* Nicolas Gallagher's micro clearfix */
- .row:before, .row:after, .clearfix:before, .clearfix:after { content:""; display:table; }
- .row:after, .clearfix:after { clear: both; }
- .row, .clearfix { zoom: 1; }
-
-
-
-
- /* --------------------------------------------------
- :: Block grids
-
- These are 2-up, 3-up, 4-up and 5-up ULs, suited
- for repeating blocks of content. Add 'mobile' to
- them to switch them just like the layout grid
- (one item per line) on phones
- -------------------------------------------------- */
-
- .block-grid { display: block; overflow: hidden; }
- .block-grid>li { display: block; height: auto; float: left; }
-
- .block-grid.two-up { margin-left: -4% }
- .block-grid.two-up>li { margin-left: 4%; width: 46%; }
-
- .block-grid.three-up { margin-left: -2% }
- .block-grid.three-up>li { margin-left: 2%; width: 31.3%; }
-
- .block-grid.four-up { margin-left: -2% }
- .block-grid.four-up>li { margin-left: 2%; width: 23%; }
-
- .block-grid.five-up { margin-left: -1.5% }
- .block-grid.five-up>li { margin-left: 1.5%; width: 18.5%; }
-