studio - adds back in older lh() Sass function/mixin and moves it to the inheritied/to-be-sunsetted mixins sheet

This commit is contained in:
Brian Talbot
2013-05-20 14:02:00 -04:00
parent c94f8d6f56
commit 31b5c4ab61
2 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,12 @@
// talbs: we need to slowly ween ourselves off of these
// ====================
// line-height (old way)
@function lh($amount: 1) {
@return $body-line-height * $amount;
}
// inherited - vertical and horizontal centering
@mixin vertically-and-horizontally-centered ($height, $width) {
left: 50%;

View File

@@ -8,7 +8,7 @@
}
// mixins - line height
@mixin lh($fontSize: auto){
@mixin line-height($fontSize: auto){
line-height: ($fontSize*1.48) + px;
line-height: (($fontSize/10)*1.48) + rem;
}