diff --git a/assets/css/common/header.css b/assets/css/common/header.css index 94c427e..0dbd199 100644 --- a/assets/css/common/header.css +++ b/assets/css/common/header.css @@ -91,3 +91,12 @@ body:not(.dark) #sun { .logo-switches { flex-wrap: inherit; } +/* 加载自己的字体 */ +@font-face { + font-family: "stratum2"; + src: url("/stratum2-medium-webfont.ttf"); +} +@font-face { + font-family: "fangzhengheiti"; + src: url("/FZHTJW.ttf"); +} \ No newline at end of file diff --git a/assets/css/core/reset.css b/assets/css/core/reset.css index 07515be..0ece02b 100644 --- a/assets/css/core/reset.css +++ b/assets/css/core/reset.css @@ -22,7 +22,7 @@ h6 { } body { - font-family: 'Noto Serif SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-family: 'stratum2', 'fangzhengheiti', /*'Noto Serif SC',*/ -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 18px; line-height: 1.6; word-break: break-word; diff --git a/layouts/partials/css.html b/layouts/partials/css.html index 485e4f8..c3dd582 100644 --- a/layouts/partials/css.html +++ b/layouts/partials/css.html @@ -1,3 +1,4 @@ + \ No newline at end of file