Make details summary more consistent

This commit is contained in:
Yuki Langley 2022-12-03 21:10:00 +01:00
parent f9553d0c76
commit 4b1303ccae

View File

@ -52,6 +52,7 @@ summary {
font-weight: 700;
margin: -0.5em -0.5em 0;
padding: 0.5em;
border-radius: 0.2em;
}
details[open] {
@ -59,7 +60,9 @@ details[open] {
}
details[open] summary {
margin-bottom: 0.5em;
margin: 0 -0.6rem 0.5rem;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
details[open] > *:not(summary):not(.admonition) {