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;
96 display: inline-block;
101 position: absolute; /* side note; do not influence alignment */
116 /* "keyboard" (list of keys) */
118 #rows {margin-top: -5ex} /* top (esc) row fits besides header */
119 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
120 .row3 {margin-left: 8em}
121 .row4 {margin-left: 10em} /* should actually align to next key on row0 */
122 /* ...however rows>=1 are shifted a bit, to make space */
125 clear: both; /* start new row (screen row) */
129 /* start new row block (keyboard row) */
136 h3 {display: none} /* semantic details (non-css/js) */
137 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
141 width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/
142 // padding-right: 72px;
144 border-collapse: collapse;
150 /* individual keys */
156 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
157 height: 4.5ex; /* 2 lines */
162 border: 1px solid #000;
164 -moz-border-radius: 4px;
165 text-transform-variation: text;
170 line-height: 2.5ex; /* inherits otherwise */
173 .keys .row0 td { /* omni-present esc */
177 /* fine tuning of special occurrences */
179 .keys td b[title] { /* mnemonic hover */
182 .keys td[onclick]:hover { /* link */
185 .keys td a { /* key link */
187 text-decoration: none;
194 .keys .lead td b { /* char with ctrl or leading key */
195 font-size: 100%; /* space is too limited for 2+ double-sized chars */
196 line-height: 5ex; /* keep double height though */
198 .keys .meta td b small,
199 .keys .ctrl td b small { /* meta key indicator */
201 font-weight: normal; /* nice and subtle */
207 border-collapse: collapse;
211 border: 1px solid #888;
222 /* first cell determines border width for entire row */
223 border-top-color: transparent;
232 /* character table */
234 .glyphs thead th, .glyphs td {
235 width: 1.6em; /* regular interval */
240 .glyphs.big tbody td {
244 margin: 0.5ex 0; /* nested in legend */
251 min-width: 2.5ex; /* square cells */
260 background: transparent;
263 width: auto; /* no glyph cells in header */
269 font-size: 50%; /* mostly insignificant here */
273 text-align: right; /* variable width so keep near cells */
278 text-transform: uppercase;
281 border-top: 1px solid #888;
287 border: 1px solid #555;
291 table.color td samp {
292 margin: 0 -8px 0 8px;
293 font-family: inherit;
296 table.color td samp ~ samp {
298 table.color td samp small {
299 font: 100% monospace;
306 table-layout: fixed; /* prevent resizing, notably in msie6 */
308 .dimap thead th, .dimap td {
309 /* below-maximum size (but still average enough to be regular) so we can fit more */
310 width: 1.2em; /* msie only looks at the first row */
311 min-width: 1em; /* prevents gecko from restricting to page width */
314 text-align: center; /* row headers are also glyph-sized */
317 .mapped tbody, .mapped colgroup,
318 .dimap tbody, .dimap colgroup {
319 border: 2px double #888; /* major character group grid */
323 border-width: 2px 0; /* horizontal group dividers */
327 border-width: 0 2px; /* vertical divides */
330 /* digraph selection */
333 -moz-column-width: 24em;
334 -webkit-column-width: 24em;
339 column-break-inside: avoid;
340 -webkit-column-break-inside: avoid;
341 position: relative; z-index: 1; /* webkit bug */
344 /* glyph cell overlay (digraph labels) */
348 padding-bottom: 1.1ex; /* reserve space for label */
349 vertical-align: bottom;
355 margin-bottom: -2.2ex; /* take cell padding */
357 .glyphs small.digraph {
362 .glyphs small.value {
368 /* character properties */
370 .X {background: #FFF} /* unidentified */
371 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
372 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
376 .Greek {background: #FFE8CF}
377 .Cyrillic {background: #FFDDA8}
378 .Latin {background: #FFB}
380 .Hebrew {background: #FFD}
381 .Arabic {background: #EFE}
382 .African {background: #DED}
383 .Brahmic {background: #FBB} /* same as number */
384 .Khmer {background: #FBA}
386 .Syllabic {background: #DEA}
387 .Katakana {background: #DFA}
388 .Hiragana {background: #DFC}
389 .Bopomofo {background: #BFC}
390 .Han {background: #CFD}
391 .Alpha {background: #ADA} /* other scripts */
393 /* other categories */
394 .Nd, .Nl, .No {background: #FDD} /* number */
395 .Sc {background: #FCD} /* currency */
396 .Sm {background: #ECE} /* math */
397 .So {background: #DCF} /* symbol */
398 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
399 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
400 .Lm, .Sk {background: #CEE} /* spacing modifier */
401 .Mn {background: #ACC} /* modifier */
402 .Cc, .Cf {color: #666; background: #BBB} /* control */
403 .Zs {background: #ACB} /* space */
404 .Co, .Xi.Co {background: #DCC} /* private */
405 .Xi, .Cs {background: #CCC} /* invalid */
406 .Xd {color: #844} /* deprecated */
407 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
408 .dimap .Xr {background: #EEE} /* reversed digraph */
409 .ccmap .Xr {opacity:.4}
412 .l1 {background: #FDD} /* no, unsupported, other */
413 .l2 {background: #FED} /* partial, restricted, unofficial */
414 /* default u-prop, u-bmp */
415 .l3 {background: #FFD} /* almost, imperfect, common */
416 /* default u-di, u-lat1 */
417 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
418 /* default u-ascii */
419 .l5 {background: #DFD} /* complete, perfect */
420 .l0 {background: #EEE} /* unknown, omitted */
421 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
422 .u-invalid {background: #BBB} /* invalid, impossible */
424 /* foreground representation */
425 #digraphs .u-l3 {color: #080} /* partial */
426 #digraphs .u-l3.ex {color: #4C0} /* experimental */
427 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
428 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
430 /* support percentage (browser cells) */
433 .p::after {content: '!'; color: #F00}
434 .p4::after {color: #C00}
435 .p3::after {color: #A00}
436 .p2::after {color: #800}
438 .p0::after {color: #000}
439 .p09::after {opacity: .9}
440 .p08::after {opacity: .8}
441 .p07::after {opacity: .7}
442 .p06::after {opacity: .6}
443 .p05::after {opacity: .5}
444 .p04::after {opacity: .4}
445 .p03::after {opacity: .3}
446 .p02::after {opacity: .2}
447 .p01::after {opacity: .1}
448 .p00::after {display: none}
451 .sy-comment { color: #888 }
452 .sy-constant { color: #008 }
454 .sy-identifier { color: #804 }
457 .sy-special { color: #408 }
458 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
459 .sy-todo { background-color: #FF0 }
462 .X:hover {cursor: help}
463 .X:hover > span {background: #FFF} /* whitespace marker */
464 .Greek:hover, .Armenian:hover {background: #FA8}
465 .Cyrillic:hover {background: #FB7}
466 .Latin:hover {background: #EE4}
467 .Hebrew:hover, .Aramaic:hover {background: #FFA}
468 .Arabic:hover {background: #CFD}
469 .African:hover {background: #BDB}
470 .Syllabic:hover, .Hangul:hover {background: #CE6}
471 .Katakana:hover {background: #BF7}
472 .Hiragana:hover {background: #AF8}
473 .Bopomofo:hover {background: #8FA}
474 .Brahmic:hover {background: #F77}
475 .Khmer:hover {background: #F87}
476 .Han:hover {background: #5EB}
477 .Alpha:hover {background: #5C5}
478 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
479 .Sc:hover {background: #F8C} /* currency */
480 .Sm:hover {background: #F8F} /* math */
481 .So:hover {background: #A8F} /* symbol */
482 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
483 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
484 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
485 .Mn:hover {background: #CDE} /* modifier */
486 .Zs:hover {background: #CED} /* space */
487 .Cc:hover, .Cf:hover {background: #DDD} /* control */
488 .Co:hover {background: #A77} /* private */
489 .Xr:hover {background: #FFF} /* reserved */
490 .Xi:hover {background: #DDD} /* invalid */
491 .l0:hover {background: #888}
492 .l1:hover {background: #F88}
493 .l2:hover {background: #FC8}
494 .l3:hover {background: #FF8}
495 .l4:hover {background: #CF8}
496 .l5:hover {background: #8F8}
497 .u-l3:hover {outline: 1px solid #080}
498 .u-l3.ex:hover {outline: 1px solid #8F0}
499 .u-l2:hover {outline: 1px solid #800}
500 .u-l1:hover {outline: 1px solid #F00}
502 /* key type colorization */
505 .g1 {background: #BFE} /* cyan: info */
507 .g2 {background: #BFB} /* green: motion */
508 .g3 {background: #DFA} /* greenish: jump (g2+) */
510 .g4 {background: #FFA} /* yellow: command */
512 .g5 {background: #FDA} /* orangish: open (g6-) */
513 .g6 {background: #FCA} /* orange: insert */
515 .g7 {background: #FCC} /* red: mode */
517 .g8 {background: #ECE} /* purple: visual (g7+) */
519 .g9 {background: #CCF} /* blue: prefix */
522 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
524 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
525 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
527 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
529 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
530 .g6 a:hover, .g6[onclick]:hover {background: #F97}
532 .g7 a:hover, .g7[onclick]:hover {background: #F88}
534 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
536 .g9 a:hover, .g9[onclick]:hover {background: #99F}
539 background: #EEE; /* unassigned */
543 padding: 1px; /* same size as borderlessless keys */
549 text-shadow: #F20 0 0 0.1em;
551 dl.legend dt.more:hover,
552 .keys td.more:hover b {
553 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
557 border-style: dashed;
564 /* l/r help columns */
577 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
580 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
585 float: left; /* align next to dt (except msie<=7 does just the opposite) */
590 .right dl.legend dt {
591 margin-right: -6.4em;
595 .right dl.legend dd {
605 margin: 0 0 1px; /* distinct keys */
606 height: auto; /* not key-height */
610 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
614 dl.legend-options dt {
623 margin: 6px 0; /* similar to dl legends */
639 text-decoration: none;
641 #browser td > a:active,
642 #browser td > a:hover {
643 text-decoration: underline;
649 -webkit-transition: all 1s ease-in;
650 -o-transition: all 1s ease-in;
651 -moz-transition: all 1s ease-in;
652 transition: height 1s ease-in;
654 #browser tr .aside p {
657 #browser tr.target .aside,
658 #browser tr:target .aside {
662 white-space: nowrap; /* some browsers break on dashes */
665 #browser tr:target > td:first-of-type,
666 #browser tr.focus > td:first-of-type {
669 #browser tr.focus > td {
670 border-bottom-color: #000;
687 ul.legend-set {display: none} /* current options only relevant on dynamic media */