1. Improved responsive navigation styling when email subscription is present
2. Refactored subscription styling to be more DRY 3. Added an image for email subscriptions 4. Added assets directory to the gitignore for stashing working files 5. Improved gem list in the Gemfilemain
parent
14ba4cfd3c
commit
814be44c15
@ -1,4 +1,21 @@
|
|||||||
@mixin mask-image($img, $repeat: no-repeat){
|
@mixin mask-image($img, $repeat: no-repeat){
|
||||||
@include experimental(mask-image, image-url($img), -webkit, -moz, -o, -ms);
|
@include experimental(mask-image, image-url($img), -webkit, -moz, -o, -ms);
|
||||||
@include experimental(mask-repeat, $repeat, -webkit, -moz, -o, -ms);
|
@include experimental(mask-repeat, $repeat, -webkit, -moz, -o, -ms);
|
||||||
|
width: image-width($img);
|
||||||
|
height: image-height($img);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin selection($bg: #b4d5fe, $color: inherit){
|
||||||
|
* {
|
||||||
|
&::-moz-selection { background: $bg; color: $color; text-shadow: darken($bg, 20) 0 1px 1px; }
|
||||||
|
&::-webkit-selection { background: $bg; color: $color; text-shadow: darken($bg, 20) 0 1px 1px;}
|
||||||
|
&::selection { background: $bg; color: $color; text-shadow: darken($bg, 20) 0 1px 1px; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@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;
|
||||||
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
After Width: | Height: | Size: 301 B |
Loading…
Reference in New Issue