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: distinguish titles from row identifiers
[sheet.git]
/
latin.plp
diff --git
a/latin.plp
b/latin.plp
index b63114cbb4c3c9e8dc6d91355d5894ae6222768d..58c103f3f74dda9ead95c6e4e545e72876a1e239 100644
(file)
--- a/
latin.plp
+++ b/
latin.plp
@@
-21,15
+21,15
@@
Html({
font-family: Suetterlin; /* R. G. Arens */
src: url("/suetterlin.ttf");
}
font-family: Suetterlin; /* R. G. Arens */
src: url("/suetterlin.ttf");
}
- #s
ΓΌ
tterlin td { font-family: Suetterlin }
+ #s
ue
tterlin td { font-family: Suetterlin }
#ita2 td,
#ita2 td,
- #tap
-code
td,
- #short
-
tap td {
+ #tap td,
+ #shorttap td {
white-space: normal;
word-spacing: 5em; /* force line break between words */
}
white-space: normal;
word-spacing: 5em; /* force line break between words */
}
- #tap
-code
td,
- #short
-
tap td {
+ #tap td,
+ #shorttap td {
line-height: 1ex;
}
#ita2 td {
line-height: 1ex;
}
#ita2 td {
@@
-42,7
+42,7
@@
Html({
stroke-linecap: square;
}
#nyctographs,
stroke-linecap: square;
}
#nyctographs,
- #
old-roman-cursive
{
+ #
roman
{
stroke-linecap: round;
stroke-linejoin: round;
}
stroke-linecap: round;
stroke-linejoin: round;
}
@@
-58,26
+58,26
@@
Html({
text-align: left;
padding: 1px 0.3em;
}
text-align: left;
padding: 1px 0.3em;
}
- #
old-roman-cursive
.sample span {
+ #
roman
.sample span {
margin-right: -10px;
}
margin-right: -10px;
}
- #tap
-code
.sample,
- #short
-
tap .sample {
+ #tap .sample,
+ #shorttap .sample {
font-size: 80%;
}
#ita2 .sample,
font-size: 80%;
}
#ita2 .sample,
- #tap
-code
.sample,
- #short
-
tap .sample {
+ #tap .sample,
+ #shorttap .sample {
word-spacing: 0;
}
#ita2 .sample span,
word-spacing: 0;
}
#ita2 .sample span,
- #tap
-code
.sample span,
- #short
-
tap .sample span {
+ #tap .sample span,
+ #shorttap .sample span {
margin-right: 1ex;
white-space: nowrap;
}
margin-right: 1ex;
white-space: nowrap;
}
- #sutton
-asl
.sample span,
- #maritime
-flags
.sample span,
+ #sutton .sample span,
+ #maritime .sample span,
#morse .sample span {
margin-right: 0.5ex;
}
#morse .sample span {
margin-right: 0.5ex;
}
@@
-89,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;
@@
-101,7
+105,7
@@
Html({
td {
vertical-align: top;
}
td {
vertical-align: top;
}
- td
>
svg {
+ td svg {
vertical-align: middle;
}
</style>
vertical-align: middle;
}
</style>
@@
-130,12
+134,14
@@
else {
say '</thead>';
for my $row (pairs @table) {
say '</thead>';
for my $row (pairs @table) {
- my ($title, $cells) = @{$row};
- printf '<tr id="%s">', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr;
- say '<th>', $title;
+ my ($id, $info) = @{$row};
+
+ printf '<tr id="%s">', $id;
+ say '<th>', $info->{title} // ucfirst $id;
+
my $colspan = 1;
my $col = 0;
my $colspan = 1;
my $col = 0;
- for (@{
$cells
}) {
+ for (@{
$info->{list}
}) {
$col++;
if ($_ eq '>') {
$colspan++;
$col++;
if ($_ eq '>') {
$colspan++;