11 text-decoration: underline;
15 text-decoration: none;
54 position: relative; /* prevents buggy hovering in table if caption present in gecko */
60 #charset .section table {
61 margin: -0.5ex 0 1ex; /* headers provide sufficient spacing already */
80 background: rgba(255, 0, 0, .8);
82 border: 2px solid #000;
91 .error > *:last-child {
102 display: inline-block;
115 position: absolute; /* side note; do not influence alignment */
130 /* "keyboard" (list of keys) */
132 #rows {margin-top: -5ex} /* top (esc) row fits besides header */
133 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
134 .row3 {margin-left: 8em}
135 .row4 {margin-left: 10em} /* should actually align to next key on row0 */
136 /* ...however rows>=1 are shifted a bit, to make space */
139 clear: both; /* start new row (screen row) */
143 /* start new row block (keyboard row) */
150 h3 {display: none} /* semantic details (non-css/js) */
151 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
155 width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/
156 // padding-right: 72px;
158 border-collapse: collapse;
164 /* individual keys */
170 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
171 height: 4.5ex; /* 2 lines */
176 border: 1px solid #000;
178 -moz-border-radius: 4px;
179 text-transform-variation: text;
184 line-height: 2.5ex; /* inherits otherwise */
187 .keys .row0 td { /* omni-present esc */
191 /* fine tuning of special occurrences */
193 .keys td b[title] { /* mnemonic hover */
196 .keys td[onclick]:hover { /* link */
199 .keys td a { /* key link */
201 text-decoration: none;
208 .keys .lead td b { /* char with ctrl or leading key */
209 font-size: 100%; /* space is too limited for 2+ double-sized chars */
210 line-height: 5ex; /* keep double height though */
212 .keys .meta td b small,
213 .keys .ctrl td b small { /* meta key indicator */
215 font-weight: normal; /* nice and subtle */
221 border-collapse: collapse;
225 border: 1px solid #888;
236 /* first cell determines border width for entire row */
237 border-top-color: transparent;
246 /* character table */
248 .glyphs thead th, .glyphs td {
249 width: 1.6em; /* regular interval */
254 .glyphs.big tbody td {
258 margin: 0.5ex 0; /* nested in legend */
265 min-width: 2.5ex; /* square cells */
274 background: transparent;
277 width: auto; /* no glyph cells in header */
283 font-size: 50%; /* mostly insignificant here */
287 text-align: right; /* variable width so keep near cells */
292 text-transform: uppercase;
295 border-top: 1px solid #888;
301 border: 1px solid #555;
305 table.color td samp {
306 margin: 0 -8px 0 8px;
307 font-family: inherit;
310 table.color td samp ~ samp {
312 table.color td samp small {
313 font: 100% monospace;
320 table-layout: fixed; /* prevent resizing, notably in msie6 */
322 .dimap thead th, .dimap td {
323 /* below-maximum size (but still average enough to be regular) so we can fit more */
324 width: 1.2em; /* msie only looks at the first row */
325 min-width: 1em; /* prevents gecko from restricting to page width */
328 text-align: center; /* row headers are also glyph-sized */
331 .mapped tbody, .mapped colgroup,
332 .dimap tbody, .dimap colgroup {
333 border: 2px double #888; /* major character group grid */
337 border-width: 2px 0; /* horizontal group dividers */
341 border-width: 0 2px; /* vertical divides */
344 /* digraph selection */
347 -moz-column-width: 24em;
348 -webkit-column-width: 24em;
353 column-break-inside: avoid;
354 -webkit-column-break-inside: avoid;
355 position: relative; z-index: 1; /* webkit bug */
358 /* glyph cell overlay (digraph labels) */
362 padding-bottom: 1.1ex; /* reserve space for label */
363 vertical-align: bottom;
365 .glyphs.dilabel small {
369 margin-bottom: -2.2ex; /* take cell padding */
371 .glyphs.dilabel small.digraph {
376 .glyphs.dilabel small.value {
382 /* character properties */
384 .X {background: #FFF} /* unidentified */
385 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
386 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
390 .Greek {background: #FFE8CF}
391 .Cyrillic {background: #FFDDA8}
392 .Latin {background: #FFB}
394 .Hebrew {background: #FFD}
395 .Arabic {background: #EFE}
396 .African {background: #DED}
397 .Brahmic {background: #FBB} /* same as number */
398 .Khmer {background: #FBA}
400 .Syllabic {background: #DEA}
401 .Katakana {background: #DFA}
402 .Hiragana {background: #DFC}
403 .Bopomofo {background: #BFC}
404 .Han {background: #CFD}
405 .Alpha {background: #ADA} /* other scripts */
407 /* other categories */
408 .Nd, .Nl, .No {background: #FDD} /* number */
409 .Sc {background: #FCD} /* currency */
410 .Sm {background: #ECE} /* math */
411 .So {background: #DCF} /* symbol */
412 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
413 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
414 .Lm, .Sk {background: #CEE} /* spacing modifier */
415 .Mn {background: #ACC} /* modifier */
416 .Cc, .Cf {color: #666; background: #BBB} /* control */
417 .Zs {background: #ACB} /* space */
418 .Co, .Xi.Co {background: #DCC} /* private */
419 .Xi, .Cs {background: #CCC} /* invalid */
420 .Xd {color: #844} /* deprecated */
421 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
422 .dimap .Xr {background: #EEE} /* reversed digraph */
423 .ccmap .Xr {opacity:.4}
426 .l1 {background: #FDD} /* no, unsupported, other */
427 .l2 {background: #FED} /* partial, restricted, unofficial */
428 /* default u-prop, u-bmp */
429 .l3 {background: #FFD} /* almost, imperfect, common */
430 /* default u-di, u-lat1 */
431 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
432 /* default u-ascii */
433 .l5 {background: #DFD} /* complete, perfect */
434 .l0 {background: #EEE} /* unknown, omitted */
435 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
436 .u-invalid {background: #BBB} /* invalid, impossible */
438 /* foreground representation */
439 #digraphs .u-l3 {color: #080} /* partial */
440 #digraphs .u-l3.ex {color: #4C0} /* experimental */
441 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
442 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
444 /* support percentage (browser cells) */
447 .p::after {content: '!'; color: #F00}
448 .p4::after {color: #C00}
449 .p3::after {color: #A00}
450 .p2::after {color: #800}
452 .p0::after {color: #000}
453 .p09::after {opacity: .9}
454 .p08::after {opacity: .8}
455 .p07::after {opacity: .7}
456 .p06::after {opacity: .6}
457 .p05::after {opacity: .5}
458 .p04::after {opacity: .4}
459 .p03::after {opacity: .3}
460 .p02::after {opacity: .2}
461 .p01::after {opacity: .1}
462 .p00::after {display: none}
465 .sy-comment { color: #888 }
466 .sy-constant { color: #008 }
468 .sy-identifier { color: #804 }
471 .sy-special { color: #408 }
472 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
473 .sy-todo { background-color: #FF0 }
475 /* boolean alternate */
476 .glyphs b { font-weight: normal; color: #800 }
479 .X:hover {cursor: help}
480 .X:hover > span {background: #FFF} /* whitespace marker */
481 .Greek:hover, .Armenian:hover {background: #FA8}
482 .Cyrillic:hover {background: #FB7}
483 .Latin:hover {background: #EE4}
484 .Hebrew:hover, .Aramaic:hover {background: #FFA}
485 .Arabic:hover {background: #CFD}
486 .African:hover {background: #BDB}
487 .Syllabic:hover, .Hangul:hover {background: #CE6}
488 .Katakana:hover {background: #BF7}
489 .Hiragana:hover {background: #AF8}
490 .Bopomofo:hover {background: #8FA}
491 .Brahmic:hover {background: #F77}
492 .Khmer:hover {background: #F87}
493 .Han:hover {background: #5EB}
494 .Alpha:hover {background: #5C5}
495 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
496 .Sc:hover {background: #F8C} /* currency */
497 .Sm:hover {background: #F8F} /* math */
498 .So:hover {background: #A8F} /* symbol */
499 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
500 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
501 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
502 .Mn:hover {background: #CDE} /* modifier */
503 .Zs:hover {background: #CED} /* space */
504 .Cc:hover, .Cf:hover {background: #DDD} /* control */
505 .Co:hover {background: #A77} /* private */
506 .Xr:hover {background: #FFF} /* reserved */
507 .Xi:hover {background: #DDD} /* invalid */
508 .l0:hover {background: #888}
509 .l1:hover {background: #F88}
510 .l2:hover {background: #FC8}
511 .l3:hover {background: #FF8}
512 .l4:hover {background: #CF8}
513 .l5:hover {background: #8F8}
514 .u-l3:hover {outline: 1px solid #080}
515 .u-l3.ex:hover {outline: 1px solid #8F0}
516 .u-l2:hover {outline: 1px solid #800}
517 .u-l1:hover {outline: 1px solid #F00}
519 /* key type colorization */
522 .g1 {background: #BFE} /* cyan: info */
524 .g2 {background: #BFB} /* green: motion */
525 .g3 {background: #DFA} /* greenish: jump (g2+) */
527 .g4 {background: #FFA} /* yellow: command */
529 .g5 {background: #FDA} /* orangish: open (g6-) */
530 .g6 {background: #FCA} /* orange: insert */
532 .g7 {background: #FCC} /* red: mode */
534 .g8 {background: #ECE} /* purple: visual (g7+) */
536 .g9 {background: #CCF} /* blue: prefix */
539 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
541 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
542 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
544 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
546 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
547 .g6 a:hover, .g6[onclick]:hover {background: #F97}
549 .g7 a:hover, .g7[onclick]:hover {background: #F88}
551 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
553 .g9 a:hover, .g9[onclick]:hover {background: #99F}
556 background: #EEE; /* unassigned */
560 padding: 1px; /* same size as borderlessless keys */
566 text-shadow: #F20 0 0 0.1em;
568 dl.legend dt.more:hover,
569 .keys td.more:hover b {
570 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
574 border-style: dashed;
581 /* l/r help columns */
594 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
597 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
602 float: left; /* align next to dt (except msie<=7 does just the opposite) */
607 .right dl.legend dt {
608 margin-right: -6.4em;
612 .right dl.legend dd {
622 margin: 0 0 1px; /* distinct keys */
623 height: auto; /* not key-height */
627 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
631 dl.legend-options dt {
640 margin: 6px 0; /* similar to dl legends */
656 text-decoration: none;
658 #browser td > a:active,
659 #browser td > a:hover {
660 text-decoration: underline;
666 -webkit-transition: all 1s ease-in;
667 -o-transition: all 1s ease-in;
668 -moz-transition: all 1s ease-in;
669 transition: height 1s ease-in;
671 #browser tr .aside p {
674 #browser tr.target .aside,
675 #browser tr:target .aside {
679 white-space: nowrap; /* some browsers break on dashes */
682 #browser tr:target > td:first-of-type,
683 #browser tr.focus > td:first-of-type {
686 #browser tr.focus > td {
687 border-bottom-color: #000;
697 font-variant: small-caps;
707 -webkit-column-break-inside: avoid; /* webkit */
708 page-break-inside: avoid; /* moz */
711 display: inline-block;
723 ul.legend-set {display: none} /* current options only relevant on dynamic media */