From 53986bfcd6545e2a9166c29891dec1fa384b4268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tillmann=20D=C3=B6nicke?= <tillmann.doenicke@uni-goettingen.de> Date: Mon, 29 Apr 2024 14:33:19 +0000 Subject: [PATCH] feat(styles): assimilate line spacing --- scenarios/xslt/edxml2html/css/styles.css | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/scenarios/xslt/edxml2html/css/styles.css b/scenarios/xslt/edxml2html/css/styles.css index 415cc8a..69e2294 100644 --- a/scenarios/xslt/edxml2html/css/styles.css +++ b/scenarios/xslt/edxml2html/css/styles.css @@ -55,12 +55,8 @@ div.column { /*::::::::::::::::::::::::::::::::::{ LINE-LEVEL }::::::::::::::::::::::::::::::::*/ .surface .line, .surface .note { - line-height: 1.5em; -} - -.surface .line:not(:last-child), -.surface .note:not(:last-child) { - margin-bottom: .3em; + line-height: 1.65em; + margin-bottom: 0.45em; } /*----------------------------------{ LINES }--------------------------------*/ @@ -170,8 +166,8 @@ hr.metamark-line.doubleLine { /*----------------------------------{ UNIT }--------------------------------*/ .philology .unit { - line-height: 1.8em; - padding-bottom: 0.6em; + line-height: 1.65em; + padding-bottom: 0.45em; } .philology .unit:hover { @@ -202,7 +198,7 @@ hr.metamark-line.doubleLine { /*---------------------------------{ TRANSLATION }------------------------------*/ .translation[data-lang="en"] { - display: none + display: none; } @@ -212,7 +208,7 @@ hr.metamark-line.doubleLine { font-family: var(--tech-font); font-size: small; line-height: 1.5; - vertical-align: super + vertical-align: super; } .lb:before { -- GitLab