Revert "frontend: tweak custom fonts"

This reverts commit eb5b3e4683.
This commit is contained in:
fly_mc 2024-11-19 22:45:48 +08:00
parent 8c65e9052f
commit 7a90b3c4f9
3 changed files with 3 additions and 17 deletions

View file

@ -1,18 +1,4 @@
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'LXGW Marker Gothic"';
font-style: normal;
font-weight: 400;
src: url('/static-assets/fonts/LXGWMarkerGothic-Regular.ttf') format('truetype');
}
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'jf-openhuninn';
font-style: normal;
font-weight: 400;
src: url('/static-assets/fonts/jf-openhuninn-2.1.woff2') format("woff2");
}
html.default-font-lxgw-marker-gothic {
font-family: "LXGW Marker Gothic", 'Lexend', 'jf-openhuninn', Roboto, HelveticaNeue, Arial, sans-serif;
@import url("https://chinese-fonts-cdn.deno.dev/packages/lxgwmanhei/dist/LXGWMarkerGothic/result.css");
font-family: "LXGW Marker Gothic", 'Lexend', Roboto, HelveticaNeue, Arial, sans-serif;
}

View file

@ -1,5 +1,5 @@
html.default-font-lxgw-wenkai {
@import url("https://testingcf.jsdelivr.net/npm/lxgw-wenkai-webfont@1.1.0/style.css");
@import url("https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@1.1.0/style.css");
font-family: "LXGW WenKai", "Times New Roman", Times, serif;
&[lang="zh-WY"],
&[lang="zh-TW"] {