From e011dac036d1bc6f5c9b8e564c4b9f28840e4051 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 3 Apr 2017 01:47:38 +0200 Subject: [PATCH] latin: sample letter spacing --- latin.plp | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/latin.plp b/latin.plp index 78b52cb..9d9cadf 100644 --- a/latin.plp +++ b/latin.plp @@ -40,10 +40,29 @@ Html({ white-space: nowrap; } - #pigpen .sample > svg { + .sample { + vertical-align: middle; + } + #old-roman-cursive .sample span { + margin-right: -10px; + } + #tap-code .sample, + #tap-simplified .sample { + font-size: 80%; + word-spacing: 0; + } + #tap-code .sample span, + #tap-simplified .sample span { + margin-right: 1ex; + white-space: nowrap; + } + #morse .sample span { + margin-right: 0.5ex; + } + #pigpen .sample svg { margin-right: 0.1em; } - #nyctographs .sample > svg { + #nyctographs .sample svg { background: rgba(0,0,0, .1); padding: 0.1em; margin-right: 0.2em; @@ -135,7 +154,7 @@ inputel.oninput = function () { output += '   '; } else { - output += cols[col].innerHTML.trimRight(); + output += '' + cols[col].innerHTML.trimRight() + ''; } } samplecol.innerHTML = output; -- 2.30.0