mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 17:50:22 -05:00
Move the font normalization into the font mixins
This commit is contained in:
parent
095b4f54a8
commit
3cadd8b957
2 changed files with 6 additions and 2 deletions
6
resources/assets/sass/_fonts.scss
vendored
6
resources/assets/sass/_fonts.scss
vendored
|
@ -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;
|
||||
}
|
||||
|
|
2
resources/assets/sass/app.scss
vendored
2
resources/assets/sass/app.scss
vendored
|
@ -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; }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue