forked from mirror/_s
18 lines
418 B
SCSS
18 lines
418 B
SCSS
// Rem output with px fallback
|
|
@mixin font-size($sizeValue: 1) {
|
|
font-size: ($sizeValue * 16) * 1px;
|
|
font-size: $sizeValue * 1rem;
|
|
}
|
|
|
|
// Center block
|
|
@mixin center-block {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
// Column width with margin
|
|
@mixin column-width($numberColumns: 3) {
|
|
width: map-get($columns, $numberColumns) - ( ( $columns__margin * ( $numberColumns - 1 ) ) / $numberColumns );
|
|
}
|