mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
33 lines
909 B
HTML
33 lines
909 B
HTML
<style>
|
|
:root {
|
|
--sys-font-family: "LXGW WenKai Screen R";
|
|
--zh-font-family: "LXGW WenKai Screen R";
|
|
--base-font-family: "LXGW WenKai Screen R";
|
|
--code-font-family: "LXGW WenKai Screen R";
|
|
--article-font-family: "Noto Serif SC";
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
(function () {
|
|
const customFont = document.createElement("link");
|
|
customFont.href =
|
|
"https://cdnjs.cloudflare.com/ajax/libs/lxgw-wenkai-screen-webfont/1.7.0/lxgwwenkaiscreenr.css";
|
|
|
|
customFont.type = "text/css";
|
|
customFont.rel = "stylesheet";
|
|
|
|
document.head.appendChild(customFont);
|
|
})();
|
|
(function () {
|
|
const customFont = document.createElement("link");
|
|
customFont.href =
|
|
"https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap";
|
|
|
|
customFont.type = "text/css";
|
|
customFont.rel = "stylesheet";
|
|
|
|
document.head.appendChild(customFont);
|
|
})();
|
|
</script>
|