|
@@ -7,7 +7,8 @@ body {
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
color: $color__text-main;
|
|
|
- @include font-family( $font__body );
|
|
|
+ @include font-family( $font__body ); // For browsers without support for CSS variables.
|
|
|
+ font-family: var( --font-base, $font_body );
|
|
|
font-weight: 400;
|
|
|
font-size: 1em;
|
|
|
line-height: $font__line-height-body;
|
|
@@ -21,7 +22,8 @@ select,
|
|
|
optgroup,
|
|
|
textarea {
|
|
|
color: $color__text-main;
|
|
|
- @include font-family( $font__body );
|
|
|
+ @include font-family( $font__body ); // For browsers without support for CSS variables.
|
|
|
+ font-family: var( --font-base, $font_body );
|
|
|
font-weight: 400;
|
|
|
line-height: $font__line-height-body;
|
|
|
text-rendering: optimizeLegibility;
|