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 */
146 /* "keyboard" (list of keys) */
148 .row0 {margin-top: -5ex} /* top (esc) row fits besides header */
149 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
150 .row3 {margin-left: 8em}
151 .row4 {margin-left: 10em} /* should actually align to next key on row1 */
152 /* ...however rows>=1 are shifted a bit, to make space */
155 clear: both; /* start new row (screen row) */
159 /* start new row block (keyboard row) */
166 h3 {display: none} /* semantic details (non-css/js) */
167 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
171 width: 82.5em; /* 12 * td(2px + 1px + 6.2em + 1px + 2px) + 8em */
172 // padding-right: 72px;
174 border-collapse: collapse;
180 /* individual keys */
186 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
187 height: 4.5ex; /* 2 lines */
192 border: 1px solid #000;
194 -moz-border-radius: 4px;
195 text-transform-variation: text;
200 line-height: 2.5ex; /* inherits otherwise */
203 .keys .row0 td { /* omni-present esc */
207 /* fine tuning of special occurrences */
209 .keys td b[title] { /* mnemonic hover */
212 .keys td[onclick]:hover { /* link */
215 .keys td a { /* key link */
217 text-decoration: none;
224 .keys .lead td b { /* char with ctrl or leading key */
225 font-size: 100%; /* space is too limited for 2+ double-sized chars */
226 line-height: 5ex; /* keep double height though */
228 .keys .meta td b small,
229 .keys .ctrl td b small { /* meta key indicator */
231 font-weight: normal; /* nice and subtle */
237 border-collapse: collapse;
241 border: 1px solid #888;
252 /* first cell determines border width for entire row */
253 border-top-color: transparent;
268 /* character table */
270 .glyphs thead th, .glyphs td {
271 width: 1.6em; /* regular interval */
276 .glyphs.big tbody td {
280 margin: 0.5ex 0; /* nested in legend */
287 min-width: 2.5ex; /* square cells */
296 background: transparent;
299 width: auto; /* no glyph cells in header */
302 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
303 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
309 font-size: 50%; /* mostly insignificant here */
313 text-align: right; /* variable width so keep near cells */
318 text-transform: uppercase;
321 border-top: 1px solid #888;
327 border: 1px solid #555;
331 table.color td samp {
332 margin: 0 -8px 0 8px;
333 font-family: inherit;
336 table.color td samp ~ samp {
338 table.color td samp small {
339 font: 100% monospace;
346 table-layout: fixed; /* prevent resizing, notably in msie6 */
348 .dimap thead th, .dimap td {
349 /* below-maximum size (but still average enough to be regular) so we can fit more */
350 width: 1.2em; /* msie only looks at the first row */
351 min-width: 1em; /* prevents gecko from restricting to page width */
354 text-align: center; /* row headers are also glyph-sized */
357 .mapped tbody, .mapped colgroup,
358 .dimap tbody, .dimap colgroup {
359 border: 2px double #888; /* major character group grid */
363 border-width: 2px 0; /* horizontal group dividers */
367 border-width: 0 2px; /* vertical divides */
370 /* digraph selection */
373 -moz-column-width: 24em;
374 -webkit-column-width: 24em;
379 column-break-inside: avoid;
380 -webkit-column-break-inside: avoid;
381 position: relative; z-index: 1; /* webkit bug */
384 /* glyph cell overlay (digraph labels) */
388 padding-bottom: 1.1ex; /* reserve space for label */
389 vertical-align: bottom;
391 .glyphs.dilabel small {
395 margin-bottom: -2.2ex; /* take cell padding */
397 .glyphs.dilabel small.digraph {
402 .glyphs.dilabel small.value {
408 /* character properties */
410 .X {background: #FFF} /* unidentified */
411 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
412 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
416 .Greek {background: #FFE8CF}
417 .Cyrillic {background: #FFDDA8}
418 .Latin {background: #FFB}
420 .Hebrew {background: #FFD}
421 .Arabic {background: #EFE}
422 .African {background: #DED}
423 .Brahmic {background: #FBB} /* same as number */
424 .Khmer {background: #FBA}
426 .Syllabic {background: #DEA}
427 .Katakana {background: #DFA}
428 .Hiragana {background: #DFC}
429 .Bopomofo {background: #BFC}
430 .Han {background: #CFD}
431 .Alpha {background: #ADA} /* other scripts */
433 /* other categories */
434 .Nd, .Nl, .No {background: #FDD} /* number */
435 .Sc {background: #FCD} /* currency */
436 .Sm {background: #ECE} /* math */
437 .So {background: #DCF} /* symbol */
438 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
439 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
440 .Lm, .Sk {background: #CEE} /* spacing modifier */
441 .Mn {background: #ACC} /* modifier */
442 .Cc, .Cf {color: #666; background: #BBB} /* control */
443 .Zs {background: #ACB} /* space */
444 .Co, .Xi.Co {background: #DCC} /* private */
445 .Xi, .Cs {background: #CCC} /* invalid */
446 .Xd {color: #844} /* deprecated */
447 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
448 .dimap .Xr {background: #EEE} /* reversed digraph */
449 .ccmap .Xr {opacity:.4}
452 .l1 {background: #FDD} /* no, unsupported, other */
453 .l2 {background: #FED} /* partial, restricted, unofficial */
454 /* default u-prop, u-bmp */
455 .l3 {background: #FFD} /* almost, imperfect, common */
456 /* default u-di, u-lat1 */
457 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
458 /* default u-ascii */
459 .l5 {background: #DFD} /* complete, perfect */
460 .l0 {background: #EEE} /* unknown, omitted */
461 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
462 .u-invalid {background: #BBB} /* invalid, impossible */
464 /* foreground representation */
465 #digraphs .u-l3 {color: #080} /* partial */
466 #digraphs .u-l3.ex {color: #4C0} /* experimental */
467 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
468 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
470 /* support percentage (browser cells) */
473 .p::after {content: '!'; color: #F00}
474 .p4::after {color: #C00}
475 .p3::after {color: #A00}
476 .p2::after {color: #800}
478 .p0::after {color: #000}
479 .p09::after {opacity: .9}
480 .p08::after {opacity: .8}
481 .p07::after {opacity: .7}
482 .p06::after {opacity: .6}
483 .p05::after {opacity: .5}
484 .p04::after {opacity: .4}
485 .p03::after {opacity: .3}
486 .p02::after {opacity: .2}
487 .p01::after {opacity: .1}
488 .p00::after {display: none}
491 .sy-comment { color: #888 }
492 .sy-constant { color: #008 }
494 .sy-identifier { color: #804 }
497 .sy-special { color: #408 }
498 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
499 .sy-todo { background-color: #FF0 }
501 /* boolean alternate */
502 .glyphs b { font-weight: normal; color: #800 }
505 .X:hover {cursor: help}
506 .X:hover > span {background: #FFF} /* whitespace marker */
507 .Greek:hover, .Armenian:hover {background: #FA8}
508 .Cyrillic:hover {background: #FB7}
509 .Latin:hover {background: #EE4}
510 .Hebrew:hover, .Aramaic:hover {background: #FFA}
511 .Arabic:hover {background: #CFD}
512 .African:hover {background: #BDB}
513 .Syllabic:hover, .Hangul:hover {background: #CE6}
514 .Katakana:hover {background: #BF7}
515 .Hiragana:hover {background: #AF8}
516 .Bopomofo:hover {background: #8FA}
517 .Brahmic:hover {background: #F77}
518 .Khmer:hover {background: #F87}
519 .Han:hover {background: #5EB}
520 .Alpha:hover {background: #5C5}
521 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
522 .Sc:hover {background: #F8C} /* currency */
523 .Sm:hover {background: #F8F} /* math */
524 .So:hover {background: #A8F} /* symbol */
525 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
526 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
527 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
528 .Mn:hover {background: #CDE} /* modifier */
529 .Zs:hover {background: #CED} /* space */
530 .Cc:hover, .Cf:hover {background: #DDD} /* control */
531 .Co:hover {background: #A77} /* private */
532 .Xr:hover {background: #FFF} /* reserved */
533 .Xi:hover {background: #DDD} /* invalid */
534 .l0:hover {background: #888}
535 .l1:hover {background: #F88}
536 .l2:hover {background: #FC8}
537 .l3:hover {background: #FF8}
538 .l4:hover {background: #CF8}
539 .l5:hover {background: #8F8}
540 .u-l3:hover {outline: 1px solid #080}
541 .u-l3.ex:hover {outline: 1px solid #8F0}
542 .u-l2:hover {outline: 1px solid #800}
543 .u-l1:hover {outline: 1px solid #F00}
545 /* key type colorization */
548 .g1 {background: #BFE} /* cyan: info */
550 .g2 {background: #BFB} /* green: motion */
551 .g3 {background: #DFA} /* greenish: jump (g2+) */
553 .g4 {background: #FFA} /* yellow: command */
555 .g5 {background: #FDA} /* orangish: open (g6-) */
556 .g6 {background: #FCA} /* orange: insert */
558 .g7 {background: #FCC} /* red: mode */
560 .g8 {background: #ECE} /* purple: visual (g7+) */
562 .g9 {background: #CCF} /* blue: prefix */
565 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
567 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
568 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
570 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
572 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
573 .g6 a:hover, .g6[onclick]:hover {background: #F97}
575 .g7 a:hover, .g7[onclick]:hover {background: #F88}
577 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
579 .g9 a:hover, .g9[onclick]:hover {background: #99F}
582 background: #EEE; /* unassigned */
586 padding: 1px; /* same size as borderlessless keys */
592 text-shadow: #F20 0 0 0.1em;
594 dl.legend dt.more:hover,
595 .keys td.more:hover b {
596 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
600 border-style: dashed;
607 /* l/r help columns */
620 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
623 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
628 float: left; /* align next to dt (except msie<=7 does just the opposite) */
633 .right dl.legend dt {
634 margin-right: -6.4em;
638 .right dl.legend dd {
648 margin: 0 0 1px; /* distinct keys */
649 height: auto; /* not key-height */
653 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
657 dl.legend-options dt {
666 margin: 6px 0; /* similar to dl legends */
686 vertical-align: bottom;
690 @media (min-width: 60em) {
694 background: rgba(255, 255, 255, .66);
699 box-sizing: border-box;
701 .gallery li.parent:hover > figure > figcaption,
702 .gallery figure:hover > figcaption {
703 /* highlight title of current and parents */
707 transform: translate(50%, 50%);
708 margin-left: -60%; /* keep width */
716 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
719 .gallery li, .gallery ul {
724 box-sizing: border-box;
728 .gallery figcaption > small {
729 display: inline-block;
732 @media (min-width: 403px) and (min-height: 266px) {
733 /* able to fit 2 cells of 200x133 */
734 .gallery li.large > figure {
739 @media (min-width: 603px) and (min-height: 400px) {
740 /* fit 3 cells of 200x133 */
741 .gallery > li:first-child > figure,
742 .gallery li.huge > figure {
748 .gallery figure, .gallery figcaption {
749 transition: all .5s ease-in;
751 .gallery figure:hover ~ ul figcaption {
752 /* mark all children */
754 background: rgba(0, 0, 0, .5);
757 /* specialised galleries */
765 grid-template-columns: repeat(auto-fit, minmax(2em, max-content)); /* 1fr */
771 table.gallery tr > :first-child {
774 margin: auto; /* vertical-align: middle */
776 table.gallery tr > :nth-child(2) {
777 grid-column: 2; /* in case 1st is missing */
780 border: 0; /* does not collapse */
781 outline: 1px solid #888; /* over grid-gap */
787 text-decoration: none;
789 #browser td > a:active,
790 #browser td > a:hover {
791 text-decoration: underline;
797 -webkit-transition: all 1s ease-in;
798 -o-transition: all 1s ease-in;
799 -moz-transition: all 1s ease-in;
800 transition: height 1s ease-in;
802 #browser tr .aside p {
805 #browser tr.target .aside,
806 #browser tr:target .aside {
810 white-space: nowrap; /* some browsers break on dashes */
813 #browser tr:target > td:first-of-type,
814 #browser tr.focus > td:first-of-type {
817 #browser tr.focus > td {
818 border-bottom-color: #000;
828 font-variant: small-caps;
838 -webkit-column-break-inside: avoid; /* webkit */
839 page-break-inside: avoid; /* moz */
840 overflow: hidden; /* webkit workaround */
843 display: inline-block;
847 .units tbody tr:hover:not(.race) {
853 .unit-min, .unit-min a:not(:hover) {
859 .unit-o {color: #C08} /* organic */
860 .unit-u {color: #44C} /* mechanic */
861 .unit-p {color: #0A8} /* psionic */
868 .unit-x {color: #888}
869 .unit-s {color: #890}
870 .unit-m {color: #C70}
871 .unit-l {color: #D22}
872 .unit-h {color: #804}
877 .hurtrel, .units .hurtrel {
898 .unit-detect::before {
905 text-decoration-color: #8C0;
906 -moz-text-decoration-color: #8C0;
907 -webkit-text-decoration-color: #8C0;
918 ul.legend-set {display: none} /* current options only relevant on dynamic media */
921 /* terse optimisation */
923 @media (min-height: 112ex) and (min-width: 90em) {
928 padding: 1ex 0 1ex .1em;
933 @media (max-width: 79em) {
935 position: relative; /* hides overflow */
941 .keys .lead td b { /* leading chars always fit */
942 position: absolute; /* background */
943 right: 0; /* least overlap in corner */
951 width: 62.1em; /* 82.5em - 12 * Δtd(6.2em - 4.5em) */
953 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
954 .row3 {margin-left: 6em} /* 8em / Δtd */
955 .row4 {margin-left: 7.5em} /* 10em / Δtd */
957 @media (max-width: 61em) {
960 height: 6.75ex; /* 3 lines */
971 width: 37em; /* (12 * td(3em + 6px) + 8em) * 80% */
973 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
974 .row3 {margin-left: 4em} /* 8em / Δtd */
975 .row4 {margin-left: 5em} /* 10em / Δtd */
978 @media (max-width: 42em) {
979 /* flatten right legend column on mobile */
991 .right dl.legend dt {
997 .right dl.legend dd {
1004 @media screen and (orientation: portrait) and (max-width: 62em) {
1008 transform: rotate(90deg);
1009 transform-origin: top left;
1013 margin-bottom: 30em;