hugo-soresu

My fork of hugo-xmin

git clone git://git.shimmy1996.com/hugo-soresu.git
commit 2dafb609421bead1a396fd28bd5e3c12e8e3c966
parent e966fdc95f30fe026426b83bde7a1d2dde243b4a
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Tue, 26 Jun 2018 19:12:54 -0500

Add back Iosevka, selfhost Noto Sans SC Override files, and correct typo.

Diffstat:
Mlayouts/partials/css/fonts.css | 25++++++++++++++++---------
Astatic/fonts/NotoSansSCOverride-Light.woff2 | 0
Astatic/fonts/NotoSansSCOverride-Medium.woff2 | 0
Astatic/fonts/NotoSansSCOverride-Regular.woff2 | 0
Mstatic/fonts/iosevka-term-ss09-regular.ascii.woff2 | 0
Mstatic/fonts/iosevka-term-ss09-regular.eascii.woff2 | 0
6 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/layouts/partials/css/fonts.css b/layouts/partials/css/fonts.css
@@ -1,44 +1,51 @@
 @import url("https://fonts.googleapis.com/earlyaccess/notosansscsliced.css");
 
 @font-face {
-    font-family: "Noto Sans SC Sliced Override";
+    font-family: "Noto Sans SC Override";
     font-weight: 300;
     src: local("Noto Sans CJK SC"),
-         url("//fonts.gstatic.com/ea/notosansscsliced/v2/NotoSansSCSliced-Light.100.woff2") format("woff2"),
-    unicode-range: U+2018-2019, U+201C-201D;
+         url("/fonts/NotoSansSCOverride-Light.woff2") format("woff2");
+         unicode-range: U+2018-2019, U+201C-201D;
 }
 
 @font-face {
-    font-family: "Noto Sans SC Sliced Override";
+    font-family: "Noto Sans SC Override";
     font-weight: 400;
     src: local("Noto Sans CJK SC"),
-         url("//fonts.gstatic.com/ea/notosansscsliced/v2/NotoSansSCSliced-Regular.100.woff2") format("woff2"),
+         url("/fonts/NotoSansSCOverride-Regular.woff2") format("woff2");
     unicode-range: U+2018-2019, U+201C-201D;
 }
 
 @font-face {
-    font-family: "Noto Sans SC Sliced Override";
+    font-family: "Noto Sans SC Override";
     font-weight: 500;
     src: local("Noto Sans CJK SC"),
-         url("//fonts.gstatic.com/ea/notosansscsliced/v2/NotoSansSCSliced-Medium.100.woff2") format("woff2"),
+         url("/fonts/NotoSansSCOverride-Medium.woff2") format("woff2");
     unicode-range: U+2018-2019, U+201C-201D;
 }
 
 @font-face {
     font-family: "Oxygen";
     src: url("/fonts/Oxygen-Sans.woff2") format("woff2");
-    font-display: swap;
 }
 
 @font-face {
     font-family: "Oxygen";
     src: url("/fonts/Oxygen-Sans-Bold.woff2") format("woff2");
     font-weight: bold;
+}
+
+@font-face {
+    font-family: "Iosevka Term";
+    src: url("/fonts/iosevka-term-ss09-regular.eascii.woff2") format('woff2');
+}
+
+html {
     font-display: swap;
 }
 
 body {
-    font-family: "Noto Sans SC Sliced Override", "Oxygen", "Noto Sans SC Sliced", Candara, Calibri, Arial, sans-serif;
+    font-family: "Noto Sans SC Override", "Oxygen", "Noto Sans CJK SC", "Noto Sans SC Sliced", Candara, Calibri, Arial, sans-serif;
 }
 
 code {
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/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.