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;
120 position: absolute; /* side note; do not influence alignment */
135 /* "keyboard" (list of keys) */
137 #rows {margin-top: -5ex} /* top (esc) row fits besides header */
138 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
139 .row3 {margin-left: 8em}
140 .row4 {margin-left: 10em} /* should actually align to next key on row1 */
141 /* ...however rows>=1 are shifted a bit, to make space */
144 clear: both; /* start new row (screen row) */
148 /* start new row block (keyboard row) */
155 h3 {display: none} /* semantic details (non-css/js) */
156 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
160 width: 82.5em; /* 12 * td(2px + 1px + 6.2em + 1px + 2px) + 8em */
161 // padding-right: 72px;
163 border-collapse: collapse;
169 /* individual keys */
175 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
176 height: 4.5ex; /* 2 lines */
181 border: 1px solid #000;
183 -moz-border-radius: 4px;
184 text-transform-variation: text;
189 line-height: 2.5ex; /* inherits otherwise */
192 .keys .row0 td { /* omni-present esc */
196 /* fine tuning of special occurrences */
198 .keys td b[title] { /* mnemonic hover */
201 .keys td[onclick]:hover { /* link */
204 .keys td a { /* key link */
206 text-decoration: none;
213 .keys .lead td b { /* char with ctrl or leading key */
214 font-size: 100%; /* space is too limited for 2+ double-sized chars */
215 line-height: 5ex; /* keep double height though */
217 .keys .meta td b small,
218 .keys .ctrl td b small { /* meta key indicator */
220 font-weight: normal; /* nice and subtle */
226 border-collapse: collapse;
230 border: 1px solid #888;
241 /* first cell determines border width for entire row */
242 border-top-color: transparent;
251 /* character table */
253 .glyphs thead th, .glyphs td {
254 width: 1.6em; /* regular interval */
259 .glyphs.big tbody td {
263 margin: 0.5ex 0; /* nested in legend */
270 min-width: 2.5ex; /* square cells */
279 background: transparent;
282 width: auto; /* no glyph cells in header */
285 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
286 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
292 font-size: 50%; /* mostly insignificant here */
296 text-align: right; /* variable width so keep near cells */
301 text-transform: uppercase;
304 border-top: 1px solid #888;
310 border: 1px solid #555;
314 table.color td samp {
315 margin: 0 -8px 0 8px;
316 font-family: inherit;
319 table.color td samp ~ samp {
321 table.color td samp small {
322 font: 100% monospace;
329 table-layout: fixed; /* prevent resizing, notably in msie6 */
331 .dimap thead th, .dimap td {
332 /* below-maximum size (but still average enough to be regular) so we can fit more */
333 width: 1.2em; /* msie only looks at the first row */
334 min-width: 1em; /* prevents gecko from restricting to page width */
337 text-align: center; /* row headers are also glyph-sized */
340 .mapped tbody, .mapped colgroup,
341 .dimap tbody, .dimap colgroup {
342 border: 2px double #888; /* major character group grid */
346 border-width: 2px 0; /* horizontal group dividers */
350 border-width: 0 2px; /* vertical divides */
353 /* digraph selection */
356 -moz-column-width: 24em;
357 -webkit-column-width: 24em;
362 column-break-inside: avoid;
363 -webkit-column-break-inside: avoid;
364 position: relative; z-index: 1; /* webkit bug */
367 /* glyph cell overlay (digraph labels) */
371 padding-bottom: 1.1ex; /* reserve space for label */
372 vertical-align: bottom;
374 .glyphs.dilabel small {
378 margin-bottom: -2.2ex; /* take cell padding */
380 .glyphs.dilabel small.digraph {
385 .glyphs.dilabel small.value {
391 /* character properties */
393 .X {background: #FFF} /* unidentified */
394 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
395 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
399 .Greek {background: #FFE8CF}
400 .Cyrillic {background: #FFDDA8}
401 .Latin {background: #FFB}
403 .Hebrew {background: #FFD}
404 .Arabic {background: #EFE}
405 .African {background: #DED}
406 .Brahmic {background: #FBB} /* same as number */
407 .Khmer {background: #FBA}
409 .Syllabic {background: #DEA}
410 .Katakana {background: #DFA}
411 .Hiragana {background: #DFC}
412 .Bopomofo {background: #BFC}
413 .Han {background: #CFD}
414 .Alpha {background: #ADA} /* other scripts */
416 /* other categories */
417 .Nd, .Nl, .No {background: #FDD} /* number */
418 .Sc {background: #FCD} /* currency */
419 .Sm {background: #ECE} /* math */
420 .So {background: #DCF} /* symbol */
421 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
422 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
423 .Lm, .Sk {background: #CEE} /* spacing modifier */
424 .Mn {background: #ACC} /* modifier */
425 .Cc, .Cf {color: #666; background: #BBB} /* control */
426 .Zs {background: #ACB} /* space */
427 .Co, .Xi.Co {background: #DCC} /* private */
428 .Xi, .Cs {background: #CCC} /* invalid */
429 .Xd {color: #844} /* deprecated */
430 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
431 .dimap .Xr {background: #EEE} /* reversed digraph */
432 .ccmap .Xr {opacity:.4}
435 .l1 {background: #FDD} /* no, unsupported, other */
436 .l2 {background: #FED} /* partial, restricted, unofficial */
437 /* default u-prop, u-bmp */
438 .l3 {background: #FFD} /* almost, imperfect, common */
439 /* default u-di, u-lat1 */
440 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
441 /* default u-ascii */
442 .l5 {background: #DFD} /* complete, perfect */
443 .l0 {background: #EEE} /* unknown, omitted */
444 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
445 .u-invalid {background: #BBB} /* invalid, impossible */
447 /* foreground representation */
448 #digraphs .u-l3 {color: #080} /* partial */
449 #digraphs .u-l3.ex {color: #4C0} /* experimental */
450 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
451 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
453 /* support percentage (browser cells) */
456 .p::after {content: '!'; color: #F00}
457 .p4::after {color: #C00}
458 .p3::after {color: #A00}
459 .p2::after {color: #800}
461 .p0::after {color: #000}
462 .p09::after {opacity: .9}
463 .p08::after {opacity: .8}
464 .p07::after {opacity: .7}
465 .p06::after {opacity: .6}
466 .p05::after {opacity: .5}
467 .p04::after {opacity: .4}
468 .p03::after {opacity: .3}
469 .p02::after {opacity: .2}
470 .p01::after {opacity: .1}
471 .p00::after {display: none}
474 .sy-comment { color: #888 }
475 .sy-constant { color: #008 }
477 .sy-identifier { color: #804 }
480 .sy-special { color: #408 }
481 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
482 .sy-todo { background-color: #FF0 }
484 /* boolean alternate */
485 .glyphs b { font-weight: normal; color: #800 }
488 .X:hover {cursor: help}
489 .X:hover > span {background: #FFF} /* whitespace marker */
490 .Greek:hover, .Armenian:hover {background: #FA8}
491 .Cyrillic:hover {background: #FB7}
492 .Latin:hover {background: #EE4}
493 .Hebrew:hover, .Aramaic:hover {background: #FFA}
494 .Arabic:hover {background: #CFD}
495 .African:hover {background: #BDB}
496 .Syllabic:hover, .Hangul:hover {background: #CE6}
497 .Katakana:hover {background: #BF7}
498 .Hiragana:hover {background: #AF8}
499 .Bopomofo:hover {background: #8FA}
500 .Brahmic:hover {background: #F77}
501 .Khmer:hover {background: #F87}
502 .Han:hover {background: #5EB}
503 .Alpha:hover {background: #5C5}
504 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
505 .Sc:hover {background: #F8C} /* currency */
506 .Sm:hover {background: #F8F} /* math */
507 .So:hover {background: #A8F} /* symbol */
508 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
509 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
510 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
511 .Mn:hover {background: #CDE} /* modifier */
512 .Zs:hover {background: #CED} /* space */
513 .Cc:hover, .Cf:hover {background: #DDD} /* control */
514 .Co:hover {background: #A77} /* private */
515 .Xr:hover {background: #FFF} /* reserved */
516 .Xi:hover {background: #DDD} /* invalid */
517 .l0:hover {background: #888}
518 .l1:hover {background: #F88}
519 .l2:hover {background: #FC8}
520 .l3:hover {background: #FF8}
521 .l4:hover {background: #CF8}
522 .l5:hover {background: #8F8}
523 .u-l3:hover {outline: 1px solid #080}
524 .u-l3.ex:hover {outline: 1px solid #8F0}
525 .u-l2:hover {outline: 1px solid #800}
526 .u-l1:hover {outline: 1px solid #F00}
528 /* key type colorization */
531 .g1 {background: #BFE} /* cyan: info */
533 .g2 {background: #BFB} /* green: motion */
534 .g3 {background: #DFA} /* greenish: jump (g2+) */
536 .g4 {background: #FFA} /* yellow: command */
538 .g5 {background: #FDA} /* orangish: open (g6-) */
539 .g6 {background: #FCA} /* orange: insert */
541 .g7 {background: #FCC} /* red: mode */
543 .g8 {background: #ECE} /* purple: visual (g7+) */
545 .g9 {background: #CCF} /* blue: prefix */
548 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
550 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
551 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
553 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
555 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
556 .g6 a:hover, .g6[onclick]:hover {background: #F97}
558 .g7 a:hover, .g7[onclick]:hover {background: #F88}
560 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
562 .g9 a:hover, .g9[onclick]:hover {background: #99F}
565 background: #EEE; /* unassigned */
569 padding: 1px; /* same size as borderlessless keys */
575 text-shadow: #F20 0 0 0.1em;
577 dl.legend dt.more:hover,
578 .keys td.more:hover b {
579 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
583 border-style: dashed;
590 /* l/r help columns */
603 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
606 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
611 float: left; /* align next to dt (except msie<=7 does just the opposite) */
616 .right dl.legend dt {
617 margin-right: -6.4em;
621 .right dl.legend dd {
631 margin: 0 0 1px; /* distinct keys */
632 height: auto; /* not key-height */
636 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
640 dl.legend-options dt {
649 margin: 6px 0; /* similar to dl legends */
665 text-decoration: none;
667 #browser td > a:active,
668 #browser td > a:hover {
669 text-decoration: underline;
675 -webkit-transition: all 1s ease-in;
676 -o-transition: all 1s ease-in;
677 -moz-transition: all 1s ease-in;
678 transition: height 1s ease-in;
680 #browser tr .aside p {
683 #browser tr.target .aside,
684 #browser tr:target .aside {
688 white-space: nowrap; /* some browsers break on dashes */
691 #browser tr:target > td:first-of-type,
692 #browser tr.focus > td:first-of-type {
695 #browser tr.focus > td {
696 border-bottom-color: #000;
706 font-variant: small-caps;
716 -webkit-column-break-inside: avoid; /* webkit */
717 page-break-inside: avoid; /* moz */
718 overflow: hidden; /* webkit workaround */
721 display: inline-block;
725 .units tbody tr:hover:not(.race) {
731 .unit-min, .unit-min a:not(:hover) {
737 .unit-o {color: #C08} /* organic */
738 .unit-u {color: #44C} /* mechanic */
739 .unit-p {color: #0A8} /* psionic */
746 .unit-x {color: #888}
747 .unit-s {color: #890}
748 .unit-m {color: #C70}
749 .unit-l {color: #D22}
750 .unit-h {color: #804}
755 .hurtrel, .units .hurtrel {
776 .unit-detect::before {
783 text-decoration-color: #8C0;
784 -moz-text-decoration-color: #8C0;
785 -webkit-text-decoration-color: #8C0;
796 ul.legend-set {display: none} /* current options only relevant on dynamic media */
799 /* terse optimisation */
801 @media (max-width: 79em) {
803 position: relative; /* hides overflow */
809 .keys .lead td b { /* leading chars always fit */
810 position: absolute; /* background */
811 right: 0; /* least overlap in corner */
819 width: 62.1em; /* 82.5em - 12 * Δtd(6.2em - 4.5em) */
821 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
822 .row3 {margin-left: 6em} /* 8em / Δtd */
823 .row4 {margin-left: 7.5em} /* 10em / Δtd */
825 @media (max-width: 61em) {
828 height: 6.75ex; /* 3 lines */
839 width: 37em; /* (12 * td(3em + 6px) + 8em) * 80% */
841 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
842 .row3 {margin-left: 4em} /* 8em / Δtd */
843 .row4 {margin-left: 5em} /* 10em / Δtd */
846 @media (max-width: 42em) {
847 /* flatten right legend column on mobile */
859 .right dl.legend dt {
865 .right dl.legend dd {
872 @media screen and (orientation: portrait) and (max-width: 62em) {
876 transform: rotate(90deg);
877 transform-origin: top left;