replaced grid system for bourbon/neat
This commit is contained in:
parent
781483f657
commit
d5f9b310f6
78 changed files with 2357 additions and 56 deletions
15
css/_mixins.scss
Executable file
15
css/_mixins.scss
Executable file
|
@ -0,0 +1,15 @@
|
|||
@mixin media($size) {
|
||||
@media screen and (max-width: $size) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@function calculate-rem($px, $base: $base-font-size) {
|
||||
$rem: $px / $base;
|
||||
@return #{$rem}rem;
|
||||
}
|
||||
|
||||
@mixin font-size($px) {
|
||||
font-size: $px + px;
|
||||
font-size: calculate-rem($px);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue