X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/6fcc37bb969a9298ef5ad850d8b8361fe6ca3a5a..d9ec472869a2c33c469cad90a21b221f14f29af3:/base.css diff --git a/base.css b/base.css index 30d8bc4..c5a36f2 100644 --- a/base.css +++ b/base.css @@ -115,6 +115,9 @@ body > pre { border-style: solid; white-space: pre; } +code { + white-space: nowrap; +} h1 small, h2 small { @@ -137,7 +140,7 @@ dl > dd { /* "keyboard" (list of keys) */ -#rows {margin-top: -5ex} /* top (esc) row fits besides header */ +.row0 {margin-top: -5ex} /* top (esc) row fits besides header */ .row2 {margin-left: 7em} /* row offsets relative to ~6em key width */ .row3 {margin-left: 8em} .row4 {margin-left: 10em} /* should actually align to next key on row1 */ @@ -873,6 +876,16 @@ body .magic-perma { /* terse optimisation */ +@media (min-height: 112ex) and (min-width: 90em) { + table.keys { + width: auto; + } + .keys td { + padding: 1ex 0 1ex .1em; + width: 7em; + } +} + @media (max-width: 79em) { .keys td { position: relative; /* hides overflow */