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; }