11 text-decoration: underline;
15 text-decoration: none;
36 font-size: 91%; /* 100% */
37 margin-top: .3ex; /* align with 110% baseline */
56 position: relative; /* prevents buggy hovering in table if caption present in gecko */
62 #charset .section table {
63 margin: -0.5ex 0 1ex; /* headers provide sufficient spacing already */
82 background: rgba(255, 0, 0, .8);
84 border: 2px solid #000;
93 .error > *:last-child {
106 white-space: pre-wrap;
107 overflow-wrap: break-word;
121 position: absolute; /* side note; do not influence alignment */
138 /* "keyboard" (list of keys) */
140 #rows {margin-top: -5ex} /* top (esc) row fits besides header */
141 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
142 .row3 {margin-left: 8em}
143 .row4 {margin-left: 10em} /* should actually align to next key on row1 */
144 /* ...however rows>=1 are shifted a bit, to make space */
147 clear: both; /* start new row (screen row) */
151 /* start new row block (keyboard row) */
158 h3 {display: none} /* semantic details (non-css/js) */
159 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
163 width: 82.5em; /* 12 * td(2px + 1px + 6.2em + 1px + 2px) + 8em */
164 // padding-right: 72px;
166 border-collapse: collapse;
172 /* individual keys */
178 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
179 height: 4.5ex; /* 2 lines */
184 border: 1px solid #000;
186 -moz-border-radius: 4px;
187 text-transform-variation: text;
192 line-height: 2.5ex; /* inherits otherwise */
195 .keys .row0 td { /* omni-present esc */
199 /* fine tuning of special occurrences */
201 .keys td b[title] { /* mnemonic hover */
204 .keys td[onclick]:hover { /* link */
207 .keys td a { /* key link */
209 text-decoration: none;
216 .keys .lead td b { /* char with ctrl or leading key */
217 font-size: 100%; /* space is too limited for 2+ double-sized chars */
218 line-height: 5ex; /* keep double height though */
220 .keys .meta td b small,
221 .keys .ctrl td b small { /* meta key indicator */
223 font-weight: normal; /* nice and subtle */
229 border-collapse: collapse;
233 border: 1px solid #888;
244 /* first cell determines border width for entire row */
245 border-top-color: transparent;
254 /* character table */
256 .glyphs thead th, .glyphs td {
257 width: 1.6em; /* regular interval */
262 .glyphs.big tbody td {
266 margin: 0.5ex 0; /* nested in legend */
273 min-width: 2.5ex; /* square cells */
282 background: transparent;
285 width: auto; /* no glyph cells in header */
288 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
289 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
295 font-size: 50%; /* mostly insignificant here */
299 text-align: right; /* variable width so keep near cells */
304 text-transform: uppercase;
307 border-top: 1px solid #888;
313 border: 1px solid #555;
317 table.color td samp {
318 margin: 0 -8px 0 8px;
319 font-family: inherit;
322 table.color td samp ~ samp {
324 table.color td samp small {
325 font: 100% monospace;
332 table-layout: fixed; /* prevent resizing, notably in msie6 */
334 .dimap thead th, .dimap td {
335 /* below-maximum size (but still average enough to be regular) so we can fit more */
336 width: 1.2em; /* msie only looks at the first row */
337 min-width: 1em; /* prevents gecko from restricting to page width */
340 text-align: center; /* row headers are also glyph-sized */
343 .mapped tbody, .mapped colgroup,
344 .dimap tbody, .dimap colgroup {
345 border: 2px double #888; /* major character group grid */
349 border-width: 2px 0; /* horizontal group dividers */
353 border-width: 0 2px; /* vertical divides */
356 /* digraph selection */
359 -moz-column-width: 24em;
360 -webkit-column-width: 24em;
365 column-break-inside: avoid;
366 -webkit-column-break-inside: avoid;
367 position: relative; z-index: 1; /* webkit bug */
370 /* glyph cell overlay (digraph labels) */
374 padding-bottom: 1.1ex; /* reserve space for label */
375 vertical-align: bottom;
377 .glyphs.dilabel small {
381 margin-bottom: -2.2ex; /* take cell padding */
383 .glyphs.dilabel small.digraph {
388 .glyphs.dilabel small.value {
394 /* character properties */
396 .X {background: #FFF} /* unidentified */
397 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
398 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
402 .Greek {background: #FFE8CF}
403 .Cyrillic {background: #FFDDA8}
404 .Latin {background: #FFB}
406 .Hebrew {background: #FFD}
407 .Arabic {background: #EFE}
408 .African {background: #DED}
409 .Brahmic {background: #FBB} /* same as number */
410 .Khmer {background: #FBA}
412 .Syllabic {background: #DEA}
413 .Katakana {background: #DFA}
414 .Hiragana {background: #DFC}
415 .Bopomofo {background: #BFC}
416 .Han {background: #CFD}
417 .Alpha {background: #ADA} /* other scripts */
419 /* other categories */
420 .Nd, .Nl, .No {background: #FDD} /* number */
421 .Sc {background: #FCD} /* currency */
422 .Sm {background: #ECE} /* math */
423 .So {background: #DCF} /* symbol */
424 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
425 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
426 .Lm, .Sk {background: #CEE} /* spacing modifier */
427 .Mn {background: #ACC} /* modifier */
428 .Cc, .Cf {color: #666; background: #BBB} /* control */
429 .Zs {background: #ACB} /* space */
430 .Co, .Xi.Co {background: #DCC} /* private */
431 .Xi, .Cs {background: #CCC} /* invalid */
432 .Xd {color: #844} /* deprecated */
433 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
434 .dimap .Xr {background: #EEE} /* reversed digraph */
435 .ccmap .Xr {opacity:.4}
438 .l1 {background: #FDD} /* no, unsupported, other */
439 .l2 {background: #FED} /* partial, restricted, unofficial */
440 /* default u-prop, u-bmp */
441 .l3 {background: #FFD} /* almost, imperfect, common */
442 /* default u-di, u-lat1 */
443 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
444 /* default u-ascii */
445 .l5 {background: #DFD} /* complete, perfect */
446 .l0 {background: #EEE} /* unknown, omitted */
447 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
448 .u-invalid {background: #BBB} /* invalid, impossible */
450 /* foreground representation */
451 #digraphs .u-l3 {color: #080} /* partial */
452 #digraphs .u-l3.ex {color: #4C0} /* experimental */
453 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
454 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
456 /* support percentage (browser cells) */
459 .p::after {content: '!'; color: #F00}
460 .p4::after {color: #C00}
461 .p3::after {color: #A00}
462 .p2::after {color: #800}
464 .p0::after {color: #000}
465 .p09::after {opacity: .9}
466 .p08::after {opacity: .8}
467 .p07::after {opacity: .7}
468 .p06::after {opacity: .6}
469 .p05::after {opacity: .5}
470 .p04::after {opacity: .4}
471 .p03::after {opacity: .3}
472 .p02::after {opacity: .2}
473 .p01::after {opacity: .1}
474 .p00::after {display: none}
477 .sy-comment { color: #888 }
478 .sy-constant { color: #008 }
480 .sy-identifier { color: #804 }
483 .sy-special { color: #408 }
484 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
485 .sy-todo { background-color: #FF0 }
487 /* boolean alternate */
488 .glyphs b { font-weight: normal; color: #800 }
491 .X:hover {cursor: help}
492 .X:hover > span {background: #FFF} /* whitespace marker */
493 .Greek:hover, .Armenian:hover {background: #FA8}
494 .Cyrillic:hover {background: #FB7}
495 .Latin:hover {background: #EE4}
496 .Hebrew:hover, .Aramaic:hover {background: #FFA}
497 .Arabic:hover {background: #CFD}
498 .African:hover {background: #BDB}
499 .Syllabic:hover, .Hangul:hover {background: #CE6}
500 .Katakana:hover {background: #BF7}
501 .Hiragana:hover {background: #AF8}
502 .Bopomofo:hover {background: #8FA}
503 .Brahmic:hover {background: #F77}
504 .Khmer:hover {background: #F87}
505 .Han:hover {background: #5EB}
506 .Alpha:hover {background: #5C5}
507 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
508 .Sc:hover {background: #F8C} /* currency */
509 .Sm:hover {background: #F8F} /* math */
510 .So:hover {background: #A8F} /* symbol */
511 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
512 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
513 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
514 .Mn:hover {background: #CDE} /* modifier */
515 .Zs:hover {background: #CED} /* space */
516 .Cc:hover, .Cf:hover {background: #DDD} /* control */
517 .Co:hover {background: #A77} /* private */
518 .Xr:hover {background: #FFF} /* reserved */
519 .Xi:hover {background: #DDD} /* invalid */
520 .l0:hover {background: #888}
521 .l1:hover {background: #F88}
522 .l2:hover {background: #FC8}
523 .l3:hover {background: #FF8}
524 .l4:hover {background: #CF8}
525 .l5:hover {background: #8F8}
526 .u-l3:hover {outline: 1px solid #080}
527 .u-l3.ex:hover {outline: 1px solid #8F0}
528 .u-l2:hover {outline: 1px solid #800}
529 .u-l1:hover {outline: 1px solid #F00}
531 /* key type colorization */
534 .g1 {background: #BFE} /* cyan: info */
536 .g2 {background: #BFB} /* green: motion */
537 .g3 {background: #DFA} /* greenish: jump (g2+) */
539 .g4 {background: #FFA} /* yellow: command */
541 .g5 {background: #FDA} /* orangish: open (g6-) */
542 .g6 {background: #FCA} /* orange: insert */
544 .g7 {background: #FCC} /* red: mode */
546 .g8 {background: #ECE} /* purple: visual (g7+) */
548 .g9 {background: #CCF} /* blue: prefix */
551 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
553 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
554 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
556 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
558 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
559 .g6 a:hover, .g6[onclick]:hover {background: #F97}
561 .g7 a:hover, .g7[onclick]:hover {background: #F88}
563 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
565 .g9 a:hover, .g9[onclick]:hover {background: #99F}
568 background: #EEE; /* unassigned */
572 padding: 1px; /* same size as borderlessless keys */
578 text-shadow: #F20 0 0 0.1em;
580 dl.legend dt.more:hover,
581 .keys td.more:hover b {
582 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
586 border-style: dashed;
593 /* l/r help columns */
606 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
609 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
614 float: left; /* align next to dt (except msie<=7 does just the opposite) */
619 .right dl.legend dt {
620 margin-right: -6.4em;
624 .right dl.legend dd {
634 margin: 0 0 1px; /* distinct keys */
635 height: auto; /* not key-height */
639 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
643 dl.legend-options dt {
652 margin: 6px 0; /* similar to dl legends */
674 background: rgba(0, 0, 0, .5);
679 vertical-align: bottom;
686 text-decoration: none;
688 #browser td > a:active,
689 #browser td > a:hover {
690 text-decoration: underline;
696 -webkit-transition: all 1s ease-in;
697 -o-transition: all 1s ease-in;
698 -moz-transition: all 1s ease-in;
699 transition: height 1s ease-in;
701 #browser tr .aside p {
704 #browser tr.target .aside,
705 #browser tr:target .aside {
709 white-space: nowrap; /* some browsers break on dashes */
712 #browser tr:target > td:first-of-type,
713 #browser tr.focus > td:first-of-type {
716 #browser tr.focus > td {
717 border-bottom-color: #000;
727 font-variant: small-caps;
737 -webkit-column-break-inside: avoid; /* webkit */
738 page-break-inside: avoid; /* moz */
739 overflow: hidden; /* webkit workaround */
742 display: inline-block;
746 .units tbody tr:hover:not(.race) {
752 .unit-min, .unit-min a:not(:hover) {
758 .unit-o {color: #C08} /* organic */
759 .unit-u {color: #44C} /* mechanic */
760 .unit-p {color: #0A8} /* psionic */
767 .unit-x {color: #888}
768 .unit-s {color: #890}
769 .unit-m {color: #C70}
770 .unit-l {color: #D22}
771 .unit-h {color: #804}
776 .hurtrel, .units .hurtrel {
797 .unit-detect::before {
804 text-decoration-color: #8C0;
805 -moz-text-decoration-color: #8C0;
806 -webkit-text-decoration-color: #8C0;
817 ul.legend-set {display: none} /* current options only relevant on dynamic media */
820 /* terse optimisation */
822 @media (max-width: 79em) {
824 position: relative; /* hides overflow */
830 .keys .lead td b { /* leading chars always fit */
831 position: absolute; /* background */
832 right: 0; /* least overlap in corner */
840 width: 62.1em; /* 82.5em - 12 * Δtd(6.2em - 4.5em) */
842 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
843 .row3 {margin-left: 6em} /* 8em / Δtd */
844 .row4 {margin-left: 7.5em} /* 10em / Δtd */
846 @media (max-width: 61em) {
849 height: 6.75ex; /* 3 lines */
860 width: 37em; /* (12 * td(3em + 6px) + 8em) * 80% */
862 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
863 .row3 {margin-left: 4em} /* 8em / Δtd */
864 .row4 {margin-left: 5em} /* 10em / Δtd */
867 @media (max-width: 42em) {
868 /* flatten right legend column on mobile */
880 .right dl.legend dt {
886 .right dl.legend dd {
893 @media screen and (orientation: portrait) and (max-width: 62em) {
897 transform: rotate(90deg);
898 transform-origin: top left;