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;
124 position: absolute; /* side note; do not influence alignment */
127 font-size: 50%; /* 1rem */
128 padding-top: 1.75ex; /* align baseline with container */
137 grid: auto-flow / 1fr 1fr;
140 @media (max-width: 42em) {
142 grid: auto-flow / minmax(8em, 1fr) minmax(20em, 1fr);
159 /* "keyboard" (list of keys) */
161 .row0 {margin-top: -5ex} /* top (esc) row fits besides header */
162 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
163 .row3 {margin-left: 8em}
164 .row4 {margin-left: 10em} /* should actually align to next key on row1 */
165 /* ...however rows>=1 are shifted a bit, to make space */
168 clear: both; /* start new row (screen row) */
172 /* start new row block (keyboard row) */
179 h3 {display: none} /* semantic details (non-css/js) */
180 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
184 width: 82.5em; /* 12 * td(2px + 1px + 6.2em + 1px + 2px) + 8em */
185 // padding-right: 72px;
187 border-collapse: collapse;
193 /* individual keys */
199 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
200 height: 4.5ex; /* 2 lines */
205 border: 1px solid #000;
207 -moz-border-radius: 4px;
208 text-transform-variation: text;
213 line-height: 2.5ex; /* inherits otherwise */
216 .keys .row0 td { /* omni-present esc */
220 /* fine tuning of special occurrences */
222 .keys td b[title] { /* mnemonic hover */
225 .keys td[onclick]:hover { /* link */
228 .keys td a { /* key link */
230 text-decoration: none;
237 .keys .lead td b { /* char with ctrl or leading key */
238 font-size: 100%; /* space is too limited for 2+ double-sized chars */
239 line-height: 5ex; /* keep double height though */
241 .keys .meta td b small,
242 .keys .ctrl td b small { /* meta key indicator */
244 font-weight: normal; /* nice and subtle */
250 border-collapse: collapse;
254 border: 1px solid #888;
265 /* first cell determines border width for entire row */
266 border-top-color: transparent;
281 /* character table */
283 .glyphs thead th, .glyphs td {
284 width: 1.6em; /* regular interval */
289 .glyphs.big tbody td {
293 margin: 0.5ex 0; /* nested in legend */
300 min-width: 2.5ex; /* square cells */
309 background: transparent;
312 width: auto; /* no glyph cells in header */
315 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
316 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
322 font-size: 50%; /* mostly insignificant here */
326 text-align: right; /* variable width so keep near cells */
331 text-transform: uppercase;
334 border-top: 1px solid #888;
340 border: 1px solid #555;
344 table.color td samp {
345 margin: 0 -8px 0 8px;
346 font-family: inherit;
349 table.color td samp ~ samp {
351 table.color td samp small {
352 font: 100% monospace;
359 table-layout: fixed; /* prevent resizing, notably in msie6 */
361 .dimap thead th, .dimap td {
362 /* below-maximum size (but still average enough to be regular) so we can fit more */
363 width: 1.2em; /* msie only looks at the first row */
364 min-width: 1em; /* prevents gecko from restricting to page width */
367 text-align: center; /* row headers are also glyph-sized */
370 .mapped tbody, .mapped colgroup,
371 .dimap tbody, .dimap colgroup {
372 border: 2px double #888; /* major character group grid */
376 border-width: 2px 0; /* horizontal group dividers */
380 border-width: 0 2px; /* vertical divides */
383 /* digraph selection */
386 -moz-column-width: 24em;
387 -webkit-column-width: 24em;
392 column-break-inside: avoid;
393 -webkit-column-break-inside: avoid;
394 position: relative; z-index: 1; /* webkit bug */
397 /* glyph cell overlay (digraph labels) */
401 padding-bottom: 1.1ex; /* reserve space for label */
402 vertical-align: bottom;
404 .glyphs.dilabel small {
408 margin-bottom: -2.2ex; /* take cell padding */
410 .glyphs.dilabel small.digraph {
415 .glyphs.dilabel small.value {
421 /* character properties */
423 .X {background: #FFF} /* unidentified */
424 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
425 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
429 .Greek {background: #FFE8CF}
430 .Cyrillic {background: #FFDDA8}
431 .Latin {background: #FFB}
433 .Hebrew {background: #FFD}
434 .Arabic {background: #EFE}
435 .African {background: #DED}
436 .Brahmic {background: #FBB} /* same as number */
437 .Khmer {background: #FBA}
439 .Syllabic {background: #DEA}
440 .Katakana {background: #DFA}
441 .Hiragana {background: #DFC}
442 .Bopomofo {background: #BFC}
443 .Han {background: #CFD}
444 .Alpha {background: #ADA} /* other scripts */
446 /* other categories */
447 .Nd, .Nl, .No {background: #FDD} /* number */
448 .Sc {background: #FCD} /* currency */
449 .Sm {background: #ECE} /* math */
450 .So {background: #DCF} /* symbol */
451 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
452 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
453 .Lm, .Sk {background: #CEE} /* spacing modifier */
454 .Mn {background: #ACC} /* modifier */
455 .Cc, .Cf {color: #666; background: #BBB} /* control */
456 .Zs {background: #ACB} /* space */
457 .Co, .Xi.Co {background: #DCC} /* private */
458 .Xi, .Cs {background: #CCC} /* invalid */
459 .Xd {color: #844} /* deprecated */
460 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
461 .dimap .Xr {background: #EEE} /* reversed digraph */
462 .ccmap .Xr {opacity:.4}
465 .l1 {background: #FDD} /* no, unsupported, other */
466 .l2 {background: #FED} /* partial, restricted, unofficial */
467 /* default u-prop, u-bmp */
468 .l3 {background: #FFD} /* almost, imperfect, common */
469 /* default u-di, u-lat1 */
470 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
471 /* default u-ascii */
472 .l5 {background: #DFD} /* complete, perfect */
473 .l0 {background: #EEE} /* unknown, omitted */
474 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
475 .u-invalid {background: #BBB} /* invalid, impossible */
477 /* foreground representation */
478 #digraphs .u-l3 {color: #080} /* partial */
479 #digraphs .u-l3.ex {color: #4C0} /* experimental */
480 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
481 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
483 /* support percentage (browser cells) */
486 .p::after {content: '!'; color: #F00}
487 .p4::after {color: #C00}
488 .p3::after {color: #A00}
489 .p2::after {color: #800}
491 .p0::after {color: #000}
492 .p09::after {opacity: .9}
493 .p08::after {opacity: .8}
494 .p07::after {opacity: .7}
495 .p06::after {opacity: .6}
496 .p05::after {opacity: .5}
497 .p04::after {opacity: .4}
498 .p03::after {opacity: .3}
499 .p02::after {opacity: .2}
500 .p01::after {opacity: .1}
501 .p00::after {display: none}
504 .sy-comment { color: #888 }
505 .sy-constant { color: #008 }
507 .sy-identifier { color: #804 }
510 .sy-special { color: #408 }
511 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
512 .sy-todo { background-color: #FF0 }
514 /* boolean alternate */
515 .glyphs b { font-weight: normal; color: #800 }
518 .X:hover {cursor: help}
519 .X:hover > span {background: #FFF} /* whitespace marker */
520 .Greek:hover, .Armenian:hover {background: #FA8}
521 .Cyrillic:hover {background: #FB7}
522 .Latin:hover {background: #EE4}
523 .Hebrew:hover, .Aramaic:hover {background: #FFA}
524 .Arabic:hover {background: #CFD}
525 .African:hover {background: #BDB}
526 .Syllabic:hover, .Hangul:hover {background: #CE6}
527 .Katakana:hover {background: #BF7}
528 .Hiragana:hover {background: #AF8}
529 .Bopomofo:hover {background: #8FA}
530 .Brahmic:hover {background: #F77}
531 .Khmer:hover {background: #F87}
532 .Han:hover {background: #5EB}
533 .Alpha:hover {background: #5C5}
534 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
535 .Sc:hover {background: #F8C} /* currency */
536 .Sm:hover {background: #F8F} /* math */
537 .So:hover {background: #A8F} /* symbol */
538 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
539 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
540 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
541 .Mn:hover {background: #CDE} /* modifier */
542 .Zs:hover {background: #CED} /* space */
543 .Cc:hover, .Cf:hover {background: #DDD} /* control */
544 .Co:hover {background: #A77} /* private */
545 .Xr:hover {background: #FFF} /* reserved */
546 .Xi:hover {background: #DDD} /* invalid */
547 .l0:hover {background: #888}
548 .l1:hover {background: #F88}
549 .l2:hover {background: #FC8}
550 .l3:hover {background: #FF8}
551 .l4:hover {background: #CF8}
552 .l5:hover {background: #8F8}
553 .u-l3:hover {outline: 1px solid #080}
554 .u-l3.ex:hover {outline: 1px solid #8F0}
555 .u-l2:hover {outline: 1px solid #800}
556 .u-l1:hover {outline: 1px solid #F00}
558 /* key type colorization */
561 .g1 {background: #BFE} /* cyan: info */
563 .g2 {background: #BFB} /* green: motion */
564 .g3 {background: #DFA} /* greenish: jump (g2+) */
566 .g4 {background: #FFA} /* yellow: command */
568 .g5 {background: #FDA} /* orangish: open (g6-) */
569 .g6 {background: #FCA} /* orange: insert */
571 .g7 {background: #FCC} /* red: mode */
573 .g8 {background: #ECE} /* purple: visual (g7+) */
575 .g9 {background: #CCF} /* blue: prefix */
578 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
580 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
581 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
583 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
585 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
586 .g6 a:hover, .g6[onclick]:hover {background: #F97}
588 .g7 a:hover, .g7[onclick]:hover {background: #F88}
590 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
592 .g9 a:hover, .g9[onclick]:hover {background: #99F}
595 background: #EEE; /* unassigned */
599 padding: 1px; /* same size as borderlessless keys */
605 text-shadow: #F20 0 0 0.1em;
607 dl.legend dt.more:hover,
608 .keys td.more:hover b {
609 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
613 border-style: dashed;
620 /* l/r help columns */
633 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
636 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
641 float: left; /* align next to dt (except msie<=7 does just the opposite) */
646 .right dl.legend dt {
647 margin-right: -6.4em;
651 .right dl.legend dd {
661 margin: 0 0 1px; /* distinct keys */
662 height: auto; /* not key-height */
666 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
670 dl.legend-options dt {
679 margin: 6px 0; /* similar to dl legends */
699 vertical-align: bottom;
703 @media (min-width: 60em) {
707 background: rgba(255, 255, 255, .66);
712 box-sizing: border-box;
714 .gallery li.parent:hover > figure > figcaption,
715 .gallery figure:hover > figcaption {
716 /* highlight title of current and parents */
720 transform: translate(50%, 50%);
721 margin-left: -60%; /* keep width */
729 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
732 .gallery li, .gallery ul {
737 box-sizing: border-box;
741 .gallery figcaption > small {
742 display: inline-block;
745 @media (min-width: 403px) and (min-height: 266px) {
746 /* able to fit 2 cells of 200x133 */
747 .gallery li.large > figure {
752 @media (min-width: 603px) and (min-height: 400px) {
753 /* fit 3 cells of 200x133 */
754 .gallery > li:first-child > figure,
755 .gallery li.huge > figure {
761 .gallery figure, .gallery figcaption {
762 transition: all .5s ease-in;
764 .gallery figure:hover ~ ul figcaption {
765 /* mark all children */
767 background: rgba(0, 0, 0, .5);
770 .gallery figure[data-sup]:after {
773 content: attr(data-sup);
780 .gallery .expand > figure[data-sup]:after {
781 content: '+' attr(data-sup);
784 border: 2px solid #FFF8;
787 /* specialised galleries */
795 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
801 table.gallery tr > :first-child {
804 margin: auto; /* vertical-align: middle */
806 table.gallery tr > :nth-child(2) {
807 grid-column: 2; /* in case 1st is missing */
810 border: 0; /* does not collapse */
811 outline: 1px solid #888; /* over grid-gap */
817 text-decoration: none;
819 #browser td > a:active,
820 #browser td > a:hover {
821 text-decoration: underline;
827 -webkit-transition: all 1s ease-in;
828 -o-transition: all 1s ease-in;
829 -moz-transition: all 1s ease-in;
830 transition: height 1s ease-in;
832 #browser tr .aside p {
835 #browser tr.target .aside,
836 #browser tr:target .aside {
840 white-space: nowrap; /* some browsers break on dashes */
843 #browser tr:target > td:first-of-type,
844 #browser tr.focus > td:first-of-type {
847 #browser tr.focus > td {
848 border-bottom-color: #000;
858 font-variant: small-caps;
868 -webkit-column-break-inside: avoid; /* webkit */
869 page-break-inside: avoid; /* moz */
870 overflow: hidden; /* webkit workaround */
873 display: inline-block;
877 .units tbody tr:hover:not(.race) {
883 .unit-min, .unit-min a:not(:hover) {
889 .unit-o {color: #C08} /* organic */
890 .unit-u {color: #44C} /* mechanic */
891 .unit-p {color: #0A8} /* psionic */
898 .unit-x {color: #888}
899 .unit-s {color: #890}
900 .unit-m {color: #C70}
901 .unit-l {color: #D22}
902 .unit-h {color: #804}
907 .hurtrel, .units .hurtrel {
928 .unit-detect::before {
935 text-decoration-color: #8C0;
936 -moz-text-decoration-color: #8C0;
937 -webkit-text-decoration-color: #8C0;
948 ul.legend-set {display: none} /* current options only relevant on dynamic media */
951 /* terse optimisation */
953 @media (min-height: 112ex) and (min-width: 90em) {
958 padding: 1ex 0 1ex .1em;
963 @media (max-width: 79em) {
965 position: relative; /* hides overflow */
971 .keys .lead td b { /* leading chars always fit */
972 position: absolute; /* background */
973 right: 0; /* least overlap in corner */
981 width: 62.1em; /* 82.5em - 12 * Δtd(6.2em - 4.5em) */
983 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
984 .row3 {margin-left: 6em} /* 8em / Δtd */
985 .row4 {margin-left: 7.5em} /* 10em / Δtd */
987 @media (max-width: 61em) {
990 height: 6.75ex; /* 3 lines */
1001 width: 37em; /* (12 * td(3em + 6px) + 8em) * 80% */
1003 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
1004 .row3 {margin-left: 4em} /* 8em / Δtd */
1005 .row4 {margin-left: 5em} /* 10em / Δtd */
1008 @media (max-width: 42em) {
1009 /* flatten right legend column on mobile */
1021 .right dl.legend dt {
1023 margin-left: -6.4em;
1027 .right dl.legend dd {
1034 @media screen and (orientation: portrait) and (max-width: 62em) {
1038 transform: rotate(90deg);
1039 transform-origin: top left;
1043 margin-bottom: 30em;