mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
b41ed9477e
(cherry picked from commit a07d5b7bd1
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
57 lines
1.4 KiB
SCSS
57 lines
1.4 KiB
SCSS
@import "../../styles/noto-sans/index.scss";
|
|
|
|
@mixin font($weight: null, $size: null) {
|
|
font-weight: $weight;
|
|
font-size: $size;
|
|
}
|
|
|
|
html {
|
|
@include font($size: 93%);
|
|
font-family: "Noto Sans", "Noto Sans HK", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", sans-serif;
|
|
text-size-adjust: 100%;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
html[lang|="ja"] {
|
|
font-family: "Noto Sans", "Noto Sans JP", "Noto Sans HK", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", sans-serif;
|
|
}
|
|
|
|
html[lang|="ko"] {
|
|
font-family: "Noto Sans", "Noto Sans KR", "Noto Sans HK", "Noto Sans JP", "Noto Sans SC", "Noto Sans TC", sans-serif;
|
|
}
|
|
|
|
html[lang|="zh-CN"] {
|
|
font-family: "Noto Sans", "Noto Sans SC", "Noto Sans HK", "Noto Sans JP", "Noto Sans KR", "Noto Sans TC", sans-serif;
|
|
}
|
|
|
|
html[lang|="zh-TW"] {
|
|
font-family: "Noto Sans", "Noto Sans TC", "Noto Sans HK", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", sans-serif;
|
|
}
|
|
|
|
html[lang|="zh-HK"] {
|
|
font-family: "Noto Sans", "Noto Sans HK", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", sans-serif;
|
|
}
|
|
|
|
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%;
|
|
}
|