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 body { // precedence in dark
571 .X:hover > span {background: #FFF} /* whitespace marker */
572 .Greek:hover, .Armenian:hover {background: #FA8}
573 .Cyrillic:hover {background: #FB7}
574 .Latin:hover {background: #EE4}
575 .Hebrew:hover, .Aramaic:hover {background: #FFA}
576 .Arabic:hover {background: #CFD}
577 .African:hover {background: #BDB}
578 .Syllabic:hover, .Hangul:hover {background: #CE6}
579 .Katakana:hover {background: #BF7}
580 .Hiragana:hover {background: #AF8}
581 .Bopomofo:hover {background: #8FA}
582 .Brahmic:hover {background: #F77}
583 .Khmer:hover {background: #F87}
584 .Han:hover {background: #5EB}
585 .Alpha:hover {background: #5C5}
586 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
587 .Sc:hover {background: #F8C} /* currency */
588 .Sm:hover {background: #F8F} /* math */
589 .So:hover {background: #A8F} /* symbol */
590 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
591 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
592 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
593 .Mn:hover {background: #CDE} /* modifier */
594 .Zs:hover {background: #CED} /* space */
595 .Cc:hover, .Cf:hover {background: #DDD} /* control */
596 .Co:hover {background: #A77} /* private */
597 .Xr:hover {background: #FFF} /* reserved */
598 .Xi:hover {background: #DDD} /* invalid */
599 .l0:hover {background: #888}
600 .l1:hover {background: #F88}
601 .l2:hover {background: #FC8}
602 .l3:hover {background: #FF8}
603 .l4:hover {background: #CF8}
604 .l5:hover {background: #8F8}
606 .u-l4:hover {outline: 1px solid #080}
607 .u-l5:hover {outline: 1px solid #8F0}
608 .u-l2:hover {outline: 1px solid #800}
609 .u-l1:hover {outline: 1px solid #F00}
611 /* key type colorization */
614 .g1 {background: #BFE} /* cyan: info */
616 .g2 {background: #BFB} /* green: motion */
617 .g3 {background: #DFA} /* greenish: jump (g2+) */
619 .g4 {background: #FFA} /* yellow: command */
621 .g5 {background: #FDA} /* orangish: open (g6-) */
622 .g6 {background: #FCA} /* orange: insert */
624 .g7 {background: #FCC} /* red: mode */
626 .g8 {background: #ECE} /* purple: visual (g7+) */
628 .g9 {background: #CCF} /* blue: prefix */
631 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
633 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
634 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
636 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
638 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
639 .g6 a:hover, .g6[onclick]:hover {background: #F97}
641 .g7 a:hover, .g7[onclick]:hover {background: #F88}
643 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
645 .g9 a:hover, .g9[onclick]:hover {background: #99F}
648 background: #EEE; /* unassigned */
652 padding: 1px; /* same size as borderlessless keys */
658 outline: 3px solid #0006;
659 outline-offset: -3px; /* inside */
663 border-style: dashed;
671 /* l/r help columns */
684 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
687 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
692 float: left; /* align next to dt (except msie<=7 does just the opposite) */
697 .right dl.legend dt {
698 margin-right: -6.4em;
702 .right dl.legend dd {
712 margin: 0 0 1px; /* distinct keys */
713 height: auto; /* not key-height */
717 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
721 dl.legend-options dt {
730 margin: 6px 0; /* similar to dl legends */
750 vertical-align: bottom;
754 @media (min-width: 60em) {
758 background: rgba(255, 255, 255, .66);
763 box-sizing: border-box;
765 .gallery li.parent:hover > figure > figcaption,
766 .gallery figure:hover > figcaption {
767 /* highlight title of current and parents */
771 transform: translate(50%, 50%);
772 margin-left: -60%; /* keep width */
780 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
783 .gallery li, .gallery ul {
788 box-sizing: border-box;
792 .gallery figcaption > small {
793 display: inline-block;
796 @media (min-width: 403px) and (min-height: 266px) {
797 /* able to fit 2 cells of 200x133 */
798 .gallery li.large > figure {
803 @media (min-width: 603px) and (min-height: 400px) {
804 /* fit 3 cells of 200x133 */
805 .gallery > li:first-child > figure,
806 .gallery li.huge > figure {
812 .gallery figure, .gallery figcaption {
813 transition: all .5s ease-in;
815 .gallery figure:hover ~ ul figcaption {
816 /* mark all children */
818 background: rgba(0, 0, 0, .5);
821 .gallery figure[data-sup]:after {
824 content: attr(data-sup);
831 .gallery .expand > figure[data-sup]:after {
832 content: '+' attr(data-sup);
835 border: 2px solid #FFF8;
838 /* specialised galleries */
846 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
852 table.gallery tr > :first-child {
855 margin: auto; /* vertical-align: middle */
857 table.gallery tr > :nth-child(2) {
858 grid-column: 2; /* in case 1st is missing */
861 border: 0; /* does not collapse */
862 outline: 1px solid #888; /* over grid-gap */
868 text-decoration: none;
870 #browser td > a:active,
871 #browser td > a:hover {
872 text-decoration: underline;
878 -webkit-transition: all 1s ease-in;
879 -o-transition: all 1s ease-in;
880 -moz-transition: all 1s ease-in;
881 transition: height 1s ease-in;
883 #browser tr .aside p {
886 #browser tr.target .aside,
887 #browser tr:target .aside {
891 white-space: nowrap; /* some browsers break on dashes */
894 #browser tr:target > td:first-of-type,
895 #browser tr.focus > td:first-of-type {
898 #browser tr.focus > td {
899 border-bottom-color: #000;
909 font-variant: small-caps;
919 -webkit-column-break-inside: avoid; /* webkit */
920 page-break-inside: avoid; /* moz */
921 overflow: hidden; /* webkit workaround */
924 display: inline-block;
928 .units tbody tr:hover:not(.race) {
934 .unit-min, .unit-min a:not(:hover) {
940 .unit-o {color: #C08} /* organic */
941 .unit-u {color: #44C} /* mechanic */
942 .unit-p {color: #0A8} /* psionic */
949 .unit-x {color: #888}
950 .unit-s {color: #890}
951 .unit-m {color: #C70}
952 .unit-l {color: #D22}
953 .unit-h {color: #804}
958 .hurtrel, .units .hurtrel {
979 .unit-detect::before {
986 text-decoration-color: #8C0;
987 -moz-text-decoration-color: #8C0;
988 -webkit-text-decoration-color: #8C0;
999 ul.legend-set {display: none} /* current options only relevant on dynamic media */
1002 /* terse optimisation */
1004 @media (min-height: 112ex) and (min-width: 90em) {
1006 padding: 1ex 0 1ex .1em;
1011 @media (max-width: 79em) {
1013 position: relative; /* hides overflow */
1016 min-width: calc(7.7vw - 8px);
1021 .keys .lead td b { /* leading chars always fit */
1022 position: absolute; /* background */
1023 right: 0; /* least overlap in corner */
1030 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
1031 .row3 {margin-left: 6em} /* 8em / Δtd */
1032 .row4 {margin-left: 7.5em} /* 10em / Δtd */
1034 /* letter scripts columns to rows */
1035 .legend .glyphs:first-child td {
1037 vertical-align: baseline;
1039 .legend .glyphs td > table {
1044 .legend .glyphs:first-child td td {
1046 display: inline-block;
1050 @media (max-width: 61em) {
1053 height: 6.75ex; /* 3 lines */
1063 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
1064 .row3 {margin-left: 4em} /* 8em / Δtd */
1065 .row4 {margin-left: 5em} /* 10em / Δtd */
1068 @media (max-width: 42em) {
1069 /* flatten right legend column on mobile */
1081 .right dl.legend dt {
1083 margin-left: -6.4em;
1087 .right dl.legend dd {
1094 @media screen and (orientation: portrait) and (max-width: 62em) {
1098 transform: rotate(90deg);
1099 transform-origin: top left;
1101 margin-bottom: 30em;