From ac2a6444ef9ee010e70752dce1c93d7a2b063f39 Mon Sep 17 00:00:00 2001 From: Bauke Date: Thu, 8 Jun 2023 13:13:38 +0200 Subject: [PATCH] Add details styling. --- source/scss/common.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/scss/common.scss b/source/scss/common.scss index cde0eaf..e42bc65 100644 --- a/source/scss/common.scss +++ b/source/scss/common.scss @@ -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; }