X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f1614fb2f16c1e75c8dcef8a9d3e1e46cc236bee..v1.2-135-g9a4d896:/base.css diff --git a/base.css b/base.css index b566045..b22c038 100644 --- a/base.css +++ b/base.css @@ -1,9 +1,3 @@ -/* media features */ - -@import url(terse.css) all and (max-width: 80em); - -@import url(mono.css) all and (monochrome); - /* general */ body { @@ -42,16 +36,22 @@ hr { margin: 0; } -.section h2 { +section { + display: block; +} +section ul { + margin-bottom: 1ex; +} +section h2 { margin: 0 1ex; clear: both; } -.section table { +section table { float: left; position: relative; /* prevents buggy hovering in table if caption present in gecko */ margin: 1ex 1ex 2ex; } -#charset .section table { +#charset section table { margin: -0.5ex 0 1ex; /* headers provide sufficient spacing already */ } @@ -61,10 +61,10 @@ p { p.aside { font-size: 80%; } -p.footer { +footer p { margin: 1em 0 0; } -.help + .footer { +.help + footer p { margin: 0; } @@ -142,6 +142,13 @@ ul.keys li b[title] { /* mnemonic hover */ ul.keys li[onclick]:hover { /* link */ cursor: pointer; } +ul.keys li a { /* key link */ + color: inherit; + text-decoration: none; + display: block; + height: 100%; +} + ul.keys.meta li b, ul.keys.ctrl li b, ul.keys.lead li b { /* char with ctrl or leading key */ @@ -237,7 +244,7 @@ table.glyphs.dimap { .diinfo { -moz-column-width: 24em; } -.diinfo > div { +.diinfo > section { overflow: hidden; } @@ -390,14 +397,14 @@ td.di-a:hover {background: #CF8} .mv {background: #ECE} /* visual mode */ .me {background: #CCF} /* key mode */ -.pm[onclick]:hover {background: #7E7} -.po[onclick]:hover {background: #CE6} -.ci[onclick]:hover {background: #5ED} -.mi[onclick]:hover {background: #F97} -.mo[onclick]:hover {background: #F88} -.me[onclick]:hover {background: #99F} -.mv[onclick]:hover {background: #D9D} -.co[onclick]:hover {background: #EE4} +.pm a:hover, .pm[onclick]:hover {background: #7E7} +.po a:hover, .po[onclick]:hover {background: #CE6} +.ci a:hover, .ci[onclick]:hover {background: #5ED} +.mi a:hover, .mi[onclick]:hover {background: #F97} +.mo a:hover, .mo[onclick]:hover {background: #F88} +.me a:hover, .me[onclick]:hover {background: #99F} +.mv a:hover, .mv[onclick]:hover {background: #D9D} +.co a:hover, .co[onclick]:hover {background: #EE4} .no { background: #EEE;