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 */
144 ul.keys.lead li b { /* char with ctrl or leading key */
145 font-size: 100%; /* space is too limited for 2+ double-sized chars */
146 line-height: 5ex; /* keep double height though */
148 ul.keys.meta li b small,
149 ul.keys.ctrl li b small { /* meta key indicator */
151 font-weight: normal; /* nice and subtle */
157 border-collapse: collapse;
161 border: 1px solid #888;
168 /* character table */
170 .glyphs thead th, .glyphs td {
171 width: 1.6em; /* regular interval */
176 .glyphs.big tbody td {
191 background: transparent !important;
194 width: auto; /* no glyph cells in header */
200 font-size: 50%; /* mostly insignificant here */
204 text-align: right; /* variable width so keep near cells */
211 table-layout: fixed; /* prevent resizing, notably in msie6 */
213 .glyphs.dimap thead th, .glyphs.dimap td {
214 /* below-maximum size (but still average enough to be regular) so we can fit more */
215 width: 1.2em; /* msie only looks at the first row */
216 min-width: 1em; /* prevents gecko from restricting to page width */
219 text-align: center; /* row headers are also glyph-sized */
222 .glyphs.dimap tbody, .glyphs.dimap colgroup {
223 border: 2px double #888; /* major character group grid */
225 .glyphs.dimap tbody {
226 border-width: 2px 0; /* horizontal group dividers */
228 .glyphs.dimap colgroup {
229 border-width: 0 2px; /* vertical divides */
232 /* digraph selection */
235 -moz-column-width: 24em;
241 /* glyph cell overlay (digraph labels) */
245 padding-bottom: 1.1ex; /* reserve space for label */
246 vertical-align: bottom;
252 margin-bottom: -2.2ex; /* take cell padding */
254 .glyphs small.digraph {
259 .glyphs small.value {
265 /* character properties */
267 td.X {background: #FFF} /* unidentified */
268 #digraphs td.Xa {color: #0A0} /* ascii */
269 #digraphs td.Xl {color: #070} /* latin1 */
270 #digraphs .Xz {color: #D00} /* proposed */
272 td.Lm, td.Mc, td.Me, td.Zl, td.Zp {background: #F00} /* unstyled */
276 td.Greek {background: #FFE8CF}
277 td.Cyrillic {background: #FFDDA8}
278 td.Latin {background: #FFB}
280 td.Hebrew {background: #FFD}
281 td.Arabic {background: #EFE}
282 td.African {background: #DED}
283 td.Brahmic {background: #FBB} /* same as number */
284 td.Khmer {background: #FBA}
286 td.Syllabic {background: #DEA}
287 td.Katakana {background: #DFA}
288 td.Hiragana {background: #DFC}
289 td.Bopomofo {background: #BFC}
290 td.Han {background: #CFD}
291 td.Alpha {background: #ADA} /* other scripts */
293 /* other categories */
294 td.Nd, td.Nl, td.No {background: #FDD} /* number */
295 td.Sc {background: #FCD} /* currency */
296 td.Sm {background: #ECE} /* math */
297 td.So {background: #DCF} /* symbol */
298 td.Pd, td.Po, td.Pc {background: #CDF} /* punctuation */
299 td.Ps, td.Pe, td.Pi, td.Pf {background: #BEF} /* quote */
300 td.Lm, td.Sk {background: #CEE} /* spacing modifier */
301 td.Mn {background: #ACC} /* modifier */
302 td.Cc, td.Cf {color: #666; background: #BBB} /* control */
303 td.Zs {background: #ACB} /* space */
304 td.Zs span {background: #EEE}
305 td.Co {background: #DCC} /* private */
306 td.Xi, td.Cs {background: #CCC} /* invalid */
307 td.Xd {color: #844} /* deprecated */
308 td.Xr {color: #888} /* reserved (digraph reverse or proposal) */
309 .dimap td.Xr {background: #EEE} /* reversed digraph */
310 .ccmap td.Xr {opacity:.4}
312 /* implementation-based alternatives */
313 td.di-b {background: #FDD} /* bmp */
314 td.di-d {background: #FFD} /* rfc-1345 digraph */
315 td.di-prop {background: #FED} /* proposed digraph */
316 td.di-a {background: #EFD} /* ascii */
317 td.di-rare {background: #EEE} /* disfavoured */
318 td.di-invalid {background: #BBB} /* impossible */
321 td.c-af {background: #FFC}
322 td.c-eu {background: #FDC}
323 td.c-as {background: #FDD}
324 td.c-oc {background: #EEDDF4}
325 td.c-aa {background: #E3E8FF}
326 td.c-sa {background: #DFF}
327 td.c-na {background: #DFD}
330 .sy-comment { color: #888 }
331 .sy-constant { color: #008 }
333 .sy-identifier { color: #804 }
336 .sy-special { color: #408 }
337 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
338 .sy-todo { background-color: #FF0 }
342 td.X:hover {cursor: help}
343 td.Greek:hover, td.Armenian:hover {background: #FA8}
344 td.Cyrillic:hover {background: #FB7}
345 td.Latin:hover {background: #EE4}
346 td.Hebrew:hover, td.Aramaic:hover {background: #FFA}
347 td.Arabic:hover {background: #CFD}
348 td.African:hover {background: #BDB}
349 td.Syllabic:hover, td.Hangul:hover {background: #CE6}
350 td.Katakana:hover {background: #BF7}
351 td.Hiragana:hover {background: #AF8}
352 td.Bopomofo:hover {background: #8FA}
353 td.Brahmic:hover {background: #F77}
354 td.Khmer:hover {background: #F87}
355 td.Han:hover {background: #5EB}
356 td.Alpha:hover {background: #5C5}
357 td.Nd:hover, td.Nl:hover, td.No:hover {background: #F99} /* number */
358 td.Sc:hover {background: #F8C} /* currency */
359 td.Sm:hover {background: #F8F} /* math */
360 td.So:hover {background: #A8F} /* symbol */
361 td.Pd:hover, td.Po:hover, td.Pc:hover {background: #8AF} /* punctuation */
362 td.Ps:hover, td.Pe:hover, td.Pi:hover, td.Pf:hover {background: #8DF} /* quote */
363 td.Lm:hover, td.Sk:hover {background: #BFF} /* spacing modifier */
364 td.Mn:hover {background: #CDE} /* modifier */
365 td.Zs:hover {background: #CED} /* space */
366 td.Cc:hover, td.Cf:hover {background: #DDD} /* control */
367 td.Co:hover {background: #A77} /* private */
368 td.Xr:hover {background: #FFF} /* reserved */
369 td.Xa:hover {outline: 1px solid #0F0} /* ascii */
370 td.Xl:hover {outline: 1px solid #0C0} /* latin1 */
371 td.Xz:hover {outline: 1px solid #F00} /* proposed */
372 td.di-rare:hover {background: #BBB}
373 td.di-b:hover {background: #F88}
374 td.di-d:hover {background: #FF8}
375 td.di-prop:hover {background: #FC8}
376 td.di-a:hover {background: #CF8}
378 /* key type colorization */
380 .pm {background: #BFB} /* motion */
381 .po {background: #DFA} /* window */
382 .co {background: #FFA} /* command */
383 .ci {background: #BFE} /* info */
384 .cp {background: #FDA} /* TODO */
385 .mi {background: #FCA} /* insert mode */
386 .mo {background: #FCC} /* mode */
387 .mv {background: #ECE} /* visual mode */
388 .me {background: #CCF} /* key mode */
390 .pm[onclick]:hover {background: #7E7}
391 .po[onclick]:hover {background: #CE6}
392 .ci[onclick]:hover {background: #5ED}
393 .mi[onclick]:hover {background: #F97}
394 .mo[onclick]:hover {background: #F88}
395 .me[onclick]:hover {background: #99F}
396 .mv[onclick]:hover {background: #D9D}
397 .co[onclick]:hover {background: #EE4}
404 padding: 1px; /* same size as borderlessless keys */
409 border-style: dashed;
416 /* l/r help columns */
429 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
432 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
437 float: left; /* align next to dt (except msie<=7 does just the opposite) */
442 .right dl.legend dt {
443 margin-right: -6.4em;
447 .right dl.legend dd {
457 margin: 0 0 1px; /* distinct keys */
458 height: auto; /* not key-height */
462 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
465 dl.legend-options dt {
474 margin: 6px 0; /* similar to dl legends */
495 ul.legend-set {display: none} /* current options only relevant on dynamic media */