X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f79340dbeb55e76eeaf2b6fb1518cae466afcdf9..v1.2-135-g9a4d896:/base.css diff --git a/base.css b/base.css index 2529b0b..b22c038 100644 --- a/base.css +++ b/base.css @@ -36,19 +36,22 @@ hr { margin: 0; } -.section ul { +section { + display: block; +} +section ul { margin-bottom: 1ex; } -.section h2 { +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 */ } @@ -58,10 +61,10 @@ p { p.aside { font-size: 80%; } -p.footer { +footer p { margin: 1em 0 0; } -.help + .footer { +.help + footer p { margin: 0; } @@ -139,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 */ @@ -234,7 +244,7 @@ table.glyphs.dimap { .diinfo { -moz-column-width: 24em; } -.diinfo > div { +.diinfo > section { overflow: hidden; } @@ -387,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;