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;
141 @media (max-width: 42em) {
143 grid: auto-flow / minmax(8em, 1fr) minmax(20em, 1fr);
160 /* "keyboard" (list of keys) */
162 .row0 {margin-top: -5ex} /* top (esc) row fits besides header */
163 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
164 .row3 {margin-left: 8em}
165 .row4 {margin-left: 10em} /* should actually align to next key on row1 */
166 /* ...however rows>=1 are shifted a bit, to make space */
169 clear: both; /* start new row (screen row) */
173 /* start new row block (keyboard row) */
180 h3 {display: none} /* semantic details (non-css/js) */
181 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
186 border-collapse: collapse;
191 /* individual keys */
195 display: inline-block;
198 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
199 height: 4.5ex; /* 2 lines */
204 border: 1px solid #000;
206 -moz-border-radius: 4px;
207 text-transform-variation: text;
212 line-height: 2.5ex; /* inherits otherwise */
215 .keys .row0 td { /* omni-present esc */
219 /* fine tuning of special occurrences */
221 .keys td b[title] { /* mnemonic hover */
224 .keys td[onclick]:hover { /* link */
227 .keys td a { /* key link */
229 text-decoration: none;
236 .keys .lead td b { /* char with ctrl or leading key */
237 font-size: 100%; /* space is too limited for 2+ double-sized chars */
238 line-height: 5ex; /* keep double height though */
240 .keys .meta td b small,
241 .keys .ctrl td b small { /* meta key indicator */
243 font-weight: normal; /* nice and subtle */
253 font-size: calc(7vmin - 4px); /* fit 12 keys to page */
260 /* override row alignments */
262 font-size: calc(1.4vmin); /* enlarged td conversion */
264 .keys.big .row2 {margin-left: 7em}
265 .keys.big .row3 {margin-left: 8em}
266 .keys.big .row4 {margin-left: 10em}
268 display: none; /* headerless */
272 position: absolute; /* overlay */
274 top: -1.2ex; /* halfway over shift */
282 .keys.big .meta td b,
283 .keys.big .shift td b {
290 border-collapse: collapse;
294 border: 1px solid #888;
305 /* first cell determines border width for entire row */
306 border-top-color: transparent;
321 /* character table */
323 .glyphs thead th, .glyphs td {
324 width: 1.6em; /* regular interval */
329 .glyphs.big tbody td {
333 margin: 0.5ex 0; /* nested in legend */
340 min-width: 2.5ex; /* square cells */
349 background: transparent;
352 width: auto; /* no glyph cells in header */
355 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
356 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
362 font-size: 50%; /* mostly insignificant here */
366 text-align: right; /* variable width so keep near cells */
371 text-transform: uppercase;
374 border-top: 1px solid #888;
380 border: 1px solid #555;
384 table.color td samp {
385 margin: 0 -8px 0 8px;
386 font-family: inherit;
389 table.color td samp ~ samp {
391 table.color td samp small {
392 font: 100% monospace;
399 table-layout: fixed; /* prevent resizing, notably in msie6 */
401 .dimap thead th, .dimap td {
402 /* below-maximum size (but still average enough to be regular) so we can fit more */
403 width: 1.2em; /* msie only looks at the first row */
404 min-width: 1em; /* prevents gecko from restricting to page width */
407 text-align: center; /* row headers are also glyph-sized */
410 .mapped tbody, .mapped colgroup,
411 .dimap tbody, .dimap colgroup {
412 border: 2px double #888; /* major character group grid */
416 border-width: 2px 0; /* horizontal group dividers */
420 border-width: 0 2px; /* vertical divides */
423 /* digraph selection */
426 -moz-column-width: 24em;
427 -webkit-column-width: 24em;
432 column-break-inside: avoid;
433 -webkit-column-break-inside: avoid;
434 position: relative; z-index: 1; /* webkit bug */
437 /* glyph cell overlay (digraph labels) */
441 padding-bottom: 1.1ex; /* reserve space for label */
442 vertical-align: bottom;
444 .glyphs.dilabel small {
448 margin-bottom: -2.2ex; /* take cell padding */
450 .glyphs.dilabel small.digraph {
455 .glyphs.dilabel small.value {
461 /* character properties */
463 .X {background: #FFF} /* unidentified */
464 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
465 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
469 .Greek {background: #FFE8CF}
470 .Cyrillic {background: #FFDDA8}
471 .Latin {background: #FFB}
473 .Hebrew {background: #FFD}
474 .Arabic {background: #EFE}
475 .African {background: #DED}
476 .Brahmic {background: #FBB} /* same as number */
477 .Khmer {background: #FBA}
479 .Syllabic {background: #DEA}
480 .Katakana {background: #DFA}
481 .Hiragana {background: #DFC}
482 .Bopomofo {background: #BFC}
483 .Han {background: #CFD}
484 .Alpha {background: #ADA} /* other scripts */
486 /* other categories */
487 .Nd, .Nl, .No {background: #FDD} /* number */
488 .Sc {background: #FCD} /* currency */
489 .Sm {background: #ECE} /* math */
490 .So {background: #DCF} /* symbol */
491 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
492 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
493 .Lm, .Sk {background: #CEE} /* spacing modifier */
494 .Mn {background: #ACC} /* modifier */
495 .Cc, .Cf {color: #666; background: #BBB} /* control */
496 .Zs {background: #ACB} /* space */
497 .Co, .Xi.Co {background: #DCC} /* private */
498 .Xi, .Cs {background: #CCC} /* invalid */
499 .Xd {color: #844} /* deprecated */
500 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
501 .dimap .Xr {background: #EEE} /* reversed digraph */
502 .ccmap .Xr {opacity:.4}
505 .l1 {background: #FDD} /* no, unsupported, other */
506 .l2 {background: #FED} /* partial, restricted, unofficial */
507 /* default u-prop, u-bmp */
508 .l3 {background: #FFD} /* almost, imperfect, common */
509 /* default u-di, u-lat1 */
510 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
511 /* default u-ascii */
512 .l5 {background: #DFD} /* complete, perfect */
513 .l0 {background: #EEE} /* unknown, omitted */
514 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
515 .u-invalid {background: #BBB} /* invalid, impossible */
517 /* foreground representation */
518 #digraphs .u-l3 {color: #080} /* partial */
519 #digraphs .u-l3.ex {color: #4C0} /* experimental */
520 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
521 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
523 /* support percentage (browser cells) */
526 .p::after {content: '!'; color: #F00}
527 .p4::after {color: #C00}
528 .p3::after {color: #A00}
529 .p2::after {color: #800}
531 .p0::after {color: #000}
532 .p09::after {opacity: .9}
533 .p08::after {opacity: .8}
534 .p07::after {opacity: .7}
535 .p06::after {opacity: .6}
536 .p05::after {opacity: .5}
537 .p04::after {opacity: .4}
538 .p03::after {opacity: .3}
539 .p02::after {opacity: .2}
540 .p01::after {opacity: .1}
541 .p00::after {display: none}
544 .sy-comment { color: #888 }
545 .sy-constant { color: #008 }
546 .sy-identifier { color: #804 }
550 .sy-special { color: #408 }
551 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
552 .sy-todo { background-color: #FF0 }
554 /* boolean alternate */
555 .glyphs b { font-weight: normal; color: #800 }
558 .X:hover {cursor: help}
559 .X:hover > span {background: #FFF} /* whitespace marker */
560 .Greek:hover, .Armenian:hover {background: #FA8}
561 .Cyrillic:hover {background: #FB7}
562 .Latin:hover {background: #EE4}
563 .Hebrew:hover, .Aramaic:hover {background: #FFA}
564 .Arabic:hover {background: #CFD}
565 .African:hover {background: #BDB}
566 .Syllabic:hover, .Hangul:hover {background: #CE6}
567 .Katakana:hover {background: #BF7}
568 .Hiragana:hover {background: #AF8}
569 .Bopomofo:hover {background: #8FA}
570 .Brahmic:hover {background: #F77}
571 .Khmer:hover {background: #F87}
572 .Han:hover {background: #5EB}
573 .Alpha:hover {background: #5C5}
574 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
575 .Sc:hover {background: #F8C} /* currency */
576 .Sm:hover {background: #F8F} /* math */
577 .So:hover {background: #A8F} /* symbol */
578 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
579 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
580 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
581 .Mn:hover {background: #CDE} /* modifier */
582 .Zs:hover {background: #CED} /* space */
583 .Cc:hover, .Cf:hover {background: #DDD} /* control */
584 .Co:hover {background: #A77} /* private */
585 .Xr:hover {background: #FFF} /* reserved */
586 .Xi:hover {background: #DDD} /* invalid */
587 .l0:hover {background: #888}
588 .l1:hover {background: #F88}
589 .l2:hover {background: #FC8}
590 .l3:hover {background: #FF8}
591 .l4:hover {background: #CF8}
592 .l5:hover {background: #8F8}
593 .u-l3:hover {outline: 1px solid #080}
594 .u-l3.ex:hover {outline: 1px solid #8F0}
595 .u-l2:hover {outline: 1px solid #800}
596 .u-l1:hover {outline: 1px solid #F00}
598 /* key type colorization */
601 .g1 {background: #BFE} /* cyan: info */
603 .g2 {background: #BFB} /* green: motion */
604 .g3 {background: #DFA} /* greenish: jump (g2+) */
606 .g4 {background: #FFA} /* yellow: command */
608 .g5 {background: #FDA} /* orangish: open (g6-) */
609 .g6 {background: #FCA} /* orange: insert */
611 .g7 {background: #FCC} /* red: mode */
613 .g8 {background: #ECE} /* purple: visual (g7+) */
615 .g9 {background: #CCF} /* blue: prefix */
618 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
620 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
621 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
623 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
625 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
626 .g6 a:hover, .g6[onclick]:hover {background: #F97}
628 .g7 a:hover, .g7[onclick]:hover {background: #F88}
630 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
632 .g9 a:hover, .g9[onclick]:hover {background: #99F}
635 background: #EEE; /* unassigned */
639 padding: 1px; /* same size as borderlessless keys */
645 text-shadow: #F20 0 0 0.1em;
647 dl.legend dt.more:hover,
648 .keys td.more:hover b {
649 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
653 border-style: dashed;
660 /* l/r help columns */
673 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
676 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
681 float: left; /* align next to dt (except msie<=7 does just the opposite) */
686 .right dl.legend dt {
687 margin-right: -6.4em;
691 .right dl.legend dd {
701 margin: 0 0 1px; /* distinct keys */
702 height: auto; /* not key-height */
706 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
710 dl.legend-options dt {
719 margin: 6px 0; /* similar to dl legends */
739 vertical-align: bottom;
743 @media (min-width: 60em) {
747 background: rgba(255, 255, 255, .66);
752 box-sizing: border-box;
754 .gallery li.parent:hover > figure > figcaption,
755 .gallery figure:hover > figcaption {
756 /* highlight title of current and parents */
760 transform: translate(50%, 50%);
761 margin-left: -60%; /* keep width */
769 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
772 .gallery li, .gallery ul {
777 box-sizing: border-box;
781 .gallery figcaption > small {
782 display: inline-block;
785 @media (min-width: 403px) and (min-height: 266px) {
786 /* able to fit 2 cells of 200x133 */
787 .gallery li.large > figure {
792 @media (min-width: 603px) and (min-height: 400px) {
793 /* fit 3 cells of 200x133 */
794 .gallery > li:first-child > figure,
795 .gallery li.huge > figure {
801 .gallery figure, .gallery figcaption {
802 transition: all .5s ease-in;
804 .gallery figure:hover ~ ul figcaption {
805 /* mark all children */
807 background: rgba(0, 0, 0, .5);
810 .gallery figure[data-sup]:after {
813 content: attr(data-sup);
820 .gallery .expand > figure[data-sup]:after {
821 content: '+' attr(data-sup);
824 border: 2px solid #FFF8;
827 /* specialised galleries */
835 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
841 table.gallery tr > :first-child {
844 margin: auto; /* vertical-align: middle */
846 table.gallery tr > :nth-child(2) {
847 grid-column: 2; /* in case 1st is missing */
850 border: 0; /* does not collapse */
851 outline: 1px solid #888; /* over grid-gap */
857 text-decoration: none;
859 #browser td > a:active,
860 #browser td > a:hover {
861 text-decoration: underline;
867 -webkit-transition: all 1s ease-in;
868 -o-transition: all 1s ease-in;
869 -moz-transition: all 1s ease-in;
870 transition: height 1s ease-in;
872 #browser tr .aside p {
875 #browser tr.target .aside,
876 #browser tr:target .aside {
880 white-space: nowrap; /* some browsers break on dashes */
883 #browser tr:target > td:first-of-type,
884 #browser tr.focus > td:first-of-type {
887 #browser tr.focus > td {
888 border-bottom-color: #000;
898 font-variant: small-caps;
908 -webkit-column-break-inside: avoid; /* webkit */
909 page-break-inside: avoid; /* moz */
910 overflow: hidden; /* webkit workaround */
913 display: inline-block;
917 .units tbody tr:hover:not(.race) {
923 .unit-min, .unit-min a:not(:hover) {
929 .unit-o {color: #C08} /* organic */
930 .unit-u {color: #44C} /* mechanic */
931 .unit-p {color: #0A8} /* psionic */
938 .unit-x {color: #888}
939 .unit-s {color: #890}
940 .unit-m {color: #C70}
941 .unit-l {color: #D22}
942 .unit-h {color: #804}
947 .hurtrel, .units .hurtrel {
968 .unit-detect::before {
975 text-decoration-color: #8C0;
976 -moz-text-decoration-color: #8C0;
977 -webkit-text-decoration-color: #8C0;
988 ul.legend-set {display: none} /* current options only relevant on dynamic media */
991 /* terse optimisation */
993 @media (min-height: 112ex) and (min-width: 90em) {
995 padding: 1ex 0 1ex .1em;
1000 @media (max-width: 79em) {
1002 position: relative; /* hides overflow */
1005 min-width: calc(7.7vw - 8px);
1010 .keys .lead td b { /* leading chars always fit */
1011 position: absolute; /* background */
1012 right: 0; /* least overlap in corner */
1019 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
1020 .row3 {margin-left: 6em} /* 8em / Δtd */
1021 .row4 {margin-left: 7.5em} /* 10em / Δtd */
1023 /* letter scripts columns to rows */
1024 .legend .glyphs:first-child td {
1026 vertical-align: baseline;
1028 .legend .glyphs td > table {
1033 .legend .glyphs:first-child td td {
1035 display: inline-block;
1039 @media (max-width: 61em) {
1042 height: 6.75ex; /* 3 lines */
1052 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
1053 .row3 {margin-left: 4em} /* 8em / Δtd */
1054 .row4 {margin-left: 5em} /* 10em / Δtd */
1057 @media (max-width: 42em) {
1058 /* flatten right legend column on mobile */
1070 .right dl.legend dt {
1072 margin-left: -6.4em;
1076 .right dl.legend dd {
1083 @media screen and (orientation: portrait) and (max-width: 62em) {
1087 transform: rotate(90deg);
1088 transform-origin: top left;
1090 margin-bottom: 30em;