aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/sass/base/_utilities.scss
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-06-29 14:01:06 -0400
committerBrandon Mathis <brandon@imathis.com>2011-06-29 14:01:06 -0400
commitea349cdfbfa4d42110099e49a8ff23f7213cd5b6 (patch)
treeaca4c6c7646207fe295197695b0cf87ee2a46913 /themes/classic/sass/base/_utilities.scss
parentce6621724c8d13530681724528b22e1c381f0dc2 (diff)
downloadmy_new_personal_website-ea349cdfbfa4d42110099e49a8ff23f7213cd5b6.tar.xz
my_new_personal_website-ea349cdfbfa4d42110099e49a8ff23f7213cd5b6.zip
Moved themes to .themes to get it out of the way. Updated Rakefile to support .themes dir and remove duplication. Improved deploy task. Renamed init_deploy to cofig_deploy and rewrote it to update configurations in the Rakefile for easier deploy use
Diffstat (limited to 'themes/classic/sass/base/_utilities.scss')
-rw-r--r--themes/classic/sass/base/_utilities.scss21
1 files changed, 0 insertions, 21 deletions
diff --git a/themes/classic/sass/base/_utilities.scss b/themes/classic/sass/base/_utilities.scss
deleted file mode 100644
index 8b718cdc..00000000
--- a/themes/classic/sass/base/_utilities.scss
+++ /dev/null
@@ -1,21 +0,0 @@
-@mixin mask-image($img, $repeat: no-repeat){
- @include experimental(mask-image, image-url($img), -webkit, -moz, -o, -ms);
- @include experimental(mask-repeat, $repeat, -webkit, -moz, -o, -ms);
- width: image-width($img);
- height: image-height($img);
-}
-
-@mixin selection($bg, $color: inherit, $text-shadow: none){
- * {
- &::-moz-selection { background: $bg; color: $color; text-shadow: $text-shadow; }
- &::-webkit-selection { background: $bg; color: $color; text-shadow: $text-shadow; }
- &::selection { background: $bg; color: $color; text-shadow: $text-shadow; }
- }
-}
-
-@function text-color($color, $dark: dark, $light: light){
- $text-color: ( (red($color)*299) + (green($color)*587) + (blue($color)*114) ) / 1000;
- $text-color: if($text-color >= 150, $dark, $light);
- @return $text-color;
-}
-