[TASK] style ul

This commit is contained in:
Marie Birner 2024-02-17 11:18:38 +01:00
parent 10c2174717
commit 45ebee9dbb
2 changed files with 6 additions and 14 deletions

View File

@ -49,10 +49,6 @@ details summary {
font-weight: var(--pico-font-weight); font-weight: var(--pico-font-weight);
} }
details[open] summary {
position: sticky;
}
h4, h4,
h5, h5,
h6 { h6 {
@ -80,8 +76,8 @@ details summary {
line-height: unset; line-height: unset;
} }
details[open] summary { ul {
position: sticky; margin: var(--pico-spacing) 0;
} }
.par { .par {
@ -110,7 +106,7 @@ details[open] summary {
--pico-font-weight: 200; --pico-font-weight: 200;
font-weight: var(--pico-font-weight); font-weight: var(--pico-font-weight);
display: inline-block; display: block;
font-style: italic; font-style: italic;
padding: calc(var(--pico-spacing) / 3) 0; padding: calc(var(--pico-spacing) / 3) 0;
} }

View File

@ -49,10 +49,6 @@ details summary {
font-weight: var(--pico-font-weight); font-weight: var(--pico-font-weight);
} }
details[open] summary {
position: sticky;
}
h4, h4,
h5, h5,
h6 { h6 {
@ -80,8 +76,8 @@ details summary {
line-height: unset; line-height: unset;
} }
details[open] summary { ul {
position: sticky; margin: var(--pico-spacing) 0;
} }
.par { .par {
@ -110,7 +106,7 @@ details[open] summary {
--pico-font-weight: 200; --pico-font-weight: 200;
font-weight: var(--pico-font-weight); font-weight: var(--pico-font-weight);
display: inline-block; display: block;
font-style: italic; font-style: italic;
padding: calc(var(--pico-spacing) / 3) 0; padding: calc(var(--pico-spacing) / 3) 0;
} }