chars: enlarge glyph on row hover
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 30 Mar 2017 16:05:39 +0000 (18:05 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 24 Apr 2017 18:25:54 +0000 (20:25 +0200)
base.css
chars.plp

index 8ab767c1b2450b4c2a5d25f84286e394f529c771..d014b6197f56bacdadc3989a454b75b1790eb994 100644 (file)
--- a/base.css
+++ b/base.css
@@ -262,7 +262,7 @@ td.joinl {
 th,
 tfoot td,
 thead td {
-       border: 0;
+       border-width: 0;
        background: transparent;
 }
 .glyphs thead td {
index f9af5df7ce65348fd107f9252e5cfef55d363733..d4cf06beb480889549f60b1c0164ba89bb8d6abe 100644 (file)
--- a/chars.plp
+++ b/chars.plp
@@ -8,6 +8,15 @@ Html({
        '],
        stylesheet => [qw'light dark mono circus red'],
        data => [qw( unicode-cover.inc.pl ttfsupport unicode-char.inc.pl )],
+       raw => <<'EOT',
+<style>
+       tbody tr:hover th {
+               font-size: 300%;
+               min-width: 1.2em;
+               border-width: 1px;
+       }
+</style>
+EOT
 });
 
 use Shiar_Sheet::FormatChar;