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; }