X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/d1bf245dac9f5a1401ac536b5a19fff9aa39b72f..584c356f502e31cb613b9a6d6b146806540f22ff:/keyboard/altgr.css?ds=sidebyside diff --git a/keyboard/altgr.css b/keyboard/altgr.css index 50c182f..92a4393 100644 --- a/keyboard/altgr.css +++ b/keyboard/altgr.css @@ -1,20 +1,30 @@ -.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; - top: 3.3ex; /* halfway over bottom */ + top: -1.2ex; /* halfway over shift */ left: 0; right: 0; font-size: 50%; @@ -22,6 +32,7 @@ color: #FFF; line-height: 2.25ex; } +.keys .meta td b, .keys .shift td b { display: none; }