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 .meta td b,
287 .keys.big .shift td b {
294 border-collapse: collapse;
298 border: 1px solid #888;
309 /* first cell determines border width for entire row */
310 border-top-color: transparent;
325 /* character table */
327 .glyphs thead th, .glyphs td {
328 width: 1.6em; /* regular interval */
333 .glyphs.big tbody td {
337 margin: 0.5ex 0; /* nested in legend */
344 min-width: 2.5ex; /* square cells */
353 background: transparent;
356 width: auto; /* no glyph cells in header */
359 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
360 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
366 font-size: 50%; /* mostly insignificant here */
370 text-align: right; /* variable width so keep near cells */
375 text-transform: uppercase;
378 border-top: 1px solid #888;
384 border: 1px solid #555;
388 table.color td samp {
389 margin: 0 -8px 0 8px;
390 font-family: inherit;
393 table.color td samp ~ samp {
395 table.color td samp small {
396 font: 100% monospace;
403 table-layout: fixed; /* prevent resizing, notably in msie6 */
405 .dimap thead th, .dimap td {
406 /* below-maximum size (but still average enough to be regular) so we can fit more */
407 width: 1.2em; /* msie only looks at the first row */
408 min-width: 1em; /* prevents gecko from restricting to page width */
411 text-align: center; /* row headers are also glyph-sized */
414 .mapped tbody, .mapped colgroup,
415 .dimap tbody, .dimap colgroup {
416 border: 2px double #888; /* major character group grid */
420 border-width: 2px 0; /* horizontal group dividers */
424 border-width: 0 2px; /* vertical divides */
427 /* digraph selection */
430 -moz-column-width: 24em;
431 -webkit-column-width: 24em;
436 column-break-inside: avoid;
437 -webkit-column-break-inside: avoid;
438 position: relative; z-index: 1; /* webkit bug */
441 /* glyph cell overlay (digraph labels) */
445 padding-bottom: 1.1ex; /* reserve space for label */
446 vertical-align: bottom;
448 .glyphs.dilabel small {
452 margin-bottom: -2.2ex; /* take cell padding */
454 .glyphs.dilabel small.digraph {
459 .glyphs.dilabel small.value {
465 /* character properties */
467 .X {background: #FFF} /* unidentified */
468 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
469 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
473 .Greek {background: #FFE8CF}
474 .Cyrillic {background: #FFDDA8}
475 .Latin {background: #FFB}
477 .Hebrew {background: #FFD}
478 .Arabic {background: #EFE}
479 .African {background: #DED}
480 .Brahmic {background: #FBB} /* same as number */
481 .Khmer {background: #FBA}
483 .Syllabic {background: #DEA}
484 .Katakana {background: #DFA}
485 .Hiragana {background: #DFC}
486 .Bopomofo {background: #BFC}
487 .Han {background: #CFD}
488 .Alpha {background: #ADA} /* other scripts */
490 /* other categories */
491 .Nd, .Nl, .No {background: #FDD} /* number */
492 .Sc {background: #FCD} /* currency */
493 .Sm {background: #ECE} /* math */
494 .So {background: #DCF} /* symbol */
495 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
496 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
497 .Lm, .Sk {background: #CEE} /* spacing modifier */
498 .Mn {background: #ACC} /* modifier */
499 .Cc, .Cf {color: #666; background: #BBB} /* control */
500 .Zs {background: #ACB} /* space */
501 .Co, .Xi.Co {background: #DCC} /* private */
502 .Xi, .Cs {background: #CCC} /* invalid */
503 .Xd {color: #844} /* deprecated */
504 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
505 .dimap .Xr {background: #EEE} /* reversed digraph */
506 .ccmap .Xr {opacity:.4}
509 .l1 {background: #FDD} /* no, unsupported, other */
510 .l2 {background: #FED} /* partial, restricted, unofficial */
511 /* default u-prop, u-bmp */
512 .l3 {background: #FFD} /* almost, imperfect, common */
513 /* default u-di, u-lat1 */
514 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
515 /* default u-ascii */
516 .l5 {background: #DFD} /* complete, perfect */
517 .l0 {background: #EEE} /* unknown, omitted */
518 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
519 .u-invalid {background: #BBB} /* invalid, impossible */
521 /* foreground representation */
522 #digraphs .u-l3 {color: #080} /* partial */
523 #digraphs .u-l3.ex {color: #4C0} /* experimental */
524 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
525 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
527 /* support percentage (browser cells) */
530 .p::after {content: '!'; color: #F00}
531 .p4::after {color: #C00}
532 .p3::after {color: #A00}
533 .p2::after {color: #800}
535 .p0::after {color: #000}
536 .p09::after {opacity: .9}
537 .p08::after {opacity: .8}
538 .p07::after {opacity: .7}
539 .p06::after {opacity: .6}
540 .p05::after {opacity: .5}
541 .p04::after {opacity: .4}
542 .p03::after {opacity: .3}
543 .p02::after {opacity: .2}
544 .p01::after {opacity: .1}
545 .p00::after {display: none}
548 .sy-comment { color: #888 }
549 .sy-constant { color: #008 }
550 .sy-identifier { color: #804 }
554 .sy-special { color: #408 }
555 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
556 .sy-todo { background-color: #FF0 }
558 /* boolean alternate */
559 .glyphs b { font-weight: normal; color: #800 }
562 .X:hover {cursor: help}
563 .X:hover > span {background: #FFF} /* whitespace marker */
564 .Greek:hover, .Armenian:hover {background: #FA8}
565 .Cyrillic:hover {background: #FB7}
566 .Latin:hover {background: #EE4}
567 .Hebrew:hover, .Aramaic:hover {background: #FFA}
568 .Arabic:hover {background: #CFD}
569 .African:hover {background: #BDB}
570 .Syllabic:hover, .Hangul:hover {background: #CE6}
571 .Katakana:hover {background: #BF7}
572 .Hiragana:hover {background: #AF8}
573 .Bopomofo:hover {background: #8FA}
574 .Brahmic:hover {background: #F77}
575 .Khmer:hover {background: #F87}
576 .Han:hover {background: #5EB}
577 .Alpha:hover {background: #5C5}
578 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
579 .Sc:hover {background: #F8C} /* currency */
580 .Sm:hover {background: #F8F} /* math */
581 .So:hover {background: #A8F} /* symbol */
582 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
583 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
584 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
585 .Mn:hover {background: #CDE} /* modifier */
586 .Zs:hover {background: #CED} /* space */
587 .Cc:hover, .Cf:hover {background: #DDD} /* control */
588 .Co:hover {background: #A77} /* private */
589 .Xr:hover {background: #FFF} /* reserved */
590 .Xi:hover {background: #DDD} /* invalid */
591 .l0:hover {background: #888}
592 .l1:hover {background: #F88}
593 .l2:hover {background: #FC8}
594 .l3:hover {background: #FF8}
595 .l4:hover {background: #CF8}
596 .l5:hover {background: #8F8}
597 .u-l3:hover {outline: 1px solid #080}
598 .u-l3.ex:hover {outline: 1px solid #8F0}
599 .u-l2:hover {outline: 1px solid #800}
600 .u-l1:hover {outline: 1px solid #F00}
602 /* key type colorization */
605 .g1 {background: #BFE} /* cyan: info */
607 .g2 {background: #BFB} /* green: motion */
608 .g3 {background: #DFA} /* greenish: jump (g2+) */
610 .g4 {background: #FFA} /* yellow: command */
612 .g5 {background: #FDA} /* orangish: open (g6-) */
613 .g6 {background: #FCA} /* orange: insert */
615 .g7 {background: #FCC} /* red: mode */
617 .g8 {background: #ECE} /* purple: visual (g7+) */
619 .g9 {background: #CCF} /* blue: prefix */
622 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
624 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
625 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
627 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
629 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
630 .g6 a:hover, .g6[onclick]:hover {background: #F97}
632 .g7 a:hover, .g7[onclick]:hover {background: #F88}
634 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
636 .g9 a:hover, .g9[onclick]:hover {background: #99F}
639 background: #EEE; /* unassigned */
643 padding: 1px; /* same size as borderlessless keys */
649 text-shadow: #F20 0 0 0.1em;
651 dl.legend dt.more:hover,
652 .keys td.more:hover b {
653 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
657 border-style: dashed;
665 /* l/r help columns */
678 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
681 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
686 float: left; /* align next to dt (except msie<=7 does just the opposite) */
691 .right dl.legend dt {
692 margin-right: -6.4em;
696 .right dl.legend dd {
706 margin: 0 0 1px; /* distinct keys */
707 height: auto; /* not key-height */
711 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
715 dl.legend-options dt {
724 margin: 6px 0; /* similar to dl legends */
744 vertical-align: bottom;
748 @media (min-width: 60em) {
752 background: rgba(255, 255, 255, .66);
757 box-sizing: border-box;
759 .gallery li.parent:hover > figure > figcaption,
760 .gallery figure:hover > figcaption {
761 /* highlight title of current and parents */
765 transform: translate(50%, 50%);
766 margin-left: -60%; /* keep width */
774 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
777 .gallery li, .gallery ul {
782 box-sizing: border-box;
786 .gallery figcaption > small {
787 display: inline-block;
790 @media (min-width: 403px) and (min-height: 266px) {
791 /* able to fit 2 cells of 200x133 */
792 .gallery li.large > figure {
797 @media (min-width: 603px) and (min-height: 400px) {
798 /* fit 3 cells of 200x133 */
799 .gallery > li:first-child > figure,
800 .gallery li.huge > figure {
806 .gallery figure, .gallery figcaption {
807 transition: all .5s ease-in;
809 .gallery figure:hover ~ ul figcaption {
810 /* mark all children */
812 background: rgba(0, 0, 0, .5);
815 .gallery figure[data-sup]:after {
818 content: attr(data-sup);
825 .gallery .expand > figure[data-sup]:after {
826 content: '+' attr(data-sup);
829 border: 2px solid #FFF8;
832 /* specialised galleries */
840 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
846 table.gallery tr > :first-child {
849 margin: auto; /* vertical-align: middle */
851 table.gallery tr > :nth-child(2) {
852 grid-column: 2; /* in case 1st is missing */
855 border: 0; /* does not collapse */
856 outline: 1px solid #888; /* over grid-gap */
862 text-decoration: none;
864 #browser td > a:active,
865 #browser td > a:hover {
866 text-decoration: underline;
872 -webkit-transition: all 1s ease-in;
873 -o-transition: all 1s ease-in;
874 -moz-transition: all 1s ease-in;
875 transition: height 1s ease-in;
877 #browser tr .aside p {
880 #browser tr.target .aside,
881 #browser tr:target .aside {
885 white-space: nowrap; /* some browsers break on dashes */
888 #browser tr:target > td:first-of-type,
889 #browser tr.focus > td:first-of-type {
892 #browser tr.focus > td {
893 border-bottom-color: #000;
903 font-variant: small-caps;
913 -webkit-column-break-inside: avoid; /* webkit */
914 page-break-inside: avoid; /* moz */
915 overflow: hidden; /* webkit workaround */
918 display: inline-block;
922 .units tbody tr:hover:not(.race) {
928 .unit-min, .unit-min a:not(:hover) {
934 .unit-o {color: #C08} /* organic */
935 .unit-u {color: #44C} /* mechanic */
936 .unit-p {color: #0A8} /* psionic */
943 .unit-x {color: #888}
944 .unit-s {color: #890}
945 .unit-m {color: #C70}
946 .unit-l {color: #D22}
947 .unit-h {color: #804}
952 .hurtrel, .units .hurtrel {
973 .unit-detect::before {
980 text-decoration-color: #8C0;
981 -moz-text-decoration-color: #8C0;
982 -webkit-text-decoration-color: #8C0;
993 ul.legend-set {display: none} /* current options only relevant on dynamic media */
996 /* terse optimisation */
998 @media (min-height: 112ex) and (min-width: 90em) {
1000 padding: 1ex 0 1ex .1em;
1005 @media (max-width: 79em) {
1007 position: relative; /* hides overflow */
1010 min-width: calc(7.7vw - 8px);
1015 .keys .lead td b { /* leading chars always fit */
1016 position: absolute; /* background */
1017 right: 0; /* least overlap in corner */
1024 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
1025 .row3 {margin-left: 6em} /* 8em / Δtd */
1026 .row4 {margin-left: 7.5em} /* 10em / Δtd */
1028 /* letter scripts columns to rows */
1029 .legend .glyphs:first-child td {
1031 vertical-align: baseline;
1033 .legend .glyphs td > table {
1038 .legend .glyphs:first-child td td {
1040 display: inline-block;
1044 @media (max-width: 61em) {
1047 height: 6.75ex; /* 3 lines */
1057 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
1058 .row3 {margin-left: 4em} /* 8em / Δtd */
1059 .row4 {margin-left: 5em} /* 10em / Δtd */
1062 @media (max-width: 42em) {
1063 /* flatten right legend column on mobile */
1075 .right dl.legend dt {
1077 margin-left: -6.4em;
1081 .right dl.legend dd {
1088 @media screen and (orientation: portrait) and (max-width: 62em) {
1092 transform: rotate(90deg);
1093 transform-origin: top left;
1095 margin-bottom: 30em;