11 text-decoration: underline;
15 text-decoration: none;
21 background-image: -moz-repeating-linear-gradient(top left -75deg,
22 rgba(255,0,0,.5), rgba(255,0,0,0) 1ex,
23 rgba(255,0,0,0) 2ex, rgba(255,0,0,.5) 3ex
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 */
84 display: inline-block;
89 position: absolute; /* side note; do not influence alignment */
104 /* "keyboard" (list of keys) */
106 #rows {margin-top: -5ex} /* top (esc) row fits besides header */
107 .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
108 .row3 {margin-left: 8em}
109 .row4 {margin-left: 10em} /* should actually align to next key on row0 */
110 /* ...however rows>=1 are shifted a bit, to make space */
113 clear: both; /* start new row (screen row) */
117 /* start new row block (keyboard row) */
124 h3 {display: none} /* semantic details (non-css/js) */
125 .keys .mode {display: none} /* initially hidden (only show interactively (js)) */
129 width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/
130 // padding-right: 72px;
132 border-collapse: collapse;
138 /* individual keys */
144 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
145 height: 4.5ex; /* 2 lines */
150 border: 1px solid #000;
152 -moz-border-radius: 4px;
157 line-height: 2.5ex; /* inherits otherwise */
160 .keys .row0 td { /* omni-present esc */
164 /* fine tuning of special occurrences */
166 .keys td b[title] { /* mnemonic hover */
169 .keys td[onclick]:hover { /* link */
172 .keys td a { /* key link */
174 text-decoration: none;
181 .keys .lead td b { /* char with ctrl or leading key */
182 font-size: 100%; /* space is too limited for 2+ double-sized chars */
183 line-height: 5ex; /* keep double height though */
185 .keys .meta td b small,
186 .keys .ctrl td b small { /* meta key indicator */
188 font-weight: normal; /* nice and subtle */
194 border-collapse: collapse;
198 border: 1px solid #888;
205 /* character table */
207 .glyphs thead th, .glyphs td {
208 width: 1.6em; /* regular interval */
213 .glyphs.big tbody td {
228 background: transparent !important;
231 width: auto; /* no glyph cells in header */
237 font-size: 50%; /* mostly insignificant here */
241 text-align: right; /* variable width so keep near cells */
246 text-transform: uppercase;
252 table-layout: fixed; /* prevent resizing, notably in msie6 */
254 .dimap thead th, .dimap td {
255 /* below-maximum size (but still average enough to be regular) so we can fit more */
256 width: 1.2em; /* msie only looks at the first row */
257 min-width: 1em; /* prevents gecko from restricting to page width */
260 text-align: center; /* row headers are also glyph-sized */
263 .mapped tbody, .mapped colgroup,
264 .dimap tbody, .dimap colgroup {
265 border: 2px double #888; /* major character group grid */
269 border-width: 2px 0; /* horizontal group dividers */
273 border-width: 0 2px; /* vertical divides */
276 /* digraph selection */
279 -moz-column-width: 24em;
280 -webkit-column-width: 24em;
285 column-break-inside: avoid;
286 -webkit-column-break-inside: avoid;
287 position: relative; z-index: 1; /* webkit bug */
290 /* glyph cell overlay (digraph labels) */
294 padding-bottom: 1.1ex; /* reserve space for label */
295 vertical-align: bottom;
301 margin-bottom: -2.2ex; /* take cell padding */
303 .glyphs small.digraph {
308 .glyphs small.value {
314 /* character properties */
316 .X {background: #FFF} /* unidentified */
317 #digraphs .Xa {color: #0A0} /* ascii */
318 #digraphs .Xl {color: #070} /* latin1 */
319 #digraphs .Xz {color: #D00} /* proposed */
321 .Lm, .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
322 .X > span {background: #888} /* invisible contents */
326 .Greek {background: #FFE8CF}
327 .Cyrillic {background: #FFDDA8}
328 .Latin {background: #FFB}
330 .Hebrew {background: #FFD}
331 .Arabic {background: #EFE}
332 .African {background: #DED}
333 .Brahmic {background: #FBB} /* same as number */
334 .Khmer {background: #FBA}
336 .Syllabic {background: #DEA}
337 .Katakana {background: #DFA}
338 .Hiragana {background: #DFC}
339 .Bopomofo {background: #BFC}
340 .Han {background: #CFD}
341 .Alpha {background: #ADA} /* other scripts */
343 /* other categories */
344 .Nd, .Nl, .No {background: #FDD} /* number */
345 .Sc {background: #FCD} /* currency */
346 .Sm {background: #ECE} /* math */
347 .So {background: #DCF} /* symbol */
348 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
349 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
350 .Lm, .Sk {background: #CEE} /* spacing modifier */
351 .Mn {background: #ACC} /* modifier */
352 .Cc, .Cf {color: #666; background: #BBB} /* control */
353 .Zs {background: #ACB} /* space */
354 .Co {background: #DCC} /* private */
355 .Xi, .Cs {background: #CCC} /* invalid */
356 .Xd {color: #844} /* deprecated */
357 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
358 .dimap .Xr {background: #EEE} /* reversed digraph */
359 .ccmap .Xr {opacity:.4}
362 .l1 {background: #FDD} /* no, unsupported, other */
363 .l2 {background: #FED} /* partial, restricted, unofficial */
364 /* default u-prop, u-bmp */
365 .l3 {background: #FFD} /* almost, imperfect, common */
366 /* default u-di, u-lat1 */
367 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
368 /* default u-ascii */
369 .l5 {background: #DFD} /* complete, perfect */
370 .l0 {background: #EEE} /* unknown, omitted */
371 .ex { color: #888} /* experimental, disfavoured */
372 .u-invalid {background: #BBB} /* invalid, impossible */
376 .p::after {content: '!'; color: #F00}
377 .p4::after {color: #C00}
378 .p3::after {color: #A00}
379 .p2::after {color: #800}
381 .p0::after {color: #000}
382 .p09::after {opacity: .9}
383 .p08::after {opacity: .8}
384 .p07::after {opacity: .7}
385 .p06::after {opacity: .6}
386 .p05::after {opacity: .5}
387 .p04::after {opacity: .4}
388 .p03::after {opacity: .3}
389 .p02::after {opacity: .2}
390 .p01::after {opacity: .1}
391 .p00::after {display: none}
394 .sy-comment { color: #888 }
395 .sy-constant { color: #008 }
397 .sy-identifier { color: #804 }
400 .sy-special { color: #408 }
401 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
402 .sy-todo { background-color: #FF0 }
406 .X:hover {cursor: help}
407 .X:hover > span {background: #FFF} /* whitespace marker */
408 .Greek:hover, .Armenian:hover {background: #FA8}
409 .Cyrillic:hover {background: #FB7}
410 .Latin:hover {background: #EE4}
411 .Hebrew:hover, .Aramaic:hover {background: #FFA}
412 .Arabic:hover {background: #CFD}
413 .African:hover {background: #BDB}
414 .Syllabic:hover, .Hangul:hover {background: #CE6}
415 .Katakana:hover {background: #BF7}
416 .Hiragana:hover {background: #AF8}
417 .Bopomofo:hover {background: #8FA}
418 .Brahmic:hover {background: #F77}
419 .Khmer:hover {background: #F87}
420 .Han:hover {background: #5EB}
421 .Alpha:hover {background: #5C5}
422 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
423 .Sc:hover {background: #F8C} /* currency */
424 .Sm:hover {background: #F8F} /* math */
425 .So:hover {background: #A8F} /* symbol */
426 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
427 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
428 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
429 .Mn:hover {background: #CDE} /* modifier */
430 .Zs:hover {background: #CED} /* space */
431 .Cc:hover, .Cf:hover {background: #DDD} /* control */
432 .Co:hover {background: #A77} /* private */
433 .Xr:hover {background: #FFF} /* reserved */
434 .Xa:hover {outline: 1px solid #0F0} /* ascii */
435 .Xl:hover {outline: 1px solid #0C0} /* latin1 */
436 .Xz:hover {outline: 1px solid #F00} /* proposed */
437 .l0:hover {background: #888}
438 .l1:hover {background: #F88}
439 .l2:hover {background: #FC8}
440 .l3:hover {background: #FF8}
441 .l4:hover {background: #CF8}
442 .l5:hover {background: #8F8}
444 /* key type colorization */
448 .g0 {background: #BFE} /* cyan: info */
451 .g1 {background: #BFB} /* green: motion */
453 .g2 {background: #DFA} /* greenish: jump (g1+) */
456 .g3 {background: #FFA} /* yellow: command */
459 .g4 {background: #FDA} /* orangish: open (g5-) */
461 .g5 {background: #FCA} /* orange: insert */
464 .g6 {background: #FCC} /* red: mode */
467 .g7 {background: #ECE} /* purple: visual (g6+) */
470 .g8 {background: #CCF} /* blue: prefix */
473 .ci a:hover, .ci[onclick]:hover,
474 .g0 a:hover, .g0[onclick]:hover {background: #5ED}
476 .pm a:hover, .pm[onclick]:hover,
477 .g1 a:hover, .g1[onclick]:hover {background: #7E7}
478 .po a:hover, .po[onclick]:hover,
479 .g2 a:hover, .g2[onclick]:hover {background: #CE6}
481 .co a:hover, .co[onclick]:hover,
482 .g3 a:hover, .g3[onclick]:hover {background: #EE4}
484 .cp a:hover, .cp[onclick]:hover,
485 .g4 a:hover, .g4[onclick]:hover {background: #FA6}
486 .mi a:hover, .mi[onclick]:hover,
487 .g5 a:hover, .g5[onclick]:hover {background: #F97}
489 .mo a:hover, .mo[onclick]:hover,
490 .g6 a:hover, .g6[onclick]:hover {background: #F88}
492 .mv a:hover, .mv[onclick]:hover,
493 .g7 a:hover, .g7[onclick]:hover {background: #D9D}
495 .me a:hover, .me[onclick]:hover,
496 .g8 a:hover, .g8[onclick]:hover {background: #99F}
499 background: #EEE; /* unassigned */
503 padding: 1px; /* same size as borderlessless keys */
509 text-shadow: #F20 0 0 0.1em;
511 dl.legend dt.more:hover,
512 .keys td.more:hover b {
513 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
517 border-style: dashed;
524 /* l/r help columns */
537 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
540 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
545 float: left; /* align next to dt (except msie<=7 does just the opposite) */
550 .right dl.legend dt {
551 margin-right: -6.4em;
555 .right dl.legend dd {
565 margin: 0 0 1px; /* distinct keys */
566 height: auto; /* not key-height */
570 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
574 dl.legend-options dt {
583 margin: 6px 0; /* similar to dl legends */
599 text-decoration: none;
601 #browser td > a:active,
602 #browser td > a:hover {
603 text-decoration: underline;
609 -webkit-transition: all 1s ease-in;
610 -o-transition: all 1s ease-in;
611 -moz-transition: all 1s ease-in;
612 transition: height 1s ease-in;
614 #browser tr .aside p {
617 #browser tr.target .aside,
618 #browser tr:target .aside {
622 white-space: nowrap; /* some browsers break on dashes */
625 #browser tr:target > td:first-of-type,
626 #browser tr.focus > td:first-of-type {
629 #browser tr.focus > td {
630 border-bottom-color: #000;
647 ul.legend-set {display: none} /* current options only relevant on dynamic media */