commit 11d791e0209b238465287cf01f20aee518a73455
parent b9245f10fb03be015a2f58ce9297eb9c98276f15
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 19 May 2018 09:51:09 -0500
Use Iosevka Term to get rid of ligatures.
Diffstat:
9 files changed, 27 insertions(+), 19 deletions(-)
diff --git a/static/css/fonts.css b/static/css/fonts.css
@@ -1,49 +1,57 @@
-@import url(//fonts.googleapis.com/earlyaccess/notosansscsliced.css);
+url @import(//fonts.googleapis.com/earlyaccess/notosansscsliced.css);
-@font-face{
- font-family: "Iosevka";
- src: url("/fonts/iosevka-ss09-regular.woff2") format('woff2');
+@font-face {
+ font-family: "Iosevka Term";
+ src: url("/fonts/iosevka-term-ss09-regular.woff2") format('woff2');
+ font-display: swap;
}
-@font-face{
- font-family: "Iosevka";
- src: url("/fonts/iosevka-ss09-italic.woff2") format('woff2');
+@font-face {
+ font-family: "Iosevka Term";
+ src: url("/fonts/iosevka-term-ss09-italic.woff2") format('woff2');
font-style: italic;
+ font-display: swap;
}
-@font-face{
- font-family: "Iosevka";
- src: url("/fonts/iosevka-ss09-bold.woff2") format('woff2');
+@font-face {
+ font-family: "Iosevka Term";
+ src: url("/fonts/iosevka-term-ss09-bold.woff2") format('woff2');
font-weight: bold;
+ font-display: swap;
}
-@font-face{
- font-family: "Iosevka";
- src: url("/fonts/iosevka-ss09-bolditalic.woff2") format('woff2');
+@font-face {
+ font-family: "Iosevka Term";
+ src: url("/fonts/iosevka-term-ss09-bolditalic.woff2") format('woff2');
font-weight: bold;
font-style: italic;
+ font-display: swap;
}
-@font-face{
+@font-face {
font-family: "Oxygen";
src: url("/fonts/Oxygen-Sans.woff2") format('woff2');
+ font-display: swap;
}
-@font-face{
+@font-face {
font-family: "Oxygen";
src: url("/fonts/Oxygen-Sans-Bold.woff2") format('woff2');
font-weight: bold;
+ font-display: swap;
}
-@font-face{
+@font-face {
font-family: "Noto Sans JP Min";
src: url("/fonts/NotoSansCJKjp-Regular.min.woff2") format('woff2');
+ font-display: swap;
}
-@font-face{
+@font-face {
font-family: "Noto Sans JP Min";
src: url("/fonts/NotoSansCJKjp-Bold.min.woff2") format('woff2');
font-weight: bold;
+ font-display: swap;
}
body {
@@ -51,6 +59,6 @@ body {
}
code {
- font-family: 'Iosevka', monospace;
- font-size: 90%;
+ font-family: 'Iosevka', monospace;
+ font-size: 90%;
}
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.
diff --git a/static/fonts/iosevka-term-ss09-bold.woff2 b/static/fonts/iosevka-term-ss09-bold.woff2
Binary files differ.
diff --git a/static/fonts/iosevka-term-ss09-bolditalic.woff2 b/static/fonts/iosevka-term-ss09-bolditalic.woff2
Binary files differ.
diff --git a/static/fonts/iosevka-term-ss09-italic.woff2 b/static/fonts/iosevka-term-ss09-italic.woff2
Binary files differ.
diff --git a/static/fonts/iosevka-term-ss09-regular.woff2 b/static/fonts/iosevka-term-ss09-regular.woff2
Binary files differ.