aboutsummaryrefslogtreecommitdiff
path: root/source/css/theme-chinese-article.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-chinese-article.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-chinese-article.css')
-rw-r--r--source/css/theme-chinese-article.css66
1 files changed, 66 insertions, 0 deletions
diff --git a/source/css/theme-chinese-article.css b/source/css/theme-chinese-article.css
new file mode 100644
index 00000000..8e91477b
--- /dev/null
+++ b/source/css/theme-chinese-article.css
@@ -0,0 +1,66 @@
+h1 {
+ font-size: 140%;
+}
+
+h2 {
+ font-size: 110%;
+}
+
+h3 {
+ font-size: 100%;
+}
+
+p {
+ margin-top: 0;
+ margin-bottom: 0;
+ text-indent: 2em;
+ line-height: 1.3em;
+}
+
+blockquote {
+ margin: 1em 2em 1em 2em;
+ padding: 0;
+ border: none;
+ font-style: normal;
+}
+
+article a {
+ text-decoration: none;
+ color: #777;
+}
+
+sup {
+ margin: 0;
+}
+
+.en p, .en li {
+ text-indent: 0;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
+
+.en blockquote {
+ font-style: italic;
+}
+
+.date-tag {
+ text-align: right;
+}
+
+.poem {
+ text-align: center;
+}
+
+.undent, .footnotes p {
+ text-indent: 0;
+}
+
+.skip {
+ margin-bottom: 1em;
+}
+
+.poem p {
+ margin-top: 1em;
+ margin-bottom: 1em;
+ text-indent: 0;
+}