Files
jellyfin-web/src/assets/css/fonts.scss
T
Guilherme Danno cdb5228206 fix font sizes
reapply 45cd976b49
2020-11-01 23:11:27 -03:00

35 lines
612 B
SCSS

@mixin font($weight: null, $size: null) {
font-family: "Noto Sans", sans-serif;
font-weight: $weight;
font-size: $size;
}
html {
@include font;
text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
h1 {
@include font(400, 1.8em);
}
h2 {
@include font(400, 1.5em);
}
h3 {
@include font(400, 1.17em);
}
.layout-tv {
/* 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%;
}
.layout-mobile {
font-size: 90%;
}