mirror of
https://github.com/nix-dot-dev/nix.dev.git
synced 2024-10-06 10:07:21 +03:00
Make details summary more consistent
This commit is contained in:
parent
f9553d0c76
commit
4b1303ccae
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user