diff --git a/README.md b/README.md index 65b48b51..02da41a6 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ figure column(1/2 1/3) ``` -You can `offset` columns and perform source ordering with `shift`. +You can `offset` columns and perform source ordering with `move`. ```html
@@ -93,7 +93,7 @@ You can `offset` columns and perform source ordering with `shift`. figure column(1/3) &:first-child - offset(1/3) // or shift(1/3) + offset(1/3) // or move(1/3) ``` Easily vertically or horizontally center children elements with the `align()` mixin. @@ -172,7 +172,7 @@ Set a color to be lightened for your editable areas. ##### `offset(ratios = false)` - `ratios` (a positive or negative fractional margin to the left or right respectively) -##### `shift(ratios = false)` +##### `move(ratios = false)` - `ratios` (a positive or negative fraction to adjust the `left` property of a relatively positioned element) ##### `cycle(item = -1)` diff --git a/bower.json b/bower.json index eee5810a..4de921a4 100644 --- a/bower.json +++ b/bower.json @@ -4,7 +4,7 @@ "lost.scss", "lost.styl" ], - "version": "0.0.3", + "version": "0.0.4", "homepage": "https://github.com/corysimmons/lost", "authors": [ "Cory Simmons " diff --git a/lost.scss b/lost.scss index 8eeb3923..649ca71e 100644 --- a/lost.scss +++ b/lost.scss @@ -1,4 +1,4 @@ -// Lost Grid v0.0.3 - https://github.com/corysimmons/lost +// Lost Grid v0.0.4 - https://github.com/corysimmons/lost $gutter: 30px !default; $breakpoint: 1000px !default; @@ -189,7 +189,7 @@ $rtl: false !default; } -@mixin shift($ratios: false, $gut: $gutter) { +@mixin move($ratios: false, $gut: $gutter) { position: relative; @if ($old) { diff --git a/lost.styl b/lost.styl index 7cf4340a..36721206 100644 --- a/lost.styl +++ b/lost.styl @@ -1,4 +1,4 @@ -// Lost Grid v0.0.3 - https://github.com/corysimmons/lost +// Lost Grid v0.0.4 - https://github.com/corysimmons/lost gutter = 30px breakpoint = 1000px @@ -121,7 +121,7 @@ offset(ratios = false, gut = gutter) if ratios < 0 margin-right: s('calc(-100% * %s)', ratios) -shift(ratios = false, gut = gutter) +move(ratios = false, gut = gutter) position: relative if old left: (100% * ratios) diff --git a/package.json b/package.json index bda77683..e6de8abc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lost-grid", - "version": "0.0.3", + "version": "0.0.4", "description": "Fractional grid system in Stylus with Jeet fallback.", "main": "lost.js", "repository": {