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;
257 /* character table */
259 .glyphs thead th, .glyphs td {
260 width: 1.6em; /* regular interval */
265 .glyphs.big tbody td {
269 margin: 0.5ex 0; /* nested in legend */
276 min-width: 2.5ex; /* square cells */
285 background: transparent;
288 width: auto; /* no glyph cells in header */
291 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
292 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
298 font-size: 50%; /* mostly insignificant here */
302 text-align: right; /* variable width so keep near cells */
307 text-transform: uppercase;
310 border-top: 1px solid #888;
316 border: 1px solid #555;
320 table.color td samp {
321 margin: 0 -8px 0 8px;
322 font-family: inherit;
325 table.color td samp ~ samp {
327 table.color td samp small {
328 font: 100% monospace;
335 table-layout: fixed; /* prevent resizing, notably in msie6 */
337 .dimap thead th, .dimap td {
338 /* below-maximum size (but still average enough to be regular) so we can fit more */
339 width: 1.2em; /* msie only looks at the first row */
340 min-width: 1em; /* prevents gecko from restricting to page width */
343 text-align: center; /* row headers are also glyph-sized */
346 .mapped tbody, .mapped colgroup,
347 .dimap tbody, .dimap colgroup {
348 border: 2px double #888; /* major character group grid */
352 border-width: 2px 0; /* horizontal group dividers */
356 border-width: 0 2px; /* vertical divides */
359 /* digraph selection */
362 -moz-column-width: 24em;
363 -webkit-column-width: 24em;
368 column-break-inside: avoid;
369 -webkit-column-break-inside: avoid;
370 position: relative; z-index: 1; /* webkit bug */
373 /* glyph cell overlay (digraph labels) */
377 padding-bottom: 1.1ex; /* reserve space for label */
378 vertical-align: bottom;
380 .glyphs.dilabel small {
384 margin-bottom: -2.2ex; /* take cell padding */
386 .glyphs.dilabel small.digraph {
391 .glyphs.dilabel small.value {
397 /* character properties */
399 .X {background: #FFF} /* unidentified */
400 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
401 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
405 .Greek {background: #FFE8CF}
406 .Cyrillic {background: #FFDDA8}
407 .Latin {background: #FFB}
409 .Hebrew {background: #FFD}
410 .Arabic {background: #EFE}
411 .African {background: #DED}
412 .Brahmic {background: #FBB} /* same as number */
413 .Khmer {background: #FBA}
415 .Syllabic {background: #DEA}
416 .Katakana {background: #DFA}
417 .Hiragana {background: #DFC}
418 .Bopomofo {background: #BFC}
419 .Han {background: #CFD}
420 .Alpha {background: #ADA} /* other scripts */
422 /* other categories */
423 .Nd, .Nl, .No {background: #FDD} /* number */
424 .Sc {background: #FCD} /* currency */
425 .Sm {background: #ECE} /* math */
426 .So {background: #DCF} /* symbol */
427 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
428 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
429 .Lm, .Sk {background: #CEE} /* spacing modifier */
430 .Mn {background: #ACC} /* modifier */
431 .Cc, .Cf {color: #666; background: #BBB} /* control */
432 .Zs {background: #ACB} /* space */
433 .Co, .Xi.Co {background: #DCC} /* private */
434 .Xi, .Cs {background: #CCC} /* invalid */
435 .Xd {color: #844} /* deprecated */
436 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
437 .dimap .Xr {background: #EEE} /* reversed digraph */
438 .ccmap .Xr {opacity:.4}
441 .l1 {background: #FDD} /* no, unsupported, other */
442 .l2 {background: #FED} /* partial, restricted, unofficial */
443 /* default u-prop, u-bmp */
444 .l3 {background: #FFD} /* almost, imperfect, common */
445 /* default u-di, u-lat1 */
446 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
447 /* default u-ascii */
448 .l5 {background: #DFD} /* complete, perfect */
449 .l0 {background: #EEE} /* unknown, omitted */
450 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
451 .u-invalid {background: #BBB} /* invalid, impossible */
453 /* foreground representation */
454 #digraphs .u-l3 {color: #080} /* partial */
455 #digraphs .u-l3.ex {color: #4C0} /* experimental */
456 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
457 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
459 /* support percentage (browser cells) */
462 .p::after {content: '!'; color: #F00}
463 .p4::after {color: #C00}
464 .p3::after {color: #A00}
465 .p2::after {color: #800}
467 .p0::after {color: #000}
468 .p09::after {opacity: .9}
469 .p08::after {opacity: .8}
470 .p07::after {opacity: .7}
471 .p06::after {opacity: .6}
472 .p05::after {opacity: .5}
473 .p04::after {opacity: .4}
474 .p03::after {opacity: .3}
475 .p02::after {opacity: .2}
476 .p01::after {opacity: .1}
477 .p00::after {display: none}
480 .sy-comment { color: #888 }
481 .sy-constant { color: #008 }
483 .sy-identifier { color: #804 }
486 .sy-special { color: #408 }
487 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
488 .sy-todo { background-color: #FF0 }
490 /* boolean alternate */
491 .glyphs b { font-weight: normal; color: #800 }
494 .X:hover {cursor: help}
495 .X:hover > span {background: #FFF} /* whitespace marker */
496 .Greek:hover, .Armenian:hover {background: #FA8}
497 .Cyrillic:hover {background: #FB7}
498 .Latin:hover {background: #EE4}
499 .Hebrew:hover, .Aramaic:hover {background: #FFA}
500 .Arabic:hover {background: #CFD}
501 .African:hover {background: #BDB}
502 .Syllabic:hover, .Hangul:hover {background: #CE6}
503 .Katakana:hover {background: #BF7}
504 .Hiragana:hover {background: #AF8}
505 .Bopomofo:hover {background: #8FA}
506 .Brahmic:hover {background: #F77}
507 .Khmer:hover {background: #F87}
508 .Han:hover {background: #5EB}
509 .Alpha:hover {background: #5C5}
510 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
511 .Sc:hover {background: #F8C} /* currency */
512 .Sm:hover {background: #F8F} /* math */
513 .So:hover {background: #A8F} /* symbol */
514 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
515 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
516 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
517 .Mn:hover {background: #CDE} /* modifier */
518 .Zs:hover {background: #CED} /* space */
519 .Cc:hover, .Cf:hover {background: #DDD} /* control */
520 .Co:hover {background: #A77} /* private */
521 .Xr:hover {background: #FFF} /* reserved */
522 .Xi:hover {background: #DDD} /* invalid */
523 .l0:hover {background: #888}
524 .l1:hover {background: #F88}
525 .l2:hover {background: #FC8}
526 .l3:hover {background: #FF8}
527 .l4:hover {background: #CF8}
528 .l5:hover {background: #8F8}
529 .u-l3:hover {outline: 1px solid #080}
530 .u-l3.ex:hover {outline: 1px solid #8F0}
531 .u-l2:hover {outline: 1px solid #800}
532 .u-l1:hover {outline: 1px solid #F00}
534 /* key type colorization */
537 .g1 {background: #BFE} /* cyan: info */
539 .g2 {background: #BFB} /* green: motion */
540 .g3 {background: #DFA} /* greenish: jump (g2+) */
542 .g4 {background: #FFA} /* yellow: command */
544 .g5 {background: #FDA} /* orangish: open (g6-) */
545 .g6 {background: #FCA} /* orange: insert */
547 .g7 {background: #FCC} /* red: mode */
549 .g8 {background: #ECE} /* purple: visual (g7+) */
551 .g9 {background: #CCF} /* blue: prefix */
554 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
556 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
557 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
559 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
561 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
562 .g6 a:hover, .g6[onclick]:hover {background: #F97}
564 .g7 a:hover, .g7[onclick]:hover {background: #F88}
566 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
568 .g9 a:hover, .g9[onclick]:hover {background: #99F}
571 background: #EEE; /* unassigned */
575 padding: 1px; /* same size as borderlessless keys */
581 text-shadow: #F20 0 0 0.1em;
583 dl.legend dt.more:hover,
584 .keys td.more:hover b {
585 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
589 border-style: dashed;
596 /* l/r help columns */
609 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
612 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
617 float: left; /* align next to dt (except msie<=7 does just the opposite) */
622 .right dl.legend dt {
623 margin-right: -6.4em;
627 .right dl.legend dd {
637 margin: 0 0 1px; /* distinct keys */
638 height: auto; /* not key-height */
642 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
646 dl.legend-options dt {
655 margin: 6px 0; /* similar to dl legends */
678 background: rgba(255, 255, 255, .66);
683 vertical-align: bottom;
691 grid: auto-flow dense / repeat(auto-fit, minmax(200px, 1fr));
694 .gallery li, .gallery ul {
699 box-sizing: border-box;
701 .gallery figcaption > small {
702 display: inline-block;
705 @media (min-width: 403px) and (min-height: 266px) {
706 /* able to fit 2 cells of 200x133 */
707 .gallery li.large > figure {
712 @media (min-width: 603px) and (min-height: 400px) {
713 /* fit 3 cells of 200x133 */
714 .gallery > ul > li:first-child > figure,
715 .gallery li.huge > figure {
721 .gallery figure, .gallery figcaption {
722 transition: all .5s ease-in;
724 .gallery figure:hover ~ ul figcaption {
725 /* mark all children */
727 background: rgba(0, 0, 0, .5);
730 .gallery li.parent:hover > figure > figcaption,
731 .gallery figure:hover > figcaption {
732 /* highlight title of current and parents */
736 transform: translate(50%, 50%);
737 margin-left: -60%; /* keep width */
743 text-decoration: none;
745 #browser td > a:active,
746 #browser td > a:hover {
747 text-decoration: underline;
753 -webkit-transition: all 1s ease-in;
754 -o-transition: all 1s ease-in;
755 -moz-transition: all 1s ease-in;
756 transition: height 1s ease-in;
758 #browser tr .aside p {
761 #browser tr.target .aside,
762 #browser tr:target .aside {
766 white-space: nowrap; /* some browsers break on dashes */
769 #browser tr:target > td:first-of-type,
770 #browser tr.focus > td:first-of-type {
773 #browser tr.focus > td {
774 border-bottom-color: #000;
784 font-variant: small-caps;
794 -webkit-column-break-inside: avoid; /* webkit */
795 page-break-inside: avoid; /* moz */
796 overflow: hidden; /* webkit workaround */
799 display: inline-block;
803 .units tbody tr:hover:not(.race) {
809 .unit-min, .unit-min a:not(:hover) {
815 .unit-o {color: #C08} /* organic */
816 .unit-u {color: #44C} /* mechanic */
817 .unit-p {color: #0A8} /* psionic */
824 .unit-x {color: #888}
825 .unit-s {color: #890}
826 .unit-m {color: #C70}
827 .unit-l {color: #D22}
828 .unit-h {color: #804}
833 .hurtrel, .units .hurtrel {
854 .unit-detect::before {
861 text-decoration-color: #8C0;
862 -moz-text-decoration-color: #8C0;
863 -webkit-text-decoration-color: #8C0;
874 ul.legend-set {display: none} /* current options only relevant on dynamic media */
877 /* terse optimisation */
879 @media (min-height: 112ex) and (min-width: 90em) {
884 padding: 1ex 0 1ex .1em;
889 @media (max-width: 79em) {
891 position: relative; /* hides overflow */
897 .keys .lead td b { /* leading chars always fit */
898 position: absolute; /* background */
899 right: 0; /* least overlap in corner */
907 width: 62.1em; /* 82.5em - 12 * Δtd(6.2em - 4.5em) */
909 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
910 .row3 {margin-left: 6em} /* 8em / Δtd */
911 .row4 {margin-left: 7.5em} /* 10em / Δtd */
913 @media (max-width: 61em) {
916 height: 6.75ex; /* 3 lines */
927 width: 37em; /* (12 * td(3em + 6px) + 8em) * 80% */
929 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
930 .row3 {margin-left: 4em} /* 8em / Δtd */
931 .row4 {margin-left: 5em} /* 10em / Δtd */
934 @media (max-width: 42em) {
935 /* flatten right legend column on mobile */
947 .right dl.legend dt {
953 .right dl.legend dd {
960 @media screen and (orientation: portrait) and (max-width: 62em) {
964 transform: rotate(90deg);
965 transform-origin: top left;