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;
66 /* "keyboard" (list of keys) */
73 ul#rows {margin-top: -5ex} /* top (esc) row fits besides header */
74 li.row1 {margin-left: 7em} /* row offsets relative to ~6em key width */
75 li.row2 {margin-left: 8em}
76 li.row3 {margin-left: 10em} /* should actually align to next key on row0 */
77 /* ...however rows>=1 are shifted a bit, to make space */
80 clear: both; /* start new row block (keyboard row) */
84 clear: both; /* start new row (screen row) */
85 } /* css2 selectors ignored by msie<=6 */
88 } /* css1 alternative as well (doesn't match in gecko for some reason) */
90 h3 {display: none} /* semantic details (non-css/js) */
91 li.mode {display: none} /* initially hidden (only show interactively (js)) */
99 line-height: 2.25ex; /* a little terser (seems to be gecko's default anyway) */
100 height: 4.5ex; /* 2 lines */
104 border: 1px solid #000;
106 -moz-border-radius: 4px;
111 line-height: 2.5ex; /* inherits otherwise */
114 ul.keys.omni li { /* omni-present esc */
118 /* fine tuning of special occurrences */
120 ul.keys li b[title] { /* mnemonic hover */
123 ul.keys li[onclick]:hover { /* link */
128 ul.keys.lead li b { /* char with ctrl or leading key */
129 font-size: 100%; /* space is too limited for 2+ double-sized chars */
130 line-height: 5ex; /* keep double height though */
132 ul.keys.meta li b small,
133 ul.keys.ctrl li b small { /* meta key indicator */
135 font-weight: normal; /* nice and subtle */
138 /* character table */
145 border-collapse: collapse;
147 .glyphs thead th, .glyphs td {
149 width: 1.6em; /* regular interval */
151 .glyphs th, .glyphs td {
153 border: 1px solid #888;
165 background: transparent !important;
168 width: auto; /* no glyph cells in header */
174 font-size: 50%; /* mostly insignificant here */
177 .diinfo .glyphs tbody th {
178 text-align: right; /* variable width so keep near cells */
185 table-layout: fixed; /* prevent resizing, notably in msie6 */
187 .glyphs.dimap thead th, .glyphs.dimap td {
188 /* below-maximum size (but still average enough to be regular) so we can fit more */
189 width: 1.2em; /* msie only looks at the first row */
190 min-width: 1em; /* prevents gecko from restricting to page width */
193 text-align: center; /* row headers are also glyph-sized */
196 .glyphs.dimap tbody, .glyphs.dimap colgroup {
197 border: 2px double #888; /* major character group grid */
199 .glyphs.dimap tbody {
200 border-width: 2px 0; /* horizontal group dividers */
202 .glyphs.dimap colgroup {
203 border-width: 0 2px; /* vertical divides */
206 /* digraph selection */
209 -moz-column-width: 24em;
215 .diinfo table.glyphs {
220 /* glyph cell overlay (digraph labels) */
224 padding-bottom: 1.1ex; /* reserve space for label */
225 vertical-align: bottom;
231 margin-bottom: -2.2ex; /* take cell padding */
233 .glyphs small.digraph {
238 .glyphs small.value {
244 /* character properties */
246 td.X {background: #FFF} /* unidentified */
247 td.Xr {background: #EEE} /* reverse */
248 td.Xa {color: #0A0} /* ascii */
249 td.Xl {color: #070} /* latin1 */
250 .Xz {color: #D00} /* proposed */
252 td.Lm, td.Mc, td.Me, td.Zl, td.Zp, td.Cs {background: #F00} /* unstyled */
255 td.Greek {background: #FFE0CF}
256 td.Cyrillic {background: #FFDDA8}
257 td.Latin {background: #FFB}
258 td.Hebrew {background: #FFD}
259 td.Arabic {background: #EFE}
260 td.Hangul {background: #DEA}
261 td.Katakana {background: #DFA}
262 td.Hiragana {background: #DFC}
263 td.Bopomofo {background: #BFC}
265 /* other categories */
266 td.Nd, td.Nl, td.No {background: #FBB} /* number */
267 td.Sc {background: #FCD} /* currency */
268 td.Sm {background: #ECE} /* math */
269 td.So {background: #DCF} /* symbol */
270 td.Cf, td.Pd, td.Po {background: #CDF} /* punctuation */
271 td.Ps, td.Pe, td.Pi, td.Pf {background: #BEF} /* quote */
272 td.Lm, td.Sk {background: #CEE} /* spacing modifier */
273 td.Mn {background: #ACC} /* modifier */
274 td.Cc {color: #666; background: #BBB} /* control */
275 td.Zs {background: #ACB} /* space */
276 td.Zs span {background: #EEE}
277 td.Co {background: #A99} /* private */
279 /* implementation-based alternatives */
280 td.di-b {background: #FDD} /* bmp */
281 td.di-d {background: #FFD} /* rfc-1345 digraph */
282 td.di-prop {background: #FED} /* proposed digraph */
283 td.di-a {background: #EFD} /* ascii */
284 td.di-rare {background: #EEE} /* disfavoured */
285 td.di-invalid {background: #BBB} /* impossible */
289 td.X:hover {cursor: help}
290 td.Greek:hover {background: #FA9}
291 td.Cyrillic:hover {background: #FB7}
292 td.Latin:hover {background: #FF6}
293 td.Hebrew:hover {background: #FFA}
294 td.Arabic:hover {background: #CFD}
295 td.Hangul:hover {background: #CE6}
296 td.Katakana:hover {background: #BF7}
297 td.Hiragana:hover {background: #AF8}
298 td.Bopomofo:hover {background: #8FA}
299 td.Nd:hover, td.Nl:hover, td.No:hover {background: #F88} /* number */
300 td.Sc:hover {background: #F8C} /* currency */
301 td.Sm:hover {background: #F8F} /* math */
302 td.So:hover {background: #A8F} /* symbol */
303 td.Cf:hover, td.Pd:hover, td.Po:hover {background: #8AF} /* punctuation */
304 td.Ps:hover, td.Pe:hover, td.Pi:hover, td.Pf:hover {background: #8DF} /* quote */
305 td.Lm:hover, td.Sk:hover {background: #BFF} /* spacing modifier */
306 td.Mn:hover {background: #CDE} /* modifier */
307 td.Zs:hover {background: #CED} /* space */
308 td.Cc:hover {background: #DDD} /* control */
309 td.Co:hover {background: #A77} /* private */
310 td.Xa:hover {outline: 1px solid #0F0} /* ascii */
311 td.Xl:hover {outline: 1px solid #0C0} /* latin1 */
312 td.Xz:hover {outline: 1px solid #F00} /* proposed */
313 td.di-rare:hover {background: #BBB}
314 td.di-b:hover {background: #F88}
315 td.di-d:hover {background: #FF8}
316 td.di-prop:hover {background: #FC8}
317 td.di-a:hover {background: #CF8}
319 /* key type colorization */
321 .pm {background: #BFB} /* motion */
322 .po {background: #DFA} /* window */
323 .co {background: #FFA} /* command */
324 .ci {background: #BFE} /* info */
325 .cp {background: #FDA} /* TODO */
326 .mi {background: #FCA} /* insert mode */
327 .mo {background: #FCC} /* mode */
328 .mv {background: #ECE} /* visual mode */
329 .me {background: #CCF} /* key mode */
331 .ci[onclick]:hover {background: #5ED}
332 .mi[onclick]:hover {background: #F97}
333 .mo[onclick]:hover {background: #F88}
334 .me[onclick]:hover {background: #99F}
335 .mv[onclick]:hover {background: #D9D}
336 .co[onclick]:hover {background: #EE4}
343 padding: 1px; /* same size as borderlessless keys */
348 border-style: dashed;
349 -moz-border-radius: 0; /* incompatible with border-style */
353 border-style: dotted;
354 -moz-border-radius: 0;
357 /* l/r help columns */
370 margin-left: 6.4em; /* a bit over 6.2em to allow for borders+padding (border-sizing would work too) */
373 margin-left: -6.4em; /* msie<=6 multiply this by two for some reason */
378 float: left; /* align next to dt (except msie<=7 does just the opposite) */
383 .right dl.legend dt {
384 margin-right: -6.4em;
388 .right dl.legend dd {
398 margin: 0 0 1px; /* distinct keys */
399 height: auto; /* not key-height */
403 margin: 3px 0.4em 0; /* align text (add dt border+padding height) */
406 dl.legend-options dt {
415 margin: 6px 0; /* similar to dl legends */
436 ul.legend-set {display: none} /* current options only relevant on dynamic media */