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