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 */
74 background: rgba(255, 0, 0, .8);
76 border: 2px solid #000;
90 display: inline-block;
95 position: absolute; /* side note; do not influence alignment */
110 /* "keyboard" (list of keys) */
112 #rows {margin-top: -5ex} /* top (esc) row fits besides header */
113 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
114 .row3 {margin-left: 8em}
115 .row4 {margin-left: 10em} /* should actually align to next key on row0 */
116 /* ...however rows>=1 are shifted a bit, to make space */
119 clear: both; /* start new row (screen row) */
123 /* start new row block (keyboard row) */
130 h3 {display: none} /* semantic details (non-css/js) */
131 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
135 width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/
136 // padding-right: 72px;
138 border-collapse: collapse;
144 /* individual keys */
150 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
151 height: 4.5ex; /* 2 lines */
156 border: 1px solid #000;
158 -moz-border-radius: 4px;
163 line-height: 2.5ex; /* inherits otherwise */
166 .keys .row0 td { /* omni-present esc */
170 /* fine tuning of special occurrences */
172 .keys td b[title] { /* mnemonic hover */
175 .keys td[onclick]:hover { /* link */
178 .keys td a { /* key link */
180 text-decoration: none;
187 .keys .lead td b { /* char with ctrl or leading key */
188 font-size: 100%; /* space is too limited for 2+ double-sized chars */
189 line-height: 5ex; /* keep double height though */
191 .keys .meta td b small,
192 .keys .ctrl td b small { /* meta key indicator */
194 font-weight: normal; /* nice and subtle */
200 border-collapse: collapse;
204 border: 1px solid #888;
211 /* character table */
213 .glyphs thead th, .glyphs td {
214 width: 1.6em; /* regular interval */
219 .glyphs.big tbody td {
235 background: transparent;
238 width: auto; /* no glyph cells in header */
244 font-size: 50%; /* mostly insignificant here */
248 text-align: right; /* variable width so keep near cells */
253 text-transform: uppercase;
256 border-top: 1px solid #888;
262 border: 1px solid #555;
266 table.color td samp {
267 margin: 0 -8px 0 8px;
268 font-family: inherit;
271 table.color td samp ~ samp {
273 table.color td samp small {
274 font: 100% monospace;
281 table-layout: fixed; /* prevent resizing, notably in msie6 */
283 .dimap thead th, .dimap td {
284 /* below-maximum size (but still average enough to be regular) so we can fit more */
285 width: 1.2em; /* msie only looks at the first row */
286 min-width: 1em; /* prevents gecko from restricting to page width */
289 text-align: center; /* row headers are also glyph-sized */
292 .mapped tbody, .mapped colgroup,
293 .dimap tbody, .dimap colgroup {
294 border: 2px double #888; /* major character group grid */
298 border-width: 2px 0; /* horizontal group dividers */
302 border-width: 0 2px; /* vertical divides */
305 /* digraph selection */
308 -moz-column-width: 24em;
309 -webkit-column-width: 24em;
314 column-break-inside: avoid;
315 -webkit-column-break-inside: avoid;
316 position: relative; z-index: 1; /* webkit bug */
319 /* glyph cell overlay (digraph labels) */
323 padding-bottom: 1.1ex; /* reserve space for label */
324 vertical-align: bottom;
330 margin-bottom: -2.2ex; /* take cell padding */
332 .glyphs small.digraph {
337 .glyphs small.value {
343 /* character properties */
345 .X {background: #FFF} /* unidentified */
346 #digraphs .Xa {color: #0A0} /* ascii */
347 #digraphs .Xl {color: #070} /* latin1 */
348 #digraphs .u-prop {color: #D00} /* proposed */
349 #digraphs .u-prop.ex {color: #D88; color: rgba(221, 0, 0, .5)} /* unofficial proposal */
351 .Lm, .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
352 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
356 .Greek {background: #FFE8CF}
357 .Cyrillic {background: #FFDDA8}
358 .Latin {background: #FFB}
360 .Hebrew {background: #FFD}
361 .Arabic {background: #EFE}
362 .African {background: #DED}
363 .Brahmic {background: #FBB} /* same as number */
364 .Khmer {background: #FBA}
366 .Syllabic {background: #DEA}
367 .Katakana {background: #DFA}
368 .Hiragana {background: #DFC}
369 .Bopomofo {background: #BFC}
370 .Han {background: #CFD}
371 .Alpha {background: #ADA} /* other scripts */
373 /* other categories */
374 .Nd, .Nl, .No {background: #FDD} /* number */
375 .Sc {background: #FCD} /* currency */
376 .Sm {background: #ECE} /* math */
377 .So {background: #DCF} /* symbol */
378 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
379 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
380 .Lm, .Sk {background: #CEE} /* spacing modifier */
381 .Mn {background: #ACC} /* modifier */
382 .Cc, .Cf {color: #666; background: #BBB} /* control */
383 .Zs {background: #ACB} /* space */
384 .Co, .Xi.Co {background: #DCC} /* private */
385 .Xi, .Cs {background: #CCC} /* invalid */
386 .Xd {color: #844} /* deprecated */
387 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
388 .dimap .Xr {background: #EEE} /* reversed digraph */
389 .ccmap .Xr {opacity:.4}
392 .l1 {background: #FDD} /* no, unsupported, other */
393 .l2 {background: #FED} /* partial, restricted, unofficial */
394 /* default u-prop, u-bmp */
395 .l3 {background: #FFD} /* almost, imperfect, common */
396 /* default u-di, u-lat1 */
397 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
398 /* default u-ascii */
399 .l5 {background: #DFD} /* complete, perfect */
400 .l0 {background: #EEE} /* unknown, omitted */
401 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
402 .u-invalid {background: #BBB} /* invalid, impossible */
406 .p::after {content: '!'; color: #F00}
407 .p4::after {color: #C00}
408 .p3::after {color: #A00}
409 .p2::after {color: #800}
411 .p0::after {color: #000}
412 .p09::after {opacity: .9}
413 .p08::after {opacity: .8}
414 .p07::after {opacity: .7}
415 .p06::after {opacity: .6}
416 .p05::after {opacity: .5}
417 .p04::after {opacity: .4}
418 .p03::after {opacity: .3}
419 .p02::after {opacity: .2}
420 .p01::after {opacity: .1}
421 .p00::after {display: none}
424 .sy-comment { color: #888 }
425 .sy-constant { color: #008 }
427 .sy-identifier { color: #804 }
430 .sy-special { color: #408 }
431 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
432 .sy-todo { background-color: #FF0 }
436 .X:hover {cursor: help}
437 .X:hover > span {background: #FFF} /* whitespace marker */
438 .Greek:hover, .Armenian:hover {background: #FA8}
439 .Cyrillic:hover {background: #FB7}
440 .Latin:hover {background: #EE4}
441 .Hebrew:hover, .Aramaic:hover {background: #FFA}
442 .Arabic:hover {background: #CFD}
443 .African:hover {background: #BDB}
444 .Syllabic:hover, .Hangul:hover {background: #CE6}
445 .Katakana:hover {background: #BF7}
446 .Hiragana:hover {background: #AF8}
447 .Bopomofo:hover {background: #8FA}
448 .Brahmic:hover {background: #F77}
449 .Khmer:hover {background: #F87}
450 .Han:hover {background: #5EB}
451 .Alpha:hover {background: #5C5}
452 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
453 .Sc:hover {background: #F8C} /* currency */
454 .Sm:hover {background: #F8F} /* math */
455 .So:hover {background: #A8F} /* symbol */
456 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
457 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
458 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
459 .Mn:hover {background: #CDE} /* modifier */
460 .Zs:hover {background: #CED} /* space */
461 .Cc:hover, .Cf:hover {background: #DDD} /* control */
462 .Co:hover {background: #A77} /* private */
463 .Xr:hover {background: #FFF} /* reserved */
464 .Xi:hover {background: #DDD} /* invalid */
465 .Xa:hover {outline: 1px solid #0F0} /* ascii */
466 .Xl:hover {outline: 1px solid #0C0} /* latin1 */
467 .u-prop:hover {outline: 1px solid #F00} /* proposed */
468 .l0:hover {background: #888}
469 .l1:hover {background: #F88}
470 .l2:hover {background: #FC8}
471 .l3:hover {background: #FF8}
472 .l4:hover {background: #CF8}
473 .l5:hover {background: #8F8}
475 /* key type colorization */
478 .g1 {background: #BFE} /* cyan: info */
480 .g2 {background: #BFB} /* green: motion */
481 .g3 {background: #DFA} /* greenish: jump (g2+) */
483 .g4 {background: #FFA} /* yellow: command */
485 .g5 {background: #FDA} /* orangish: open (g6-) */
486 .g6 {background: #FCA} /* orange: insert */
488 .g7 {background: #FCC} /* red: mode */
490 .g8 {background: #ECE} /* purple: visual (g7+) */
492 .g9 {background: #CCF} /* blue: prefix */
495 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
497 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
498 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
500 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
502 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
503 .g6 a:hover, .g6[onclick]:hover {background: #F97}
505 .g7 a:hover, .g7[onclick]:hover {background: #F88}
507 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
509 .g9 a:hover, .g9[onclick]:hover {background: #99F}
512 background: #EEE; /* unassigned */
516 padding: 1px; /* same size as borderlessless keys */
522 text-shadow: #F20 0 0 0.1em;
524 dl.legend dt.more:hover,
525 .keys td.more:hover b {
526 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
530 border-style: dashed;
537 /* l/r help columns */
550 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
553 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
558 float: left; /* align next to dt (except msie<=7 does just the opposite) */
563 .right dl.legend dt {
564 margin-right: -6.4em;
568 .right dl.legend dd {
578 margin: 0 0 1px; /* distinct keys */
579 height: auto; /* not key-height */
583 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
587 dl.legend-options dt {
596 margin: 6px 0; /* similar to dl legends */
612 text-decoration: none;
614 #browser td > a:active,
615 #browser td > a:hover {
616 text-decoration: underline;
622 -webkit-transition: all 1s ease-in;
623 -o-transition: all 1s ease-in;
624 -moz-transition: all 1s ease-in;
625 transition: height 1s ease-in;
627 #browser tr .aside p {
630 #browser tr.target .aside,
631 #browser tr:target .aside {
635 white-space: nowrap; /* some browsers break on dashes */
638 #browser tr:target > td:first-of-type,
639 #browser tr.focus > td:first-of-type {
642 #browser tr.focus > td {
643 border-bottom-color: #000;
660 ul.legend-set {display: none} /* current options only relevant on dynamic media */