11 text-decoration: underline;
15 text-decoration: none;
48 position: relative; /* prevents buggy hovering in table if caption present in gecko */
54 #charset .section table {
55 margin: -0.5ex 0 1ex; /* headers provide sufficient spacing already */
74 background: rgba(255, 0, 0, .8);
76 border: 2px solid #000;
90 display: inline-block;
95 position: absolute; /* side note; do not influence alignment */
110 /* "keyboard" (list of keys) */
112 #rows {margin-top: -5ex} /* top (esc) row fits besides header */
113 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
114 .row3 {margin-left: 8em}
115 .row4 {margin-left: 10em} /* should actually align to next key on row0 */
116 /* ...however rows>=1 are shifted a bit, to make space */
119 clear: both; /* start new row (screen row) */
123 /* start new row block (keyboard row) */
130 h3 {display: none} /* semantic details (non-css/js) */
131 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
135 width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/
136 // padding-right: 72px;
138 border-collapse: collapse;
144 /* individual keys */
150 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
151 height: 4.5ex; /* 2 lines */
156 border: 1px solid #000;
158 -moz-border-radius: 4px;
159 text-transform-variation: text;
164 line-height: 2.5ex; /* inherits otherwise */
167 .keys .row0 td { /* omni-present esc */
171 /* fine tuning of special occurrences */
173 .keys td b[title] { /* mnemonic hover */
176 .keys td[onclick]:hover { /* link */
179 .keys td a { /* key link */
181 text-decoration: none;
188 .keys .lead td b { /* char with ctrl or leading key */
189 font-size: 100%; /* space is too limited for 2+ double-sized chars */
190 line-height: 5ex; /* keep double height though */
192 .keys .meta td b small,
193 .keys .ctrl td b small { /* meta key indicator */
195 font-weight: normal; /* nice and subtle */
201 border-collapse: collapse;
205 border: 1px solid #888;
216 /* first cell determines border width for entire row */
217 border-top-color: transparent;
226 /* character table */
228 .glyphs thead th, .glyphs td {
229 width: 1.6em; /* regular interval */
234 .glyphs.big tbody td {
250 background: transparent;
253 width: auto; /* no glyph cells in header */
259 font-size: 50%; /* mostly insignificant here */
263 text-align: right; /* variable width so keep near cells */
268 text-transform: uppercase;
271 border-top: 1px solid #888;
277 border: 1px solid #555;
281 table.color td samp {
282 margin: 0 -8px 0 8px;
283 font-family: inherit;
286 table.color td samp ~ samp {
288 table.color td samp small {
289 font: 100% monospace;
296 table-layout: fixed; /* prevent resizing, notably in msie6 */
298 .dimap thead th, .dimap td {
299 /* below-maximum size (but still average enough to be regular) so we can fit more */
300 width: 1.2em; /* msie only looks at the first row */
301 min-width: 1em; /* prevents gecko from restricting to page width */
304 text-align: center; /* row headers are also glyph-sized */
307 .mapped tbody, .mapped colgroup,
308 .dimap tbody, .dimap colgroup {
309 border: 2px double #888; /* major character group grid */
313 border-width: 2px 0; /* horizontal group dividers */
317 border-width: 0 2px; /* vertical divides */
320 /* digraph selection */
323 -moz-column-width: 24em;
324 -webkit-column-width: 24em;
329 column-break-inside: avoid;
330 -webkit-column-break-inside: avoid;
331 position: relative; z-index: 1; /* webkit bug */
334 /* glyph cell overlay (digraph labels) */
338 padding-bottom: 1.1ex; /* reserve space for label */
339 vertical-align: bottom;
345 margin-bottom: -2.2ex; /* take cell padding */
347 .glyphs small.digraph {
352 .glyphs small.value {
358 /* character properties */
360 .X {background: #FFF} /* unidentified */
361 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
362 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
366 .Greek {background: #FFE8CF}
367 .Cyrillic {background: #FFDDA8}
368 .Latin {background: #FFB}
370 .Hebrew {background: #FFD}
371 .Arabic {background: #EFE}
372 .African {background: #DED}
373 .Brahmic {background: #FBB} /* same as number */
374 .Khmer {background: #FBA}
376 .Syllabic {background: #DEA}
377 .Katakana {background: #DFA}
378 .Hiragana {background: #DFC}
379 .Bopomofo {background: #BFC}
380 .Han {background: #CFD}
381 .Alpha {background: #ADA} /* other scripts */
383 /* other categories */
384 .Nd, .Nl, .No {background: #FDD} /* number */
385 .Sc {background: #FCD} /* currency */
386 .Sm {background: #ECE} /* math */
387 .So {background: #DCF} /* symbol */
388 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
389 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
390 .Lm, .Sk {background: #CEE} /* spacing modifier */
391 .Mn {background: #ACC} /* modifier */
392 .Cc, .Cf {color: #666; background: #BBB} /* control */
393 .Zs {background: #ACB} /* space */
394 .Co, .Xi.Co {background: #DCC} /* private */
395 .Xi, .Cs {background: #CCC} /* invalid */
396 .Xd {color: #844} /* deprecated */
397 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
398 .dimap .Xr {background: #EEE} /* reversed digraph */
399 .ccmap .Xr {opacity:.4}
402 .l1 {background: #FDD} /* no, unsupported, other */
403 .l2 {background: #FED} /* partial, restricted, unofficial */
404 /* default u-prop, u-bmp */
405 .l3 {background: #FFD} /* almost, imperfect, common */
406 /* default u-di, u-lat1 */
407 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
408 /* default u-ascii */
409 .l5 {background: #DFD} /* complete, perfect */
410 .l0 {background: #EEE} /* unknown, omitted */
411 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
412 .u-invalid {background: #BBB} /* invalid, impossible */
414 /* foreground representation */
415 #digraphs .u-l3 {color: #080} /* partial */
416 #digraphs .u-l3.ex {color: #4C0} /* experimental */
417 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
418 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
420 /* support percentage (browser cells) */
423 .p::after {content: '!'; color: #F00}
424 .p4::after {color: #C00}
425 .p3::after {color: #A00}
426 .p2::after {color: #800}
428 .p0::after {color: #000}
429 .p09::after {opacity: .9}
430 .p08::after {opacity: .8}
431 .p07::after {opacity: .7}
432 .p06::after {opacity: .6}
433 .p05::after {opacity: .5}
434 .p04::after {opacity: .4}
435 .p03::after {opacity: .3}
436 .p02::after {opacity: .2}
437 .p01::after {opacity: .1}
438 .p00::after {display: none}
441 .sy-comment { color: #888 }
442 .sy-constant { color: #008 }
444 .sy-identifier { color: #804 }
447 .sy-special { color: #408 }
448 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
449 .sy-todo { background-color: #FF0 }
452 .X:hover {cursor: help}
453 .X:hover > span {background: #FFF} /* whitespace marker */
454 .Greek:hover, .Armenian:hover {background: #FA8}
455 .Cyrillic:hover {background: #FB7}
456 .Latin:hover {background: #EE4}
457 .Hebrew:hover, .Aramaic:hover {background: #FFA}
458 .Arabic:hover {background: #CFD}
459 .African:hover {background: #BDB}
460 .Syllabic:hover, .Hangul:hover {background: #CE6}
461 .Katakana:hover {background: #BF7}
462 .Hiragana:hover {background: #AF8}
463 .Bopomofo:hover {background: #8FA}
464 .Brahmic:hover {background: #F77}
465 .Khmer:hover {background: #F87}
466 .Han:hover {background: #5EB}
467 .Alpha:hover {background: #5C5}
468 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
469 .Sc:hover {background: #F8C} /* currency */
470 .Sm:hover {background: #F8F} /* math */
471 .So:hover {background: #A8F} /* symbol */
472 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
473 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
474 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
475 .Mn:hover {background: #CDE} /* modifier */
476 .Zs:hover {background: #CED} /* space */
477 .Cc:hover, .Cf:hover {background: #DDD} /* control */
478 .Co:hover {background: #A77} /* private */
479 .Xr:hover {background: #FFF} /* reserved */
480 .Xi:hover {background: #DDD} /* invalid */
481 .l0:hover {background: #888}
482 .l1:hover {background: #F88}
483 .l2:hover {background: #FC8}
484 .l3:hover {background: #FF8}
485 .l4:hover {background: #CF8}
486 .l5:hover {background: #8F8}
487 .u-l3:hover {outline: 1px solid #080}
488 .u-l3.ex:hover {outline: 1px solid #8F0}
489 .u-l2:hover {outline: 1px solid #800}
490 .u-l1:hover {outline: 1px solid #F00}
492 /* key type colorization */
495 .g1 {background: #BFE} /* cyan: info */
497 .g2 {background: #BFB} /* green: motion */
498 .g3 {background: #DFA} /* greenish: jump (g2+) */
500 .g4 {background: #FFA} /* yellow: command */
502 .g5 {background: #FDA} /* orangish: open (g6-) */
503 .g6 {background: #FCA} /* orange: insert */
505 .g7 {background: #FCC} /* red: mode */
507 .g8 {background: #ECE} /* purple: visual (g7+) */
509 .g9 {background: #CCF} /* blue: prefix */
512 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
514 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
515 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
517 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
519 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
520 .g6 a:hover, .g6[onclick]:hover {background: #F97}
522 .g7 a:hover, .g7[onclick]:hover {background: #F88}
524 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
526 .g9 a:hover, .g9[onclick]:hover {background: #99F}
529 background: #EEE; /* unassigned */
533 padding: 1px; /* same size as borderlessless keys */
539 text-shadow: #F20 0 0 0.1em;
541 dl.legend dt.more:hover,
542 .keys td.more:hover b {
543 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
547 border-style: dashed;
554 /* l/r help columns */
567 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
570 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
575 float: left; /* align next to dt (except msie<=7 does just the opposite) */
580 .right dl.legend dt {
581 margin-right: -6.4em;
585 .right dl.legend dd {
595 margin: 0 0 1px; /* distinct keys */
596 height: auto; /* not key-height */
600 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
604 dl.legend-options dt {
613 margin: 6px 0; /* similar to dl legends */
629 text-decoration: none;
631 #browser td > a:active,
632 #browser td > a:hover {
633 text-decoration: underline;
639 -webkit-transition: all 1s ease-in;
640 -o-transition: all 1s ease-in;
641 -moz-transition: all 1s ease-in;
642 transition: height 1s ease-in;
644 #browser tr .aside p {
647 #browser tr.target .aside,
648 #browser tr:target .aside {
652 white-space: nowrap; /* some browsers break on dashes */
655 #browser tr:target > td:first-of-type,
656 #browser tr.focus > td:first-of-type {
659 #browser tr.focus > td {
660 border-bottom-color: #000;
677 ul.legend-set {display: none} /* current options only relevant on dynamic media */