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