From 45ebee9dbb5ee0ff09d402e4d69c612e03f74268 Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Sat, 17 Feb 2024 11:18:38 +0100 Subject: [PATCH] [TASK] style ul --- output/style.css | 10 +++------- templates/style.css | 10 +++------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/output/style.css b/output/style.css index eb076cf..49144c4 100644 --- a/output/style.css +++ b/output/style.css @@ -49,10 +49,6 @@ details summary { font-weight: var(--pico-font-weight); } -details[open] summary { - position: sticky; -} - h4, h5, h6 { @@ -80,8 +76,8 @@ details summary { line-height: unset; } -details[open] summary { - position: sticky; +ul { + margin: var(--pico-spacing) 0; } .par { @@ -110,7 +106,7 @@ details[open] summary { --pico-font-weight: 200; font-weight: var(--pico-font-weight); - display: inline-block; + display: block; font-style: italic; padding: calc(var(--pico-spacing) / 3) 0; } diff --git a/templates/style.css b/templates/style.css index eb076cf..49144c4 100644 --- a/templates/style.css +++ b/templates/style.css @@ -49,10 +49,6 @@ details summary { font-weight: var(--pico-font-weight); } -details[open] summary { - position: sticky; -} - h4, h5, h6 { @@ -80,8 +76,8 @@ details summary { line-height: unset; } -details[open] summary { - position: sticky; +ul { + margin: var(--pico-spacing) 0; } .par { @@ -110,7 +106,7 @@ details[open] summary { --pico-font-weight: 200; font-weight: var(--pico-font-weight); - display: inline-block; + display: block; font-style: italic; padding: calc(var(--pico-spacing) / 3) 0; }