hugo-soresu

My fork of hugo-xmin

git clone git://git.shimmy1996.com/hugo-soresu.git
commit 83b0624ec75bd01ddd248371e7fe701c3485fa12
parent 6d2e8f9f108b7689f7d973251fbfcdf5069b4784
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun, 21 Jan 2018 02:08:04 -0600

Add Oxygen font.

Diffstat:
Mstatic/css/fonts.css | 16+++++++++++++---
Astatic/fonts/Oxygen-Sans-Bold.woff2 | 0
Astatic/fonts/Oxygen-Sans.woff2 | 0
3 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/static/css/fonts.css b/static/css/fonts.css
@@ -1,4 +1,3 @@
-@import url('https://fonts.googleapis.com/css?family=Noto+Sans|Source+Code+Pro');
 @import url(//fonts.googleapis.com/earlyaccess/notosanssc.css);
 @import url(//fonts.googleapis.com/earlyaccess/notosansjp.css);
 
@@ -26,11 +25,22 @@
     font-style: italic;
 }
 
+@font-face{
+    font-family: "Oxygen";
+    src: url("/fonts/Oxygen-Sans.woff2") format('woff2');
+}
+
+@font-face{
+    font-family: "Oxygen";
+    src: url("/fonts/Oxygen-Sans-Bold.woff2") format('woff2');
+    font-weight: bold;
+}
+
 body {
-    font-family: 'Noto Sans', 'Noto Sans SC', 'Noto Sans JP', Optima, Candara, Calibri, Arial, sans-serif;
+    font-family: 'Oxygen', 'Noto Sans SC', 'Noto Sans JP', Optima, Candara, Calibri, Arial, sans-serif;
 }
 
 code {
-  font-family: 'Iosevka', 'Source Code Pro', 'Lucida Console', Monaco, monospace;
+  font-family: 'Iosevka', 'Lucida Console', Monaco, monospace;
   font-size: 85%;
 }
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.