Sha256: 931f88278ab8f2afea8346648f1409b42743b7e17f3a8300bcb25f43f5c0da99
Contents?: true
Size: 945 Bytes
Versions: 46
Compression:
Stored size: 945 Bytes
Contents
$margin-xs: $global-margin * .5; $margin-s: $global-margin * 1; $margin-sm: $global-margin * 2; $margin-m: $global-margin * 3; $margin-l: $global-margin * 5; //Sections .section{ margin-bottom: $margin-sm; word-wrap: break-word; @include breakpoint(large){ margin-bottom: $margin-m; } } .m-bottom{ margin-bottom: $margin-s; } // helpers $size: ( none: 0, xs: $margin-xs, s: $margin-s, sm: $margin-sm, m: $margin-m, l: $margin-l, ) !default; $property: ( p: padding, m: margin, ) !default; $side: ( t: top, r: right, b: bottom, l: left, ) !default; @mixin make-spaces(){ @each $p-key, $prop in $property{ @each $v-key, $value in $size{ .#{$p-key}-#{$v-key}{ #{$prop}: #{$value} !important; } @each $s-key, $side in $side{ .#{$p-key}#{$s-key}-#{$v-key}{ #{$prop}-#{$side}: #{$value} !important; } } } } } @include make-spaces();
Version data entries
46 entries across 46 versions & 1 rubygems