hugo-soresu

My fork of hugo-xmin

git clone git://git.shimmy1996.com/hugo-soresu.git
commit 3786fec138840f5ec3d3304f389a949e23b703ec
parent 35c89a623d06196680a2e3e903e8e68d3ee44357
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Mon, 16 Sep 2019 22:42:48 -0400

Use language specific font stacks

Diffstat:
Mlayouts/partials/css/fonts.css | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/layouts/partials/css/fonts.css b/layouts/partials/css/fonts.css
@@ -73,7 +73,11 @@
          url("/fonts/iosevka-term-ss09-regular.eascii.woff2") format("woff2");
 }
 
-body {
+body:lang(en) {
+    font-family: "Oxygen", "Noto Sans SC", Candara, Calibri, Arial, sans-serif;
+}
+
+body:lang(zh) {
     font-family: "Noto Sans SC Override", "Oxygen", "Noto Sans SC", Candara, Calibri, Arial, sans-serif;
 }