keyboard/altgr: resize row indentation for vmin scaling
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 19 Dec 2023 18:36:45 +0000 (19:36 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 20 Dec 2023 00:36:14 +0000 (01:36 +0100)
keyboard/altgr.css

index bc3d7a77ec1e4e7640f38b613e5e81ffd570e640..841411059b84d0e6f98df6b152e3fb1bffb9ab15 100644 (file)
@@ -1,16 +1,26 @@
-.keys .row0 {
-       display: none; /* headerless */
-}
 .keys td {
        width: 1em;
        min-width: auto;
        height: 2.25ex;
        font-size: 200%;
-       font-size: calc(7.5vmin - 9px); /* fit 12 keys to page */
+       font-size: calc(7vmin - 4px); /* fit 12 keys to page */
        overflow: visible;
        position: relative;
        padding: 0;
+       margin: 0 .2vw -1px;
+}
+
+/* row alignments */
+.keys tbody {
+       font-size: calc(1.4vmin); /* enlarged td conversion */
+}
+.row2 {margin-left: 7em}
+.row3 {margin-left: 8em}
+.row4 {margin-left: 10em}
+.keys .row0 {
+       display: none; /* headerless */
 }
+
 .keys td b {
        position: absolute; /* overlay */
        z-index: 1;