forked from mirror/_s
Merge pull request #570 from corvannoorloos/patch-1
Indentation using tabs instead of mixed tabs/spaces- props @corvannoorloos
This commit is contained in:
commit
9db21f4850
|
@ -1,7 +1,7 @@
|
||||||
// Rem output with px fallback
|
// Rem output with px fallback
|
||||||
@mixin font-size($sizeValue: 1.6) {
|
@mixin font-size($sizeValue: 1.6) {
|
||||||
font-size: ($sizeValue * 10) + px;
|
font-size: ($sizeValue * 10) + px;
|
||||||
font-size: $sizeValue + rem;
|
font-size: $sizeValue + rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Box model
|
// Box model
|
||||||
|
@ -13,24 +13,24 @@
|
||||||
|
|
||||||
// Border radius
|
// Border radius
|
||||||
@mixin border-radius($radius) {
|
@mixin border-radius($radius) {
|
||||||
background-clip: padding-box; /* stops bg color from leaking outside the border: */
|
background-clip: padding-box; /* stops bg color from leaking outside the border: */
|
||||||
-webkit-border-radius: $radius;
|
-webkit-border-radius: $radius;
|
||||||
border-radius: $radius;
|
border-radius: $radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Center block
|
// Center block
|
||||||
@mixin center-block {
|
@mixin center-block {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clearfix
|
// Clearfix
|
||||||
@mixin clearfix() {
|
@mixin clearfix() {
|
||||||
content: "";
|
content: "";
|
||||||
display: table;
|
display: table;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Center after (not all clearfix need this also)
|
// Center after (not all clearfix need this also)
|
||||||
@mixin clearfix-after() {
|
@mixin clearfix-after() {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue