commit 3339413d46fa096b01406ce68e81a2533739649e
parent d97f1523cd0b11fe70efd150487c8a74f8bea0c9
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Wed, 27 Nov 2019 09:44:37 -0500
Add back bold versions of fonts
Diffstat:
2 files changed, 30 insertions(+), 5 deletions(-)
diff --git a/layouts/partials/css/fonts.css b/layouts/partials/css/fonts.css
@@ -1,6 +1,6 @@
@font-face {
font-family: "Noto Sans SC Override";
- font-weight: 400;
+ font-weight: normal;
font-display: swap;
src: local("Noto Sans CJK SC"),
url("/fonts/NotoSansSC-Regular.woff2") format("woff2");
@@ -8,24 +8,49 @@
}
@font-face {
+ font-family: "Noto Sans SC Override";
+ font-weight: bold;
+ font-display: swap;
+ src: local("Noto Sans CJK SC Bold"),
+ url("/fonts/NotoSansSC-Bold.woff2") format("woff2");
+ unicode-range: U+2018-2019, U+201C-201D;
+}
+
+@font-face {
font-family: "Oxygen";
- font-weight: 400;
+ font-weight: normal;
font-display: swap;
src: local("Oxygen Sans Book"),
url("/fonts/Oxygen-Sans.woff2") format("woff2");
}
@font-face {
+ font-family: "Oxygen";
+ font-weight: bold;
+ 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: 400;
+ font-weight: normal;
font-display: swap;
- src: local("Noto Sans CJK SC Regular"),
+ src: local("Noto Sans CJK SC"),
url("/fonts/NotoSansSC-Regular.woff2") format("woff2");
}
@font-face {
+ font-family: "Noto Sans SC";
+ font-weight: bold;
+ font-display: swap;
+ src: local("Noto Sans CJK SC"),
+ url("/fonts/NotoSansSC-Bold.woff2") format("woff2");
+}
+
+@font-face {
font-family: "Iosevka Term";
- font-weight: 400;
+ font-weight: normal;
font-display: swap;
src: local("Iosevka Term"),
url("/fonts/iosevka-term-ss09-regular.eascii.woff2") format("woff2");
diff --git a/static/fonts/Oxygen-Sans-Bold.woff2 b/static/fonts/Oxygen-Sans-Bold.woff2
Binary files differ.