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;
99 /* "keyboard" (list of keys) */
101 ul#rows {margin-top: -5ex} /* top (esc) row fits besides header */
102 li.row2 {margin-left: 7em} /* row offsets relative to ~6em key width */
103 li.row3 {margin-left: 8em}
104 li.row4 {margin-left: 10em} /* should actually align to next key on row0 */
105 /* ...however rows>=1 are shifted a bit, to make space */
108 clear: both; /* start new row block (keyboard row) */
112 clear: both; /* start new row (screen row) */
113 } /* css2 selectors ignored by msie<=6 */
116 } /* css1 alternative as well (doesn't match in gecko for some reason) */
118 h3 {display: none} /* semantic details (non-css/js) */
119 li.mode {display: none} /* initially hidden (only show interactively (js)) */
122 width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/
129 /* individual keys */
135 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
136 height: 4.5ex; /* 2 lines */
140 border: 1px solid #000;
142 -moz-border-radius: 4px;
147 line-height: 2.5ex; /* inherits otherwise */
150 .row0 ul.keys li { /* omni-present esc */
154 /* fine tuning of special occurrences */
156 ul.keys li b[title] { /* mnemonic hover */
159 ul.keys li[onclick]:hover { /* link */
162 ul.keys li a { /* key link */
164 text-decoration: none;
171 ul.keys.lead li b { /* char with ctrl or leading key */
172 font-size: 100%; /* space is too limited for 2+ double-sized chars */
173 line-height: 5ex; /* keep double height though */
175 ul.keys.meta li b small,
176 ul.keys.ctrl li b small { /* meta key indicator */
178 font-weight: normal; /* nice and subtle */
184 border-collapse: collapse;
188 border: 1px solid #888;
195 /* character table */
197 .glyphs thead th, .glyphs td {
198 width: 1.6em; /* regular interval */
203 .glyphs.big tbody td {
218 background: transparent !important;
221 width: auto; /* no glyph cells in header */
227 font-size: 50%; /* mostly insignificant here */
231 text-align: right; /* variable width so keep near cells */
238 table-layout: fixed; /* prevent resizing, notably in msie6 */
240 .dimap thead th, .dimap td {
241 /* below-maximum size (but still average enough to be regular) so we can fit more */
242 width: 1.2em; /* msie only looks at the first row */
243 min-width: 1em; /* prevents gecko from restricting to page width */
246 text-align: center; /* row headers are also glyph-sized */
249 .mapped tbody, .mapped colgroup,
250 .dimap tbody, .dimap colgroup {
251 border: 2px double #888; /* major character group grid */
255 border-width: 2px 0; /* horizontal group dividers */
259 border-width: 0 2px; /* vertical divides */
262 /* digraph selection */
265 -moz-column-width: 24em;
272 /* glyph cell overlay (digraph labels) */
276 padding-bottom: 1.1ex; /* reserve space for label */
277 vertical-align: bottom;
283 margin-bottom: -2.2ex; /* take cell padding */
285 .glyphs small.digraph {
290 .glyphs small.value {
296 /* character properties */
298 .X {background: #FFF} /* unidentified */
299 #digraphs .Xa {color: #0A0} /* ascii */
300 #digraphs .Xl {color: #070} /* latin1 */
301 #digraphs .Xz {color: #D00} /* proposed */
303 .Lm, .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
304 .X > span {background: #888} /* invisible contents */
308 .Greek {background: #FFE8CF}
309 .Cyrillic {background: #FFDDA8}
310 .Latin {background: #FFB}
312 .Hebrew {background: #FFD}
313 .Arabic {background: #EFE}
314 .African {background: #DED}
315 .Brahmic {background: #FBB} /* same as number */
316 .Khmer {background: #FBA}
318 .Syllabic {background: #DEA}
319 .Katakana {background: #DFA}
320 .Hiragana {background: #DFC}
321 .Bopomofo {background: #BFC}
322 .Han {background: #CFD}
323 .Alpha {background: #ADA} /* other scripts */
325 /* other categories */
326 .Nd, .Nl, .No {background: #FDD} /* number */
327 .Sc {background: #FCD} /* currency */
328 .Sm {background: #ECE} /* math */
329 .So {background: #DCF} /* symbol */
330 .Pd, .Po, .Pc {background: #CDF} /* punctuation */
331 .Ps, .Pe, .Pi, .Pf {background: #BEF} /* quote */
332 .Lm, .Sk {background: #CEE} /* spacing modifier */
333 .Mn {background: #ACC} /* modifier */
334 .Cc, .Cf {color: #666; background: #BBB} /* control */
335 .Zs {background: #ACB} /* space */
336 .Co {background: #DCC} /* private */
337 .Xi, .Cs {background: #CCC} /* invalid */
338 .Xd {color: #844} /* deprecated */
339 .Xr {color: #888} /* reserved (digraph reverse or proposal) */
340 .dimap .Xr {background: #EEE} /* reversed digraph */
341 .ccmap .Xr {opacity:.4}
344 .l1 {background: #FDD} /* no, unsupported, other */
345 .l2 {background: #FED} /* partial, restricted, unofficial */
346 /* default u-prop, u-bmp */
347 .l3 {background: #FFD} /* almost, imperfect, common */
348 /* default u-di, u-lat1 */
349 .l4 {background: #EFD} /* yes, supported, ubiquitous, native */
350 /* default u-ascii */
351 .l5 {background: #DFD} /* complete, perfect */
352 .l0 {background: #EEE} /* unknown, omitted */
353 .ex { color: #888} /* experimental, disfavoured */
354 .u-invalid {background: #BBB} /* invalid, impossible */
358 .p::after {content: '!'; color: #F00}
359 .p4::after {color: #C00}
360 .p3::after {color: #A00}
361 .p2::after {color: #800}
363 .p0::after {color: #000}
364 .p09::after {opacity: .9}
365 .p08::after {opacity: .8}
366 .p07::after {opacity: .7}
367 .p06::after {opacity: .6}
368 .p05::after {opacity: .5}
369 .p04::after {opacity: .4}
370 .p03::after {opacity: .3}
371 .p02::after {opacity: .2}
372 .p01::after {opacity: .1}
373 .p00::after {display: none}
376 .sy-comment { color: #888 }
377 .sy-constant { color: #008 }
379 .sy-identifier { color: #804 }
382 .sy-special { color: #408 }
383 .sy-error { font-weight: bold; background-color: #F00; color: #FFF }
384 .sy-todo { background-color: #FF0 }
388 .X:hover {cursor: help}
389 .X:hover > span {background: #FFF} /* whitespace marker */
390 .Greek:hover, .Armenian:hover {background: #FA8}
391 .Cyrillic:hover {background: #FB7}
392 .Latin:hover {background: #EE4}
393 .Hebrew:hover, .Aramaic:hover {background: #FFA}
394 .Arabic:hover {background: #CFD}
395 .African:hover {background: #BDB}
396 .Syllabic:hover, .Hangul:hover {background: #CE6}
397 .Katakana:hover {background: #BF7}
398 .Hiragana:hover {background: #AF8}
399 .Bopomofo:hover {background: #8FA}
400 .Brahmic:hover {background: #F77}
401 .Khmer:hover {background: #F87}
402 .Han:hover {background: #5EB}
403 .Alpha:hover {background: #5C5}
404 .Nd:hover, .Nl:hover, .No:hover {background: #F99} /* number */
405 .Sc:hover {background: #F8C} /* currency */
406 .Sm:hover {background: #F8F} /* math */
407 .So:hover {background: #A8F} /* symbol */
408 .Pd:hover, .Po:hover, .Pc:hover {background: #8AF} /* punctuation */
409 .Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
410 .Lm:hover, .Sk:hover {background: #BFF} /* spacing modifier */
411 .Mn:hover {background: #CDE} /* modifier */
412 .Zs:hover {background: #CED} /* space */
413 .Cc:hover, .Cf:hover {background: #DDD} /* control */
414 .Co:hover {background: #A77} /* private */
415 .Xr:hover {background: #FFF} /* reserved */
416 .Xa:hover {outline: 1px solid #0F0} /* ascii */
417 .Xl:hover {outline: 1px solid #0C0} /* latin1 */
418 .Xz:hover {outline: 1px solid #F00} /* proposed */
419 .l0:hover {background: #888}
420 .l1:hover {background: #F88}
421 .l2:hover {background: #FC8}
422 .l3:hover {background: #FF8}
423 .l4:hover {background: #CF8}
424 .l5:hover {background: #8F8}
426 /* key type colorization */
430 .g0 {background: #BFE} /* cyan: info */
433 .g1 {background: #BFB} /* green: motion */
435 .g2 {background: #DFA} /* greenish: jump (g1+) */
438 .g3 {background: #FFA} /* yellow: command */
441 .g4 {background: #FDA} /* orangish: open (g5-) */
443 .g5 {background: #FCA} /* orange: insert */
446 .g6 {background: #FCC} /* red: mode */
449 .g7 {background: #ECE} /* purple: visual (g6+) */
452 .g8 {background: #CCF} /* blue: prefix */
455 .ci a:hover, .ci[onclick]:hover,
456 .g0 a:hover, .g0[onclick]:hover {background: #5ED}
458 .pm a:hover, .pm[onclick]:hover,
459 .g1 a:hover, .g1[onclick]:hover {background: #7E7}
460 .po a:hover, .po[onclick]:hover,
461 .g2 a:hover, .g2[onclick]:hover {background: #CE6}
463 .co a:hover, .co[onclick]:hover,
464 .g3 a:hover, .g3[onclick]:hover {background: #EE4}
466 .cp a:hover, .cp[onclick]:hover,
467 .g4 a:hover, .g4[onclick]:hover {background: #FA6}
468 .mi a:hover, .mi[onclick]:hover,
469 .g5 a:hover, .g5[onclick]:hover {background: #F97}
471 .mo a:hover, .mo[onclick]:hover,
472 .g6 a:hover, .g6[onclick]:hover {background: #F88}
474 .mv a:hover, .mv[onclick]:hover,
475 .g7 a:hover, .g7[onclick]:hover {background: #D9D}
477 .me a:hover, .me[onclick]:hover,
478 .g8 a:hover, .g8[onclick]:hover {background: #99F}
481 background: #EEE; /* unassigned */
485 padding: 1px; /* same size as borderlessless keys */
490 text-shadow: #F20 0 0 0.1em;
492 dl.legend dt.more:hover,
493 ul.keys li.more:hover b {
494 text-shadow: #F20 0 0 0.5em, #FC0 0 0 0.2em;
498 border-style: dashed;
505 /* l/r help columns */
518 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
521 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
526 float: left; /* align next to dt (except msie<=7 does just the opposite) */
531 .right dl.legend dt {
532 margin-right: -6.4em;
536 .right dl.legend dd {
546 margin: 0 0 1px; /* distinct keys */
547 height: auto; /* not key-height */
551 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
555 dl.legend-options dt {
564 margin: 6px 0; /* similar to dl legends */
580 text-decoration: none;
582 #browser td > a:active,
583 #browser td > a:hover {
584 text-decoration: underline;
590 -webkit-transition: all 1s ease-in;
591 -o-transition: all 1s ease-in;
592 -moz-transition: all 1s ease-in;
593 transition: height 1s ease-in;
595 #browser tr .aside p {
598 #browser tr.target .aside,
599 #browser tr:target .aside {
603 white-space: nowrap; /* some browsers break on dashes */
606 #browser tr:target > td:first-of-type,
607 #browser tr.focus > td:first-of-type {
610 #browser tr.focus > td {
611 border-bottom-color: #000;
628 ul.legend-set {display: none} /* current options only relevant on dynamic media */