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;
117 font-size: 1.9vmin; /* cover full width at most */
125 position: absolute; /* side note; do not influence alignment */
128 font-size: 50%; /* 1rem */
129 padding-top: 1.75ex; /* align baseline with container */
138 grid: auto-flow / 1fr 1fr;
154 @media (max-width: 42em) {
156 grid: auto-flow / minmax(8em, 1fr) minmax(10em, 3fr);
159 margin-bottom: 1ex; /* distinguish rows more as dts can wrap */
162 display: inline-block;
169 /* "keyboard" (list of keys) */
171 .row0 {margin-top: -5ex} /* top (esc) row fits besides header */
172 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
173 .row3 {margin-left: 8em}
174 .row4 {margin-left: 10em} /* should actually align to next key on row1 */
175 /* ...however rows>=1 are shifted a bit, to make space */
178 clear: both; /* start new row (screen row) */
182 /* start new row block (keyboard row) */
189 h3 {display: none} /* semantic details (non-css/js) */
190 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
195 border-collapse: collapse;
200 /* individual keys */
204 display: inline-block;
207 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
208 height: 4.5ex; /* 2 lines */
213 border: 1px solid #000;
215 -moz-border-radius: 4px;
216 text-transform-variation: text;
221 line-height: 2.5ex; /* inherits otherwise */
224 .keys .row0 td { /* omni-present esc */
228 /* fine tuning of special occurrences */
230 .keys td b[title] { /* mnemonic hover */
233 .keys td[onclick]:hover { /* link */
236 .keys td a { /* key link */
238 text-decoration: none;
245 .keys .lead td b { /* char with ctrl or leading key */
246 font-size: 100%; /* space is too limited for 2+ double-sized chars */
247 line-height: 5ex; /* keep double height though */
249 .keys .meta td b small,
250 .keys .ctrl td b small { /* meta key indicator */
252 font-weight: normal; /* nice and subtle */
262 font-size: calc(7vmin - 4px); /* fit 12 keys to page */
269 /* override row alignments */
271 font-size: calc(1.4vmin); /* enlarged td conversion */
273 .keys.big .row2 {margin-left: 7em}
274 .keys.big .row3 {margin-left: 8em}
275 .keys.big .row4 {margin-left: 10em}
277 display: none; /* headerless */
281 position: absolute; /* overlay */
283 top: -1.2ex; /* halfway over shift */
292 .keys.big .ctrl td b,
293 .keys.big .meta td b,
294 .keys.big .shift td b {
301 border-collapse: collapse;
305 border: 1px solid #888;
316 /* first cell determines border width for entire row */
317 border-top-color: transparent;
332 /* character table */
334 .glyphs thead th, .glyphs td {
335 width: 1.6em; /* regular interval */
340 .glyphs.big tbody td {
344 margin: 0.5ex 0; /* nested in legend */
351 min-width: 2.5ex; /* square cells */
360 background: transparent;
363 width: auto; /* no glyph cells in header */
366 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
367 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
373 font-size: 50%; /* mostly insignificant here */
377 text-align: right; /* variable width so keep near cells */
382 text-transform: uppercase;
385 border-top: 1px solid #888;
391 border: 1px solid #555;
395 table.color td samp {
396 margin: 0 -8px 0 8px;
397 font-family: inherit;
400 table.color td samp ~ samp {
402 table.color td samp small {
403 font: 100% monospace;
410 table-layout: fixed; /* prevent resizing, notably in msie6 */
412 .dimap thead th, .dimap td {
413 /* below-maximum size (but still average enough to be regular) so we can fit more */
414 width: 1.2em; /* msie only looks at the first row */
415 min-width: 1em; /* prevents gecko from restricting to page width */
418 text-align: center; /* row headers are also glyph-sized */
421 .mapped tbody, .mapped colgroup,
422 .dimap tbody, .dimap colgroup {
423 border: 2px double #888; /* major character group grid */
427 border-width: 2px 0; /* horizontal group dividers */
431 border-width: 0 2px; /* vertical divides */
434 /* digraph selection */
437 -moz-column-width: 24em;
438 -webkit-column-width: 24em;
443 column-break-inside: avoid;
444 -webkit-column-break-inside: avoid;
445 position: relative; z-index: 1; /* webkit bug */
448 /* glyph cell overlay (digraph labels) */
452 padding-bottom: 1.1ex; /* reserve space for label */
453 vertical-align: bottom;
455 .glyphs.dilabel small {
459 margin-bottom: -2.2ex; /* take cell padding */
461 .glyphs.dilabel small.digraph {
466 .glyphs.dilabel small.value {
472 /* character properties */
474 .X {background: #FFF} /* unidentified */
475 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
476 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
480 .Greek {background: #FFE8CF}
481 .Cyrillic {background: #FFDDA8}
482 .Latin {background: #FFB}
484 .Hebrew {background: #FFD}
485 .Arabic {background: #EFE}
486 .African {background: #DED}
487 .Brahmic {background: #FBB} /* same as number */
488 .Khmer {background: #FBA}
490 .Syllabic {background: #DEA}
491 .Katakana {background: #DFA}
492 .Hiragana {background: #DFC}
493 .Bopomofo {background: #BFC}
494 .Han {background: #CFD}
495 .Alpha {background: #ADA} /* other scripts */
497 /* other categories */
498 .Nd, .Nl, .No {background: #FDD} /* number */
499 .Sc {background: #FCD} /* currency */
500 .Sm {background: #ECE} /* math */
501 .So {background: #DCF} /* symbol */
502 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
503 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
504 .Lm, .Sk {background: #CEE} /* spacing modifier */
505 .Mn {background: #ACC} /* modifier */
506 .Cc, .Cf {color: #666; background: #BBB} /* control */
507 .Zs {background: #ACB} /* space */
508 .Co, .Xi.Co {background: #DCC} /* private */
509 .Xi, .Cs {background: #CCC} /* invalid */
510 .Xd {color: #844} /* deprecated */
511 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
512 .dimap .Xr {background: #EEE} /* reversed digraph */
513 .ccmap .Xr {opacity:.4}
516 .l1 {background: #FDD} /* no, unsupported, other */
517 .l2 {background: #FED} /* partial, restricted, unofficial */
518 /* default u-prop, u-bmp */
519 .l3 {background: #FFD} /* almost, imperfect, common */
520 /* default u-di, u-lat1 */
521 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
522 /* default u-ascii */
523 .l5 {background: #DFD} /* complete, perfect */
524 .l0 {background: #EEE} /* unknown, omitted */
525 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
526 .u-invalid {background: #BBB} /* invalid, impossible */
528 /* foreground representation */
529 #digraphs .u-l4 {color: #080} /* partial */
530 #digraphs .u-l5 {color: #4C0} /* experimental */
531 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial */
532 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* missing */
534 /* support percentage (browser cells) */
537 .p::after {content: '!'; color: #F00}
538 .p4::after {color: #C00}
539 .p3::after {color: #A00}
540 .p2::after {color: #800}
542 .p0::after {color: #000}
543 .p09::after {opacity: .9}
544 .p08::after {opacity: .8}
545 .p07::after {opacity: .7}
546 .p06::after {opacity: .6}
547 .p05::after {opacity: .5}
548 .p04::after {opacity: .4}
549 .p03::after {opacity: .3}
550 .p02::after {opacity: .2}
551 .p01::after {opacity: .1}
552 .p00::after {display: none}
555 .sy-comment { color: #888 }
556 .sy-constant { color: #008 }
557 .sy-identifier { color: #804 }
561 .sy-special { color: #408 }
562 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
563 .sy-todo { background-color: #FF0 }
565 /* boolean alternate */
566 .glyphs b { font-weight: normal; color: #800 }
569 .X:hover {cursor: help}
570 .X:hover > span {background: #FFF} /* whitespace marker */
571 .Greek:hover, .Armenian:hover {background: #FA8}
572 .Cyrillic:hover {background: #FB7}
573 .Latin:hover {background: #EE4}
574 .Hebrew:hover, .Aramaic:hover {background: #FFA}
575 .Arabic:hover {background: #CFD}
576 .African:hover {background: #BDB}
577 .Syllabic:hover, .Hangul:hover {background: #CE6}
578 .Katakana:hover {background: #BF7}
579 .Hiragana:hover {background: #AF8}
580 .Bopomofo:hover {background: #8FA}
581 .Brahmic:hover {background: #F77}
582 .Khmer:hover {background: #F87}
583 .Han:hover {background: #5EB}
584 .Alpha:hover {background: #5C5}
585 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
586 .Sc:hover {background: #F8C} /* currency */
587 .Sm:hover {background: #F8F} /* math */
588 .So:hover {background: #A8F} /* symbol */
589 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
590 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
591 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
592 .Mn:hover {background: #CDE} /* modifier */
593 .Zs:hover {background: #CED} /* space */
594 .Cc:hover, .Cf:hover {background: #DDD} /* control */
595 .Co:hover {background: #A77} /* private */
596 .Xr:hover {background: #FFF} /* reserved */
597 .Xi:hover {background: #DDD} /* invalid */
598 .l0:hover {background: #888}
599 .l1:hover {background: #F88}
600 .l2:hover {background: #FC8}
601 .l3:hover {background: #FF8}
602 .l4:hover {background: #CF8}
603 .l5:hover {background: #8F8}
604 .u-l4:hover {outline: 1px solid #080}
605 .u-l5:hover {outline: 1px solid #8F0}
606 .u-l2:hover {outline: 1px solid #800}
607 .u-l1:hover {outline: 1px solid #F00}
609 /* key type colorization */
612 .g1 {background: #BFE} /* cyan: info */
614 .g2 {background: #BFB} /* green: motion */
615 .g3 {background: #DFA} /* greenish: jump (g2+) */
617 .g4 {background: #FFA} /* yellow: command */
619 .g5 {background: #FDA} /* orangish: open (g6-) */
620 .g6 {background: #FCA} /* orange: insert */
622 .g7 {background: #FCC} /* red: mode */
624 .g8 {background: #ECE} /* purple: visual (g7+) */
626 .g9 {background: #CCF} /* blue: prefix */
629 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
631 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
632 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
634 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
636 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
637 .g6 a:hover, .g6[onclick]:hover {background: #F97}
639 .g7 a:hover, .g7[onclick]:hover {background: #F88}
641 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
643 .g9 a:hover, .g9[onclick]:hover {background: #99F}
646 background: #EEE; /* unassigned */
650 padding: 1px; /* same size as borderlessless keys */
656 outline: 3px solid #0006;
657 outline-offset: -3px; /* inside */
661 border-style: dashed;
669 /* l/r help columns */
682 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
685 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
690 float: left; /* align next to dt (except msie<=7 does just the opposite) */
695 .right dl.legend dt {
696 margin-right: -6.4em;
700 .right dl.legend dd {
710 margin: 0 0 1px; /* distinct keys */
711 height: auto; /* not key-height */
715 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
719 dl.legend-options dt {
728 margin: 6px 0; /* similar to dl legends */
748 vertical-align: bottom;
752 @media (min-width: 60em) {
756 background: rgba(255, 255, 255, .66);
761 box-sizing: border-box;
763 .gallery li.parent:hover > figure > figcaption,
764 .gallery figure:hover > figcaption {
765 /* highlight title of current and parents */
769 transform: translate(50%, 50%);
770 margin-left: -60%; /* keep width */
778 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
781 .gallery li, .gallery ul {
786 box-sizing: border-box;
790 .gallery figcaption > small {
791 display: inline-block;
794 @media (min-width: 403px) and (min-height: 266px) {
795 /* able to fit 2 cells of 200x133 */
796 .gallery li.large > figure {
801 @media (min-width: 603px) and (min-height: 400px) {
802 /* fit 3 cells of 200x133 */
803 .gallery > li:first-child > figure,
804 .gallery li.huge > figure {
810 .gallery figure, .gallery figcaption {
811 transition: all .5s ease-in;
813 .gallery figure:hover ~ ul figcaption {
814 /* mark all children */
816 background: rgba(0, 0, 0, .5);
819 .gallery figure[data-sup]:after {
822 content: attr(data-sup);
829 .gallery .expand > figure[data-sup]:after {
830 content: '+' attr(data-sup);
833 border: 2px solid #FFF8;
836 /* specialised galleries */
844 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
850 table.gallery tr > :first-child {
853 margin: auto; /* vertical-align: middle */
855 table.gallery tr > :nth-child(2) {
856 grid-column: 2; /* in case 1st is missing */
859 border: 0; /* does not collapse */
860 outline: 1px solid #888; /* over grid-gap */
866 text-decoration: none;
868 #browser td > a:active,
869 #browser td > a:hover {
870 text-decoration: underline;
876 -webkit-transition: all 1s ease-in;
877 -o-transition: all 1s ease-in;
878 -moz-transition: all 1s ease-in;
879 transition: height 1s ease-in;
881 #browser tr .aside p {
884 #browser tr.target .aside,
885 #browser tr:target .aside {
889 white-space: nowrap; /* some browsers break on dashes */
892 #browser tr:target > td:first-of-type,
893 #browser tr.focus > td:first-of-type {
896 #browser tr.focus > td {
897 border-bottom-color: #000;
907 font-variant: small-caps;
917 -webkit-column-break-inside: avoid; /* webkit */
918 page-break-inside: avoid; /* moz */
919 overflow: hidden; /* webkit workaround */
922 display: inline-block;
926 .units tbody tr:hover:not(.race) {
932 .unit-min, .unit-min a:not(:hover) {
938 .unit-o {color: #C08} /* organic */
939 .unit-u {color: #44C} /* mechanic */
940 .unit-p {color: #0A8} /* psionic */
947 .unit-x {color: #888}
948 .unit-s {color: #890}
949 .unit-m {color: #C70}
950 .unit-l {color: #D22}
951 .unit-h {color: #804}
956 .hurtrel, .units .hurtrel {
977 .unit-detect::before {
984 text-decoration-color: #8C0;
985 -moz-text-decoration-color: #8C0;
986 -webkit-text-decoration-color: #8C0;
997 ul.legend-set {display: none} /* current options only relevant on dynamic media */
1000 /* terse optimisation */
1002 @media (min-height: 112ex) and (min-width: 90em) {
1004 padding: 1ex 0 1ex .1em;
1009 @media (max-width: 79em) {
1011 position: relative; /* hides overflow */
1014 min-width: calc(7.7vw - 8px);
1019 .keys .lead td b { /* leading chars always fit */
1020 position: absolute; /* background */
1021 right: 0; /* least overlap in corner */
1028 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
1029 .row3 {margin-left: 6em} /* 8em / Δtd */
1030 .row4 {margin-left: 7.5em} /* 10em / Δtd */
1032 /* letter scripts columns to rows */
1033 .legend .glyphs:first-child td {
1035 vertical-align: baseline;
1037 .legend .glyphs td > table {
1042 .legend .glyphs:first-child td td {
1044 display: inline-block;
1048 @media (max-width: 61em) {
1051 height: 6.75ex; /* 3 lines */
1061 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
1062 .row3 {margin-left: 4em} /* 8em / Δtd */
1063 .row4 {margin-left: 5em} /* 10em / Δtd */
1066 @media (max-width: 42em) {
1067 /* flatten right legend column on mobile */
1079 .right dl.legend dt {
1081 margin-left: -6.4em;
1085 .right dl.legend dd {
1092 @media screen and (orientation: portrait) and (max-width: 62em) {
1096 transform: rotate(90deg);
1097 transform-origin: top left;
1099 margin-bottom: 30em;