digraphs: fix relative path in shiar include tool
[sheet.git] / base.css
index d728a399f342ad065c25118ddcf14d031f6a1bb9..0149f2fd7f5bf504e366fa9bdab7e4015438de5f 100644 (file)
--- a/base.css
+++ b/base.css
@@ -140,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 */
@@ -678,6 +678,8 @@ figcaption {
        background: rgba(255, 255, 255, .66);
        right: 0;
        bottom: 0;
+       max-width: 100%;
+       box-sizing: border-box;
 }
 img {
        vertical-align: bottom;
@@ -737,6 +739,10 @@ img {
        margin-left: -60%; /* keep width */
 }
 
+body#word {
+       margin: 8px 1px;
+}
+
 /* page-specific */
 
 #browser td > a {
@@ -876,6 +882,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 */