dekugrid

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

commit
1c3f4a75f08fbf9049a1986d75b32b0dcfee7aca
parent
c2aa484d4a14f8ca5d7a4e0284247d69386f8acf
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2014-01-16 09:19
dont show comments in output

Diffstat

M decogrid.scss 8 ++++----

1 files changed, 4 insertions, 4 deletions


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

@@ -2,7 +2,7 @@
    2     2  * For the original, see <http://limi.net/deco.gs>
    3     3  */
    4     4 
    5    -1 /* Modify these to your needs. */
   -1     5 // Modify these to your needs.
    6     6 $cols: 12;
    7     7 $margin: 2.08333%;
    8     8 
@@ -18,13 +18,13 @@ $margin: 2.08333%;
   18    18   left: 100%;
   19    19 }
   20    20 
   21    -1 /* Width mixin. */
   -1    21 // Width mixin.
   22    22 @mixin width($n) {
   23    23   width: $n * (100% + $margin) / $cols - $margin;
   24    24 }
   25    25 
   26    -1 /* Positioning mixin, this is subtracting from a rightmost
   27    -1    position, which is why it seem the wrong way around */
   -1    26 // Positioning mixin, this is subtracting from a rightmost
   -1    27 // position, which is why it seem the wrong way around
   28    28 @mixin position($n) {
   29    29   margin-left: -100% + $n * (100% + $margin) / $cols;
   30    30 }