diff options
author | JohnAlbin <virtually.johnalbin@gmail.com> | 2015-11-04 17:25:24 +0300 |
---|---|---|
committer | JohnAlbin <virtually.johnalbin@gmail.com> | 2015-11-04 17:25:24 +0300 |
commit | 04376a54c6549b85f54e4b22e1d78fcbc0916966 (patch) | |
tree | 2fde97760b1182cd4e2fdcd38b062f6d0884fc9e /sass | |
parent | b4cb155f3004e94f57d981c83121e4aca1e0cd59 (diff) |
Remove establish-baseline().
Diffstat (limited to 'sass')
-rw-r--r-- | sass/_normalize.scss | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/sass/_normalize.scss b/sass/_normalize.scss index 7d6210d..b76c756 100644 --- a/sass/_normalize.scss +++ b/sass/_normalize.scss @@ -4,16 +4,6 @@ @import "compass/typography/vertical_rhythm"; -@if not $strict-normalize or normalize-support-for(ie, 7) { - /** - * Establish a vertical rhythm unit using $base-font-size, $base-line-height, - * and $rhythm-unit variables. Also, correct text resizing oddly in IE 6/7 when - * body `font-size` is set using `em` units. - */ - - @include establish-baseline(); -} - /** * 1. Set default font family to sans-serif. * 2. Prevent iOS and IE text size adjust after device orientation change, @@ -21,6 +11,12 @@ */ html { + @if not $strict-normalize or normalize-support-for(ie, 7) { + // Correct text resizing oddly in IE 6/7 when body `font-size` is set using + // `em` units. + font-size: ($base-font-size / 16px) * 100%; + line-height: ($base-line-height / $base-font-size) * 1em + } font-family: $base-font-family; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ |