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 */
249 border-collapse: collapse;
253 border: 1px solid #888;
264 /* first cell determines border width for entire row */
265 border-top-color: transparent;
280 /* character table */
282 .glyphs thead th, .glyphs td {
283 width: 1.6em; /* regular interval */
288 .glyphs.big tbody td {
292 margin: 0.5ex 0; /* nested in legend */
299 min-width: 2.5ex; /* square cells */
308 background: transparent;
311 width: auto; /* no glyph cells in header */
314 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
315 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
321 font-size: 50%; /* mostly insignificant here */
325 text-align: right; /* variable width so keep near cells */
330 text-transform: uppercase;
333 border-top: 1px solid #888;
339 border: 1px solid #555;
343 table.color td samp {
344 margin: 0 -8px 0 8px;
345 font-family: inherit;
348 table.color td samp ~ samp {
350 table.color td samp small {
351 font: 100% monospace;
358 table-layout: fixed; /* prevent resizing, notably in msie6 */
360 .dimap thead th, .dimap td {
361 /* below-maximum size (but still average enough to be regular) so we can fit more */
362 width: 1.2em; /* msie only looks at the first row */
363 min-width: 1em; /* prevents gecko from restricting to page width */
366 text-align: center; /* row headers are also glyph-sized */
369 .mapped tbody, .mapped colgroup,
370 .dimap tbody, .dimap colgroup {
371 border: 2px double #888; /* major character group grid */
375 border-width: 2px 0; /* horizontal group dividers */
379 border-width: 0 2px; /* vertical divides */
382 /* digraph selection */
385 -moz-column-width: 24em;
386 -webkit-column-width: 24em;
391 column-break-inside: avoid;
392 -webkit-column-break-inside: avoid;
393 position: relative; z-index: 1; /* webkit bug */
396 /* glyph cell overlay (digraph labels) */
400 padding-bottom: 1.1ex; /* reserve space for label */
401 vertical-align: bottom;
403 .glyphs.dilabel small {
407 margin-bottom: -2.2ex; /* take cell padding */
409 .glyphs.dilabel small.digraph {
414 .glyphs.dilabel small.value {
420 /* character properties */
422 .X {background: #FFF} /* unidentified */
423 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
424 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
428 .Greek {background: #FFE8CF}
429 .Cyrillic {background: #FFDDA8}
430 .Latin {background: #FFB}
432 .Hebrew {background: #FFD}
433 .Arabic {background: #EFE}
434 .African {background: #DED}
435 .Brahmic {background: #FBB} /* same as number */
436 .Khmer {background: #FBA}
438 .Syllabic {background: #DEA}
439 .Katakana {background: #DFA}
440 .Hiragana {background: #DFC}
441 .Bopomofo {background: #BFC}
442 .Han {background: #CFD}
443 .Alpha {background: #ADA} /* other scripts */
445 /* other categories */
446 .Nd, .Nl, .No {background: #FDD} /* number */
447 .Sc {background: #FCD} /* currency */
448 .Sm {background: #ECE} /* math */
449 .So {background: #DCF} /* symbol */
450 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
451 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
452 .Lm, .Sk {background: #CEE} /* spacing modifier */
453 .Mn {background: #ACC} /* modifier */
454 .Cc, .Cf {color: #666; background: #BBB} /* control */
455 .Zs {background: #ACB} /* space */
456 .Co, .Xi.Co {background: #DCC} /* private */
457 .Xi, .Cs {background: #CCC} /* invalid */
458 .Xd {color: #844} /* deprecated */
459 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
460 .dimap .Xr {background: #EEE} /* reversed digraph */
461 .ccmap .Xr {opacity:.4}
464 .l1 {background: #FDD} /* no, unsupported, other */
465 .l2 {background: #FED} /* partial, restricted, unofficial */
466 /* default u-prop, u-bmp */
467 .l3 {background: #FFD} /* almost, imperfect, common */
468 /* default u-di, u-lat1 */
469 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
470 /* default u-ascii */
471 .l5 {background: #DFD} /* complete, perfect */
472 .l0 {background: #EEE} /* unknown, omitted */
473 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
474 .u-invalid {background: #BBB} /* invalid, impossible */
476 /* foreground representation */
477 #digraphs .u-l3 {color: #080} /* partial */
478 #digraphs .u-l3.ex {color: #4C0} /* experimental */
479 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
480 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
482 /* support percentage (browser cells) */
485 .p::after {content: '!'; color: #F00}
486 .p4::after {color: #C00}
487 .p3::after {color: #A00}
488 .p2::after {color: #800}
490 .p0::after {color: #000}
491 .p09::after {opacity: .9}
492 .p08::after {opacity: .8}
493 .p07::after {opacity: .7}
494 .p06::after {opacity: .6}
495 .p05::after {opacity: .5}
496 .p04::after {opacity: .4}
497 .p03::after {opacity: .3}
498 .p02::after {opacity: .2}
499 .p01::after {opacity: .1}
500 .p00::after {display: none}
503 .sy-comment { color: #888 }
504 .sy-constant { color: #008 }
505 .sy-identifier { color: #804 }
509 .sy-special { color: #408 }
510 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
511 .sy-todo { background-color: #FF0 }
513 /* boolean alternate */
514 .glyphs b { font-weight: normal; color: #800 }
517 .X:hover {cursor: help}
518 .X:hover > span {background: #FFF} /* whitespace marker */
519 .Greek:hover, .Armenian:hover {background: #FA8}
520 .Cyrillic:hover {background: #FB7}
521 .Latin:hover {background: #EE4}
522 .Hebrew:hover, .Aramaic:hover {background: #FFA}
523 .Arabic:hover {background: #CFD}
524 .African:hover {background: #BDB}
525 .Syllabic:hover, .Hangul:hover {background: #CE6}
526 .Katakana:hover {background: #BF7}
527 .Hiragana:hover {background: #AF8}
528 .Bopomofo:hover {background: #8FA}
529 .Brahmic:hover {background: #F77}
530 .Khmer:hover {background: #F87}
531 .Han:hover {background: #5EB}
532 .Alpha:hover {background: #5C5}
533 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
534 .Sc:hover {background: #F8C} /* currency */
535 .Sm:hover {background: #F8F} /* math */
536 .So:hover {background: #A8F} /* symbol */
537 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
538 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
539 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
540 .Mn:hover {background: #CDE} /* modifier */
541 .Zs:hover {background: #CED} /* space */
542 .Cc:hover, .Cf:hover {background: #DDD} /* control */
543 .Co:hover {background: #A77} /* private */
544 .Xr:hover {background: #FFF} /* reserved */
545 .Xi:hover {background: #DDD} /* invalid */
546 .l0:hover {background: #888}
547 .l1:hover {background: #F88}
548 .l2:hover {background: #FC8}
549 .l3:hover {background: #FF8}
550 .l4:hover {background: #CF8}
551 .l5:hover {background: #8F8}
552 .u-l3:hover {outline: 1px solid #080}
553 .u-l3.ex:hover {outline: 1px solid #8F0}
554 .u-l2:hover {outline: 1px solid #800}
555 .u-l1:hover {outline: 1px solid #F00}
557 /* key type colorization */
560 .g1 {background: #BFE} /* cyan: info */
562 .g2 {background: #BFB} /* green: motion */
563 .g3 {background: #DFA} /* greenish: jump (g2+) */
565 .g4 {background: #FFA} /* yellow: command */
567 .g5 {background: #FDA} /* orangish: open (g6-) */
568 .g6 {background: #FCA} /* orange: insert */
570 .g7 {background: #FCC} /* red: mode */
572 .g8 {background: #ECE} /* purple: visual (g7+) */
574 .g9 {background: #CCF} /* blue: prefix */
577 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
579 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
580 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
582 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
584 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
585 .g6 a:hover, .g6[onclick]:hover {background: #F97}
587 .g7 a:hover, .g7[onclick]:hover {background: #F88}
589 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
591 .g9 a:hover, .g9[onclick]:hover {background: #99F}
594 background: #EEE; /* unassigned */
598 padding: 1px; /* same size as borderlessless keys */
604 text-shadow: #F20 0 0 0.1em;
606 dl.legend dt.more:hover,
607 .keys td.more:hover b {
608 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
612 border-style: dashed;
619 /* l/r help columns */
632 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
635 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
640 float: left; /* align next to dt (except msie<=7 does just the opposite) */
645 .right dl.legend dt {
646 margin-right: -6.4em;
650 .right dl.legend dd {
660 margin: 0 0 1px; /* distinct keys */
661 height: auto; /* not key-height */
665 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
669 dl.legend-options dt {
678 margin: 6px 0; /* similar to dl legends */
698 vertical-align: bottom;
702 @media (min-width: 60em) {
706 background: rgba(255, 255, 255, .66);
711 box-sizing: border-box;
713 .gallery li.parent:hover > figure > figcaption,
714 .gallery figure:hover > figcaption {
715 /* highlight title of current and parents */
719 transform: translate(50%, 50%);
720 margin-left: -60%; /* keep width */
728 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
731 .gallery li, .gallery ul {
736 box-sizing: border-box;
740 .gallery figcaption > small {
741 display: inline-block;
744 @media (min-width: 403px) and (min-height: 266px) {
745 /* able to fit 2 cells of 200x133 */
746 .gallery li.large > figure {
751 @media (min-width: 603px) and (min-height: 400px) {
752 /* fit 3 cells of 200x133 */
753 .gallery > li:first-child > figure,
754 .gallery li.huge > figure {
760 .gallery figure, .gallery figcaption {
761 transition: all .5s ease-in;
763 .gallery figure:hover ~ ul figcaption {
764 /* mark all children */
766 background: rgba(0, 0, 0, .5);
769 .gallery figure[data-sup]:after {
772 content: attr(data-sup);
779 .gallery .expand > figure[data-sup]:after {
780 content: '+' attr(data-sup);
783 border: 2px solid #FFF8;
786 /* specialised galleries */
794 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
800 table.gallery tr > :first-child {
803 margin: auto; /* vertical-align: middle */
805 table.gallery tr > :nth-child(2) {
806 grid-column: 2; /* in case 1st is missing */
809 border: 0; /* does not collapse */
810 outline: 1px solid #888; /* over grid-gap */
816 text-decoration: none;
818 #browser td > a:active,
819 #browser td > a:hover {
820 text-decoration: underline;
826 -webkit-transition: all 1s ease-in;
827 -o-transition: all 1s ease-in;
828 -moz-transition: all 1s ease-in;
829 transition: height 1s ease-in;
831 #browser tr .aside p {
834 #browser tr.target .aside,
835 #browser tr:target .aside {
839 white-space: nowrap; /* some browsers break on dashes */
842 #browser tr:target > td:first-of-type,
843 #browser tr.focus > td:first-of-type {
846 #browser tr.focus > td {
847 border-bottom-color: #000;
857 font-variant: small-caps;
867 -webkit-column-break-inside: avoid; /* webkit */
868 page-break-inside: avoid; /* moz */
869 overflow: hidden; /* webkit workaround */
872 display: inline-block;
876 .units tbody tr:hover:not(.race) {
882 .unit-min, .unit-min a:not(:hover) {
888 .unit-o {color: #C08} /* organic */
889 .unit-u {color: #44C} /* mechanic */
890 .unit-p {color: #0A8} /* psionic */
897 .unit-x {color: #888}
898 .unit-s {color: #890}
899 .unit-m {color: #C70}
900 .unit-l {color: #D22}
901 .unit-h {color: #804}
906 .hurtrel, .units .hurtrel {
927 .unit-detect::before {
934 text-decoration-color: #8C0;
935 -moz-text-decoration-color: #8C0;
936 -webkit-text-decoration-color: #8C0;
947 ul.legend-set {display: none} /* current options only relevant on dynamic media */
950 /* terse optimisation */
952 @media (min-height: 112ex) and (min-width: 90em) {
954 padding: 1ex 0 1ex .1em;
959 @media (max-width: 79em) {
961 position: relative; /* hides overflow */
964 min-width: calc(7.7vw - 8px);
969 .keys .lead td b { /* leading chars always fit */
970 position: absolute; /* background */
971 right: 0; /* least overlap in corner */
978 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
979 .row3 {margin-left: 6em} /* 8em / Δtd */
980 .row4 {margin-left: 7.5em} /* 10em / Δtd */
982 /* letter scripts columns to rows */
983 .legend .glyphs:first-child td {
985 vertical-align: baseline;
987 .legend .glyphs td > table {
992 .legend .glyphs:first-child td td {
994 display: inline-block;
998 @media (max-width: 61em) {
1001 height: 6.75ex; /* 3 lines */
1011 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
1012 .row3 {margin-left: 4em} /* 8em / Δtd */
1013 .row4 {margin-left: 5em} /* 10em / Δtd */
1016 @media (max-width: 42em) {
1017 /* flatten right legend column on mobile */
1029 .right dl.legend dt {
1031 margin-left: -6.4em;
1035 .right dl.legend dd {
1042 @media screen and (orientation: portrait) and (max-width: 62em) {
1046 transform: rotate(90deg);
1047 transform-origin: top left;
1049 margin-bottom: 30em;