diff --git a/scenarios/xslt/edxml2html/css/styles.css b/scenarios/xslt/edxml2html/css/styles.css index bd7203782e339580451a6db7e5c7c75bc4ae1fae..99f05be3947bff8bfa7bb1edc85e621f2c4cb2b0 100644 --- a/scenarios/xslt/edxml2html/css/styles.css +++ b/scenarios/xslt/edxml2html/css/styles.css @@ -347,40 +347,33 @@ hr.metamark-line.doubleLine { text-indent: -0.5em; } -.note-list > input[type=checkbox]:checked ~ ul, .note-item > input[type=checkbox]:checked ~ span { display: none; } -.note-list > label * { - all: unset !important; - font-style: italic !important; -} - -.note-list > label *:hover { - *::before, *::after { - color: var(--theme-color-compl) !important; - } +.note-item { + text-align: justify; } -.note-list > ul { - list-style: none; - text-indent: -1em; - margin-left: -1em; +.note-item:not(:first-child) { + margin-top: 1em; } -.note-list > label .annotation, -.note-list > label .lb { - display: none !important; +.note-item > label { + font-variant: small-caps; + font-weight: bold; } -.note-item { - text-align: justify +.note-item > span > p { + margin: 0; + margin-top: 0.5em; + padding: 0; + text-indent: 0; } -.note-item > label { - font-variant: small-caps; - font-weight: bold; +.note-item > span > p:first-child { + display: inline; + margin-top: 0; } .unit .note-item > label:not(:has(~ input[type=checkbox]:checked))::after {