Add details styling.

This commit is contained in:
Bauke 2023-06-08 13:13:38 +02:00
parent e4847a6c57
commit ac2a6444ef
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 14 additions and 0 deletions

View File

@ -36,6 +36,20 @@ li {
padding: 0;
}
details {
border: 1px dashed var(--foreground-1);
summary {
background-color: var(--background-2);
cursor: pointer;
padding: var(--medium-spacing);
}
&[open] > summary {
border-bottom: 1px dashed var(--foreground-1);
}
}
.bold {
font-weight: bold;
}