diff --git a/scenarios/xslt/edxml2html/css/styles.css b/scenarios/xslt/edxml2html/css/styles.css index 415cc8a6d8d3b74864edb793b71d0ffc4684aa59..3b479aeec7897a2ef2ef0f5905aa75adb0dd58c7 100644 --- a/scenarios/xslt/edxml2html/css/styles.css +++ b/scenarios/xslt/edxml2html/css/styles.css @@ -412,7 +412,7 @@ hr.metamark-line.doubleLine { } [data-cert="low"]::after { - content: "?"; + content: "?"; font-size: small; vertical-align: super; } @@ -423,12 +423,24 @@ hr.metamark-line.doubleLine { /* corr::before { content: "<"; } corr::after { content: ">"; } */ -.tei.sic::before { content: "!(Text:"; } +/*.tei.sic::before { content: "!(Text:"; }*/ +:has(+ .sic)::after { + content: "!"; + font-size: small; + vertical-align: super; +} +.tei.sic::before { content: "(Text:"; } .tei.sic::after { content: ")"; } -/* choice > sic:not(:last-child) { - display: none; -} */ +/* Remove unwanted whitespace in tei:choice + using this hack: https://stackoverflow.com/a/16498754 +*/ +.choice { + font-size: 0.1%; +} +.choice > * { + font-size: 100000%; +} .damage::before { content: "["; } .damage::after { content: "]"; }