11 text-decoration: underline;
15 text-decoration: none;
54 position: relative; /* prevents buggy hovering in table if caption present in gecko */
60 #charset .section table {
61 margin: -0.5ex 0 1ex; /* headers provide sufficient spacing already */
80 background: rgba(255, 0, 0, .8);
82 border: 2px solid #000;
91 .error > *:last-child {
102 display: inline-block;
107 position: absolute; /* side note; do not influence alignment */
122 /* "keyboard" (list of keys) */
124 #rows {margin-top: -5ex} /* top (esc) row fits besides header */
125 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
126 .row3 {margin-left: 8em}
127 .row4 {margin-left: 10em} /* should actually align to next key on row0 */
128 /* ...however rows>=1 are shifted a bit, to make space */
131 clear: both; /* start new row (screen row) */
135 /* start new row block (keyboard row) */
142 h3 {display: none} /* semantic details (non-css/js) */
143 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
147 width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/
148 // padding-right: 72px;
150 border-collapse: collapse;
156 /* individual keys */
162 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
163 height: 4.5ex; /* 2 lines */
168 border: 1px solid #000;
170 -moz-border-radius: 4px;
171 text-transform-variation: text;
176 line-height: 2.5ex; /* inherits otherwise */
179 .keys .row0 td { /* omni-present esc */
183 /* fine tuning of special occurrences */
185 .keys td b[title] { /* mnemonic hover */
188 .keys td[onclick]:hover { /* link */
191 .keys td a { /* key link */
193 text-decoration: none;
200 .keys .lead td b { /* char with ctrl or leading key */
201 font-size: 100%; /* space is too limited for 2+ double-sized chars */
202 line-height: 5ex; /* keep double height though */
204 .keys .meta td b small,
205 .keys .ctrl td b small { /* meta key indicator */
207 font-weight: normal; /* nice and subtle */
213 border-collapse: collapse;
217 border: 1px solid #888;
228 /* first cell determines border width for entire row */
229 border-top-color: transparent;
238 /* character table */
240 .glyphs thead th, .glyphs td {
241 width: 1.6em; /* regular interval */
246 .glyphs.big tbody td {
250 margin: 0.5ex 0; /* nested in legend */
257 min-width: 2.5ex; /* square cells */
266 background: transparent;
269 width: auto; /* no glyph cells in header */
275 font-size: 50%; /* mostly insignificant here */
279 text-align: right; /* variable width so keep near cells */
284 text-transform: uppercase;
287 border-top: 1px solid #888;
293 border: 1px solid #555;
297 table.color td samp {
298 margin: 0 -8px 0 8px;
299 font-family: inherit;
302 table.color td samp ~ samp {
304 table.color td samp small {
305 font: 100% monospace;
312 table-layout: fixed; /* prevent resizing, notably in msie6 */
314 .dimap thead th, .dimap td {
315 /* below-maximum size (but still average enough to be regular) so we can fit more */
316 width: 1.2em; /* msie only looks at the first row */
317 min-width: 1em; /* prevents gecko from restricting to page width */
320 text-align: center; /* row headers are also glyph-sized */
323 .mapped tbody, .mapped colgroup,
324 .dimap tbody, .dimap colgroup {
325 border: 2px double #888; /* major character group grid */
329 border-width: 2px 0; /* horizontal group dividers */
333 border-width: 0 2px; /* vertical divides */
336 /* digraph selection */
339 -moz-column-width: 24em;
340 -webkit-column-width: 24em;
345 column-break-inside: avoid;
346 -webkit-column-break-inside: avoid;
347 position: relative; z-index: 1; /* webkit bug */
350 /* glyph cell overlay (digraph labels) */
354 padding-bottom: 1.1ex; /* reserve space for label */
355 vertical-align: bottom;
361 margin-bottom: -2.2ex; /* take cell padding */
363 .glyphs small.digraph {
368 .glyphs small.value {
374 /* character properties */
376 .X {background: #FFF} /* unidentified */
377 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
378 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
382 .Greek {background: #FFE8CF}
383 .Cyrillic {background: #FFDDA8}
384 .Latin {background: #FFB}
386 .Hebrew {background: #FFD}
387 .Arabic {background: #EFE}
388 .African {background: #DED}
389 .Brahmic {background: #FBB} /* same as number */
390 .Khmer {background: #FBA}
392 .Syllabic {background: #DEA}
393 .Katakana {background: #DFA}
394 .Hiragana {background: #DFC}
395 .Bopomofo {background: #BFC}
396 .Han {background: #CFD}
397 .Alpha {background: #ADA} /* other scripts */
399 /* other categories */
400 .Nd, .Nl, .No {background: #FDD} /* number */
401 .Sc {background: #FCD} /* currency */
402 .Sm {background: #ECE} /* math */
403 .So {background: #DCF} /* symbol */
404 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
405 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
406 .Lm, .Sk {background: #CEE} /* spacing modifier */
407 .Mn {background: #ACC} /* modifier */
408 .Cc, .Cf {color: #666; background: #BBB} /* control */
409 .Zs {background: #ACB} /* space */
410 .Co, .Xi.Co {background: #DCC} /* private */
411 .Xi, .Cs {background: #CCC} /* invalid */
412 .Xd {color: #844} /* deprecated */
413 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
414 .dimap .Xr {background: #EEE} /* reversed digraph */
415 .ccmap .Xr {opacity:.4}
418 .l1 {background: #FDD} /* no, unsupported, other */
419 .l2 {background: #FED} /* partial, restricted, unofficial */
420 /* default u-prop, u-bmp */
421 .l3 {background: #FFD} /* almost, imperfect, common */
422 /* default u-di, u-lat1 */
423 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
424 /* default u-ascii */
425 .l5 {background: #DFD} /* complete, perfect */
426 .l0 {background: #EEE} /* unknown, omitted */
427 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
428 .u-invalid {background: #BBB} /* invalid, impossible */
430 /* foreground representation */
431 #digraphs .u-l3 {color: #080} /* partial */
432 #digraphs .u-l3.ex {color: #4C0} /* experimental */
433 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
434 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
436 /* support percentage (browser cells) */
439 .p::after {content: '!'; color: #F00}
440 .p4::after {color: #C00}
441 .p3::after {color: #A00}
442 .p2::after {color: #800}
444 .p0::after {color: #000}
445 .p09::after {opacity: .9}
446 .p08::after {opacity: .8}
447 .p07::after {opacity: .7}
448 .p06::after {opacity: .6}
449 .p05::after {opacity: .5}
450 .p04::after {opacity: .4}
451 .p03::after {opacity: .3}
452 .p02::after {opacity: .2}
453 .p01::after {opacity: .1}
454 .p00::after {display: none}
457 .sy-comment { color: #888 }
458 .sy-constant { color: #008 }
460 .sy-identifier { color: #804 }
463 .sy-special { color: #408 }
464 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
465 .sy-todo { background-color: #FF0 }
468 .X:hover {cursor: help}
469 .X:hover > span {background: #FFF} /* whitespace marker */
470 .Greek:hover, .Armenian:hover {background: #FA8}
471 .Cyrillic:hover {background: #FB7}
472 .Latin:hover {background: #EE4}
473 .Hebrew:hover, .Aramaic:hover {background: #FFA}
474 .Arabic:hover {background: #CFD}
475 .African:hover {background: #BDB}
476 .Syllabic:hover, .Hangul:hover {background: #CE6}
477 .Katakana:hover {background: #BF7}
478 .Hiragana:hover {background: #AF8}
479 .Bopomofo:hover {background: #8FA}
480 .Brahmic:hover {background: #F77}
481 .Khmer:hover {background: #F87}
482 .Han:hover {background: #5EB}
483 .Alpha:hover {background: #5C5}
484 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
485 .Sc:hover {background: #F8C} /* currency */
486 .Sm:hover {background: #F8F} /* math */
487 .So:hover {background: #A8F} /* symbol */
488 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
489 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
490 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
491 .Mn:hover {background: #CDE} /* modifier */
492 .Zs:hover {background: #CED} /* space */
493 .Cc:hover, .Cf:hover {background: #DDD} /* control */
494 .Co:hover {background: #A77} /* private */
495 .Xr:hover {background: #FFF} /* reserved */
496 .Xi:hover {background: #DDD} /* invalid */
497 .l0:hover {background: #888}
498 .l1:hover {background: #F88}
499 .l2:hover {background: #FC8}
500 .l3:hover {background: #FF8}
501 .l4:hover {background: #CF8}
502 .l5:hover {background: #8F8}
503 .u-l3:hover {outline: 1px solid #080}
504 .u-l3.ex:hover {outline: 1px solid #8F0}
505 .u-l2:hover {outline: 1px solid #800}
506 .u-l1:hover {outline: 1px solid #F00}
508 /* key type colorization */
511 .g1 {background: #BFE} /* cyan: info */
513 .g2 {background: #BFB} /* green: motion */
514 .g3 {background: #DFA} /* greenish: jump (g2+) */
516 .g4 {background: #FFA} /* yellow: command */
518 .g5 {background: #FDA} /* orangish: open (g6-) */
519 .g6 {background: #FCA} /* orange: insert */
521 .g7 {background: #FCC} /* red: mode */
523 .g8 {background: #ECE} /* purple: visual (g7+) */
525 .g9 {background: #CCF} /* blue: prefix */
528 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
530 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
531 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
533 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
535 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
536 .g6 a:hover, .g6[onclick]:hover {background: #F97}
538 .g7 a:hover, .g7[onclick]:hover {background: #F88}
540 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
542 .g9 a:hover, .g9[onclick]:hover {background: #99F}
545 background: #EEE; /* unassigned */
549 padding: 1px; /* same size as borderlessless keys */
555 text-shadow: #F20 0 0 0.1em;
557 dl.legend dt.more:hover,
558 .keys td.more:hover b {
559 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
563 border-style: dashed;
570 /* l/r help columns */
583 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
586 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
591 float: left; /* align next to dt (except msie<=7 does just the opposite) */
596 .right dl.legend dt {
597 margin-right: -6.4em;
601 .right dl.legend dd {
611 margin: 0 0 1px; /* distinct keys */
612 height: auto; /* not key-height */
616 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
620 dl.legend-options dt {
629 margin: 6px 0; /* similar to dl legends */
645 text-decoration: none;
647 #browser td > a:active,
648 #browser td > a:hover {
649 text-decoration: underline;
655 -webkit-transition: all 1s ease-in;
656 -o-transition: all 1s ease-in;
657 -moz-transition: all 1s ease-in;
658 transition: height 1s ease-in;
660 #browser tr .aside p {
663 #browser tr.target .aside,
664 #browser tr:target .aside {
668 white-space: nowrap; /* some browsers break on dashes */
671 #browser tr:target > td:first-of-type,
672 #browser tr.focus > td:first-of-type {
675 #browser tr.focus > td {
676 border-bottom-color: #000;
693 ul.legend-set {display: none} /* current options only relevant on dynamic media */