aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/debian-zh.css
diff options
context:
space:
mode:
authorAnthony Fok <foka>2011-04-03 08:14:09 +0000
committerAnthony Fok <foka>2011-04-03 08:14:09 +0000
commitbfe2943bc8189ab3707ddaab02aebb069844f62f (patch)
tree218184b4c013c3b8ba6719e0549c2976bfd44c64 /chinese/debian-zh.css
parent6571d2f540cb85d8063dcc4c54527f9408b72254 (diff)
Correct quoting for zh-CN: Mainland China uses U+201C and U+201D.
Remove erroneous setting of <strong> of font-weight: 400 (not bolded) Restore h1 to h4 to font-weight: bold Initial draft of changing <em> to use Kai and serif font instead of italics. Currently commented out, pending further refinement and testing. CVS version numbers chinese/debian-zh.css: 1.7 -> 1.8
Diffstat (limited to 'chinese/debian-zh.css')
-rw-r--r--chinese/debian-zh.css37
1 files changed, 26 insertions, 11 deletions
diff --git a/chinese/debian-zh.css b/chinese/debian-zh.css
index 5969c1cdbfc..e825313b12c 100644
--- a/chinese/debian-zh.css
+++ b/chinese/debian-zh.css
@@ -1,18 +1,22 @@
-/* Debian language css file for chinese simplified - zh-cn */
+/* Debian language css file for Chinese - zh-cn, zh-tw and zh-hk */
/* please do not touch for now! - Jutta Wrage 2005 */
+/*
html[lang|=zh] #maincol {
font-family: Song, Arial, sans-serif;
}
-html[lang|="zh"] strong {
- font-weight: 400;
+body {
+ font-family: DejaVu Sans, sans-serif;
}
+*/
+
html[lang|=zh] #maincol li {
line-height: 1.2em;
padding: 0.1em;
}
+
html[lang|="zh"] h1, html[lang|="zh"] h2, html[lang|="zh"] h3, html[lang|="zh"] h4 {
- /* font-weight: 600; */
+ font-weight: bold;
}
html[lang|="zh"] dl.gloss dt {
@@ -27,15 +31,27 @@ html[lang|=zh] #leftcol ul, html[lang|=zh] #leftcol, html[lang|=zh] #navbar a {
font-weight: normal;
}
+/*
+html[lang=zh-cn] em {
+ font-family: DejaVu Serif, AR PL KaitiM GB, AR PL UKai CN, "KaiTi_GB2312";
+}
+html[lang=zh-tw] em {
+ font-family: DejaVu Serif, AR PL UKai TW, DFKai-SB;
+}
+html[lang=zh-hk] em {
+ font-family: DejaVu Serif, AR PL UKai HK, DFKai-SB;
+}
+*/
+
/* quotes */
-html[lang=zh-cn] q:before { content: "\300C"; }
-html[lang=zh-cn] q:after { content: "\300D"; }
-html[lang=zh-cn] q q:before { content: "\300E"; }
-html[lang=zh-cn] q q:after { content: "\300F"; }
+html[lang=zh-cn] q:before { content: "\201C"; }
+html[lang=zh-cn] q:after { content: "\201D"; }
+html[lang=zh-cn] q q:before { content: "\2018"; }
+html[lang=zh-cn] q q:after { content: "\2019"; }
-html[lang=zh-cn] blockquote.quote p:first-child:before { content: "\300C"; }
+html[lang=zh-cn] blockquote.quote p:first-child:before { content: "\201C"; }
html[lang=zh-cn] blockquote.quote p:after { content: ""; }
-html[lang=zh-cn] blockquote.quote p.last:after { content: "\300D"; }
+html[lang=zh-cn] blockquote.quote p.last:after { content: "\201D"; }
html[lang=zh-hk] q:before { content: "\300C"; }
html[lang=zh-hk] q:after { content: "\300D"; }
@@ -55,4 +71,3 @@ html[lang=zh-tw] q q:after { content: "\300F"; }
html[lang=zh-tw] blockquote.quote p:first-child:before { content: "\300C"; }
html[lang=zh-tw] blockquote.quote p:after { content: ""; }
html[lang=zh-tw] blockquote.quote p.last:after { content: "\300D"; }
-

© 2014-2024 Faster IT GmbH | imprint | privacy policy