digraphs: alternate glyph string in include
[sheet.git] / digraphs.css
1 /* general */
2
3 body {
4         background: #FFF;
5         color: #000;
6 }
7
8 a, a:visited {
9         color: #000;
10         text-decoration: underline;
11 }
12 a:active, a:hover {
13         color: #00F;
14         text-decoration: none;
15 }
16
17 /* head/foot */
18
19 h1 {
20         text-align: center;
21         font-size: 200%;
22         margin: 0 0 0.2em;
23 }
24 p#footer {
25         margin: 1em 0 0;
26         text-align: center;
27 }
28
29 /* digraph table */
30
31 table {
32         border-collapse: collapse;
33         table-layout: fixed; /* prevent resizing, notably in msie6 */
34 }
35 tbody, colgroup {
36         border: 2px double #888;
37 }
38 tbody {
39         border-width: 2px 0;
40 }
41 colgroup {
42         border-width: 0 2px;
43 }
44
45 #legend {
46         margin-top: 1em;
47 }
48 #legend table {
49         width: 100%;
50         table-layout: auto;
51 }
52 #legend tbody {
53         border: 0;
54 }
55 #legend td {
56         padding: 0 0.2em;
57 }
58
59 /* character cells */
60
61 thead th, td {
62         width: 1.2em; /* msie only looks at the first row */
63         min-width: 1em; /* prevents gecko from restricting to page width */
64 }
65 th, td {
66         text-align: center;
67 }
68 td {
69         border: 1px solid #888;
70         background: #DDD;
71 }
72
73 /* properties */
74 td.X  {background: #FFF} /* unidentified */
75 td.Xr {background: #EEE} /* reverse */
76 td.Xa {color: #0A0} /* ascii */
77 td.Xl {color: #070} /* latin1 */
78 td.Co {color: #800} /* private */
79 td.Xz {color: #D00} /* proposed */
80
81 td.Lm, td.Mc, td.Me, td.Zl, td.Zp, td.Cs {background: #F00} /* unstyled */
82
83 /* letter scripts */
84 td.Greek    {background: #FFE0CF}
85 td.Cyrillic {background: #FFDDA8}
86 td.Latin    {background: #FFB}
87 td.Hebrew   {background: #FFD}
88 td.Arabic   {background: #EFE}
89 td.Hangul   {background: #DEA}
90 td.Katakana {background: #DFA}
91 td.Hiragana {background: #DFC}
92 td.Bopomofo {background: #BFC}
93
94 /* other categories */
95 td.Nd, td.Nl, td.No        {background: #FBB} /* number */
96 td.Sc                      {background: #FCD} /* currency */
97 td.Sm                      {background: #ECE} /* math */
98 td.So                      {background: #DCF} /* symbol */
99 td.Cf, td.Pd, td.Po        {background: #CDF} /* punctuation */
100 td.Ps, td.Pe, td.Pi, td.Pf {background: #BEF} /* quote */
101 td.Lm, td.Sk               {background: #CEE} /* spacing modifier */
102 td.Mn                      {background: #ACC} /* modifier */
103 td.Cc         {color: #666; background: #BBB} /* control */
104 td.Zs                      {background: #ACB} /* space */
105 td.Zs span                 {background: #EEE}
106
107 /* hover effects */
108 td.X:hover {cursor: help}
109 td.Greek:hover                                     {background: #FA9}
110 td.Cyrillic:hover                                  {background: #FB7}
111 td.Latin:hover                                     {background: #FF6}
112 td.Hebrew:hover                                    {background: #FFA}
113 td.Arabic:hover                                    {background: #CFD}
114 td.Hangul:hover                                    {background: #CE6}
115 td.Katakana:hover                                  {background: #BF7}
116 td.Hiragana:hover                                  {background: #AF8}
117 td.Bopomofo:hover                                  {background: #8FA}
118 td.Nd:hover, td.Nl:hover, td.No:hover              {background: #F88} /* number */
119 td.Sc:hover                                        {background: #F8C} /* currency */
120 td.Sm:hover                                        {background: #F8F} /* math */
121 td.So:hover                                        {background: #A8F} /* symbol */
122 td.Cf:hover, td.Pd:hover, td.Po:hover              {background: #8AF} /* punctuation */
123 td.Ps:hover, td.Pe:hover, td.Pi:hover, td.Pf:hover {background: #8DF} /* quote */
124 td.Lm:hover, td.Sk:hover                           {background: #BFF} /* spacing modifier */
125 td.Mn:hover                                        {background: #CDE} /* modifier */
126 td.Zs:hover                                        {background: #CED} /* space */
127 td.Cc:hover                                        {background: #DDD} /* control */
128 td.Xa:hover {outline: 1px solid #0F0} /* ascii */
129 td.Xl:hover {outline: 1px solid #0C0} /* latin1 */
130 td.Co:hover {outline: 1px solid #C00} /* private */
131 td.Xz:hover {outline: 1px solid #F00} /* proposed */
132