3 @import url(terse.css) all and (max-width: 80em);
5 @import url(mono.css) all and (monochrome);
16 text-decoration: underline;
20 text-decoration: none;
72 /* "keyboard" (list of keys) */
74 ul#rows {margin-top: -5ex} /* top (esc) row fits besides header */
75 li.row1 {margin-left: 7em} /* row offsets relative to ~6em key width */
76 li.row2 {margin-left: 8em}
77 li.row3 {margin-left: 10em} /* should actually align to next key on row0 */
78 /* ...however rows>=1 are shifted a bit, to make space */
81 clear: both; /* start new row block (keyboard row) */
85 clear: both; /* start new row (screen row) */
86 } /* css2 selectors ignored by msie<=6 */
89 } /* css1 alternative as well (doesn't match in gecko for some reason) */
91 h3 {display: none} /* semantic details (non-css/js) */
92 li.mode {display: none} /* initially hidden (only show interactively (js)) */
100 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
101 height: 4.5ex; /* 2 lines */
105 border: 1px solid #000;
107 -moz-border-radius: 4px;
112 line-height: 2.5ex; /* inherits otherwise */
115 ul.keys.omni li { /* omni-present esc */
119 /* fine tuning of special occurrences */
121 ul.keys li b[title] { /* mnemonic hover */
124 ul.keys li[onclick]:hover { /* link */
129 ul.keys.lead li b { /* char with ctrl or leading key */
130 font-size: 100%; /* space is too limited for 2+ double-sized chars */
131 line-height: 5ex; /* keep double height though */
133 ul.keys.meta li b small,
134 ul.keys.ctrl li b small { /* meta key indicator */
136 font-weight: normal; /* nice and subtle */
139 /* character table */
146 border-collapse: collapse;
148 .glyphs thead th, .glyphs td {
150 width: 1.6em; /* regular interval */
152 .glyphs th, .glyphs td {
154 border: 1px solid #888;
166 background: transparent !important;
169 width: auto; /* no glyph cells in header */
175 font-size: 50%; /* mostly insignificant here */
178 .diinfo .glyphs tbody th {
179 text-align: right; /* variable width so keep near cells */
186 table-layout: fixed; /* prevent resizing, notably in msie6 */
188 .glyphs.dimap thead th, .glyphs.dimap td {
189 /* below-maximum size (but still average enough to be regular) so we can fit more */
190 width: 1.2em; /* msie only looks at the first row */
191 min-width: 1em; /* prevents gecko from restricting to page width */
194 text-align: center; /* row headers are also glyph-sized */
197 .glyphs.dimap tbody, .glyphs.dimap colgroup {
198 border: 2px double #888; /* major character group grid */
200 .glyphs.dimap tbody {
201 border-width: 2px 0; /* horizontal group dividers */
203 .glyphs.dimap colgroup {
204 border-width: 0 2px; /* vertical divides */
207 /* digraph selection */
210 -moz-column-width: 24em;
216 .diinfo table.glyphs {
221 /* glyph cell overlay (digraph labels) */
225 padding-bottom: 1.1ex; /* reserve space for label */
226 vertical-align: bottom;
232 margin-bottom: -2.2ex; /* take cell padding */
234 .glyphs small.digraph {
239 .glyphs small.value {
245 /* character properties */
247 td.X {background: #FFF} /* unidentified */
248 td.Xr {background: #EEE} /* reverse */
249 td.Xa {color: #0A0} /* ascii */
250 td.Xl {color: #070} /* latin1 */
251 .Xz {color: #D00} /* proposed */
253 td.Lm, td.Mc, td.Me, td.Zl, td.Zp, td.Cs {background: #F00} /* unstyled */
257 td.Greek {background: #FFE0CF}
258 td.Cyrillic {background: #FFDDA8}
259 td.Latin {background: #FFB}
261 td.Hebrew {background: #FFD}
262 td.Arabic {background: #EFE}
263 td.African {background: #DED}
264 td.XXXXXX {background: #ACB} /* same as space */
265 td.Brahmic {background: #FBB} /* same as number */
266 td.Khmer {background: #FBA}
268 td.Syllabic {background: #DEA}
269 td.Katakana {background: #DFA}
270 td.Hiragana {background: #DFC}
271 td.Bopomofo {background: #BFC}
273 /* other categories */
274 td.Nd, td.Nl, td.No {background: #FBB} /* number */
275 td.Sc {background: #FCD} /* currency */
276 td.Sm {background: #ECE} /* math */
277 td.So {background: #DCF} /* symbol */
278 td.Cf, td.Pd, td.Po {background: #CDF} /* punctuation */
279 td.Ps, td.Pe, td.Pi, td.Pf {background: #BEF} /* quote */
280 td.Lm, td.Sk {background: #CEE} /* spacing modifier */
281 td.Mn {background: #ACC} /* modifier */
282 td.Cc {color: #666; background: #BBB} /* control */
283 td.Zs {background: #ACB} /* space */
284 td.Zs span {background: #EEE}
285 td.Co {background: #A99} /* private */
287 /* implementation-based alternatives */
288 td.di-b {background: #FDD} /* bmp */
289 td.di-d {background: #FFD} /* rfc-1345 digraph */
290 td.di-prop {background: #FED} /* proposed digraph */
291 td.di-a {background: #EFD} /* ascii */
292 td.di-rare {background: #EEE} /* disfavoured */
293 td.di-invalid {background: #BBB} /* impossible */
297 td.X:hover {cursor: help}
298 td.Greek:hover {background: #FA9}
299 td.Cyrillic:hover {background: #FB7}
300 td.Latin:hover {background: #FF6}
301 td.Hebrew:hover {background: #FFA}
302 td.Arabic:hover {background: #CFD}
303 td.Hangul:hover {background: #CE6}
304 td.Katakana:hover {background: #BF7}
305 td.Hiragana:hover {background: #AF8}
306 td.Bopomofo:hover {background: #8FA}
307 td.Nd:hover, td.Nl:hover, td.No:hover {background: #F88} /* number */
308 td.Sc:hover {background: #F8C} /* currency */
309 td.Sm:hover {background: #F8F} /* math */
310 td.So:hover {background: #A8F} /* symbol */
311 td.Cf:hover, td.Pd:hover, td.Po:hover {background: #8AF} /* punctuation */
312 td.Ps:hover, td.Pe:hover, td.Pi:hover, td.Pf:hover {background: #8DF} /* quote */
313 td.Lm:hover, td.Sk:hover {background: #BFF} /* spacing modifier */
314 td.Mn:hover {background: #CDE} /* modifier */
315 td.Zs:hover {background: #CED} /* space */
316 td.Cc:hover {background: #DDD} /* control */
317 td.Co:hover {background: #A77} /* private */
318 td.Xa:hover {outline: 1px solid #0F0} /* ascii */
319 td.Xl:hover {outline: 1px solid #0C0} /* latin1 */
320 td.Xz:hover {outline: 1px solid #F00} /* proposed */
321 td.di-rare:hover {background: #BBB}
322 td.di-b:hover {background: #F88}
323 td.di-d:hover {background: #FF8}
324 td.di-prop:hover {background: #FC8}
325 td.di-a:hover {background: #CF8}
327 /* key type colorization */
329 .pm {background: #BFB} /* motion */
330 .po {background: #DFA} /* window */
331 .co {background: #FFA} /* command */
332 .ci {background: #BFE} /* info */
333 .cp {background: #FDA} /* TODO */
334 .mi {background: #FCA} /* insert mode */
335 .mo {background: #FCC} /* mode */
336 .mv {background: #ECE} /* visual mode */
337 .me {background: #CCF} /* key mode */
339 .ci[onclick]:hover {background: #5ED}
340 .mi[onclick]:hover {background: #F97}
341 .mo[onclick]:hover {background: #F88}
342 .me[onclick]:hover {background: #99F}
343 .mv[onclick]:hover {background: #D9D}
344 .co[onclick]:hover {background: #EE4}
351 padding: 1px; /* same size as borderlessless keys */
356 border-style: dashed;
357 -moz-border-radius: 0; /* incompatible with border-style */
361 border-style: dotted;
362 -moz-border-radius: 0;
365 /* l/r help columns */
378 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
381 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
386 float: left; /* align next to dt (except msie<=7 does just the opposite) */
391 .right dl.legend dt {
392 margin-right: -6.4em;
396 .right dl.legend dd {
406 margin: 0 0 1px; /* distinct keys */
407 height: auto; /* not key-height */
411 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
414 dl.legend-options dt {
423 margin: 6px 0; /* similar to dl legends */
444 ul.legend-set {display: none} /* current options only relevant on dynamic media */