X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/024fef82307d7b421c8ec3ebee930b774427a745..702b51ff727f2c656298459138f0ef39dc77293a:/latin.plp?ds=sidebyside diff --git a/latin.plp b/latin.plp index 4326f55..d9f8be7 100644 --- a/latin.plp +++ b/latin.plp @@ -26,11 +26,26 @@ Html({ #tap-simplified td { line-height: 1ex; } + #pigpen { + stroke-linecap: square; + } + #nyctographs, #old-roman-cursive { - stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; } + td { + white-space: nowrap; + } + + #pigpen .sample > svg { + margin-right: 0.1em; + } + #nyctographs .sample > svg { + background: rgba(0,0,0, .1); + padding: 0.1em; + margin-right: 0.2em; + } svg path:not([fill]) { stroke: currentColor; @@ -67,10 +82,66 @@ else { my ($title, $cells) = @{$row}; printf '', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr; say '', $title; - say "\t", '' x !/^') { + $colspan++; + next; + } + print "\t 1) { + print " colspan=$colspan"; + $colspan = 1; + } + print ' class=', $_ ? 'ex' : 'u-invalid' if s/^-//; + print '>'; + say; + } } say "\n"; } :> +