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 {
104 display: inline-block;
117 position: absolute; /* side note; do not influence alignment */
132 /* "keyboard" (list of keys) */
134 #rows {margin-top: -5ex} /* top (esc) row fits besides header */
135 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
136 .row3 {margin-left: 8em}
137 .row4 {margin-left: 10em} /* should actually align to next key on row1 */
138 /* ...however rows>=1 are shifted a bit, to make space */
141 clear: both; /* start new row (screen row) */
145 /* start new row block (keyboard row) */
152 h3 {display: none} /* semantic details (non-css/js) */
153 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
157 width: 82.5em; /* 12 * td(2px + 1px + 6.2em + 1px + 2px) + 8em */
158 // padding-right: 72px;
160 border-collapse: collapse;
166 /* individual keys */
172 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
173 height: 4.5ex; /* 2 lines */
178 border: 1px solid #000;
180 -moz-border-radius: 4px;
181 text-transform-variation: text;
186 line-height: 2.5ex; /* inherits otherwise */
189 .keys .row0 td { /* omni-present esc */
193 /* fine tuning of special occurrences */
195 .keys td b[title] { /* mnemonic hover */
198 .keys td[onclick]:hover { /* link */
201 .keys td a { /* key link */
203 text-decoration: none;
210 .keys .lead td b { /* char with ctrl or leading key */
211 font-size: 100%; /* space is too limited for 2+ double-sized chars */
212 line-height: 5ex; /* keep double height though */
214 .keys .meta td b small,
215 .keys .ctrl td b small { /* meta key indicator */
217 font-weight: normal; /* nice and subtle */
223 border-collapse: collapse;
227 border: 1px solid #888;
238 /* first cell determines border width for entire row */
239 border-top-color: transparent;
248 /* character table */
250 .glyphs thead th, .glyphs td {
251 width: 1.6em; /* regular interval */
256 .glyphs.big tbody td {
260 margin: 0.5ex 0; /* nested in legend */
267 min-width: 2.5ex; /* square cells */
276 background: transparent;
279 width: auto; /* no glyph cells in header */
282 margin-left: 2.2em; /* 1ex + offset head column (1.6em + 0.4em) / 110% */
283 /* adjusted insignificant -.2em to fit wide contents on /charset/mac */
289 font-size: 50%; /* mostly insignificant here */
293 text-align: right; /* variable width so keep near cells */
298 text-transform: uppercase;
301 border-top: 1px solid #888;
307 border: 1px solid #555;
311 table.color td samp {
312 margin: 0 -8px 0 8px;
313 font-family: inherit;
316 table.color td samp ~ samp {
318 table.color td samp small {
319 font: 100% monospace;
326 table-layout: fixed; /* prevent resizing, notably in msie6 */
328 .dimap thead th, .dimap td {
329 /* below-maximum size (but still average enough to be regular) so we can fit more */
330 width: 1.2em; /* msie only looks at the first row */
331 min-width: 1em; /* prevents gecko from restricting to page width */
334 text-align: center; /* row headers are also glyph-sized */
337 .mapped tbody, .mapped colgroup,
338 .dimap tbody, .dimap colgroup {
339 border: 2px double #888; /* major character group grid */
343 border-width: 2px 0; /* horizontal group dividers */
347 border-width: 0 2px; /* vertical divides */
350 /* digraph selection */
353 -moz-column-width: 24em;
354 -webkit-column-width: 24em;
359 column-break-inside: avoid;
360 -webkit-column-break-inside: avoid;
361 position: relative; z-index: 1; /* webkit bug */
364 /* glyph cell overlay (digraph labels) */
368 padding-bottom: 1.1ex; /* reserve space for label */
369 vertical-align: bottom;
371 .glyphs.dilabel small {
375 margin-bottom: -2.2ex; /* take cell padding */
377 .glyphs.dilabel small.digraph {
382 .glyphs.dilabel small.value {
388 /* character properties */
390 .X {background: #FFF} /* unidentified */
391 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
392 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
396 .Greek {background: #FFE8CF}
397 .Cyrillic {background: #FFDDA8}
398 .Latin {background: #FFB}
400 .Hebrew {background: #FFD}
401 .Arabic {background: #EFE}
402 .African {background: #DED}
403 .Brahmic {background: #FBB} /* same as number */
404 .Khmer {background: #FBA}
406 .Syllabic {background: #DEA}
407 .Katakana {background: #DFA}
408 .Hiragana {background: #DFC}
409 .Bopomofo {background: #BFC}
410 .Han {background: #CFD}
411 .Alpha {background: #ADA} /* other scripts */
413 /* other categories */
414 .Nd, .Nl, .No {background: #FDD} /* number */
415 .Sc {background: #FCD} /* currency */
416 .Sm {background: #ECE} /* math */
417 .So {background: #DCF} /* symbol */
418 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
419 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
420 .Lm, .Sk {background: #CEE} /* spacing modifier */
421 .Mn {background: #ACC} /* modifier */
422 .Cc, .Cf {color: #666; background: #BBB} /* control */
423 .Zs {background: #ACB} /* space */
424 .Co, .Xi.Co {background: #DCC} /* private */
425 .Xi, .Cs {background: #CCC} /* invalid */
426 .Xd {color: #844} /* deprecated */
427 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
428 .dimap .Xr {background: #EEE} /* reversed digraph */
429 .ccmap .Xr {opacity:.4}
432 .l1 {background: #FDD} /* no, unsupported, other */
433 .l2 {background: #FED} /* partial, restricted, unofficial */
434 /* default u-prop, u-bmp */
435 .l3 {background: #FFD} /* almost, imperfect, common */
436 /* default u-di, u-lat1 */
437 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
438 /* default u-ascii */
439 .l5 {background: #DFD} /* complete, perfect */
440 .l0 {background: #EEE} /* unknown, omitted */
441 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
442 .u-invalid {background: #BBB} /* invalid, impossible */
444 /* foreground representation */
445 #digraphs .u-l3 {color: #080} /* partial */
446 #digraphs .u-l3.ex {color: #4C0} /* experimental */
447 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
448 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
450 /* support percentage (browser cells) */
453 .p::after {content: '!'; color: #F00}
454 .p4::after {color: #C00}
455 .p3::after {color: #A00}
456 .p2::after {color: #800}
458 .p0::after {color: #000}
459 .p09::after {opacity: .9}
460 .p08::after {opacity: .8}
461 .p07::after {opacity: .7}
462 .p06::after {opacity: .6}
463 .p05::after {opacity: .5}
464 .p04::after {opacity: .4}
465 .p03::after {opacity: .3}
466 .p02::after {opacity: .2}
467 .p01::after {opacity: .1}
468 .p00::after {display: none}
471 .sy-comment { color: #888 }
472 .sy-constant { color: #008 }
474 .sy-identifier { color: #804 }
477 .sy-special { color: #408 }
478 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
479 .sy-todo { background-color: #FF0 }
481 /* boolean alternate */
482 .glyphs b { font-weight: normal; color: #800 }
485 .X:hover {cursor: help}
486 .X:hover > span {background: #FFF} /* whitespace marker */
487 .Greek:hover, .Armenian:hover {background: #FA8}
488 .Cyrillic:hover {background: #FB7}
489 .Latin:hover {background: #EE4}
490 .Hebrew:hover, .Aramaic:hover {background: #FFA}
491 .Arabic:hover {background: #CFD}
492 .African:hover {background: #BDB}
493 .Syllabic:hover, .Hangul:hover {background: #CE6}
494 .Katakana:hover {background: #BF7}
495 .Hiragana:hover {background: #AF8}
496 .Bopomofo:hover {background: #8FA}
497 .Brahmic:hover {background: #F77}
498 .Khmer:hover {background: #F87}
499 .Han:hover {background: #5EB}
500 .Alpha:hover {background: #5C5}
501 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
502 .Sc:hover {background: #F8C} /* currency */
503 .Sm:hover {background: #F8F} /* math */
504 .So:hover {background: #A8F} /* symbol */
505 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
506 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
507 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
508 .Mn:hover {background: #CDE} /* modifier */
509 .Zs:hover {background: #CED} /* space */
510 .Cc:hover, .Cf:hover {background: #DDD} /* control */
511 .Co:hover {background: #A77} /* private */
512 .Xr:hover {background: #FFF} /* reserved */
513 .Xi:hover {background: #DDD} /* invalid */
514 .l0:hover {background: #888}
515 .l1:hover {background: #F88}
516 .l2:hover {background: #FC8}
517 .l3:hover {background: #FF8}
518 .l4:hover {background: #CF8}
519 .l5:hover {background: #8F8}
520 .u-l3:hover {outline: 1px solid #080}
521 .u-l3.ex:hover {outline: 1px solid #8F0}
522 .u-l2:hover {outline: 1px solid #800}
523 .u-l1:hover {outline: 1px solid #F00}
525 /* key type colorization */
528 .g1 {background: #BFE} /* cyan: info */
530 .g2 {background: #BFB} /* green: motion */
531 .g3 {background: #DFA} /* greenish: jump (g2+) */
533 .g4 {background: #FFA} /* yellow: command */
535 .g5 {background: #FDA} /* orangish: open (g6-) */
536 .g6 {background: #FCA} /* orange: insert */
538 .g7 {background: #FCC} /* red: mode */
540 .g8 {background: #ECE} /* purple: visual (g7+) */
542 .g9 {background: #CCF} /* blue: prefix */
545 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
547 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
548 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
550 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
552 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
553 .g6 a:hover, .g6[onclick]:hover {background: #F97}
555 .g7 a:hover, .g7[onclick]:hover {background: #F88}
557 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
559 .g9 a:hover, .g9[onclick]:hover {background: #99F}
562 background: #EEE; /* unassigned */
566 padding: 1px; /* same size as borderlessless keys */
572 text-shadow: #F20 0 0 0.1em;
574 dl.legend dt.more:hover,
575 .keys td.more:hover b {
576 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
580 border-style: dashed;
587 /* l/r help columns */
600 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
603 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
608 float: left; /* align next to dt (except msie<=7 does just the opposite) */
613 .right dl.legend dt {
614 margin-right: -6.4em;
618 .right dl.legend dd {
628 margin: 0 0 1px; /* distinct keys */
629 height: auto; /* not key-height */
633 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
637 dl.legend-options dt {
646 margin: 6px 0; /* similar to dl legends */
662 text-decoration: none;
664 #browser td > a:active,
665 #browser td > a:hover {
666 text-decoration: underline;
672 -webkit-transition: all 1s ease-in;
673 -o-transition: all 1s ease-in;
674 -moz-transition: all 1s ease-in;
675 transition: height 1s ease-in;
677 #browser tr .aside p {
680 #browser tr.target .aside,
681 #browser tr:target .aside {
685 white-space: nowrap; /* some browsers break on dashes */
688 #browser tr:target > td:first-of-type,
689 #browser tr.focus > td:first-of-type {
692 #browser tr.focus > td {
693 border-bottom-color: #000;
703 font-variant: small-caps;
713 -webkit-column-break-inside: avoid; /* webkit */
714 page-break-inside: avoid; /* moz */
715 overflow: hidden; /* webkit workaround */
718 display: inline-block;
730 ul.legend-set {display: none} /* current options only relevant on dynamic media */
733 /* terse optimisation */
735 @media (max-width: 79em) {
737 position: relative; /* hides overflow */
743 .keys .lead td b { /* leading chars always fit */
744 position: absolute; /* background */
745 right: 0; /* least overlap in corner */
753 width: 62.1em; /* 82.5em - 12 * Δtd(6.2em - 4.5em) */
755 .row2 {margin-left: 5.3em} /* 7em / Δtd(6em : 4.5em) */
756 .row3 {margin-left: 6em} /* 8em / Δtd */
757 .row4 {margin-left: 7.5em} /* 10em / Δtd */
759 @media (max-width: 61em) {
762 height: 6.75ex; /* 3 lines */
773 width: 37em; /* (12 * td(3em + 6px) + 8em) * 80% */
775 .row2 {margin-left: 3.5em} /* 7em / Δtd(6em : 3em) */
776 .row3 {margin-left: 4em} /* 8em / Δtd */
777 .row4 {margin-left: 5em} /* 10em / Δtd */
780 @media (max-width: 42em) {
781 /* flatten right legend column on mobile */
793 .right dl.legend dt {
799 .right dl.legend dd {
806 @media screen and (orientation: portrait) and (max-width: 62em) {
810 transform: rotate(90deg);
811 transform-origin: top left;