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 */
126 font-size: 50%; /* 1rem */
128 padding-top: 1.75ex; /* align baseline with container */
142 /* "keyboard" (list of keys) */
144 .row0 {margin-top: -5ex} /* top (esc) row fits besides header */
145 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
146 .row3 {margin-left: 8em}
147 .row4 {margin-left: 10em} /* should actually align to next key on row1 */
148 /* ...however rows>=1 are shifted a bit, to make space */
151 clear: both; /* start new row (screen row) */
155 /* start new row block (keyboard row) */
162 h3 {display: none} /* semantic details (non-css/js) */
163 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
167 width: 82.5em; /* 12 * td(2px + 1px + 6.2em + 1px + 2px) + 8em */
168 // padding-right: 72px;
170 border-collapse: collapse;
176 /* individual keys */
182 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
183 height: 4.5ex; /* 2 lines */
188 border: 1px solid #000;
190 -moz-border-radius: 4px;
191 text-transform-variation: text;
196 line-height: 2.5ex; /* inherits otherwise */
199 .keys .row0 td { /* omni-present esc */
203 /* fine tuning of special occurrences */
205 .keys td b[title] { /* mnemonic hover */
208 .keys td[onclick]:hover { /* link */
211 .keys td a { /* key link */
213 text-decoration: none;
220 .keys .lead td b { /* char with ctrl or leading key */
221 font-size: 100%; /* space is too limited for 2+ double-sized chars */
222 line-height: 5ex; /* keep double height though */
224 .keys .meta td b small,
225 .keys .ctrl td b small { /* meta key indicator */
227 font-weight: normal; /* nice and subtle */
233 border-collapse: collapse;
237 border: 1px solid #888;
248 /* first cell determines border width for entire row */
249 border-top-color: transparent;
264 /* character table */
266 .glyphs thead th, .glyphs td {
267 width: 1.6em; /* regular interval */
272 .glyphs.big tbody td {
276 margin: 0.5ex 0; /* nested in legend */
283 min-width: 2.5ex; /* square cells */
292 background: transparent;
295 width: auto; /* no glyph cells in header */
298 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
299 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
305 font-size: 50%; /* mostly insignificant here */
309 text-align: right; /* variable width so keep near cells */
314 text-transform: uppercase;
317 border-top: 1px solid #888;
323 border: 1px solid #555;
327 table.color td samp {
328 margin: 0 -8px 0 8px;
329 font-family: inherit;
332 table.color td samp ~ samp {
334 table.color td samp small {
335 font: 100% monospace;
342 table-layout: fixed; /* prevent resizing, notably in msie6 */
344 .dimap thead th, .dimap td {
345 /* below-maximum size (but still average enough to be regular) so we can fit more */
346 width: 1.2em; /* msie only looks at the first row */
347 min-width: 1em; /* prevents gecko from restricting to page width */
350 text-align: center; /* row headers are also glyph-sized */
353 .mapped tbody, .mapped colgroup,
354 .dimap tbody, .dimap colgroup {
355 border: 2px double #888; /* major character group grid */
359 border-width: 2px 0; /* horizontal group dividers */
363 border-width: 0 2px; /* vertical divides */
366 /* digraph selection */
369 -moz-column-width: 24em;
370 -webkit-column-width: 24em;
375 column-break-inside: avoid;
376 -webkit-column-break-inside: avoid;
377 position: relative; z-index: 1; /* webkit bug */
380 /* glyph cell overlay (digraph labels) */
384 padding-bottom: 1.1ex; /* reserve space for label */
385 vertical-align: bottom;
387 .glyphs.dilabel small {
391 margin-bottom: -2.2ex; /* take cell padding */
393 .glyphs.dilabel small.digraph {
398 .glyphs.dilabel small.value {
404 /* character properties */
406 .X {background: #FFF} /* unidentified */
407 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
408 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
412 .Greek {background: #FFE8CF}
413 .Cyrillic {background: #FFDDA8}
414 .Latin {background: #FFB}
416 .Hebrew {background: #FFD}
417 .Arabic {background: #EFE}
418 .African {background: #DED}
419 .Brahmic {background: #FBB} /* same as number */
420 .Khmer {background: #FBA}
422 .Syllabic {background: #DEA}
423 .Katakana {background: #DFA}
424 .Hiragana {background: #DFC}
425 .Bopomofo {background: #BFC}
426 .Han {background: #CFD}
427 .Alpha {background: #ADA} /* other scripts */
429 /* other categories */
430 .Nd, .Nl, .No {background: #FDD} /* number */
431 .Sc {background: #FCD} /* currency */
432 .Sm {background: #ECE} /* math */
433 .So {background: #DCF} /* symbol */
434 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
435 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
436 .Lm, .Sk {background: #CEE} /* spacing modifier */
437 .Mn {background: #ACC} /* modifier */
438 .Cc, .Cf {color: #666; background: #BBB} /* control */
439 .Zs {background: #ACB} /* space */
440 .Co, .Xi.Co {background: #DCC} /* private */
441 .Xi, .Cs {background: #CCC} /* invalid */
442 .Xd {color: #844} /* deprecated */
443 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
444 .dimap .Xr {background: #EEE} /* reversed digraph */
445 .ccmap .Xr {opacity:.4}
448 .l1 {background: #FDD} /* no, unsupported, other */
449 .l2 {background: #FED} /* partial, restricted, unofficial */
450 /* default u-prop, u-bmp */
451 .l3 {background: #FFD} /* almost, imperfect, common */
452 /* default u-di, u-lat1 */
453 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
454 /* default u-ascii */
455 .l5 {background: #DFD} /* complete, perfect */
456 .l0 {background: #EEE} /* unknown, omitted */
457 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
458 .u-invalid {background: #BBB} /* invalid, impossible */
460 /* foreground representation */
461 #digraphs .u-l3 {color: #080} /* partial */
462 #digraphs .u-l3.ex {color: #4C0} /* experimental */
463 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
464 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
466 /* support percentage (browser cells) */
469 .p::after {content: '!'; color: #F00}
470 .p4::after {color: #C00}
471 .p3::after {color: #A00}
472 .p2::after {color: #800}
474 .p0::after {color: #000}
475 .p09::after {opacity: .9}
476 .p08::after {opacity: .8}
477 .p07::after {opacity: .7}
478 .p06::after {opacity: .6}
479 .p05::after {opacity: .5}
480 .p04::after {opacity: .4}
481 .p03::after {opacity: .3}
482 .p02::after {opacity: .2}
483 .p01::after {opacity: .1}
484 .p00::after {display: none}
487 .sy-comment { color: #888 }
488 .sy-constant { color: #008 }
490 .sy-identifier { color: #804 }
493 .sy-special { color: #408 }
494 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
495 .sy-todo { background-color: #FF0 }
497 /* boolean alternate */
498 .glyphs b { font-weight: normal; color: #800 }
501 .X:hover {cursor: help}
502 .X:hover > span {background: #FFF} /* whitespace marker */
503 .Greek:hover, .Armenian:hover {background: #FA8}
504 .Cyrillic:hover {background: #FB7}
505 .Latin:hover {background: #EE4}
506 .Hebrew:hover, .Aramaic:hover {background: #FFA}
507 .Arabic:hover {background: #CFD}
508 .African:hover {background: #BDB}
509 .Syllabic:hover, .Hangul:hover {background: #CE6}
510 .Katakana:hover {background: #BF7}
511 .Hiragana:hover {background: #AF8}
512 .Bopomofo:hover {background: #8FA}
513 .Brahmic:hover {background: #F77}
514 .Khmer:hover {background: #F87}
515 .Han:hover {background: #5EB}
516 .Alpha:hover {background: #5C5}
517 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
518 .Sc:hover {background: #F8C} /* currency */
519 .Sm:hover {background: #F8F} /* math */
520 .So:hover {background: #A8F} /* symbol */
521 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
522 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
523 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
524 .Mn:hover {background: #CDE} /* modifier */
525 .Zs:hover {background: #CED} /* space */
526 .Cc:hover, .Cf:hover {background: #DDD} /* control */
527 .Co:hover {background: #A77} /* private */
528 .Xr:hover {background: #FFF} /* reserved */
529 .Xi:hover {background: #DDD} /* invalid */
530 .l0:hover {background: #888}
531 .l1:hover {background: #F88}
532 .l2:hover {background: #FC8}
533 .l3:hover {background: #FF8}
534 .l4:hover {background: #CF8}
535 .l5:hover {background: #8F8}
536 .u-l3:hover {outline: 1px solid #080}
537 .u-l3.ex:hover {outline: 1px solid #8F0}
538 .u-l2:hover {outline: 1px solid #800}
539 .u-l1:hover {outline: 1px solid #F00}
541 /* key type colorization */
544 .g1 {background: #BFE} /* cyan: info */
546 .g2 {background: #BFB} /* green: motion */
547 .g3 {background: #DFA} /* greenish: jump (g2+) */
549 .g4 {background: #FFA} /* yellow: command */
551 .g5 {background: #FDA} /* orangish: open (g6-) */
552 .g6 {background: #FCA} /* orange: insert */
554 .g7 {background: #FCC} /* red: mode */
556 .g8 {background: #ECE} /* purple: visual (g7+) */
558 .g9 {background: #CCF} /* blue: prefix */
561 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
563 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
564 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
566 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
568 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
569 .g6 a:hover, .g6[onclick]:hover {background: #F97}
571 .g7 a:hover, .g7[onclick]:hover {background: #F88}
573 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
575 .g9 a:hover, .g9[onclick]:hover {background: #99F}
578 background: #EEE; /* unassigned */
582 padding: 1px; /* same size as borderlessless keys */
588 text-shadow: #F20 0 0 0.1em;
590 dl.legend dt.more:hover,
591 .keys td.more:hover b {
592 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
596 border-style: dashed;
603 /* l/r help columns */
616 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
619 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
624 float: left; /* align next to dt (except msie<=7 does just the opposite) */
629 .right dl.legend dt {
630 margin-right: -6.4em;
634 .right dl.legend dd {
644 margin: 0 0 1px; /* distinct keys */
645 height: auto; /* not key-height */
649 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
653 dl.legend-options dt {
662 margin: 6px 0; /* similar to dl legends */
682 vertical-align: bottom;
686 @media (min-width: 60em) {
690 background: rgba(255, 255, 255, .66);
695 box-sizing: border-box;
697 .gallery li.parent:hover > figure > figcaption,
698 .gallery figure:hover > figcaption {
699 /* highlight title of current and parents */
703 transform: translate(50%, 50%);
704 margin-left: -60%; /* keep width */
712 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
715 .gallery li, .gallery ul {
720 box-sizing: border-box;
722 .gallery figcaption > small {
723 display: inline-block;
726 @media (min-width: 403px) and (min-height: 266px) {
727 /* able to fit 2 cells of 200x133 */
728 .gallery li.large > figure {
733 @media (min-width: 603px) and (min-height: 400px) {
734 /* fit 3 cells of 200x133 */
735 .gallery > ul > li:first-child > figure,
736 .gallery li.huge > figure {
742 .gallery figure, .gallery figcaption {
743 transition: all .5s ease-in;
745 .gallery figure:hover ~ ul figcaption {
746 /* mark all children */
748 background: rgba(0, 0, 0, .5);
751 /* specialised galleries */
759 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
765 table.gallery tr > :first-child {
768 margin: auto; /* vertical-align: middle */
770 table.gallery tr > :nth-child(2) {
771 grid-column: 2; /* in case 1st is missing */
774 border: 0; /* does not collapse */
775 outline: 1px solid #888; /* over grid-gap */
781 text-decoration: none;
783 #browser td > a:active,
784 #browser td > a:hover {
785 text-decoration: underline;
791 -webkit-transition: all 1s ease-in;
792 -o-transition: all 1s ease-in;
793 -moz-transition: all 1s ease-in;
794 transition: height 1s ease-in;
796 #browser tr .aside p {
799 #browser tr.target .aside,
800 #browser tr:target .aside {
804 white-space: nowrap; /* some browsers break on dashes */
807 #browser tr:target > td:first-of-type,
808 #browser tr.focus > td:first-of-type {
811 #browser tr.focus > td {
812 border-bottom-color: #000;
822 font-variant: small-caps;
832 -webkit-column-break-inside: avoid; /* webkit */
833 page-break-inside: avoid; /* moz */
834 overflow: hidden; /* webkit workaround */
837 display: inline-block;
841 .units tbody tr:hover:not(.race) {
847 .unit-min, .unit-min a:not(:hover) {
853 .unit-o {color: #C08} /* organic */
854 .unit-u {color: #44C} /* mechanic */
855 .unit-p {color: #0A8} /* psionic */
862 .unit-x {color: #888}
863 .unit-s {color: #890}
864 .unit-m {color: #C70}
865 .unit-l {color: #D22}
866 .unit-h {color: #804}
871 .hurtrel, .units .hurtrel {
892 .unit-detect::before {
899 text-decoration-color: #8C0;
900 -moz-text-decoration-color: #8C0;
901 -webkit-text-decoration-color: #8C0;
912 ul.legend-set {display: none} /* current options only relevant on dynamic media */
915 /* terse optimisation */
917 @media (min-height: 112ex) and (min-width: 90em) {
922 padding: 1ex 0 1ex .1em;
927 @media (max-width: 79em) {
929 position: relative; /* hides overflow */
935 .keys .lead td b { /* leading chars always fit */
936 position: absolute; /* background */
937 right: 0; /* least overlap in corner */
945 width: 62.1em; /* 82.5em - 12 * Δtd(6.2em - 4.5em) */
947 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
948 .row3 {margin-left: 6em} /* 8em / Δtd */
949 .row4 {margin-left: 7.5em} /* 10em / Δtd */
951 @media (max-width: 61em) {
954 height: 6.75ex; /* 3 lines */
965 width: 37em; /* (12 * td(3em + 6px) + 8em) * 80% */
967 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
968 .row3 {margin-left: 4em} /* 8em / Δtd */
969 .row4 {margin-left: 5em} /* 10em / Δtd */
972 @media (max-width: 42em) {
973 /* flatten right legend column on mobile */
985 .right dl.legend dt {
991 .right dl.legend dd {
998 @media screen and (orientation: portrait) and (max-width: 62em) {
1002 transform: rotate(90deg);
1003 transform-origin: top left;
1007 margin-bottom: 30em;