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 */
141 /* "keyboard" (list of keys) */
143 .row0 {margin-top: -5ex} /* top (esc) row fits besides header */
144 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
145 .row3 {margin-left: 8em}
146 .row4 {margin-left: 10em} /* should actually align to next key on row1 */
147 /* ...however rows>=1 are shifted a bit, to make space */
150 clear: both; /* start new row (screen row) */
154 /* start new row block (keyboard row) */
161 h3 {display: none} /* semantic details (non-css/js) */
162 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
166 width: 82.5em; /* 12 * td(2px + 1px + 6.2em + 1px + 2px) + 8em */
167 // padding-right: 72px;
169 border-collapse: collapse;
175 /* individual keys */
181 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
182 height: 4.5ex; /* 2 lines */
187 border: 1px solid #000;
189 -moz-border-radius: 4px;
190 text-transform-variation: text;
195 line-height: 2.5ex; /* inherits otherwise */
198 .keys .row0 td { /* omni-present esc */
202 /* fine tuning of special occurrences */
204 .keys td b[title] { /* mnemonic hover */
207 .keys td[onclick]:hover { /* link */
210 .keys td a { /* key link */
212 text-decoration: none;
219 .keys .lead td b { /* char with ctrl or leading key */
220 font-size: 100%; /* space is too limited for 2+ double-sized chars */
221 line-height: 5ex; /* keep double height though */
223 .keys .meta td b small,
224 .keys .ctrl td b small { /* meta key indicator */
226 font-weight: normal; /* nice and subtle */
232 border-collapse: collapse;
236 border: 1px solid #888;
247 /* first cell determines border width for entire row */
248 border-top-color: transparent;
263 /* character table */
265 .glyphs thead th, .glyphs td {
266 width: 1.6em; /* regular interval */
271 .glyphs.big tbody td {
275 margin: 0.5ex 0; /* nested in legend */
282 min-width: 2.5ex; /* square cells */
291 background: transparent;
294 width: auto; /* no glyph cells in header */
297 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
298 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
304 font-size: 50%; /* mostly insignificant here */
308 text-align: right; /* variable width so keep near cells */
313 text-transform: uppercase;
316 border-top: 1px solid #888;
322 border: 1px solid #555;
326 table.color td samp {
327 margin: 0 -8px 0 8px;
328 font-family: inherit;
331 table.color td samp ~ samp {
333 table.color td samp small {
334 font: 100% monospace;
341 table-layout: fixed; /* prevent resizing, notably in msie6 */
343 .dimap thead th, .dimap td {
344 /* below-maximum size (but still average enough to be regular) so we can fit more */
345 width: 1.2em; /* msie only looks at the first row */
346 min-width: 1em; /* prevents gecko from restricting to page width */
349 text-align: center; /* row headers are also glyph-sized */
352 .mapped tbody, .mapped colgroup,
353 .dimap tbody, .dimap colgroup {
354 border: 2px double #888; /* major character group grid */
358 border-width: 2px 0; /* horizontal group dividers */
362 border-width: 0 2px; /* vertical divides */
365 /* digraph selection */
368 -moz-column-width: 24em;
369 -webkit-column-width: 24em;
374 column-break-inside: avoid;
375 -webkit-column-break-inside: avoid;
376 position: relative; z-index: 1; /* webkit bug */
379 /* glyph cell overlay (digraph labels) */
383 padding-bottom: 1.1ex; /* reserve space for label */
384 vertical-align: bottom;
386 .glyphs.dilabel small {
390 margin-bottom: -2.2ex; /* take cell padding */
392 .glyphs.dilabel small.digraph {
397 .glyphs.dilabel small.value {
403 /* character properties */
405 .X {background: #FFF} /* unidentified */
406 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
407 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
411 .Greek {background: #FFE8CF}
412 .Cyrillic {background: #FFDDA8}
413 .Latin {background: #FFB}
415 .Hebrew {background: #FFD}
416 .Arabic {background: #EFE}
417 .African {background: #DED}
418 .Brahmic {background: #FBB} /* same as number */
419 .Khmer {background: #FBA}
421 .Syllabic {background: #DEA}
422 .Katakana {background: #DFA}
423 .Hiragana {background: #DFC}
424 .Bopomofo {background: #BFC}
425 .Han {background: #CFD}
426 .Alpha {background: #ADA} /* other scripts */
428 /* other categories */
429 .Nd, .Nl, .No {background: #FDD} /* number */
430 .Sc {background: #FCD} /* currency */
431 .Sm {background: #ECE} /* math */
432 .So {background: #DCF} /* symbol */
433 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
434 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
435 .Lm, .Sk {background: #CEE} /* spacing modifier */
436 .Mn {background: #ACC} /* modifier */
437 .Cc, .Cf {color: #666; background: #BBB} /* control */
438 .Zs {background: #ACB} /* space */
439 .Co, .Xi.Co {background: #DCC} /* private */
440 .Xi, .Cs {background: #CCC} /* invalid */
441 .Xd {color: #844} /* deprecated */
442 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
443 .dimap .Xr {background: #EEE} /* reversed digraph */
444 .ccmap .Xr {opacity:.4}
447 .l1 {background: #FDD} /* no, unsupported, other */
448 .l2 {background: #FED} /* partial, restricted, unofficial */
449 /* default u-prop, u-bmp */
450 .l3 {background: #FFD} /* almost, imperfect, common */
451 /* default u-di, u-lat1 */
452 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
453 /* default u-ascii */
454 .l5 {background: #DFD} /* complete, perfect */
455 .l0 {background: #EEE} /* unknown, omitted */
456 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
457 .u-invalid {background: #BBB} /* invalid, impossible */
459 /* foreground representation */
460 #digraphs .u-l3 {color: #080} /* partial */
461 #digraphs .u-l3.ex {color: #4C0} /* experimental */
462 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
463 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
465 /* support percentage (browser cells) */
468 .p::after {content: '!'; color: #F00}
469 .p4::after {color: #C00}
470 .p3::after {color: #A00}
471 .p2::after {color: #800}
473 .p0::after {color: #000}
474 .p09::after {opacity: .9}
475 .p08::after {opacity: .8}
476 .p07::after {opacity: .7}
477 .p06::after {opacity: .6}
478 .p05::after {opacity: .5}
479 .p04::after {opacity: .4}
480 .p03::after {opacity: .3}
481 .p02::after {opacity: .2}
482 .p01::after {opacity: .1}
483 .p00::after {display: none}
486 .sy-comment { color: #888 }
487 .sy-constant { color: #008 }
489 .sy-identifier { color: #804 }
492 .sy-special { color: #408 }
493 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
494 .sy-todo { background-color: #FF0 }
496 /* boolean alternate */
497 .glyphs b { font-weight: normal; color: #800 }
500 .X:hover {cursor: help}
501 .X:hover > span {background: #FFF} /* whitespace marker */
502 .Greek:hover, .Armenian:hover {background: #FA8}
503 .Cyrillic:hover {background: #FB7}
504 .Latin:hover {background: #EE4}
505 .Hebrew:hover, .Aramaic:hover {background: #FFA}
506 .Arabic:hover {background: #CFD}
507 .African:hover {background: #BDB}
508 .Syllabic:hover, .Hangul:hover {background: #CE6}
509 .Katakana:hover {background: #BF7}
510 .Hiragana:hover {background: #AF8}
511 .Bopomofo:hover {background: #8FA}
512 .Brahmic:hover {background: #F77}
513 .Khmer:hover {background: #F87}
514 .Han:hover {background: #5EB}
515 .Alpha:hover {background: #5C5}
516 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
517 .Sc:hover {background: #F8C} /* currency */
518 .Sm:hover {background: #F8F} /* math */
519 .So:hover {background: #A8F} /* symbol */
520 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
521 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
522 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
523 .Mn:hover {background: #CDE} /* modifier */
524 .Zs:hover {background: #CED} /* space */
525 .Cc:hover, .Cf:hover {background: #DDD} /* control */
526 .Co:hover {background: #A77} /* private */
527 .Xr:hover {background: #FFF} /* reserved */
528 .Xi:hover {background: #DDD} /* invalid */
529 .l0:hover {background: #888}
530 .l1:hover {background: #F88}
531 .l2:hover {background: #FC8}
532 .l3:hover {background: #FF8}
533 .l4:hover {background: #CF8}
534 .l5:hover {background: #8F8}
535 .u-l3:hover {outline: 1px solid #080}
536 .u-l3.ex:hover {outline: 1px solid #8F0}
537 .u-l2:hover {outline: 1px solid #800}
538 .u-l1:hover {outline: 1px solid #F00}
540 /* key type colorization */
543 .g1 {background: #BFE} /* cyan: info */
545 .g2 {background: #BFB} /* green: motion */
546 .g3 {background: #DFA} /* greenish: jump (g2+) */
548 .g4 {background: #FFA} /* yellow: command */
550 .g5 {background: #FDA} /* orangish: open (g6-) */
551 .g6 {background: #FCA} /* orange: insert */
553 .g7 {background: #FCC} /* red: mode */
555 .g8 {background: #ECE} /* purple: visual (g7+) */
557 .g9 {background: #CCF} /* blue: prefix */
560 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
562 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
563 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
565 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
567 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
568 .g6 a:hover, .g6[onclick]:hover {background: #F97}
570 .g7 a:hover, .g7[onclick]:hover {background: #F88}
572 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
574 .g9 a:hover, .g9[onclick]:hover {background: #99F}
577 background: #EEE; /* unassigned */
581 padding: 1px; /* same size as borderlessless keys */
587 text-shadow: #F20 0 0 0.1em;
589 dl.legend dt.more:hover,
590 .keys td.more:hover b {
591 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
595 border-style: dashed;
602 /* l/r help columns */
615 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
618 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
623 float: left; /* align next to dt (except msie<=7 does just the opposite) */
628 .right dl.legend dt {
629 margin-right: -6.4em;
633 .right dl.legend dd {
643 margin: 0 0 1px; /* distinct keys */
644 height: auto; /* not key-height */
648 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
652 dl.legend-options dt {
661 margin: 6px 0; /* similar to dl legends */
681 vertical-align: bottom;
685 @media (min-width: 60em) {
689 background: rgba(255, 255, 255, .66);
694 box-sizing: border-box;
696 .gallery li.parent:hover > figure > figcaption,
697 .gallery figure:hover > figcaption {
698 /* highlight title of current and parents */
702 transform: translate(50%, 50%);
703 margin-left: -60%; /* keep width */
711 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
714 .gallery li, .gallery ul {
719 box-sizing: border-box;
721 .gallery figcaption > small {
722 display: inline-block;
725 @media (min-width: 403px) and (min-height: 266px) {
726 /* able to fit 2 cells of 200x133 */
727 .gallery li.large > figure {
732 @media (min-width: 603px) and (min-height: 400px) {
733 /* fit 3 cells of 200x133 */
734 .gallery > ul > li:first-child > figure,
735 .gallery li.huge > figure {
741 .gallery figure, .gallery figcaption {
742 transition: all .5s ease-in;
744 .gallery figure:hover ~ ul figcaption {
745 /* mark all children */
747 background: rgba(0, 0, 0, .5);
750 /* specialised galleries */
758 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
764 table.gallery tr > :first-child {
767 margin: auto; /* vertical-align: middle */
769 table.gallery tr > :nth-child(2) {
770 grid-column: 2; /* in case 1st is missing */
773 border: 0; /* does not collapse */
774 outline: 1px solid #888; /* over grid-gap */
780 text-decoration: none;
782 #browser td > a:active,
783 #browser td > a:hover {
784 text-decoration: underline;
790 -webkit-transition: all 1s ease-in;
791 -o-transition: all 1s ease-in;
792 -moz-transition: all 1s ease-in;
793 transition: height 1s ease-in;
795 #browser tr .aside p {
798 #browser tr.target .aside,
799 #browser tr:target .aside {
803 white-space: nowrap; /* some browsers break on dashes */
806 #browser tr:target > td:first-of-type,
807 #browser tr.focus > td:first-of-type {
810 #browser tr.focus > td {
811 border-bottom-color: #000;
821 font-variant: small-caps;
831 -webkit-column-break-inside: avoid; /* webkit */
832 page-break-inside: avoid; /* moz */
833 overflow: hidden; /* webkit workaround */
836 display: inline-block;
840 .units tbody tr:hover:not(.race) {
846 .unit-min, .unit-min a:not(:hover) {
852 .unit-o {color: #C08} /* organic */
853 .unit-u {color: #44C} /* mechanic */
854 .unit-p {color: #0A8} /* psionic */
861 .unit-x {color: #888}
862 .unit-s {color: #890}
863 .unit-m {color: #C70}
864 .unit-l {color: #D22}
865 .unit-h {color: #804}
870 .hurtrel, .units .hurtrel {
891 .unit-detect::before {
898 text-decoration-color: #8C0;
899 -moz-text-decoration-color: #8C0;
900 -webkit-text-decoration-color: #8C0;
911 ul.legend-set {display: none} /* current options only relevant on dynamic media */
914 /* terse optimisation */
916 @media (min-height: 112ex) and (min-width: 90em) {
921 padding: 1ex 0 1ex .1em;
926 @media (max-width: 79em) {
928 position: relative; /* hides overflow */
934 .keys .lead td b { /* leading chars always fit */
935 position: absolute; /* background */
936 right: 0; /* least overlap in corner */
944 width: 62.1em; /* 82.5em - 12 * Δtd(6.2em - 4.5em) */
946 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
947 .row3 {margin-left: 6em} /* 8em / Δtd */
948 .row4 {margin-left: 7.5em} /* 10em / Δtd */
950 @media (max-width: 61em) {
953 height: 6.75ex; /* 3 lines */
964 width: 37em; /* (12 * td(3em + 6px) + 8em) * 80% */
966 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
967 .row3 {margin-left: 4em} /* 8em / Δtd */
968 .row4 {margin-left: 5em} /* 10em / Δtd */
971 @media (max-width: 42em) {
972 /* flatten right legend column on mobile */
984 .right dl.legend dt {
990 .right dl.legend dd {
997 @media screen and (orientation: portrait) and (max-width: 62em) {
1001 transform: rotate(90deg);
1002 transform-origin: top left;
1006 margin-bottom: 30em;