Organised sass folders

This commit is contained in:
Mike Francis 2014-06-20 15:59:08 +01:00
parent d444e9aeb2
commit 631f3f6f27
17 changed files with 238 additions and 83 deletions

38
scss/generic/_mixins.scss Executable file
View file

@ -0,0 +1,38 @@
@mixin resp-min($size) {
@media screen and (min-width: $size) {
@content;
}
}
@mixin resp-max($size) {
@media screen and (max-width: $size) {
@content;
}
}
@mixin font-size($px) {
font-size: $px + px;
font-size: #{$px / $base-font-size}rem;
}
@mixin background-size($size) {
-webkit-background-size: $size;
-moz-background-size: $size;
-o-background-size: $size;
background-size: $size;
}
@mixin placeholder {
::-webkit-input-placeholder {
@content;
}
:-moz-placeholder {
@content;
}
::-moz-placeholder {
@content;
}
:-ms-input-placeholder {
@content;
}
}