aboutsummaryrefslogtreecommitdiff
path: root/source/css/theme.css
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2016-07-10 11:30:52 +0800
committerZhiming Wang <zmwangx@gmail.com>2016-07-10 11:30:52 +0800
commit2dd20788f37f7c4f25928978810ea968fd57c427 (patch)
tree81c14f8253fb6400912873df5ab2f3daa51e3248 /source/css/theme.css
parent2e8d9eae4e2119bd277150e5c2cef953d50d2eb8 (diff)
downloadmy_new_personal_website-2dd20788f37f7c4f25928978810ea968fd57c427.tar.xz
my_new_personal_website-2dd20788f37f7c4f25928978810ea968fd57c427.zip
Add Chinese typography features
Diffstat (limited to 'source/css/theme.css')
-rw-r--r--source/css/theme.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/css/theme.css b/source/css/theme.css
index b81f989d..cf1af58f 100644
--- a/source/css/theme.css
+++ b/source/css/theme.css
@@ -1,6 +1,14 @@
body {
color: #000;
- font-family: Times, "Times New Roman", serif;
+ font-family: Times, "Times New Roman",
+ /* Chinese fonts */
+ "Kaiti SC", /* macOS */
+ KaiTi, /* Windows (simkai.ttf, not always included despite
+ https://www.microsoft.com/typography/fonts/product.aspx?PID=161
+ https://www.microsoft.com/typography/fonts/product.aspx?PID=164) */
+ "Microsoft YaHei", /* Windows */
+ "Heiti SC", /* iOS */
+ serif;
font-size: 16px;
-webkit-font-smoothing: antialiased;
margin: 100px 0;