keyboard/altgr/index: enlarge header font only if appropriate
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 19 Mar 2024 20:16:05 +0000 (21:16 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 8 Apr 2024 15:39:26 +0000 (17:39 +0200)
Keep normal size to fit on mobile.

keyboard/altgr/index.inc.plp

index 5abdf41c7dd601b39d88a8653fe78498e1ed53ac..172d93105074b8d7528fff8a95346c6c9281ee7a 100644 (file)
@@ -32,6 +32,14 @@ Html({
 .keys.big.cmp tbody {
        font-size: 150%;
 }
+@media (max-width: 48em) {
+       .keys.big.cmp tbody {
+               font-size: 100%;
+       }
+       .keys.big.cmp tbody a {
+               white-space: normal;
+       }
+}
 .keys.cmp tbody {
        display: table-row-group;
 }