mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
l10n: add Japanese font
This commit is contained in:
parent
21da06e448
commit
3167461c9f
@ -42,11 +42,17 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
:root {
|
:root {
|
||||||
--sys-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans", "Helvetica Neue";
|
--sys-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans", "Helvetica Neue";
|
||||||
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
|
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
|
||||||
|
--cjk-font-family: "Source Han Sans", "Noto Sans CJK";
|
||||||
|
|
||||||
--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif;
|
--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), var(--cjk-font-family), sans-serif;
|
||||||
--code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace;
|
--code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:lang(ja) {
|
||||||
|
--ja-font-family: "Hiragino Kaku Gothic ProN", "Meiryo", "Noto Sans CJK JP";
|
||||||
|
--base-font-family: "Lato", var(--sys-font-family), var(--ja-font-family), var(--cjk-font-family), sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Card style
|
* Card style
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user