latin: common styling for pigpen and nyctograph svg
[sheet.git] / latin.plp
index 9128a2834284af78a2eab632d015eedadda131c1..70c96351809ca036907fdcfd4d98bbf510e0510a 100644 (file)
--- a/latin.plp
+++ b/latin.plp
@@ -26,10 +26,17 @@ Html({
        #tap-simplified td {
                line-height: 1ex;
        }
+       #pigpen {
+               stroke-linecap: square;
+       }
+       #nyctographs,
        #old-roman-cursive {
                stroke-linecap: round;
                stroke-linejoin: round;
        }
+       #code-39 {
+               white-space: nowrap;
+       }
 
        svg path:not([fill]) {
                stroke: currentColor;
@@ -77,7 +84,7 @@ else {
                                print " colspan=$colspan";
                                $colspan = 1;
                        }
-                       print ' class=ex' if s/^-//;
+                       print ' class=', $_ ? 'ex' : 'u-invalid' if s/^-//;
                        print '>';
                        say;
                }