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 .glyphs.dimap thead th, .glyphs.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 .glyphs.dimap tbody, .glyphs.dimap colgroup {
233 border: 2px double #888; /* major character group grid */
235 .glyphs.dimap tbody {
236 border-width: 2px 0; /* horizontal group dividers */
238 .glyphs.dimap colgroup {
239 border-width: 0 2px; /* vertical divides */
242 /* digraph selection */
245 -moz-column-width: 24em;
251 /* glyph cell overlay (digraph labels) */
255 padding-bottom: 1.1ex; /* reserve space for label */
256 vertical-align: bottom;
262 margin-bottom: -2.2ex; /* take cell padding */
264 .glyphs small.digraph {
269 .glyphs small.value {
275 /* character properties */
277 td.X {background: #FFF} /* unidentified */
278 #digraphs td.Xa {color: #0A0} /* ascii */
279 #digraphs td.Xl {color: #070} /* latin1 */
280 #digraphs .Xz {color: #D00} /* proposed */
282 td.Lm, td.Mc, td.Me, td.Zl, td.Zp {background: #F00} /* unstyled */
286 td.Greek {background: #FFE8CF}
287 td.Cyrillic {background: #FFDDA8}
288 td.Latin {background: #FFB}
290 td.Hebrew {background: #FFD}
291 td.Arabic {background: #EFE}
292 td.African {background: #DED}
293 td.Brahmic {background: #FBB} /* same as number */
294 td.Khmer {background: #FBA}
296 td.Syllabic {background: #DEA}
297 td.Katakana {background: #DFA}
298 td.Hiragana {background: #DFC}
299 td.Bopomofo {background: #BFC}
300 td.Han {background: #CFD}
301 td.Alpha {background: #ADA} /* other scripts */
303 /* other categories */
304 td.Nd, td.Nl, td.No {background: #FDD} /* number */
305 td.Sc {background: #FCD} /* currency */
306 td.Sm {background: #ECE} /* math */
307 td.So {background: #DCF} /* symbol */
308 td.Pd, td.Po, td.Pc {background: #CDF} /* punctuation */
309 td.Ps, td.Pe, td.Pi, td.Pf {background: #BEF} /* quote */
310 td.Lm, td.Sk {background: #CEE} /* spacing modifier */
311 td.Mn {background: #ACC} /* modifier */
312 td.Cc, td.Cf {color: #666; background: #BBB} /* control */
313 td.Zs {background: #ACB} /* space */
314 td.Zs span {background: #EEE}
315 td.Co {background: #DCC} /* private */
316 td.Xi, td.Cs {background: #CCC} /* invalid */
317 td.Xd {color: #844} /* deprecated */
318 td.Xr {color: #888} /* reserved (digraph reverse or proposal) */
319 .dimap td.Xr {background: #EEE} /* reversed digraph */
320 .ccmap td.Xr {opacity:.4}
322 /* implementation-based alternatives */
323 td.di-b {background: #FDD} /* bmp */
324 td.di-d {background: #FFD} /* rfc-1345 digraph */
325 td.di-prop {background: #FED} /* proposed digraph */
326 td.di-a {background: #EFD} /* ascii */
327 td.di-rare {background: #EEE} /* disfavoured */
328 td.di-invalid {background: #BBB} /* impossible */
331 .sy-comment { color: #888 }
332 .sy-constant { color: #008 }
334 .sy-identifier { color: #804 }
337 .sy-special { color: #408 }
338 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
339 .sy-todo { background-color: #FF0 }
343 td.X:hover {cursor: help}
344 td.Greek:hover, td.Armenian:hover {background: #FA8}
345 td.Cyrillic:hover {background: #FB7}
346 td.Latin:hover {background: #EE4}
347 td.Hebrew:hover, td.Aramaic:hover {background: #FFA}
348 td.Arabic:hover {background: #CFD}
349 td.African:hover {background: #BDB}
350 td.Syllabic:hover, td.Hangul:hover {background: #CE6}
351 td.Katakana:hover {background: #BF7}
352 td.Hiragana:hover {background: #AF8}
353 td.Bopomofo:hover {background: #8FA}
354 td.Brahmic:hover {background: #F77}
355 td.Khmer:hover {background: #F87}
356 td.Han:hover {background: #5EB}
357 td.Alpha:hover {background: #5C5}
358 td.Nd:hover, td.Nl:hover, td.No:hover {background: #F99} /* number */
359 td.Sc:hover {background: #F8C} /* currency */
360 td.Sm:hover {background: #F8F} /* math */
361 td.So:hover {background: #A8F} /* symbol */
362 td.Pd:hover, td.Po:hover, td.Pc:hover {background: #8AF} /* punctuation */
363 td.Ps:hover, td.Pe:hover, td.Pi:hover, td.Pf:hover {background: #8DF} /* quote */
364 td.Lm:hover, td.Sk:hover {background: #BFF} /* spacing modifier */
365 td.Mn:hover {background: #CDE} /* modifier */
366 td.Zs:hover {background: #CED} /* space */
367 td.Cc:hover, td.Cf:hover {background: #DDD} /* control */
368 td.Co:hover {background: #A77} /* private */
369 td.Xr:hover {background: #FFF} /* reserved */
370 td.Xa:hover {outline: 1px solid #0F0} /* ascii */
371 td.Xl:hover {outline: 1px solid #0C0} /* latin1 */
372 td.Xz:hover {outline: 1px solid #F00} /* proposed */
373 td.di-rare:hover {background: #BBB}
374 td.di-b:hover {background: #F88}
375 td.di-d:hover {background: #FF8}
376 td.di-prop:hover {background: #FC8}
377 td.di-a:hover {background: #CF8}
379 /* key type colorization */
382 .pm {background: #BFB} /* motion */
383 .po {background: #DFA} /* window */
385 .co {background: #FFA} /* command */
387 .ci {background: #BFE} /* info */
389 .cp {background: #FDA} /* TODO */
390 .mi {background: #FCA} /* insert mode */
392 .mo {background: #FCC} /* mode */
394 .mv {background: #ECE} /* visual mode */
396 .me {background: #CCF} /* key mode */
399 .pm a:hover, .pm[onclick]:hover {background: #7E7}
400 .po a:hover, .po[onclick]:hover {background: #CE6}
402 .ci a:hover, .ci[onclick]:hover {background: #5ED}
404 .cp a:hover, .cp[onclick]:hover {background: #FA6}
405 .mi a:hover, .mi[onclick]:hover {background: #F97}
407 .mo a:hover, .mo[onclick]:hover {background: #F88}
409 .me a:hover, .me[onclick]:hover {background: #99F}
411 .mv a:hover, .mv[onclick]:hover {background: #D9D}
413 .co a:hover, .co[onclick]:hover {background: #EE4}
420 padding: 1px; /* same size as borderlessless keys */
425 text-shadow: #F20 0 0 0.1em;
427 dl.legend dt.more:hover,
428 ul.keys li.more:hover b {
429 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
433 border-style: dashed;
440 /* l/r help columns */
453 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
456 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
461 float: left; /* align next to dt (except msie<=7 does just the opposite) */
466 .right dl.legend dt {
467 margin-right: -6.4em;
471 .right dl.legend dd {
481 margin: 0 0 1px; /* distinct keys */
482 height: auto; /* not key-height */
486 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
489 dl.legend-options dt {
498 margin: 6px 0; /* similar to dl legends */
519 ul.legend-set {display: none} /* current options only relevant on dynamic media */