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(20em, 1fr);
159 margin-bottom: 1ex; /* distinguish rows more as dts can wrap */
163 /* "keyboard" (list of keys) */
165 .row0 {margin-top: -5ex} /* top (esc) row fits besides header */
166 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
167 .row3 {margin-left: 8em}
168 .row4 {margin-left: 10em} /* should actually align to next key on row1 */
169 /* ...however rows>=1 are shifted a bit, to make space */
172 clear: both; /* start new row (screen row) */
176 /* start new row block (keyboard row) */
183 h3 {display: none} /* semantic details (non-css/js) */
184 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
189 border-collapse: collapse;
194 /* individual keys */
198 display: inline-block;
201 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
202 height: 4.5ex; /* 2 lines */
207 border: 1px solid #000;
209 -moz-border-radius: 4px;
210 text-transform-variation: text;
215 line-height: 2.5ex; /* inherits otherwise */
218 .keys .row0 td { /* omni-present esc */
222 /* fine tuning of special occurrences */
224 .keys td b[title] { /* mnemonic hover */
227 .keys td[onclick]:hover { /* link */
230 .keys td a { /* key link */
232 text-decoration: none;
239 .keys .lead td b { /* char with ctrl or leading key */
240 font-size: 100%; /* space is too limited for 2+ double-sized chars */
241 line-height: 5ex; /* keep double height though */
243 .keys .meta td b small,
244 .keys .ctrl td b small { /* meta key indicator */
246 font-weight: normal; /* nice and subtle */
256 font-size: calc(7vmin - 4px); /* fit 12 keys to page */
263 /* override row alignments */
265 font-size: calc(1.4vmin); /* enlarged td conversion */
267 .keys.big .row2 {margin-left: 7em}
268 .keys.big .row3 {margin-left: 8em}
269 .keys.big .row4 {margin-left: 10em}
271 display: none; /* headerless */
275 position: absolute; /* overlay */
277 top: -1.2ex; /* halfway over shift */
286 .keys.big .ctrl td b,
287 .keys.big .meta td b,
288 .keys.big .shift td b {
295 border-collapse: collapse;
299 border: 1px solid #888;
310 /* first cell determines border width for entire row */
311 border-top-color: transparent;
326 /* character table */
328 .glyphs thead th, .glyphs td {
329 width: 1.6em; /* regular interval */
334 .glyphs.big tbody td {
338 margin: 0.5ex 0; /* nested in legend */
345 min-width: 2.5ex; /* square cells */
354 background: transparent;
357 width: auto; /* no glyph cells in header */
360 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
361 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
367 font-size: 50%; /* mostly insignificant here */
371 text-align: right; /* variable width so keep near cells */
376 text-transform: uppercase;
379 border-top: 1px solid #888;
385 border: 1px solid #555;
389 table.color td samp {
390 margin: 0 -8px 0 8px;
391 font-family: inherit;
394 table.color td samp ~ samp {
396 table.color td samp small {
397 font: 100% monospace;
404 table-layout: fixed; /* prevent resizing, notably in msie6 */
406 .dimap thead th, .dimap td {
407 /* below-maximum size (but still average enough to be regular) so we can fit more */
408 width: 1.2em; /* msie only looks at the first row */
409 min-width: 1em; /* prevents gecko from restricting to page width */
412 text-align: center; /* row headers are also glyph-sized */
415 .mapped tbody, .mapped colgroup,
416 .dimap tbody, .dimap colgroup {
417 border: 2px double #888; /* major character group grid */
421 border-width: 2px 0; /* horizontal group dividers */
425 border-width: 0 2px; /* vertical divides */
428 /* digraph selection */
431 -moz-column-width: 24em;
432 -webkit-column-width: 24em;
437 column-break-inside: avoid;
438 -webkit-column-break-inside: avoid;
439 position: relative; z-index: 1; /* webkit bug */
442 /* glyph cell overlay (digraph labels) */
446 padding-bottom: 1.1ex; /* reserve space for label */
447 vertical-align: bottom;
449 .glyphs.dilabel small {
453 margin-bottom: -2.2ex; /* take cell padding */
455 .glyphs.dilabel small.digraph {
460 .glyphs.dilabel small.value {
466 /* character properties */
468 .X {background: #FFF} /* unidentified */
469 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
470 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
474 .Greek {background: #FFE8CF}
475 .Cyrillic {background: #FFDDA8}
476 .Latin {background: #FFB}
478 .Hebrew {background: #FFD}
479 .Arabic {background: #EFE}
480 .African {background: #DED}
481 .Brahmic {background: #FBB} /* same as number */
482 .Khmer {background: #FBA}
484 .Syllabic {background: #DEA}
485 .Katakana {background: #DFA}
486 .Hiragana {background: #DFC}
487 .Bopomofo {background: #BFC}
488 .Han {background: #CFD}
489 .Alpha {background: #ADA} /* other scripts */
491 /* other categories */
492 .Nd, .Nl, .No {background: #FDD} /* number */
493 .Sc {background: #FCD} /* currency */
494 .Sm {background: #ECE} /* math */
495 .So {background: #DCF} /* symbol */
496 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
497 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
498 .Lm, .Sk {background: #CEE} /* spacing modifier */
499 .Mn {background: #ACC} /* modifier */
500 .Cc, .Cf {color: #666; background: #BBB} /* control */
501 .Zs {background: #ACB} /* space */
502 .Co, .Xi.Co {background: #DCC} /* private */
503 .Xi, .Cs {background: #CCC} /* invalid */
504 .Xd {color: #844} /* deprecated */
505 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
506 .dimap .Xr {background: #EEE} /* reversed digraph */
507 .ccmap .Xr {opacity:.4}
510 .l1 {background: #FDD} /* no, unsupported, other */
511 .l2 {background: #FED} /* partial, restricted, unofficial */
512 /* default u-prop, u-bmp */
513 .l3 {background: #FFD} /* almost, imperfect, common */
514 /* default u-di, u-lat1 */
515 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
516 /* default u-ascii */
517 .l5 {background: #DFD} /* complete, perfect */
518 .l0 {background: #EEE} /* unknown, omitted */
519 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
520 .u-invalid {background: #BBB} /* invalid, impossible */
522 /* foreground representation */
523 #digraphs .u-l4 {color: #080} /* partial */
524 #digraphs .u-l5 {color: #4C0} /* experimental */
525 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial */
526 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* missing */
528 /* support percentage (browser cells) */
531 .p::after {content: '!'; color: #F00}
532 .p4::after {color: #C00}
533 .p3::after {color: #A00}
534 .p2::after {color: #800}
536 .p0::after {color: #000}
537 .p09::after {opacity: .9}
538 .p08::after {opacity: .8}
539 .p07::after {opacity: .7}
540 .p06::after {opacity: .6}
541 .p05::after {opacity: .5}
542 .p04::after {opacity: .4}
543 .p03::after {opacity: .3}
544 .p02::after {opacity: .2}
545 .p01::after {opacity: .1}
546 .p00::after {display: none}
549 .sy-comment { color: #888 }
550 .sy-constant { color: #008 }
551 .sy-identifier { color: #804 }
555 .sy-special { color: #408 }
556 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
557 .sy-todo { background-color: #FF0 }
559 /* boolean alternate */
560 .glyphs b { font-weight: normal; color: #800 }
563 .X:hover {cursor: help}
564 .X:hover > span {background: #FFF} /* whitespace marker */
565 .Greek:hover, .Armenian:hover {background: #FA8}
566 .Cyrillic:hover {background: #FB7}
567 .Latin:hover {background: #EE4}
568 .Hebrew:hover, .Aramaic:hover {background: #FFA}
569 .Arabic:hover {background: #CFD}
570 .African:hover {background: #BDB}
571 .Syllabic:hover, .Hangul:hover {background: #CE6}
572 .Katakana:hover {background: #BF7}
573 .Hiragana:hover {background: #AF8}
574 .Bopomofo:hover {background: #8FA}
575 .Brahmic:hover {background: #F77}
576 .Khmer:hover {background: #F87}
577 .Han:hover {background: #5EB}
578 .Alpha:hover {background: #5C5}
579 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
580 .Sc:hover {background: #F8C} /* currency */
581 .Sm:hover {background: #F8F} /* math */
582 .So:hover {background: #A8F} /* symbol */
583 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
584 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
585 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
586 .Mn:hover {background: #CDE} /* modifier */
587 .Zs:hover {background: #CED} /* space */
588 .Cc:hover, .Cf:hover {background: #DDD} /* control */
589 .Co:hover {background: #A77} /* private */
590 .Xr:hover {background: #FFF} /* reserved */
591 .Xi:hover {background: #DDD} /* invalid */
592 .l0:hover {background: #888}
593 .l1:hover {background: #F88}
594 .l2:hover {background: #FC8}
595 .l3:hover {background: #FF8}
596 .l4:hover {background: #CF8}
597 .l5:hover {background: #8F8}
598 .u-l4:hover {outline: 1px solid #080}
599 .u-l5:hover {outline: 1px solid #8F0}
600 .u-l2:hover {outline: 1px solid #800}
601 .u-l1:hover {outline: 1px solid #F00}
603 /* key type colorization */
606 .g1 {background: #BFE} /* cyan: info */
608 .g2 {background: #BFB} /* green: motion */
609 .g3 {background: #DFA} /* greenish: jump (g2+) */
611 .g4 {background: #FFA} /* yellow: command */
613 .g5 {background: #FDA} /* orangish: open (g6-) */
614 .g6 {background: #FCA} /* orange: insert */
616 .g7 {background: #FCC} /* red: mode */
618 .g8 {background: #ECE} /* purple: visual (g7+) */
620 .g9 {background: #CCF} /* blue: prefix */
623 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
625 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
626 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
628 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
630 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
631 .g6 a:hover, .g6[onclick]:hover {background: #F97}
633 .g7 a:hover, .g7[onclick]:hover {background: #F88}
635 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
637 .g9 a:hover, .g9[onclick]:hover {background: #99F}
640 background: #EEE; /* unassigned */
644 padding: 1px; /* same size as borderlessless keys */
650 outline: 3px solid #0006;
651 outline-offset: -3px; /* inside */
655 border-style: dashed;
663 /* l/r help columns */
676 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
679 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
684 float: left; /* align next to dt (except msie<=7 does just the opposite) */
689 .right dl.legend dt {
690 margin-right: -6.4em;
694 .right dl.legend dd {
704 margin: 0 0 1px; /* distinct keys */
705 height: auto; /* not key-height */
709 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
713 dl.legend-options dt {
722 margin: 6px 0; /* similar to dl legends */
742 vertical-align: bottom;
746 @media (min-width: 60em) {
750 background: rgba(255, 255, 255, .66);
755 box-sizing: border-box;
757 .gallery li.parent:hover > figure > figcaption,
758 .gallery figure:hover > figcaption {
759 /* highlight title of current and parents */
763 transform: translate(50%, 50%);
764 margin-left: -60%; /* keep width */
772 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
775 .gallery li, .gallery ul {
780 box-sizing: border-box;
784 .gallery figcaption > small {
785 display: inline-block;
788 @media (min-width: 403px) and (min-height: 266px) {
789 /* able to fit 2 cells of 200x133 */
790 .gallery li.large > figure {
795 @media (min-width: 603px) and (min-height: 400px) {
796 /* fit 3 cells of 200x133 */
797 .gallery > li:first-child > figure,
798 .gallery li.huge > figure {
804 .gallery figure, .gallery figcaption {
805 transition: all .5s ease-in;
807 .gallery figure:hover ~ ul figcaption {
808 /* mark all children */
810 background: rgba(0, 0, 0, .5);
813 .gallery figure[data-sup]:after {
816 content: attr(data-sup);
823 .gallery .expand > figure[data-sup]:after {
824 content: '+' attr(data-sup);
827 border: 2px solid #FFF8;
830 /* specialised galleries */
838 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
844 table.gallery tr > :first-child {
847 margin: auto; /* vertical-align: middle */
849 table.gallery tr > :nth-child(2) {
850 grid-column: 2; /* in case 1st is missing */
853 border: 0; /* does not collapse */
854 outline: 1px solid #888; /* over grid-gap */
860 text-decoration: none;
862 #browser td > a:active,
863 #browser td > a:hover {
864 text-decoration: underline;
870 -webkit-transition: all 1s ease-in;
871 -o-transition: all 1s ease-in;
872 -moz-transition: all 1s ease-in;
873 transition: height 1s ease-in;
875 #browser tr .aside p {
878 #browser tr.target .aside,
879 #browser tr:target .aside {
883 white-space: nowrap; /* some browsers break on dashes */
886 #browser tr:target > td:first-of-type,
887 #browser tr.focus > td:first-of-type {
890 #browser tr.focus > td {
891 border-bottom-color: #000;
901 font-variant: small-caps;
911 -webkit-column-break-inside: avoid; /* webkit */
912 page-break-inside: avoid; /* moz */
913 overflow: hidden; /* webkit workaround */
916 display: inline-block;
920 .units tbody tr:hover:not(.race) {
926 .unit-min, .unit-min a:not(:hover) {
932 .unit-o {color: #C08} /* organic */
933 .unit-u {color: #44C} /* mechanic */
934 .unit-p {color: #0A8} /* psionic */
941 .unit-x {color: #888}
942 .unit-s {color: #890}
943 .unit-m {color: #C70}
944 .unit-l {color: #D22}
945 .unit-h {color: #804}
950 .hurtrel, .units .hurtrel {
971 .unit-detect::before {
978 text-decoration-color: #8C0;
979 -moz-text-decoration-color: #8C0;
980 -webkit-text-decoration-color: #8C0;
991 ul.legend-set {display: none} /* current options only relevant on dynamic media */
994 /* terse optimisation */
996 @media (min-height: 112ex) and (min-width: 90em) {
998 padding: 1ex 0 1ex .1em;
1003 @media (max-width: 79em) {
1005 position: relative; /* hides overflow */
1008 min-width: calc(7.7vw - 8px);
1013 .keys .lead td b { /* leading chars always fit */
1014 position: absolute; /* background */
1015 right: 0; /* least overlap in corner */
1022 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
1023 .row3 {margin-left: 6em} /* 8em / Δtd */
1024 .row4 {margin-left: 7.5em} /* 10em / Δtd */
1026 /* letter scripts columns to rows */
1027 .legend .glyphs:first-child td {
1029 vertical-align: baseline;
1031 .legend .glyphs td > table {
1036 .legend .glyphs:first-child td td {
1038 display: inline-block;
1042 @media (max-width: 61em) {
1045 height: 6.75ex; /* 3 lines */
1055 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
1056 .row3 {margin-left: 4em} /* 8em / Δtd */
1057 .row4 {margin-left: 5em} /* 10em / Δtd */
1060 @media (max-width: 42em) {
1061 /* flatten right legend column on mobile */
1073 .right dl.legend dt {
1075 margin-left: -6.4em;
1079 .right dl.legend dd {
1086 @media screen and (orientation: portrait) and (max-width: 62em) {
1090 transform: rotate(90deg);
1091 transform-origin: top left;
1093 margin-bottom: 30em;