git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c976df
)
keyboard/altgr: resize row indentation for vmin scaling
author
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 19 Dec 2023 18:36:45 +0000
(19:36 +0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 20 Dec 2023 00:36:14 +0000
(
01:36
+0100)
keyboard/altgr.css
patch
|
blob
|
history
diff --git
a/keyboard/altgr.css
b/keyboard/altgr.css
index bc3d7a77ec1e4e7640f38b613e5e81ffd570e640..841411059b84d0e6f98df6b152e3fb1bffb9ab15 100644
(file)
--- a/
keyboard/altgr.css
+++ b/
keyboard/altgr.css
@@
-1,16
+1,26
@@
-.keys .row0 {
- display: none; /* headerless */
-}
.keys td {
width: 1em;
min-width: auto;
height: 2.25ex;
font-size: 200%;
.keys td {
width: 1em;
min-width: auto;
height: 2.25ex;
font-size: 200%;
- font-size: calc(7
.5vmin - 9
px); /* fit 12 keys to page */
+ font-size: calc(7
vmin - 4
px); /* fit 12 keys to page */
overflow: visible;
position: relative;
padding: 0;
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;
.keys td b {
position: absolute; /* overlay */
z-index: 1;