X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/921547406c8cdd5b4cffee21bca0ee56f23251dc..c30cede8817ee92f1e2dd31e6d8b0c3aa4c44ee8:/latin.plp diff --git a/latin.plp b/latin.plp index ed6f65b..7f94ebf 100644 --- a/latin.plp +++ b/latin.plp @@ -11,7 +11,7 @@ Html({ secret cursive fraktur blind braille morse deaf asl hand barcode bar color semaphore flag '], - stylesheet => [qw'light dark red'], + stylesheet => [qw( light dark red mono )], data => ['writing-latn.inc.pl'], }); @@ -35,6 +35,9 @@ Html({ #ita2 td { font-size: 50%; } + #cards td { + font-family: Symbola, "DejaVu Sans", serif, sans; + } #pigpen { stroke-linecap: square; } @@ -49,6 +52,8 @@ Html({ .sample { vertical-align: middle; + text-align: left; + padding: 1px 0.3em; } #old-roman-cursive .sample span { margin-right: -10px; @@ -68,6 +73,8 @@ Html({ margin-right: 1ex; white-space: nowrap; } + #sutton-asl .sample span, + #maritime-flags .sample span, #morse .sample span { margin-right: 0.5ex; } @@ -119,7 +126,9 @@ else { printf '', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr; say '', $title; my $colspan = 1; + my $col = 0; for (@{$cells}) { + $col++; if ($_ eq '>') { $colspan++; next; @@ -129,6 +138,7 @@ else { print " colspan=$colspan"; $colspan = 1; } + print ' hidden' if $col > 26; # sample only print ' class=', $_ ? 'ex' : 'u-invalid' if s/^-//; print '>'; say;