commit 6d2e8f9f108b7689f7d973251fbfcdf5069b4784
parent d7f00760fb9090275f702a78da686d99c418a1d6
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sun, 21 Jan 2018 01:49:31 -0600
Using Iosevka fonts as default.
Diffstat:
5 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/static/css/fonts.css b/static/css/fonts.css
@@ -2,10 +2,35 @@
@import url(//fonts.googleapis.com/earlyaccess/notosanssc.css);
@import url(//fonts.googleapis.com/earlyaccess/notosansjp.css);
+@font-face{
+ font-family: "Iosevka";
+ src: url("/fonts/iosevka-ss09-regular.woff2") format('woff2');
+}
+
+@font-face{
+ font-family: "Iosevka";
+ src: url("/fonts/iosevka-ss09-italic.woff2") format('woff2');
+ font-style: italic;
+}
+
+@font-face{
+ font-family: "Iosevka";
+ src: url("/fonts/iosevka-ss09-bold.woff2") format('woff2');
+ font-weight: bold;
+}
+
+@font-face{
+ font-family: "Iosevka";
+ src: url("/fonts/iosevka-ss09-bolditalic.woff2") format('woff2');
+ font-weight: bold;
+ font-style: italic;
+}
+
body {
- font-family: 'Noto Sans', 'Noto Sans SC', 'Noto Sans JP', Optima, Candara, Calibri, Arial, sans-serif;
+ font-family: 'Noto Sans', 'Noto Sans SC', 'Noto Sans JP', Optima, Candara, Calibri, Arial, sans-serif;
}
+
code {
- font-family: 'Source Code Pro', 'Lucida Console', Monaco, monospace;
+ font-family: 'Iosevka', 'Source Code Pro', 'Lucida Console', Monaco, monospace;
font-size: 85%;
}
diff --git a/static/fonts/iosevka-ss09-bold.woff2 b/static/fonts/iosevka-ss09-bold.woff2
Binary files differ.
diff --git a/static/fonts/iosevka-ss09-bolditalic.woff2 b/static/fonts/iosevka-ss09-bolditalic.woff2
Binary files differ.
diff --git a/static/fonts/iosevka-ss09-italic.woff2 b/static/fonts/iosevka-ss09-italic.woff2
Binary files differ.
diff --git a/static/fonts/iosevka-ss09-regular.woff2 b/static/fonts/iosevka-ss09-regular.woff2
Binary files differ.