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;
212 /* character table */
214 .glyphs thead th, .glyphs td {
215 width: 1.6em; /* regular interval */
220 .glyphs.big tbody td {
236 background: transparent;
239 width: auto; /* no glyph cells in header */
245 font-size: 50%; /* mostly insignificant here */
249 text-align: right; /* variable width so keep near cells */
254 text-transform: uppercase;
257 border-top: 1px solid #888;
263 border: 1px solid #555;
267 table.color td samp {
268 margin: 0 -8px 0 8px;
269 font-family: inherit;
272 table.color td samp ~ samp {
274 table.color td samp small {
275 font: 100% monospace;
282 table-layout: fixed; /* prevent resizing, notably in msie6 */
284 .dimap thead th, .dimap td {
285 /* below-maximum size (but still average enough to be regular) so we can fit more */
286 width: 1.2em; /* msie only looks at the first row */
287 min-width: 1em; /* prevents gecko from restricting to page width */
290 text-align: center; /* row headers are also glyph-sized */
293 .mapped tbody, .mapped colgroup,
294 .dimap tbody, .dimap colgroup {
295 border: 2px double #888; /* major character group grid */
299 border-width: 2px 0; /* horizontal group dividers */
303 border-width: 0 2px; /* vertical divides */
306 /* digraph selection */
309 -moz-column-width: 24em;
310 -webkit-column-width: 24em;
315 column-break-inside: avoid;
316 -webkit-column-break-inside: avoid;
317 position: relative; z-index: 1; /* webkit bug */
320 /* glyph cell overlay (digraph labels) */
324 padding-bottom: 1.1ex; /* reserve space for label */
325 vertical-align: bottom;
331 margin-bottom: -2.2ex; /* take cell padding */
333 .glyphs small.digraph {
338 .glyphs small.value {
344 /* character properties */
346 .X {background: #FFF} /* unidentified */
347 .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
348 .X > span {background: #898; background: rgba(0, 0, 0, .25)} /* invisible contents */
352 .Greek {background: #FFE8CF}
353 .Cyrillic {background: #FFDDA8}
354 .Latin {background: #FFB}
356 .Hebrew {background: #FFD}
357 .Arabic {background: #EFE}
358 .African {background: #DED}
359 .Brahmic {background: #FBB} /* same as number */
360 .Khmer {background: #FBA}
362 .Syllabic {background: #DEA}
363 .Katakana {background: #DFA}
364 .Hiragana {background: #DFC}
365 .Bopomofo {background: #BFC}
366 .Han {background: #CFD}
367 .Alpha {background: #ADA} /* other scripts */
369 /* other categories */
370 .Nd, .Nl, .No {background: #FDD} /* number */
371 .Sc {background: #FCD} /* currency */
372 .Sm {background: #ECE} /* math */
373 .So {background: #DCF} /* symbol */
374 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
375 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
376 .Lm, .Sk {background: #CEE} /* spacing modifier */
377 .Mn {background: #ACC} /* modifier */
378 .Cc, .Cf {color: #666; background: #BBB} /* control */
379 .Zs {background: #ACB} /* space */
380 .Co, .Xi.Co {background: #DCC} /* private */
381 .Xi, .Cs {background: #CCC} /* invalid */
382 .Xd {color: #844} /* deprecated */
383 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
384 .dimap .Xr {background: #EEE} /* reversed digraph */
385 .ccmap .Xr {opacity:.4}
388 .l1 {background: #FDD} /* no, unsupported, other */
389 .l2 {background: #FED} /* partial, restricted, unofficial */
390 /* default u-prop, u-bmp */
391 .l3 {background: #FFD} /* almost, imperfect, common */
392 /* default u-di, u-lat1 */
393 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
394 /* default u-ascii */
395 .l5 {background: #DFD} /* complete, perfect */
396 .l0 {background: #EEE} /* unknown, omitted */
397 .ex { color: #888; color: rgba(0, 0, 0, .5)} /* experimental, disfavoured */
398 .u-invalid {background: #BBB} /* invalid, impossible */
400 /* foreground representation */
401 #digraphs .u-l3 {color: #080} /* partial */
402 #digraphs .u-l3.ex {color: #4C0} /* experimental */
403 #digraphs .u-l2 {color: #A44; color: rgba(128, 0, 0, .6)} /* unofficial proposal */
404 #digraphs .u-l1 {color: #D00; color: rgba(255, 0, 0, .8)} /* minimal or invalid */
406 /* support percentage (browser cells) */
409 .p::after {content: '!'; color: #F00}
410 .p4::after {color: #C00}
411 .p3::after {color: #A00}
412 .p2::after {color: #800}
414 .p0::after {color: #000}
415 .p09::after {opacity: .9}
416 .p08::after {opacity: .8}
417 .p07::after {opacity: .7}
418 .p06::after {opacity: .6}
419 .p05::after {opacity: .5}
420 .p04::after {opacity: .4}
421 .p03::after {opacity: .3}
422 .p02::after {opacity: .2}
423 .p01::after {opacity: .1}
424 .p00::after {display: none}
427 .sy-comment { color: #888 }
428 .sy-constant { color: #008 }
430 .sy-identifier { color: #804 }
433 .sy-special { color: #408 }
434 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
435 .sy-todo { background-color: #FF0 }
438 .X:hover {cursor: help}
439 .X:hover > span {background: #FFF} /* whitespace marker */
440 .Greek:hover, .Armenian:hover {background: #FA8}
441 .Cyrillic:hover {background: #FB7}
442 .Latin:hover {background: #EE4}
443 .Hebrew:hover, .Aramaic:hover {background: #FFA}
444 .Arabic:hover {background: #CFD}
445 .African:hover {background: #BDB}
446 .Syllabic:hover, .Hangul:hover {background: #CE6}
447 .Katakana:hover {background: #BF7}
448 .Hiragana:hover {background: #AF8}
449 .Bopomofo:hover {background: #8FA}
450 .Brahmic:hover {background: #F77}
451 .Khmer:hover {background: #F87}
452 .Han:hover {background: #5EB}
453 .Alpha:hover {background: #5C5}
454 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
455 .Sc:hover {background: #F8C} /* currency */
456 .Sm:hover {background: #F8F} /* math */
457 .So:hover {background: #A8F} /* symbol */
458 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
459 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
460 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
461 .Mn:hover {background: #CDE} /* modifier */
462 .Zs:hover {background: #CED} /* space */
463 .Cc:hover, .Cf:hover {background: #DDD} /* control */
464 .Co:hover {background: #A77} /* private */
465 .Xr:hover {background: #FFF} /* reserved */
466 .Xi:hover {background: #DDD} /* invalid */
467 .l0:hover {background: #888}
468 .l1:hover {background: #F88}
469 .l2:hover {background: #FC8}
470 .l3:hover {background: #FF8}
471 .l4:hover {background: #CF8}
472 .l5:hover {background: #8F8}
473 .u-l3:hover {outline: 1px solid #080}
474 .u-l3.ex:hover {outline: 1px solid #8F0}
475 .u-l2:hover {outline: 1px solid #800}
476 .u-l1:hover {outline: 1px solid #F00}
478 /* key type colorization */
481 .g1 {background: #BFE} /* cyan: info */
483 .g2 {background: #BFB} /* green: motion */
484 .g3 {background: #DFA} /* greenish: jump (g2+) */
486 .g4 {background: #FFA} /* yellow: command */
488 .g5 {background: #FDA} /* orangish: open (g6-) */
489 .g6 {background: #FCA} /* orange: insert */
491 .g7 {background: #FCC} /* red: mode */
493 .g8 {background: #ECE} /* purple: visual (g7+) */
495 .g9 {background: #CCF} /* blue: prefix */
498 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
500 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
501 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
503 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
505 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
506 .g6 a:hover, .g6[onclick]:hover {background: #F97}
508 .g7 a:hover, .g7[onclick]:hover {background: #F88}
510 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
512 .g9 a:hover, .g9[onclick]:hover {background: #99F}
515 background: #EEE; /* unassigned */
519 padding: 1px; /* same size as borderlessless keys */
525 text-shadow: #F20 0 0 0.1em;
527 dl.legend dt.more:hover,
528 .keys td.more:hover b {
529 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
533 border-style: dashed;
540 /* l/r help columns */
553 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
556 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
561 float: left; /* align next to dt (except msie<=7 does just the opposite) */
566 .right dl.legend dt {
567 margin-right: -6.4em;
571 .right dl.legend dd {
581 margin: 0 0 1px; /* distinct keys */
582 height: auto; /* not key-height */
586 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
590 dl.legend-options dt {
599 margin: 6px 0; /* similar to dl legends */
615 text-decoration: none;
617 #browser td > a:active,
618 #browser td > a:hover {
619 text-decoration: underline;
625 -webkit-transition: all 1s ease-in;
626 -o-transition: all 1s ease-in;
627 -moz-transition: all 1s ease-in;
628 transition: height 1s ease-in;
630 #browser tr .aside p {
633 #browser tr.target .aside,
634 #browser tr:target .aside {
638 white-space: nowrap; /* some browsers break on dashes */
641 #browser tr:target > td:first-of-type,
642 #browser tr.focus > td:first-of-type {
645 #browser tr.focus > td {
646 border-bottom-color: #000;
663 ul.legend-set {display: none} /* current options only relevant on dynamic media */