dekugrid

multiple implementations of the Deco Grid System  http://limi.net/deco.gs
git clone https://git.ce9e.org/dekugrid.git

commit
7bad407254cf214a978cd8544b1c7b81d0f164bd
parent
1c3f4a75f08fbf9049a1986d75b32b0dcfee7aca
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2014-01-16 09:19
generate classes

Diffstat

M decogrid.scss 9 +++++++++

1 files changed, 9 insertions, 0 deletions


diff --git a/decogrid.scss b/decogrid.scss

@@ -28,3 +28,12 @@ $margin: 2.08333%;
   28    28 @mixin position($n) {
   29    29   margin-left: -100% + $n * (100% + $margin) / $cols;
   30    30 }
   -1    31 
   -1    32 // create classes
   -1    33 .row {@include row}
   -1    34 .cell {@include cell}
   -1    35 
   -1    36 @for $n from 1 through $cols {
   -1    37   .width-#{$n} {@include width($n)}
   -1    38   .position-#{$n - 1} {@include position($n - 1)}
   -1    39 }