2020-05-16 00:54:46 -03:00
|
|
|
@mixin font($weight: null, $size: null) {
|
2020-02-03 17:18:15 +01:00
|
|
|
font-family: "Noto Sans", sans-serif;
|
2020-05-16 00:54:46 -03:00
|
|
|
font-weight: $weight;
|
|
|
|
font-size: $size;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
@include font;
|
2019-01-10 15:39:37 +03:00
|
|
|
text-size-adjust: 100%;
|
2020-02-03 17:18:15 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
text-rendering: optimizeLegibility;
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2020-05-16 00:54:46 -03:00
|
|
|
@include font(400, 1.8em);
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2020-05-16 00:54:46 -03:00
|
|
|
@include font(400, 1.5em);
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2020-05-16 00:54:46 -03:00
|
|
|
@include font(400, 1.17em);
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.layout-tv {
|
2020-08-26 19:30:01 +02:00
|
|
|
/* Per WebOS and Tizen guidelines, fonts must be 20px minimum.
|
|
|
|
This takes the 16px baseline and multiplies it by 1.25 to get 20px. */
|
|
|
|
font-size: 125%;
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.layout-mobile {
|
2019-01-10 15:39:37 +03:00
|
|
|
font-size: 90%;
|
|
|
|
}
|