hugo-soresu

My fork of hugo-xmin

git clone git://git.shimmy1996.com/hugo-soresu.git
commit fddae116b0843101b1a3e6dc96111e8638a8a152
parent 3786fec138840f5ec3d3304f389a949e23b703ec
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Wed, 27 Nov 2019 09:15:19 -0500

Remove font settings

Diffstat:
Mlayouts/partials/css/fonts.css | 87++++---------------------------------------------------------------------------
Dstatic/fonts/NotoSansSC-Light.woff2 | 0
Dstatic/fonts/NotoSansSC-Medium.woff2 | 0
Dstatic/fonts/NotoSansSC-Regular.woff2 | 0
Dstatic/fonts/NotoSansSCOverride-Light.woff2 | 0
Dstatic/fonts/NotoSansSCOverride-Medium.woff2 | 0
Dstatic/fonts/NotoSansSCOverride-Regular.woff2 | 0
Dstatic/fonts/Oxygen-Sans-Bold.woff2 | 0
Dstatic/fonts/Oxygen-Sans.woff2 | 0
Dstatic/fonts/iosevka-term-ss09-regular.ascii.woff2 | 0
Dstatic/fonts/iosevka-term-ss09-regular.eascii.woff2 | 0
11 files changed, 4 insertions(+), 83 deletions(-)
diff --git a/layouts/partials/css/fonts.css b/layouts/partials/css/fonts.css
@@ -1,92 +1,13 @@
-@font-face {
-    font-family: "Noto Sans SC Override";
-    font-weight: 300;
-    font-display: swap;
-    src: local("Noto Sans CJK SC"),
-         url("/fonts/NotoSansSCOverride-Light.woff2") format("woff2");
-    unicode-range: U+2018-2019, U+201C-201D;
-}
-
-@font-face {
-    font-family: "Noto Sans SC Override";
-    font-weight: 400;
-    font-display: swap;
-    src: local("Noto Sans CJK SC"),
-         url("/fonts/NotoSansSCOverride-Regular.woff2") format("woff2");
-    unicode-range: U+2018-2019, U+201C-201D;
-}
-
-@font-face {
-    font-family: "Noto Sans SC Override";
-    font-weight: 500;
-    font-display: swap;
-    src: local("Noto Sans CJK SC"),
-         url("/fonts/NotoSansSCOverride-Medium.woff2") format("woff2");
-    unicode-range: U+2018-2019, U+201C-201D;
-}
-
-@font-face {
-    font-family: "Oxygen";
-    font-weight: 400;
-    font-display: swap;
-    src: local("Oxygen Sans Book"),
-         url("/fonts/Oxygen-Sans.woff2") format("woff2");
-}
-
-@font-face {
-    font-family: "Oxygen";
-    font-weight: 700;
-    font-display: swap;
-    src: local("Oxygen Sans Bold"),
-         url("/fonts/Oxygen-Sans-Bold.woff2") format("woff2");
-}
-
-@font-face {
-    font-family: "Noto Sans SC";
-    font-weight: 300;
-    font-display: swap;
-    src: local("Noto Sans CJK SC Light"),
-         url("/fonts/NotoSansSC-Light.woff2") format("woff2");
-}
-
-@font-face {
-    font-family: "Noto Sans SC";
-    font-weight: 400;
-    font-display: swap;
-    src: local("Noto Sans CJK SC Regular"),
-         url("/fonts/NotoSansSC-Regular.woff2") format("woff2");
-}
-
-@font-face {
-    font-family: "Noto Sans SC";
-    font-weight: 500;
-    font-display: swap;
-    src: local("Noto Sans CJK SC Medium"),
-         url("/fonts/NotoSansSC-Medium.woff2") format("woff2");
-}
-
-@font-face {
-    font-family: "Iosevka Term";
-    font-weight: 400;
-    font-display: swap;
-    src: local("Iosevka Term"),
-         url("/fonts/iosevka-term-ss09-regular.eascii.woff2") format("woff2");
-}
-
-body:lang(en) {
-    font-family: "Oxygen", "Noto Sans SC", Candara, Calibri, Arial, sans-serif;
-}
-
-body:lang(zh) {
-    font-family: "Noto Sans SC Override", "Oxygen", "Noto Sans SC", Candara, Calibri, Arial, sans-serif;
+body {
+    font-family: sans-serif;
 }
 
 code {
-    font-family: "Iosevka Term", monospace;
+    font-family: monospace;
     font-size: 90%;
 }
 
 kbd {
-    font-family: "Iosevka Term", monospace;
+    font-family: monospace;
     font-size: 80%;
 }
diff --git a/static/fonts/NotoSansSC-Light.woff2 b/static/fonts/NotoSansSC-Light.woff2
Binary files differ.
diff --git a/static/fonts/NotoSansSC-Medium.woff2 b/static/fonts/NotoSansSC-Medium.woff2
Binary files differ.
diff --git a/static/fonts/NotoSansSC-Regular.woff2 b/static/fonts/NotoSansSC-Regular.woff2
Binary files differ.
diff --git a/static/fonts/NotoSansSCOverride-Light.woff2 b/static/fonts/NotoSansSCOverride-Light.woff2
Binary files differ.
diff --git a/static/fonts/NotoSansSCOverride-Medium.woff2 b/static/fonts/NotoSansSCOverride-Medium.woff2
Binary files differ.
diff --git a/static/fonts/NotoSansSCOverride-Regular.woff2 b/static/fonts/NotoSansSCOverride-Regular.woff2
Binary files differ.
diff --git a/static/fonts/Oxygen-Sans-Bold.woff2 b/static/fonts/Oxygen-Sans-Bold.woff2
Binary files differ.
diff --git a/static/fonts/Oxygen-Sans.woff2 b/static/fonts/Oxygen-Sans.woff2
Binary files differ.
diff --git a/static/fonts/iosevka-term-ss09-regular.ascii.woff2 b/static/fonts/iosevka-term-ss09-regular.ascii.woff2
Binary files differ.
diff --git a/static/fonts/iosevka-term-ss09-regular.eascii.woff2 b/static/fonts/iosevka-term-ss09-regular.eascii.woff2
Binary files differ.