X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/cb397bfc503077962ce48f6dccb8fa8b6460ec0a..cf5d941b1a839d049b4f322caebaff605cdd4efc:/latin.plp?ds=sidebyside diff --git a/latin.plp b/latin.plp index e0bb689..1dcd8c7 100644 --- a/latin.plp +++ b/latin.plp @@ -49,6 +49,9 @@ Html({ td { white-space: nowrap; } + th { + width: auto !important; + } .sample { vertical-align: middle; @@ -86,6 +89,10 @@ Html({ padding: 0.1em; margin-right: 0.2em; } + #unistrokes svg path { + stroke-linecap: round; + stroke-linejoin: round; + } svg path:not([fill]) { stroke: currentColor; @@ -98,7 +105,7 @@ Html({ td { vertical-align: top; } - td > svg { + td svg { vertical-align: middle; } @@ -122,13 +129,17 @@ if ($! or $@) { else { my %VOWELCOLS = (map { ($_ => 1) } 0, 4, 8, 14, 20, 24); say ''; + say ''; + for my $row (pairs @table) { - my ($title, $cells) = @{$row}; + my ($title, $info) = @{$row}; printf '', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr; say '
# ASCII − 64'; + print '', $_ for 1 .. 26; + say '
', $title; my $colspan = 1; my $col = 0; - for (@{$cells}) { + for (@{ $info->{list} }) { $col++; if ($_ eq '>') { $colspan++;