字体改得和CSGO一致

This commit is contained in:
JohnathanLin 2023-12-11 23:48:31 +08:00
parent e6182faa1d
commit b6ee24fb65
3 changed files with 12 additions and 1 deletions

View File

@ -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");
}

View File

@ -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;

View File

@ -1,3 +1,4 @@
<!-- 暂时不用宋体了
<style>
:root {
--sys-font-family: "Noto Serif SC";
@ -20,4 +21,5 @@
document.head.appendChild(customFont);
})();
</script>
-->