X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/024fef82307d7b421c8ec3ebee930b774427a745..2a42e0f710c6b78c8e469bd3fd3d6b99e2007a16:/latin.plp diff --git a/latin.plp b/latin.plp index 4326f55..193779b 100644 --- a/latin.plp +++ b/latin.plp @@ -25,17 +25,56 @@ Html({ #tap-code td, #tap-simplified td { line-height: 1ex; + white-space: normal; + word-spacing: 5em; /* force line break between words */ } + #pigpen { + stroke-linecap: square; + } + #nyctographs, #old-roman-cursive { - stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; } + td { + white-space: nowrap; + } + + .sample { + vertical-align: middle; + } + #old-roman-cursive .sample span { + margin-right: -10px; + } + #tap-code .sample, + #tap-simplified .sample { + font-size: 80%; + word-spacing: 0; + } + #tap-code .sample span, + #tap-simplified .sample span { + margin-right: 1ex; + white-space: nowrap; + } + #morse .sample span { + margin-right: 0.5ex; + } + #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; fill: none; } + svg circle:not([fill]) { + fill: currentColor; + } td { vertical-align: top; @@ -50,7 +89,7 @@ Html({

Variant encodings of the common ASCII (latin, roman, or 'mercan) letters A–Z. Also see related alphabets -and common chars.

+and font comparison.

@@ -67,10 +106,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"; } :>
+