Move the font normalization into the font mixins

This commit is contained in:
Kevin MacMartin 2017-03-29 22:56:25 -04:00
parent 095b4f54a8
commit 3cadd8b957
2 changed files with 6 additions and 2 deletions

View file

@ -11,6 +11,12 @@
font-style: normal;
}
@mixin normalize-font {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@mixin font-sans {
@include normalize-font;
font-family: OpenSans-Regular, Arial, Helvetica, sans-serif;
}

View file

@ -34,8 +34,6 @@ body {
@include font-sans;
width: 100%;
color: $c-text;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-overflow-scrolling: touch;
@media (max-width: $grid-float-breakpoint-max) { padding-top: $nav-height-mobile; }
}