11 text-decoration: underline;
15 text-decoration: none;
48 position: relative; /* prevents buggy hovering in table if caption present in gecko */
54 #charset .section table {
55 margin: -0.5ex 0 1ex; /* headers provide sufficient spacing already */
78 display: inline-block;
82 /* "keyboard" (list of keys) */
84 ul#rows {margin-top: -5ex} /* top (esc) row fits besides header */
85 li.row1 {margin-left: 7em} /* row offsets relative to ~6em key width */
86 li.row2 {margin-left: 8em}
87 li.row3 {margin-left: 10em} /* should actually align to next key on row0 */
88 /* ...however rows>=1 are shifted a bit, to make space */
91 clear: both; /* start new row block (keyboard row) */
95 clear: both; /* start new row (screen row) */
96 } /* css2 selectors ignored by msie<=6 */
99 } /* css1 alternative as well (doesn't match in gecko for some reason) */
101 h3 {display: none} /* semantic details (non-css/js) */
102 li.mode {display: none} /* initially hidden (only show interactively (js)) */
105 width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/
112 /* individual keys */
118 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
119 height: 4.5ex; /* 2 lines */
123 border: 1px solid #000;
125 -moz-border-radius: 4px;
130 line-height: 2.5ex; /* inherits otherwise */
133 ul.keys.omni li { /* omni-present esc */
137 /* fine tuning of special occurrences */
139 ul.keys li b[title] { /* mnemonic hover */
142 ul.keys li[onclick]:hover { /* link */
145 ul.keys li a { /* key link */
147 text-decoration: none;
154 ul.keys.lead li b { /* char with ctrl or leading key */
155 font-size: 100%; /* space is too limited for 2+ double-sized chars */
156 line-height: 5ex; /* keep double height though */
158 ul.keys.meta li b small,
159 ul.keys.ctrl li b small { /* meta key indicator */
161 font-weight: normal; /* nice and subtle */
167 border-collapse: collapse;
171 border: 1px solid #888;
178 /* character table */
180 .glyphs thead th, .glyphs td {
181 width: 1.6em; /* regular interval */
186 .glyphs.big tbody td {
201 background: transparent !important;
204 width: auto; /* no glyph cells in header */
210 font-size: 50%; /* mostly insignificant here */
214 text-align: right; /* variable width so keep near cells */
221 table-layout: fixed; /* prevent resizing, notably in msie6 */
223 .dimap thead th, .dimap td {
224 /* below-maximum size (but still average enough to be regular) so we can fit more */
225 width: 1.2em; /* msie only looks at the first row */
226 min-width: 1em; /* prevents gecko from restricting to page width */
229 text-align: center; /* row headers are also glyph-sized */
232 .mapped tbody, .mapped colgroup,
233 .dimap tbody, .dimap colgroup {
234 border: 2px double #888; /* major character group grid */
238 border-width: 2px 0; /* horizontal group dividers */
242 border-width: 0 2px; /* vertical divides */
245 /* digraph selection */
248 -moz-column-width: 24em;
254 /* glyph cell overlay (digraph labels) */
258 padding-bottom: 1.1ex; /* reserve space for label */
259 vertical-align: bottom;
265 margin-bottom: -2.2ex; /* take cell padding */
267 .glyphs small.digraph {
272 .glyphs small.value {
278 /* character properties */
280 td.X {background: #FFF} /* unidentified */
281 #digraphs td.Xa {color: #0A0} /* ascii */
282 #digraphs td.Xl {color: #070} /* latin1 */
283 #digraphs .Xz {color: #D00} /* proposed */
285 td.Lm, td.Mc, td.Me, td.Zl, td.Zp {background: #F00} /* unstyled */
289 td.Greek {background: #FFE8CF}
290 td.Cyrillic {background: #FFDDA8}
291 td.Latin {background: #FFB}
293 td.Hebrew {background: #FFD}
294 td.Arabic {background: #EFE}
295 td.African {background: #DED}
296 td.Brahmic {background: #FBB} /* same as number */
297 td.Khmer {background: #FBA}
299 td.Syllabic {background: #DEA}
300 td.Katakana {background: #DFA}
301 td.Hiragana {background: #DFC}
302 td.Bopomofo {background: #BFC}
303 td.Han {background: #CFD}
304 td.Alpha {background: #ADA} /* other scripts */
306 /* other categories */
307 td.Nd, td.Nl, td.No {background: #FDD} /* number */
308 td.Sc {background: #FCD} /* currency */
309 td.Sm {background: #ECE} /* math */
310 td.So {background: #DCF} /* symbol */
311 td.Pd, td.Po, td.Pc {background: #CDF} /* punctuation */
312 td.Ps, td.Pe, td.Pi, td.Pf {background: #BEF} /* quote */
313 td.Lm, td.Sk {background: #CEE} /* spacing modifier */
314 td.Mn {background: #ACC} /* modifier */
315 td.Cc, td.Cf {color: #666; background: #BBB} /* control */
316 td.Zs {background: #ACB} /* space */
317 td.Zs span {background: #EEE}
318 td.Co {background: #DCC} /* private */
319 td.Xi, td.Cs {background: #CCC} /* invalid */
320 td.Xd {color: #844} /* deprecated */
321 td.Xr {color: #888} /* reserved (digraph reverse or proposal) */
322 .dimap td.Xr {background: #EEE} /* reversed digraph */
323 .ccmap td.Xr {opacity:.4}
325 /* implementation-based alternatives */
326 td.di-b {background: #FDD} /* bmp */
327 td.di-d {background: #FFD} /* rfc-1345 digraph */
328 td.di-prop {background: #FED} /* proposed digraph */
329 td.di-a {background: #EFD} /* ascii */
330 td.di-aa {background: #DFD} /* ascii */
331 td.di-rare {background: #EEE} /* disfavoured */
332 td.di-invalid {background: #BBB} /* impossible */
335 .sy-comment { color: #888 }
336 .sy-constant { color: #008 }
338 .sy-identifier { color: #804 }
341 .sy-special { color: #408 }
342 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
343 .sy-todo { background-color: #FF0 }
347 td.X:hover {cursor: help}
348 td.Greek:hover, td.Armenian:hover {background: #FA8}
349 td.Cyrillic:hover {background: #FB7}
350 td.Latin:hover {background: #EE4}
351 td.Hebrew:hover, td.Aramaic:hover {background: #FFA}
352 td.Arabic:hover {background: #CFD}
353 td.African:hover {background: #BDB}
354 td.Syllabic:hover, td.Hangul:hover {background: #CE6}
355 td.Katakana:hover {background: #BF7}
356 td.Hiragana:hover {background: #AF8}
357 td.Bopomofo:hover {background: #8FA}
358 td.Brahmic:hover {background: #F77}
359 td.Khmer:hover {background: #F87}
360 td.Han:hover {background: #5EB}
361 td.Alpha:hover {background: #5C5}
362 td.Nd:hover, td.Nl:hover, td.No:hover {background: #F99} /* number */
363 td.Sc:hover {background: #F8C} /* currency */
364 td.Sm:hover {background: #F8F} /* math */
365 td.So:hover {background: #A8F} /* symbol */
366 td.Pd:hover, td.Po:hover, td.Pc:hover {background: #8AF} /* punctuation */
367 td.Ps:hover, td.Pe:hover, td.Pi:hover, td.Pf:hover {background: #8DF} /* quote */
368 td.Lm:hover, td.Sk:hover {background: #BFF} /* spacing modifier */
369 td.Mn:hover {background: #CDE} /* modifier */
370 td.Zs:hover {background: #CED} /* space */
371 td.Cc:hover, td.Cf:hover {background: #DDD} /* control */
372 td.Co:hover {background: #A77} /* private */
373 td.Xr:hover {background: #FFF} /* reserved */
374 td.Xa:hover {outline: 1px solid #0F0} /* ascii */
375 td.Xl:hover {outline: 1px solid #0C0} /* latin1 */
376 td.Xz:hover {outline: 1px solid #F00} /* proposed */
377 td.di-rare:hover {background: #BBB}
378 td.di-b:hover {background: #F88}
379 td.di-d:hover {background: #FF8}
380 td.di-prop:hover {background: #FC8}
381 td.di-a:hover {background: #CF8}
382 td.di-aa:hover {background: #8F8}
384 /* key type colorization */
387 .pm {background: #BFB} /* motion */
388 .po {background: #DFA} /* window */
390 .co {background: #FFA} /* command */
392 .ci {background: #BFE} /* info */
394 .cp {background: #FDA} /* TODO */
395 .mi {background: #FCA} /* insert mode */
397 .mo {background: #FCC} /* mode */
399 .mv {background: #ECE} /* visual mode */
401 .me {background: #CCF} /* key mode */
404 .pm a:hover, .pm[onclick]:hover {background: #7E7}
405 .po a:hover, .po[onclick]:hover {background: #CE6}
407 .ci a:hover, .ci[onclick]:hover {background: #5ED}
409 .cp a:hover, .cp[onclick]:hover {background: #FA6}
410 .mi a:hover, .mi[onclick]:hover {background: #F97}
412 .mo a:hover, .mo[onclick]:hover {background: #F88}
414 .me a:hover, .me[onclick]:hover {background: #99F}
416 .mv a:hover, .mv[onclick]:hover {background: #D9D}
418 .co a:hover, .co[onclick]:hover {background: #EE4}
425 padding: 1px; /* same size as borderlessless keys */
430 text-shadow: #F20 0 0 0.1em;
432 dl.legend dt.more:hover,
433 ul.keys li.more:hover b {
434 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
438 border-style: dashed;
445 /* l/r help columns */
458 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
461 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
466 float: left; /* align next to dt (except msie<=7 does just the opposite) */
471 .right dl.legend dt {
472 margin-right: -6.4em;
476 .right dl.legend dd {
486 margin: 0 0 1px; /* distinct keys */
487 height: auto; /* not key-height */
491 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
494 dl.legend-options dt {
503 margin: 6px 0; /* similar to dl legends */
524 ul.legend-set {display: none} /* current options only relevant on dynamic media */