X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/9721bc0377fe93bf1c88cca13871740a8bb1c497..7c6662e77e3c64d1210daa5b444a340fc57b2884:/writing-latn.inc.pl
diff --git a/writing-latn.inc.pl b/writing-latn.inc.pl
index 02fdda7..b9c88f0 100644
--- a/writing-latn.inc.pl
+++ b/writing-latn.inc.pl
@@ -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% }',
);
@@ -79,11 +80,11 @@ sub disphues {
my @lumf = $opaque ? ('hsl(%s,100%%,50%%)', 'hsl(%s,100%%,25%%)') :
('hsl(%s,100%%,50%%)', 'hsla(%s,100%%,50%%,.5)');
return sprintf(
- '',
+ '',
join '', map {
my $colf = $lumf[ $lum[$_] ];
!$colf ? () : sprintf('',
- 10 + $_, $_ == 1 ? 12 : 10, 10, sprintf($colf, $hues->[$_])
+ 5 + $_, $_ == 1 ? 7 : 5, 5, sprintf($colf, $hues->[$_])
);
} 0 .. 2
);
@@ -539,9 +540,12 @@ cmymap => {
},
dni => {
title => "D'ni",
+ style => [
+ 'svg { border: 1px solid #000 }',
+ '.sample span + span svg { border-left: 0 }',
+ ],
list => [
map {
- state $window = 'M-.5,-.5H8.5V8.5H-.5Z';
state $v = [
'',
'M0,4 8,4',
@@ -558,8 +562,8 @@ dni => {
'M4,-.5 0,4 4,8.5',
'M4,8 4,2 8,2',
];
- sprintf '',
- $window . ($h->[$_ % 5] . $v->[$_ / 5] || $v->[6]);
+ sprintf '',
+ $h->[$_ % 5] . $v->[$_ / 5] || $v->[6];
} 0 .. 5*5
],
},