aboutsummaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
Diffstat (limited to 'sass')
-rw-r--r--sass/abridge.scss17
1 files changed, 16 insertions, 1 deletions
diff --git a/sass/abridge.scss b/sass/abridge.scss
index a4190b2..cf6960a 100644
--- a/sass/abridge.scss
+++ b/sass/abridge.scss
@@ -1182,6 +1182,21 @@ $syntax: true !default;//syntax highlighting for code blocks
max-width: 30rem;
margin: var(--s2) auto;
}
+
+ // Hides the next .hidden_li element when details is closed
+ details:not([open]) + .hidden_li {
+ height: 0;
+ visibility: hidden;
+ overflow: hidden;
+ }
+
+ summary {
+ margin-left: -1em;
+ margin-bottom: .2rem;
+ color: var(--c4);
+ }
+
+
.blockdiv {
border-radius: var(--br);
border-top: 5px solid var(--a1);
@@ -1575,4 +1590,4 @@ $syntax: true !default;//syntax highlighting for code blocks
//.z-variable.z-language.z-fenced.z-markdown {
// color: var(--h1);
//}
-}
+} \ No newline at end of file