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;
72 /* "keyboard" (list of keys) */
74 ul#rows {margin-top: -5ex} /* top (esc) row fits besides header */
75 li.row1 {margin-left: 7em} /* row offsets relative to ~6em key width */
76 li.row2 {margin-left: 8em}
77 li.row3 {margin-left: 10em} /* should actually align to next key on row0 */
78 /* ...however rows>=1 are shifted a bit, to make space */
81 clear: both; /* start new row block (keyboard row) */
85 clear: both; /* start new row (screen row) */
86 } /* css2 selectors ignored by msie<=6 */
89 } /* css1 alternative as well (doesn't match in gecko for some reason) */
91 h3 {display: none} /* semantic details (non-css/js) */
92 li.mode {display: none} /* initially hidden (only show interactively (js)) */
95 width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/
102 /* individual keys */
108 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
109 height: 4.5ex; /* 2 lines */
113 border: 1px solid #000;
115 -moz-border-radius: 4px;
120 line-height: 2.5ex; /* inherits otherwise */
123 ul.keys.omni li { /* omni-present esc */
127 /* fine tuning of special occurrences */
129 ul.keys li b[title] { /* mnemonic hover */
132 ul.keys li[onclick]:hover { /* link */
137 ul.keys.lead li b { /* char with ctrl or leading key */
138 font-size: 100%; /* space is too limited for 2+ double-sized chars */
139 line-height: 5ex; /* keep double height though */
141 ul.keys.meta li b small,
142 ul.keys.ctrl li b small { /* meta key indicator */
144 font-weight: normal; /* nice and subtle */
147 /* character table */
151 position: relative; /* prevents buggy hovering if table-caption present in gecko */
155 border-collapse: collapse;
157 .glyphs thead th, .glyphs td {
159 width: 1.6em; /* regular interval */
161 .glyphs th, .glyphs td {
163 border: 1px solid #888;
169 .glyphs.big tbody td {
184 background: transparent !important;
187 width: auto; /* no glyph cells in header */
193 font-size: 50%; /* mostly insignificant here */
196 .diinfo .glyphs tbody th {
197 text-align: right; /* variable width so keep near cells */
204 table-layout: fixed; /* prevent resizing, notably in msie6 */
206 .glyphs.dimap thead th, .glyphs.dimap td {
207 /* below-maximum size (but still average enough to be regular) so we can fit more */
208 width: 1.2em; /* msie only looks at the first row */
209 min-width: 1em; /* prevents gecko from restricting to page width */
212 text-align: center; /* row headers are also glyph-sized */
215 .glyphs.dimap tbody, .glyphs.dimap colgroup {
216 border: 2px double #888; /* major character group grid */
218 .glyphs.dimap tbody {
219 border-width: 2px 0; /* horizontal group dividers */
221 .glyphs.dimap colgroup {
222 border-width: 0 2px; /* vertical divides */
225 /* digraph selection */
228 -moz-column-width: 24em;
234 .diinfo table.glyphs {
239 /* glyph cell overlay (digraph labels) */
243 padding-bottom: 1.1ex; /* reserve space for label */
244 vertical-align: bottom;
250 margin-bottom: -2.2ex; /* take cell padding */
252 .glyphs small.digraph {
257 .glyphs small.value {
263 /* character properties */
265 td.X {background: #FFF} /* unidentified */
266 #digraphs td.Xa {color: #0A0} /* ascii */
267 #digraphs td.Xl {color: #070} /* latin1 */
268 #digraphs .Xz {color: #D00} /* proposed */
270 td.Lm, td.Mc, td.Me, td.Zl, td.Zp {background: #F00} /* unstyled */
274 td.Greek {background: #FFE8CF}
275 td.Cyrillic {background: #FFDDA8}
276 td.Latin {background: #FFB}
278 td.Hebrew {background: #FFD}
279 td.Arabic {background: #EFE}
280 td.African {background: #DED}
281 td.Brahmic {background: #FBB} /* same as number */
282 td.Khmer {background: #FBA}
284 td.Syllabic {background: #DEA}
285 td.Katakana {background: #DFA}
286 td.Hiragana {background: #DFC}
287 td.Bopomofo {background: #BFC}
288 td.Han {background: #CFD}
289 td.Alpha {background: #ADA} /* other scripts */
291 /* other categories */
292 td.Nd, td.Nl, td.No {background: #FDD} /* number */
293 td.Sc {background: #FCD} /* currency */
294 td.Sm {background: #ECE} /* math */
295 td.So {background: #DCF} /* symbol */
296 td.Pd, td.Po, td.Pc {background: #CDF} /* punctuation */
297 td.Ps, td.Pe, td.Pi, td.Pf {background: #BEF} /* quote */
298 td.Lm, td.Sk {background: #CEE} /* spacing modifier */
299 td.Mn {background: #ACC} /* modifier */
300 td.Cc, td.Cf {color: #666; background: #BBB} /* control */
301 td.Zs {background: #ACB} /* space */
302 td.Zs span {background: #EEE}
303 td.Co {background: #A99} /* private */
304 td.Xi, td.Cs {background: #CCC} /* invalid */
305 td.Xd {color: #844} /* deprecated */
306 td.Xr {color: #888} /* reserved (digraph reverse or proposal) */
307 .dimap td.Xr {background: #EEE} /* reversed digraph */
308 .ccmap td.Xr {opacity:.4}
310 /* implementation-based alternatives */
311 td.di-b {background: #FDD} /* bmp */
312 td.di-d {background: #FFD} /* rfc-1345 digraph */
313 td.di-prop {background: #FED} /* proposed digraph */
314 td.di-a {background: #EFD} /* ascii */
315 td.di-rare {background: #EEE} /* disfavoured */
316 td.di-invalid {background: #BBB} /* impossible */
319 td.c-af {background: #FFC}
320 td.c-eu {background: #FDC}
321 td.c-as {background: #FDD}
322 td.c-oc {background: #EEDDF4}
323 td.c-aa {background: #E3E8FF}
324 td.c-sa {background: #DFF}
325 td.c-na {background: #DFD}
329 td.X:hover {cursor: help}
330 td.Greek:hover, td.Armenian:hover {background: #FA8}
331 td.Cyrillic:hover {background: #FB7}
332 td.Latin:hover {background: #EE4}
333 td.Hebrew:hover, td.Aramaic:hover {background: #FFA}
334 td.Arabic:hover {background: #CFD}
335 td.African:hover {background: #BDB}
336 td.Syllabic:hover, td.Hangul:hover {background: #CE6}
337 td.Katakana:hover {background: #BF7}
338 td.Hiragana:hover {background: #AF8}
339 td.Bopomofo:hover {background: #8FA}
340 td.Brahmic:hover {background: #F77}
341 td.Khmer:hover {background: #F87}
342 td.Han:hover {background: #5EB}
343 td.Alpha:hover {background: #5C5}
344 td.Nd:hover, td.Nl:hover, td.No:hover {background: #F99} /* number */
345 td.Sc:hover {background: #F8C} /* currency */
346 td.Sm:hover {background: #F8F} /* math */
347 td.So:hover {background: #A8F} /* symbol */
348 td.Pd:hover, td.Po:hover, td.Pc:hover {background: #8AF} /* punctuation */
349 td.Ps:hover, td.Pe:hover, td.Pi:hover, td.Pf:hover {background: #8DF} /* quote */
350 td.Lm:hover, td.Sk:hover {background: #BFF} /* spacing modifier */
351 td.Mn:hover {background: #CDE} /* modifier */
352 td.Zs:hover {background: #CED} /* space */
353 td.Cc:hover, td.Cf:hover {background: #DDD} /* control */
354 td.Co:hover {background: #A77} /* private */
355 td.Xr:hover {background: #FFF} /* reserved */
356 td.Xa:hover {outline: 1px solid #0F0} /* ascii */
357 td.Xl:hover {outline: 1px solid #0C0} /* latin1 */
358 td.Xz:hover {outline: 1px solid #F00} /* proposed */
359 td.di-rare:hover {background: #BBB}
360 td.di-b:hover {background: #F88}
361 td.di-d:hover {background: #FF8}
362 td.di-prop:hover {background: #FC8}
363 td.di-a:hover {background: #CF8}
365 /* key type colorization */
367 .pm {background: #BFB} /* motion */
368 .po {background: #DFA} /* window */
369 .co {background: #FFA} /* command */
370 .ci {background: #BFE} /* info */
371 .cp {background: #FDA} /* TODO */
372 .mi {background: #FCA} /* insert mode */
373 .mo {background: #FCC} /* mode */
374 .mv {background: #ECE} /* visual mode */
375 .me {background: #CCF} /* key mode */
377 .ci[onclick]:hover {background: #5ED}
378 .mi[onclick]:hover {background: #F97}
379 .mo[onclick]:hover {background: #F88}
380 .me[onclick]:hover {background: #99F}
381 .mv[onclick]:hover {background: #D9D}
382 .co[onclick]:hover {background: #EE4}
389 padding: 1px; /* same size as borderlessless keys */
394 border-style: dashed;
401 /* l/r help columns */
414 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
417 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
422 float: left; /* align next to dt (except msie<=7 does just the opposite) */
427 .right dl.legend dt {
428 margin-right: -6.4em;
432 .right dl.legend dd {
442 margin: 0 0 1px; /* distinct keys */
443 height: auto; /* not key-height */
447 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
450 dl.legend-options dt {
459 margin: 6px 0; /* similar to dl legends */
480 ul.legend-set {display: none} /* current options only relevant on dynamic media */