summaryrefslogtreecommitdiffstats
path: root/sass/base/_utilities.scss
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:27:37 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:27:37 +0100
commiteaae7b43a67bb826d514f966d00cef0137ab6367 (patch)
tree93e3c50e6f64232daddcd89476aa65b2877e942b /sass/base/_utilities.scss
parentb8c020d21d6f223e23c9ad595e34430a5e19b961 (diff)
downloadoctopress-theme-jeyzu-eaae7b43a67bb826d514f966d00cef0137ab6367.zip
octopress-theme-jeyzu-eaae7b43a67bb826d514f966d00cef0137ab6367.tar.gz
separate utilities scss
Diffstat (limited to 'sass/base/_utilities.scss')
-rw-r--r--sass/base/_utilities.scss24
1 files changed, 24 insertions, 0 deletions
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