X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/5629239957347a7ee23955ca39ba1f021db6d2bc..b4b5d4038ca4202826c657a746cbaf5e9a079741:/latin.plp diff --git a/latin.plp b/latin.plp index 6f8e3e0..8c2bef5 100644 --- a/latin.plp +++ b/latin.plp @@ -21,12 +21,19 @@ Html({ font-family: Suetterlin; /* R. G. Arens */ src: url("/suetterlin.ttf"); } - .glyphs tr:first-child+tr+tr td { font-family: Suetterlin } + #sütterlin td { font-family: Suetterlin } svg path:not([fill]) { stroke: currentColor; fill: none; } + + td { + vertical-align: top; + } + td > svg { + vertical-align: middle; + }

Latin alphabet

@@ -36,18 +43,25 @@ or 'mercan) letters A–Z. Also see related alphabets and common chars.

-
+
<: +use List::Util qw( pairs ); + my @table = do 'writing-latn.inc.pl'; if ($! or $@) { - printf "

Table data not found: %s.

\n", $@ || $!; + Alert("Table data not found", $@ || $!); } else { - print ''; - print ref $_ ne 'ARRAY' ? "
$_" : map {/^$_"} @$_ for @table; - print "
\n\n"; + say ''; + for my $row (pairs @table) { + my ($title, $cells) = @{$row}; + printf '', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr; + say '
', $title; + print /^$_\n" for @{$cells}; + } + say "
\n"; } -print "
\n"; +:>