Skip to content
Browse files

Left put declarations like padd-vert-small...derp

  • Loading branch information...
1 parent 79ee979 commit f5578460b6fd36e72be582b2ac893aef6c55feee chrisbuttery committed Jul 26, 2012
Showing with 24 additions and 0 deletions.
  1. +24 −0 stylesheets/stitch/patterns/layout/_spacing.scss
View
24 stylesheets/stitch/patterns/layout/_spacing.scss
@@ -38,6 +38,30 @@
margin: (-($base * $i));
}
+ .pad-vert-#{nth(unquote($list), $i)} {
+ padding: ($base * $i) 0;
+ }
+
+ .pad-horz-#{nth(unquote($list), $i)} {
+ padding: 0 ($base * $i);
+ }
+
+ .inset-vert-#{nth(unquote($list), $i)} {
+ margin: ($base * $i) 0;
+ }
+
+ .inset-horz-#{nth(unquote($list), $i)} {
+ margin: 0 ($base * $i);
+ }
+
+ .offset-vert-#{nth(unquote($list), $i)} {
+ margin: (-($base * $i)) 0;
+ }
+
+ .offset-horz-#{nth(unquote($list), $i)} {
+ margin: 0 (-($base * $i));
+ }
+
@for $j from 1 through length($list) {
@if ($i != $j) {

0 comments on commit f557846

Please sign in to comment.
Something went wrong with that request. Please try again.