git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
latin: encode row data in named hashes
[sheet.git]
/
latin.plp
diff --git
a/latin.plp
b/latin.plp
index e0bb6897b9bdd09d09f626857b4fe4948c30d5d2..1dcd8c7881f81f7757426665289677f3e28f7504 100644
(file)
--- a/
latin.plp
+++ b/
latin.plp
@@
-49,6
+49,9
@@
Html({
td {
white-space: nowrap;
}
td {
white-space: nowrap;
}
+ th {
+ width: auto !important;
+ }
.sample {
vertical-align: middle;
.sample {
vertical-align: middle;
@@
-86,6
+89,10
@@
Html({
padding: 0.1em;
margin-right: 0.2em;
}
padding: 0.1em;
margin-right: 0.2em;
}
+ #unistrokes svg path {
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ }
svg path:not([fill]) {
stroke: currentColor;
svg path:not([fill]) {
stroke: currentColor;
@@
-98,7
+105,7
@@
Html({
td {
vertical-align: top;
}
td {
vertical-align: top;
}
- td
>
svg {
+ td svg {
vertical-align: middle;
}
</style>
vertical-align: middle;
}
</style>
@@
-122,13
+129,17
@@
if ($! or $@) {
else {
my %VOWELCOLS = (map { ($_ => 1) } 0, 4, 8, 14, 20, 24);
say '<table class="glyphs">';
else {
my %VOWELCOLS = (map { ($_ => 1) } 0, 4, 8, 14, 20, 24);
say '<table class="glyphs">';
+ say '<thead><tr><th># <small>ASCII − 64</small>';
+ print '<td>', $_ for 1 .. 26;
+ say '</thead>';
+
for my $row (pairs @table) {
for my $row (pairs @table) {
- my ($title, $
cells
) = @{$row};
+ my ($title, $
info
) = @{$row};
printf '<tr id="%s">', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr;
say '<th>', $title;
my $colspan = 1;
my $col = 0;
printf '<tr id="%s">', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr;
say '<th>', $title;
my $colspan = 1;
my $col = 0;
- for (@{
$cells
}) {
+ for (@{
$info->{list}
}) {
$col++;
if ($_ eq '>') {
$colspan++;
$col++;
if ($_ eq '>') {
$colspan++;