git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keyboard/altgr/index: enlarge header font only if appropriate
[sheet.git]
/
keyboard
/
altgr
/
index.inc.plp
diff --git
a/keyboard/altgr/index.inc.plp
b/keyboard/altgr/index.inc.plp
index d4d8bdeabb5c7b200fe6962ff03beb9a92bfb58d..172d93105074b8d7528fff8a95346c6c9281ee7a 100644
(file)
--- a/
keyboard/altgr/index.inc.plp
+++ b/
keyboard/altgr/index.inc.plp
@@
-32,6
+32,14
@@
Html({
.keys.big.cmp tbody {
font-size: 150%;
}
.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;
}
.keys.cmp tbody {
display: table-row-group;
}
@@
-164,7
+172,8
@@
for my $inc (sort {
print "\t<td class=ni>";
print join ' ', map { $caticon{$_} // () } split m{/}, $keys->{category};
say '';
print "\t<td class=ni>";
print join ' ', map { $caticon{$_} // () } split m{/}, $keys->{category};
say '';
- $keys->print_key('', $_, $keys->{def}{''}{$_} // 'ni') for @sample;
+ $keys->print_key('', $_, ($keys->{def}{''}{$_} // 'ni') =~ s/ mode\S*//r)
+ for @sample;
say '</tr>';
}
}
say '</tr>';
}
}