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)) */
185 width: 82.5em; /* 12 * td(2px + 1px + 6.2em + 1px + 2px) + 8em */
186 // padding-right: 72px;
188 border-collapse: collapse;
194 /* individual keys */
200 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
201 height: 4.5ex; /* 2 lines */
206 border: 1px solid #000;
208 -moz-border-radius: 4px;
209 text-transform-variation: text;
214 line-height: 2.5ex; /* inherits otherwise */
217 .keys .row0 td { /* omni-present esc */
221 /* fine tuning of special occurrences */
223 .keys td b[title] { /* mnemonic hover */
226 .keys td[onclick]:hover { /* link */
229 .keys td a { /* key link */
231 text-decoration: none;
238 .keys .lead td b { /* char with ctrl or leading key */
239 font-size: 100%; /* space is too limited for 2+ double-sized chars */
240 line-height: 5ex; /* keep double height though */
242 .keys .meta td b small,
243 .keys .ctrl td b small { /* meta key indicator */
245 font-weight: normal; /* nice and subtle */
251 border-collapse: collapse;
255 border: 1px solid #888;
266 /* first cell determines border width for entire row */
267 border-top-color: transparent;
282 /* character table */
284 .glyphs thead th, .glyphs td {
285 width: 1.6em; /* regular interval */
290 .glyphs.big tbody td {
294 margin: 0.5ex 0; /* nested in legend */
301 min-width: 2.5ex; /* square cells */
310 background: transparent;
313 width: auto; /* no glyph cells in header */
316 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
317 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
323 font-size: 50%; /* mostly insignificant here */
327 text-align: right; /* variable width so keep near cells */
332 text-transform: uppercase;
335 border-top: 1px solid #888;
341 border: 1px solid #555;
345 table.color td samp {
346 margin: 0 -8px 0 8px;
347 font-family: inherit;
350 table.color td samp ~ samp {
352 table.color td samp small {
353 font: 100% monospace;
360 table-layout: fixed; /* prevent resizing, notably in msie6 */
362 .dimap thead th, .dimap td {
363 /* below-maximum size (but still average enough to be regular) so we can fit more */
364 width: 1.2em; /* msie only looks at the first row */
365 min-width: 1em; /* prevents gecko from restricting to page width */
368 text-align: center; /* row headers are also glyph-sized */
371 .mapped tbody, .mapped colgroup,
372 .dimap tbody, .dimap colgroup {
373 border: 2px double #888; /* major character group grid */
377 border-width: 2px 0; /* horizontal group dividers */
381 border-width: 0 2px; /* vertical divides */
384 /* digraph selection */
387 -moz-column-width: 24em;
388 -webkit-column-width: 24em;
393 column-break-inside: avoid;
394 -webkit-column-break-inside: avoid;
395 position: relative; z-index: 1; /* webkit bug */
398 /* glyph cell overlay (digraph labels) */
402 padding-bottom: 1.1ex; /* reserve space for label */
403 vertical-align: bottom;
405 .glyphs.dilabel small {
409 margin-bottom: -2.2ex; /* take cell padding */
411 .glyphs.dilabel small.digraph {
416 .glyphs.dilabel small.value {
422 /* character properties */
424 .X {background: #FFF} /* unidentified */
425 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
426 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
430 .Greek {background: #FFE8CF}
431 .Cyrillic {background: #FFDDA8}
432 .Latin {background: #FFB}
434 .Hebrew {background: #FFD}
435 .Arabic {background: #EFE}
436 .African {background: #DED}
437 .Brahmic {background: #FBB} /* same as number */
438 .Khmer {background: #FBA}
440 .Syllabic {background: #DEA}
441 .Katakana {background: #DFA}
442 .Hiragana {background: #DFC}
443 .Bopomofo {background: #BFC}
444 .Han {background: #CFD}
445 .Alpha {background: #ADA} /* other scripts */
447 /* other categories */
448 .Nd, .Nl, .No {background: #FDD} /* number */
449 .Sc {background: #FCD} /* currency */
450 .Sm {background: #ECE} /* math */
451 .So {background: #DCF} /* symbol */
452 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
453 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
454 .Lm, .Sk {background: #CEE} /* spacing modifier */
455 .Mn {background: #ACC} /* modifier */
456 .Cc, .Cf {color: #666; background: #BBB} /* control */
457 .Zs {background: #ACB} /* space */
458 .Co, .Xi.Co {background: #DCC} /* private */
459 .Xi, .Cs {background: #CCC} /* invalid */
460 .Xd {color: #844} /* deprecated */
461 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
462 .dimap .Xr {background: #EEE} /* reversed digraph */
463 .ccmap .Xr {opacity:.4}
466 .l1 {background: #FDD} /* no, unsupported, other */
467 .l2 {background: #FED} /* partial, restricted, unofficial */
468 /* default u-prop, u-bmp */
469 .l3 {background: #FFD} /* almost, imperfect, common */
470 /* default u-di, u-lat1 */
471 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
472 /* default u-ascii */
473 .l5 {background: #DFD} /* complete, perfect */
474 .l0 {background: #EEE} /* unknown, omitted */
475 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
476 .u-invalid {background: #BBB} /* invalid, impossible */
478 /* foreground representation */
479 #digraphs .u-l3 {color: #080} /* partial */
480 #digraphs .u-l3.ex {color: #4C0} /* experimental */
481 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
482 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
484 /* support percentage (browser cells) */
487 .p::after {content: '!'; color: #F00}
488 .p4::after {color: #C00}
489 .p3::after {color: #A00}
490 .p2::after {color: #800}
492 .p0::after {color: #000}
493 .p09::after {opacity: .9}
494 .p08::after {opacity: .8}
495 .p07::after {opacity: .7}
496 .p06::after {opacity: .6}
497 .p05::after {opacity: .5}
498 .p04::after {opacity: .4}
499 .p03::after {opacity: .3}
500 .p02::after {opacity: .2}
501 .p01::after {opacity: .1}
502 .p00::after {display: none}
505 .sy-comment { color: #888 }
506 .sy-constant { color: #008 }
508 .sy-identifier { color: #804 }
511 .sy-special { color: #408 }
512 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
513 .sy-todo { background-color: #FF0 }
515 /* boolean alternate */
516 .glyphs b { font-weight: normal; color: #800 }
519 .X:hover {cursor: help}
520 .X:hover > span {background: #FFF} /* whitespace marker */
521 .Greek:hover, .Armenian:hover {background: #FA8}
522 .Cyrillic:hover {background: #FB7}
523 .Latin:hover {background: #EE4}
524 .Hebrew:hover, .Aramaic:hover {background: #FFA}
525 .Arabic:hover {background: #CFD}
526 .African:hover {background: #BDB}
527 .Syllabic:hover, .Hangul:hover {background: #CE6}
528 .Katakana:hover {background: #BF7}
529 .Hiragana:hover {background: #AF8}
530 .Bopomofo:hover {background: #8FA}
531 .Brahmic:hover {background: #F77}
532 .Khmer:hover {background: #F87}
533 .Han:hover {background: #5EB}
534 .Alpha:hover {background: #5C5}
535 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
536 .Sc:hover {background: #F8C} /* currency */
537 .Sm:hover {background: #F8F} /* math */
538 .So:hover {background: #A8F} /* symbol */
539 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
540 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
541 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
542 .Mn:hover {background: #CDE} /* modifier */
543 .Zs:hover {background: #CED} /* space */
544 .Cc:hover, .Cf:hover {background: #DDD} /* control */
545 .Co:hover {background: #A77} /* private */
546 .Xr:hover {background: #FFF} /* reserved */
547 .Xi:hover {background: #DDD} /* invalid */
548 .l0:hover {background: #888}
549 .l1:hover {background: #F88}
550 .l2:hover {background: #FC8}
551 .l3:hover {background: #FF8}
552 .l4:hover {background: #CF8}
553 .l5:hover {background: #8F8}
554 .u-l3:hover {outline: 1px solid #080}
555 .u-l3.ex:hover {outline: 1px solid #8F0}
556 .u-l2:hover {outline: 1px solid #800}
557 .u-l1:hover {outline: 1px solid #F00}
559 /* key type colorization */
562 .g1 {background: #BFE} /* cyan: info */
564 .g2 {background: #BFB} /* green: motion */
565 .g3 {background: #DFA} /* greenish: jump (g2+) */
567 .g4 {background: #FFA} /* yellow: command */
569 .g5 {background: #FDA} /* orangish: open (g6-) */
570 .g6 {background: #FCA} /* orange: insert */
572 .g7 {background: #FCC} /* red: mode */
574 .g8 {background: #ECE} /* purple: visual (g7+) */
576 .g9 {background: #CCF} /* blue: prefix */
579 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
581 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
582 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
584 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
586 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
587 .g6 a:hover, .g6[onclick]:hover {background: #F97}
589 .g7 a:hover, .g7[onclick]:hover {background: #F88}
591 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
593 .g9 a:hover, .g9[onclick]:hover {background: #99F}
596 background: #EEE; /* unassigned */
600 padding: 1px; /* same size as borderlessless keys */
606 text-shadow: #F20 0 0 0.1em;
608 dl.legend dt.more:hover,
609 .keys td.more:hover b {
610 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
614 border-style: dashed;
621 /* l/r help columns */
634 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
637 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
642 float: left; /* align next to dt (except msie<=7 does just the opposite) */
647 .right dl.legend dt {
648 margin-right: -6.4em;
652 .right dl.legend dd {
662 margin: 0 0 1px; /* distinct keys */
663 height: auto; /* not key-height */
667 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
671 dl.legend-options dt {
680 margin: 6px 0; /* similar to dl legends */
700 vertical-align: bottom;
704 @media (min-width: 60em) {
708 background: rgba(255, 255, 255, .66);
713 box-sizing: border-box;
715 .gallery li.parent:hover > figure > figcaption,
716 .gallery figure:hover > figcaption {
717 /* highlight title of current and parents */
721 transform: translate(50%, 50%);
722 margin-left: -60%; /* keep width */
730 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
733 .gallery li, .gallery ul {
738 box-sizing: border-box;
742 .gallery figcaption > small {
743 display: inline-block;
746 @media (min-width: 403px) and (min-height: 266px) {
747 /* able to fit 2 cells of 200x133 */
748 .gallery li.large > figure {
753 @media (min-width: 603px) and (min-height: 400px) {
754 /* fit 3 cells of 200x133 */
755 .gallery > li:first-child > figure,
756 .gallery li.huge > figure {
762 .gallery figure, .gallery figcaption {
763 transition: all .5s ease-in;
765 .gallery figure:hover ~ ul figcaption {
766 /* mark all children */
768 background: rgba(0, 0, 0, .5);
771 .gallery figure[data-sup]:after {
774 content: attr(data-sup);
781 .gallery .expand > figure[data-sup]:after {
782 content: '+' attr(data-sup);
785 border: 2px solid #FFF8;
788 /* specialised galleries */
796 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
802 table.gallery tr > :first-child {
805 margin: auto; /* vertical-align: middle */
807 table.gallery tr > :nth-child(2) {
808 grid-column: 2; /* in case 1st is missing */
811 border: 0; /* does not collapse */
812 outline: 1px solid #888; /* over grid-gap */
818 text-decoration: none;
820 #browser td > a:active,
821 #browser td > a:hover {
822 text-decoration: underline;
828 -webkit-transition: all 1s ease-in;
829 -o-transition: all 1s ease-in;
830 -moz-transition: all 1s ease-in;
831 transition: height 1s ease-in;
833 #browser tr .aside p {
836 #browser tr.target .aside,
837 #browser tr:target .aside {
841 white-space: nowrap; /* some browsers break on dashes */
844 #browser tr:target > td:first-of-type,
845 #browser tr.focus > td:first-of-type {
848 #browser tr.focus > td {
849 border-bottom-color: #000;
859 font-variant: small-caps;
869 -webkit-column-break-inside: avoid; /* webkit */
870 page-break-inside: avoid; /* moz */
871 overflow: hidden; /* webkit workaround */
874 display: inline-block;
878 .units tbody tr:hover:not(.race) {
884 .unit-min, .unit-min a:not(:hover) {
890 .unit-o {color: #C08} /* organic */
891 .unit-u {color: #44C} /* mechanic */
892 .unit-p {color: #0A8} /* psionic */
899 .unit-x {color: #888}
900 .unit-s {color: #890}
901 .unit-m {color: #C70}
902 .unit-l {color: #D22}
903 .unit-h {color: #804}
908 .hurtrel, .units .hurtrel {
929 .unit-detect::before {
936 text-decoration-color: #8C0;
937 -moz-text-decoration-color: #8C0;
938 -webkit-text-decoration-color: #8C0;
949 ul.legend-set {display: none} /* current options only relevant on dynamic media */
952 /* terse optimisation */
954 @media (min-height: 112ex) and (min-width: 90em) {
959 padding: 1ex 0 1ex .1em;
964 @media (max-width: 79em) {
966 position: relative; /* hides overflow */
972 .keys .lead td b { /* leading chars always fit */
973 position: absolute; /* background */
974 right: 0; /* least overlap in corner */
982 width: 62.1em; /* 82.5em - 12 * Δtd(6.2em - 4.5em) */
984 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
985 .row3 {margin-left: 6em} /* 8em / Δtd */
986 .row4 {margin-left: 7.5em} /* 10em / Δtd */
988 @media (max-width: 61em) {
991 height: 6.75ex; /* 3 lines */
1002 width: 37em; /* (12 * td(3em + 6px) + 8em) * 80% */
1004 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
1005 .row3 {margin-left: 4em} /* 8em / Δtd */
1006 .row4 {margin-left: 5em} /* 10em / Δtd */
1009 @media (max-width: 42em) {
1010 /* flatten right legend column on mobile */
1022 .right dl.legend dt {
1024 margin-left: -6.4em;
1028 .right dl.legend dd {
1035 @media screen and (orientation: portrait) and (max-width: 62em) {
1039 transform: rotate(90deg);
1040 transform-origin: top left;
1044 margin-bottom: 30em;