11 text-decoration: underline;
15 text-decoration: none;
48 position: relative; /* prevents buggy hovering in table if caption present in gecko */
51 #charset .section table {
52 margin: -0.5ex 0 1ex; /* headers provide sufficient spacing already */
75 display: inline-block;
79 /* "keyboard" (list of keys) */
81 ul#rows {margin-top: -5ex} /* top (esc) row fits besides header */
82 li.row1 {margin-left: 7em} /* row offsets relative to ~6em key width */
83 li.row2 {margin-left: 8em}
84 li.row3 {margin-left: 10em} /* should actually align to next key on row0 */
85 /* ...however rows>=1 are shifted a bit, to make space */
88 clear: both; /* start new row block (keyboard row) */
92 clear: both; /* start new row (screen row) */
93 } /* css2 selectors ignored by msie<=6 */
96 } /* css1 alternative as well (doesn't match in gecko for some reason) */
98 h3 {display: none} /* semantic details (non-css/js) */
99 li.mode {display: none} /* initially hidden (only show interactively (js)) */
102 width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/
109 /* individual keys */
115 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
116 height: 4.5ex; /* 2 lines */
120 border: 1px solid #000;
122 -moz-border-radius: 4px;
127 line-height: 2.5ex; /* inherits otherwise */
130 ul.keys.omni li { /* omni-present esc */
134 /* fine tuning of special occurrences */
136 ul.keys li b[title] { /* mnemonic hover */
139 ul.keys li[onclick]:hover { /* link */
142 ul.keys li a { /* key link */
144 text-decoration: none;
151 ul.keys.lead li b { /* char with ctrl or leading key */
152 font-size: 100%; /* space is too limited for 2+ double-sized chars */
153 line-height: 5ex; /* keep double height though */
155 ul.keys.meta li b small,
156 ul.keys.ctrl li b small { /* meta key indicator */
158 font-weight: normal; /* nice and subtle */
164 border-collapse: collapse;
168 border: 1px solid #888;
175 /* character table */
177 .glyphs thead th, .glyphs td {
178 width: 1.6em; /* regular interval */
183 .glyphs.big tbody td {
198 background: transparent !important;
201 width: auto; /* no glyph cells in header */
207 font-size: 50%; /* mostly insignificant here */
211 text-align: right; /* variable width so keep near cells */
218 table-layout: fixed; /* prevent resizing, notably in msie6 */
220 .glyphs.dimap thead th, .glyphs.dimap td {
221 /* below-maximum size (but still average enough to be regular) so we can fit more */
222 width: 1.2em; /* msie only looks at the first row */
223 min-width: 1em; /* prevents gecko from restricting to page width */
226 text-align: center; /* row headers are also glyph-sized */
229 .glyphs.dimap tbody, .glyphs.dimap colgroup {
230 border: 2px double #888; /* major character group grid */
232 .glyphs.dimap tbody {
233 border-width: 2px 0; /* horizontal group dividers */
235 .glyphs.dimap colgroup {
236 border-width: 0 2px; /* vertical divides */
239 /* digraph selection */
242 -moz-column-width: 24em;
248 /* glyph cell overlay (digraph labels) */
252 padding-bottom: 1.1ex; /* reserve space for label */
253 vertical-align: bottom;
259 margin-bottom: -2.2ex; /* take cell padding */
261 .glyphs small.digraph {
266 .glyphs small.value {
272 /* character properties */
274 td.X {background: #FFF} /* unidentified */
275 #digraphs td.Xa {color: #0A0} /* ascii */
276 #digraphs td.Xl {color: #070} /* latin1 */
277 #digraphs .Xz {color: #D00} /* proposed */
279 td.Lm, td.Mc, td.Me, td.Zl, td.Zp {background: #F00} /* unstyled */
283 td.Greek {background: #FFE8CF}
284 td.Cyrillic {background: #FFDDA8}
285 td.Latin {background: #FFB}
287 td.Hebrew {background: #FFD}
288 td.Arabic {background: #EFE}
289 td.African {background: #DED}
290 td.Brahmic {background: #FBB} /* same as number */
291 td.Khmer {background: #FBA}
293 td.Syllabic {background: #DEA}
294 td.Katakana {background: #DFA}
295 td.Hiragana {background: #DFC}
296 td.Bopomofo {background: #BFC}
297 td.Han {background: #CFD}
298 td.Alpha {background: #ADA} /* other scripts */
300 /* other categories */
301 td.Nd, td.Nl, td.No {background: #FDD} /* number */
302 td.Sc {background: #FCD} /* currency */
303 td.Sm {background: #ECE} /* math */
304 td.So {background: #DCF} /* symbol */
305 td.Pd, td.Po, td.Pc {background: #CDF} /* punctuation */
306 td.Ps, td.Pe, td.Pi, td.Pf {background: #BEF} /* quote */
307 td.Lm, td.Sk {background: #CEE} /* spacing modifier */
308 td.Mn {background: #ACC} /* modifier */
309 td.Cc, td.Cf {color: #666; background: #BBB} /* control */
310 td.Zs {background: #ACB} /* space */
311 td.Zs span {background: #EEE}
312 td.Co {background: #DCC} /* private */
313 td.Xi, td.Cs {background: #CCC} /* invalid */
314 td.Xd {color: #844} /* deprecated */
315 td.Xr {color: #888} /* reserved (digraph reverse or proposal) */
316 .dimap td.Xr {background: #EEE} /* reversed digraph */
317 .ccmap td.Xr {opacity:.4}
319 /* implementation-based alternatives */
320 td.di-b {background: #FDD} /* bmp */
321 td.di-d {background: #FFD} /* rfc-1345 digraph */
322 td.di-prop {background: #FED} /* proposed digraph */
323 td.di-a {background: #EFD} /* ascii */
324 td.di-rare {background: #EEE} /* disfavoured */
325 td.di-invalid {background: #BBB} /* impossible */
328 .sy-comment { color: #888 }
329 .sy-constant { color: #008 }
331 .sy-identifier { color: #804 }
334 .sy-special { color: #408 }
335 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
336 .sy-todo { background-color: #FF0 }
340 td.X:hover {cursor: help}
341 td.Greek:hover, td.Armenian:hover {background: #FA8}
342 td.Cyrillic:hover {background: #FB7}
343 td.Latin:hover {background: #EE4}
344 td.Hebrew:hover, td.Aramaic:hover {background: #FFA}
345 td.Arabic:hover {background: #CFD}
346 td.African:hover {background: #BDB}
347 td.Syllabic:hover, td.Hangul:hover {background: #CE6}
348 td.Katakana:hover {background: #BF7}
349 td.Hiragana:hover {background: #AF8}
350 td.Bopomofo:hover {background: #8FA}
351 td.Brahmic:hover {background: #F77}
352 td.Khmer:hover {background: #F87}
353 td.Han:hover {background: #5EB}
354 td.Alpha:hover {background: #5C5}
355 td.Nd:hover, td.Nl:hover, td.No:hover {background: #F99} /* number */
356 td.Sc:hover {background: #F8C} /* currency */
357 td.Sm:hover {background: #F8F} /* math */
358 td.So:hover {background: #A8F} /* symbol */
359 td.Pd:hover, td.Po:hover, td.Pc:hover {background: #8AF} /* punctuation */
360 td.Ps:hover, td.Pe:hover, td.Pi:hover, td.Pf:hover {background: #8DF} /* quote */
361 td.Lm:hover, td.Sk:hover {background: #BFF} /* spacing modifier */
362 td.Mn:hover {background: #CDE} /* modifier */
363 td.Zs:hover {background: #CED} /* space */
364 td.Cc:hover, td.Cf:hover {background: #DDD} /* control */
365 td.Co:hover {background: #A77} /* private */
366 td.Xr:hover {background: #FFF} /* reserved */
367 td.Xa:hover {outline: 1px solid #0F0} /* ascii */
368 td.Xl:hover {outline: 1px solid #0C0} /* latin1 */
369 td.Xz:hover {outline: 1px solid #F00} /* proposed */
370 td.di-rare:hover {background: #BBB}
371 td.di-b:hover {background: #F88}
372 td.di-d:hover {background: #FF8}
373 td.di-prop:hover {background: #FC8}
374 td.di-a:hover {background: #CF8}
376 /* key type colorization */
379 .pm {background: #BFB} /* motion */
380 .po {background: #DFA} /* window */
382 .co {background: #FFA} /* command */
384 .ci {background: #BFE} /* info */
386 .cp {background: #FDA} /* TODO */
387 .mi {background: #FCA} /* insert mode */
389 .mo {background: #FCC} /* mode */
391 .mv {background: #ECE} /* visual mode */
393 .me {background: #CCF} /* key mode */
396 .pm a:hover, .pm[onclick]:hover {background: #7E7}
397 .po a:hover, .po[onclick]:hover {background: #CE6}
399 .ci a:hover, .ci[onclick]:hover {background: #5ED}
401 .cp a:hover, .cp[onclick]:hover {background: #FA6}
402 .mi a:hover, .mi[onclick]:hover {background: #F97}
404 .mo a:hover, .mo[onclick]:hover {background: #F88}
406 .me a:hover, .me[onclick]:hover {background: #99F}
408 .mv a:hover, .mv[onclick]:hover {background: #D9D}
410 .co a:hover, .co[onclick]:hover {background: #EE4}
417 padding: 1px; /* same size as borderlessless keys */
422 text-shadow: #F20 0 0 0.1em;
424 dl.legend dt.more:hover,
425 ul.keys li.more:hover b {
426 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
430 border-style: dashed;
437 /* l/r help columns */
450 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
453 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
458 float: left; /* align next to dt (except msie<=7 does just the opposite) */
463 .right dl.legend dt {
464 margin-right: -6.4em;
468 .right dl.legend dd {
478 margin: 0 0 1px; /* distinct keys */
479 height: auto; /* not key-height */
483 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
486 dl.legend-options dt {
495 margin: 6px 0; /* similar to dl legends */
516 ul.legend-set {display: none} /* current options only relevant on dynamic media */