3 @import url(terse.css) all and (max-width: 80em);
5 @import url(mono.css) all and (monochrome);
16 text-decoration: underline;
20 text-decoration: none;
62 /* "keyboard" (list of keys) */
69 ul#rows {margin-top: -5ex} /* top (esc) row fits besides header */
70 li.row1 {margin-left: 7em} /* row offsets relative to ~6em key width */
71 li.row2 {margin-left: 8em}
72 li.row3 {margin-left: 10em} /* should actually align to next key on row0 */
73 /* ...however rows>=1 are shifted a bit, to make space */
76 clear: both; /* start new row block (keyboard row) */
80 clear: both; /* start new row (screen row) */
81 } /* css2 selectors ignored by msie<=6 */
84 } /* css1 alternative as well (doesn't match in gecko for some reason) */
86 h3 {display: none} /* semantic details (non-css/js) */
87 li.mode {display: none} /* initially hidden (only show interactively (js)) */
95 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
96 height: 4.5ex; /* 2 lines */
100 border: 1px solid #000;
102 -moz-border-radius: 4px;
107 line-height: 2.5ex; /* inherits otherwise */
110 ul.keys.omni li { /* omni-present esc */
114 /* fine tuning of special occurrences */
116 ul.keys li b[title] { /* mnemonic hover */
119 ul.keys li[onclick]:hover { /* link */
123 ul.keys.lead li b { /* char with ctrl or leading key */
124 font-size: 100%; /* space is too limited for 2+ double-sized chars */
125 line-height: 5ex; /* keep double height though */
127 ul.keys.ctrl li b small { /* meta key indicator */
129 font-weight: normal; /* nice and subtle */
132 /* character table */
135 border-collapse: collapse;
137 .glyphs thead th, .glyphs td {
139 width: 1.6em; /* regular interval */
141 .glyphs th, .glyphs td {
143 border: 1px solid #888;
155 background: transparent !important;
158 width: auto; /* no glyph cells in header */
164 font-size: 50%; /* mostly insignificant here */
167 .diinfo .glyphs tbody th {
168 text-align: right; /* variable width so keep near cells */
175 table-layout: fixed; /* prevent resizing, notably in msie6 */
177 .glyphs.dimap thead th, .glyphs.dimap td {
178 /* below-maximum size (but still average enough to be regular) so we can fit more */
179 width: 1.2em; /* msie only looks at the first row */
180 min-width: 1em; /* prevents gecko from restricting to page width */
183 text-align: center; /* row headers are also glyph-sized */
186 .glyphs.dimap tbody, .glyphs.dimap colgroup {
187 border: 2px double #888; /* major character group grid */
189 .glyphs.dimap tbody {
190 border-width: 2px 0; /* horizontal group dividers */
192 .glyphs.dimap colgroup {
193 border-width: 0 2px; /* vertical divides */
196 /* digraph selection */
199 -moz-column-width: 24em;
205 .diinfo table.glyphs {
210 /* glyph cell overlay (digraph labels) */
214 padding-bottom: 1.1ex; /* reserve space for label */
215 vertical-align: bottom;
221 margin-bottom: -2.2ex; /* take cell padding */
223 .glyphs small.digraph {
228 .glyphs small.value {
234 /* character properties */
236 td.X {background: #FFF} /* unidentified */
237 td.Xr {background: #EEE} /* reverse */
238 td.Xa {color: #0A0} /* ascii */
239 td.Xl {color: #070} /* latin1 */
240 .Xz {color: #D00} /* proposed */
242 td.Lm, td.Mc, td.Me, td.Zl, td.Zp, td.Cs {background: #F00} /* unstyled */
245 td.Greek {background: #FFE0CF}
246 td.Cyrillic {background: #FFDDA8}
247 td.Latin {background: #FFB}
248 td.Hebrew {background: #FFD}
249 td.Arabic {background: #EFE}
250 td.Hangul {background: #DEA}
251 td.Katakana {background: #DFA}
252 td.Hiragana {background: #DFC}
253 td.Bopomofo {background: #BFC}
255 /* other categories */
256 td.Nd, td.Nl, td.No {background: #FBB} /* number */
257 td.Sc {background: #FCD} /* currency */
258 td.Sm {background: #ECE} /* math */
259 td.So {background: #DCF} /* symbol */
260 td.Cf, td.Pd, td.Po {background: #CDF} /* punctuation */
261 td.Ps, td.Pe, td.Pi, td.Pf {background: #BEF} /* quote */
262 td.Lm, td.Sk {background: #CEE} /* spacing modifier */
263 td.Mn {background: #ACC} /* modifier */
264 td.Cc {color: #666; background: #BBB} /* control */
265 td.Zs {background: #ACB} /* space */
266 td.Zs span {background: #EEE}
267 td.Co {background: #A99} /* private */
269 /* implementation-based alternatives */
270 td.di-b {background: #FDD} /* bmp */
271 td.di-d {background: #FFD} /* rfc-1345 digraph */
272 td.di-prop {background: #FED} /* proposed digraph */
273 td.di-a {background: #EFD} /* ascii */
274 td.di-rare {background: #EEE} /* disfavoured */
275 td.di-invalid {background: #BBB} /* impossible */
279 td.X:hover {cursor: help}
280 td.Greek:hover {background: #FA9}
281 td.Cyrillic:hover {background: #FB7}
282 td.Latin:hover {background: #FF6}
283 td.Hebrew:hover {background: #FFA}
284 td.Arabic:hover {background: #CFD}
285 td.Hangul:hover {background: #CE6}
286 td.Katakana:hover {background: #BF7}
287 td.Hiragana:hover {background: #AF8}
288 td.Bopomofo:hover {background: #8FA}
289 td.Nd:hover, td.Nl:hover, td.No:hover {background: #F88} /* number */
290 td.Sc:hover {background: #F8C} /* currency */
291 td.Sm:hover {background: #F8F} /* math */
292 td.So:hover {background: #A8F} /* symbol */
293 td.Cf:hover, td.Pd:hover, td.Po:hover {background: #8AF} /* punctuation */
294 td.Ps:hover, td.Pe:hover, td.Pi:hover, td.Pf:hover {background: #8DF} /* quote */
295 td.Lm:hover, td.Sk:hover {background: #BFF} /* spacing modifier */
296 td.Mn:hover {background: #CDE} /* modifier */
297 td.Zs:hover {background: #CED} /* space */
298 td.Cc:hover {background: #DDD} /* control */
299 td.Co:hover {background: #A77} /* private */
300 td.Xa:hover {outline: 1px solid #0F0} /* ascii */
301 td.Xl:hover {outline: 1px solid #0C0} /* latin1 */
302 td.Xz:hover {outline: 1px solid #F00} /* proposed */
303 td.di-rare:hover {background: #BBB}
304 td.di-b:hover {background: #F88}
305 td.di-d:hover {background: #FF8}
306 td.di-prop:hover {background: #FC8}
307 td.di-a:hover {background: #CF8}
309 /* key type colorization */
311 .pm {background: #BFB} /* motion */
312 .po {background: #DFA} /* window */
313 .co {background: #FFA} /* command */
314 .ci {background: #BFE} /* info */
315 .cp {background: #FDA} /* TODO */
316 .mi {background: #FCA} /* insert mode */
317 .mo {background: #FCC} /* mode */
318 .mv {background: #ECE} /* visual mode */
319 .me {background: #CCF} /* key mode */
321 .ci[onclick]:hover {background: #5ED}
322 .mi[onclick]:hover {background: #F97}
323 .mo[onclick]:hover {background: #F88}
324 .me[onclick]:hover {background: #99F}
325 .mv[onclick]:hover {background: #D9D}
326 .co[onclick]:hover {background: #EE4}
333 padding: 1px; /* same size as borderlessless keys */
338 border-style: dashed;
339 -moz-border-radius: 0; /* incompatible with border-style */
343 border-style: dotted;
344 -moz-border-radius: 0;
347 /* l/r help columns */
360 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
363 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
368 float: left; /* align next to dt (except msie<=7 does just the opposite) */
373 .right dl.legend dt {
374 margin-right: -6.4em;
378 .right dl.legend dd {
388 margin: 0 0 1px; /* distinct keys */
389 height: auto; /* not key-height */
393 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
396 dl.legend-options dt {
405 margin: 6px 0; /* similar to dl legends */
426 ul.legend-set {display: none} /* current options only relevant on dynamic media */