jointrashposs/public/fonts/fonts.css
kakkokari-gtyih c742cdeeb2 tweak i18n
2023-10-29 23:47:46 +09:00

36 lines
1.3 KiB
CSS

/** Japanese (GenjyuuGothicX) */
@import url('./GenJyuuGothicX-Bold/GenJyuuGothicX-Bold.css');
@import url('./GenJyuuGothicX-P-Bold/GenJyuuGothicX-P-Bold.css');
@import url('./GenJyuuGothicX-P-Regular/GenJyuuGothicX-P-Regular.css');
@import url('./GenJyuuGothicX-Regular/GenJyuuGothicX-Regular.css');
/** Korean (Pretendard) */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard-dynamic-subset.css");
/** Simplified Chinese (Noto Sans SC) */
@import url('https://fonts.googleapis.cn/css2?family=Noto+Sans+SC:wght@400;700&display=swap');
/** Traditional Chinese (Noto Sans TC) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;700&display=swap');
._i18n {
font-family: Nunito, var(--mi-localized-font, ''), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
html[lang='ja'],
._i18n[lang='ja'] {
--mi-localized-font: 'GenJyuuGothicX';
--mi-localized-font-p: 'GenJyuuGothicXP';
}
html[lang='ko'],
._i18n[lang='ko'] {
--mi-localized-font: 'Pretendard';
}
html[lang='cn'],
._i18n[lang='cn'] {
--mi-localized-font: 'Noto Sans SC';
}
html[lang='tw'],
._i18n[lang='tw'] {
--mi-localized-font: 'Noto Sans TC';
}