Permalink
Browse files

Remove test files (leave them in gh-pages). Change add-property to in…

…terpolation.
  • Loading branch information...
raineorshine committed May 1, 2012
1 parent 77b6052 commit 98f0831d43eb4e275135b01a31b4bfe069f0b799
Showing with 6 additions and 54 deletions.
  1. +0 −48 spacedout-test.styl
  2. +6 −6 spacedout.styl
View
@@ -1,48 +0,0 @@
-/*********************************************
- S P A C E D O U T
- A css micro-framework for evenly spacing elements
- *********************************************/
-
-default-space = 20px
-
-space-out(space, margin-side)
- & > *
- add-property(margin- + margin-side, space)
- &:last-child
- add-property(margin- + margin-side, 0)
-
-space-h(space = default-space)
- space-out(space, right)
-
-space-v(space = default-space)
- space-out(space, bottom)
-
-space-list(space = default-space)
- space-h(space)
- list-style none
- margin 0
- padding 0
- &> li
- display inline-block
-
-
-/*********************************************
- * TEST
- *********************************************/
-
-.space-h
- space-h()
-.space-h5
- space-h(5px)
-.space-h10
- space-h(10px)
-
-.space-v
- space-v()
-.space-v5
- space-v(5px)
-.space-v10
- space-v(10px)
-
-.space-list
- space-list()
View
@@ -3,21 +3,21 @@
A css micro-framework for evenly spacing elements
*********************************************/
-default-space = 20px
+defaultspace = 20px
space-out(space, margin-side)
& > *
- add-property(margin- + margin-side, space)
+ margin-{margin-side} space
&:last-child
- add-property(margin- + margin-side, 0)
+ margin-{margin-side} 0
-space-h(space = default-space)
+space-h(space = defaultspace)
space-out(space, right)
-space-v(space = default-space)
+space-v(space = defaultspace)
space-out(space, bottom)
-space-list(space = default-space)
+space-list(space = defaultspace)
space-h(space)
list-style none
margin 0

0 comments on commit 98f0831

Please sign in to comment.