diff options
author | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:27:37 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:27:37 +0100 |
commit | eaae7b43a67bb826d514f966d00cef0137ab6367 (patch) | |
tree | 93e3c50e6f64232daddcd89476aa65b2877e942b /sass | |
parent | b8c020d21d6f223e23c9ad595e34430a5e19b961 (diff) | |
download | octopress-theme-jeyzu-eaae7b43a67bb826d514f966d00cef0137ab6367.zip octopress-theme-jeyzu-eaae7b43a67bb826d514f966d00cef0137ab6367.tar.gz |
separate utilities scss
Diffstat (limited to 'sass')
-rw-r--r-- | sass/_base.scss | 3 | ||||
-rw-r--r-- | sass/base/_layout.scss | 25 | ||||
-rw-r--r-- | sass/base/_utilities.scss | 24 |
3 files changed, 26 insertions, 26 deletions
diff --git a/sass/_base.scss b/sass/_base.scss index e9707e2..dfb3b40 100644 --- a/sass/_base.scss +++ b/sass/_base.scss @@ -1,3 +1,4 @@ @import "base/color"; @import "base/font"; -@import "base/layout";
\ No newline at end of file +@import "base/layout"; +@import "base/utilities";
\ No newline at end of file diff --git a/sass/base/_layout.scss b/sass/base/_layout.scss index da9ad8a..3d164eb 100644 --- a/sass/base/_layout.scss +++ b/sass/base/_layout.scss @@ -1,30 +1,5 @@ $max-width: 1000px; -@mixin square($property){ - width: $property; - height: $property; -} -@mixin user-select($select){ - -moz-user-select: $select; - -khtml-user-select: $select; - -webkit-user-select: $select; - -o-user-select: $select; - user-select: $select; -} -@mixin border-shadow($top: $gray05, $bottom: $gray04){ - border-top: 1px solid $top; - border-bottom: 1px solid $bottom; -} -@mixin center($width, $height){ - position: absolute; - top: 50%; - left: 50%; - margin-left: $width/(-2); - margin-top: $height/(-2); - width: $width; - height: $height; -} - *{ margin: 0; padding: 0; diff --git a/sass/base/_utilities.scss b/sass/base/_utilities.scss new file mode 100644 index 0000000..1a3ed2f --- /dev/null +++ b/sass/base/_utilities.scss @@ -0,0 +1,24 @@ +@mixin square($property){ + width: $property; + height: $property; +} +@mixin user-select($select){ + -moz-user-select: $select; + -khtml-user-select: $select; + -webkit-user-select: $select; + -o-user-select: $select; + user-select: $select; +} +@mixin border-shadow($top: $gray05, $bottom: $gray04){ + border-top: 1px solid $top; + border-bottom: 1px solid $bottom; +} +@mixin center($width, $height){ + position: absolute; + top: 50%; + left: 50%; + margin-left: $width/(-2); + margin-top: $height/(-2); + width: $width; + height: $height; +}
\ No newline at end of file |