digraphs: external stylesheet
[sheet.git] / digraphs.css
1 h1 {
2         text-align: center;
3         margin: 0 auto 0.2em;
4 }
5
6 table {
7         border-collapse: collapse;
8         table-layout: fixed; /* prevent resizing, notably in msie6 */
9 }
10 #legend {
11         margin-top: 1em;
12 }
13 #legend table {
14         width: 100%;
15         table-layout: auto;
16 #}
17 #legend td {
18         padding: 0 0.2em;
19 }
20
21 thead th, td {
22         width: 1.2em; /* msie only looks at the first row */
23         min-width: 1em; /* prevents gecko from restricting to page width */
24 }
25 th, td {
26         text-align: center;
27 }
28 td {
29         border: 1px solid #888;
30         background: #DDD;
31 }
32 td.X {
33         background: #FFF;
34 }
35
36 td.Lm, td.Mc, td.Me, td.Zl, td.Zp, td.Cs {background:red} /* unknown */
37
38 /* letters */
39 td.Greek    {background: #FFE0CF}
40 td.Cyrillic {background: #FFDDA8}
41 td.Latin    {background: #FFB}
42 td.Hebrew   {background: #FFD}
43 td.Arabic   {background: #EFE}
44 td.Hiragana {background: #DFC}
45 td.Katakana {background: #DFA}
46 td.Bopomofo {background: #BFC}
47
48 td.Nd, td.Nl,
49 td.No {background: #FBB} /* number */
50 td.Sc {background: #FCD} /* currency */
51 td.Sm {background: #ECE} /* math */
52 td.So {background: #DDCCFF} /* symbol */
53 td.Cf, td.Pd,
54 td.Po {background: #CDF} /* punctuation */
55 td.Ps, td.Pe, td.Pi,
56 td.Pf {background: #BEF} /* quote */
57 td.Lm,
58 td.Sk {background: #CEE} /* spacing modifier */
59 td.Mn {background: #ACC} /* modifier */
60 td.Cc {background: #BBB; color: #666} /* control */
61 td.Zs {background: #ACB} /* space */
62 td.Zs span {background: #EEE}
63
64 td.Xa {color: #0A0} /* ascii */
65 td.Xl {color: #070} /* latin1 */
66 td.Co {color: #800} /* private */
67 td.Xz {color: #D00} /* proposed */
68
69 tr:hover td {
70         background: #FF8;
71 }
72