css.tt2 1.74 KB
Newer Older
1
2
3
[%# $Id$ ~%]
@charset "UTF-8";

4
5
6
[%#
This style sheet will override any portion of main CSS, not fully replacing it.
So this may be used for locale-specific customization.
7
8
~%]

9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[%#
Overriding font families.  Problems such as below will be solved:

- Default css.tt2 specifies the font families covering Western scripts
  (Latin, Cyrillic, ...).  East Asian users may prefer consistent font family
  supporting Western along with Eastern scripts (Han, Hiragana, ...).
- Internet Explorer 8 bug: pulsatory motion of East Asian texts in links
  when their font size are around 9 to 11 pt and when font family is not
  specified explicitly.
- Windows 7 bug: "Batang", a Korean font, is used for generic family "serif".

Family names are ordered by platforms: Mac OS X and iOS (localized names are
ignored by Safari), MacOS classic (if any), Windows (Vista or later, then
XP/2000 or earlier), Red Hat/Fedora, Debian/Ubuntu, and others if any.
-%]
[%# Overriding default font family. %]
sikeda's avatar
sikeda committed
25
26
27
*,
body,
h1,h2,h3,h4,h5,h6 {
28
    font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ 角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "Yu Gothic", "メイリオ", Meiryo, "MS Pゴ シック", "VL Pゴシック", "VL PGothic", "TakaoExゴシック", TakaoExGothic, "IPAex ゴシック", IPAexGothic, "IPA Pゴシック", IPAPGothic, sans-serif;
29
}
30
31
32
33
34
35
[%# Overriding "monospace, serif" %]
pre,
code,
kbd,
samp {
    font-family: monospace, "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Yu Mincho", "MS P明朝", "さざなみ明朝", "Sazanami Mincho", "TakaoEx明朝", TakaoExMincho, "IPAex明朝", IPAexMincho, "IPA P明朝", IPAPMincho, serif;
36
}