latin: middle-align all except tap codes
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 16 Apr 2017 15:26:46 +0000 (17:26 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 25 May 2017 20:10:21 +0000 (22:10 +0200)
latin.plp
writing-latn.inc.pl

index 46e985f55d2a06802d5394b20544973c3e8e9271..687e082e08b5548f8d9a752c63d4f717e72918eb 100644 (file)
--- a/latin.plp
+++ b/latin.plp
@@ -18,7 +18,6 @@ Html({
 :>
 <style>
        td {
-               vertical-align: top;
                white-space: nowrap;
        }
        th {
@@ -37,7 +36,6 @@ Html({
        }
 
        .sample {
-               vertical-align: middle;
                text-align: left;
                padding: 1px 0.3em;
                white-space: normal;
index 2c9b59f80ef842419fd04f54f589b0e060bd96e4..b9c88f065c5d3b5dff831dbc7796009d43764fc0 100644 (file)
@@ -20,6 +20,7 @@ my $spacestyle = '.sample span { margin-right: 0.5ex }';  # separate multiple le
 my @tapstyle = (
        @wrapstyle,
        '{ line-height: 1ex }',
+       'td:not(.sample) { vertical-align: top }',
        '.sample { font-size: 80% }',
 );