diff options
Diffstat (limited to 'static/misc.css')
| -rw-r--r-- | static/misc.css | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/static/misc.css b/static/misc.css index d9a491c..ab2ba35 100644 --- a/static/misc.css +++ b/static/misc.css @@ -143,6 +143,23 @@ pre { } } +summary { + display: flex; + align-items: center; + gap: var(--spacing-single); + + &::before { + display: inline-block; + width: 1em; + aspect-ratio: 1; + content: ""; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='m15 19l-1.425-1.4l4.6-4.6H2v-2h16.175L13.6 6.4L15 5l7 7z'/%3E%3C/svg%3E"); + } +} +details[open] > summary::before { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 19v-2h6.6L4 5.4L5.4 4L17 15.6V9h2v10z'/%3E%3C/svg%3E"); +} + [hidden] { display: none !important; } |
