summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatttttt <18152455+martholomew@users.noreply.github.com>2024-05-09 07:48:48 +0000
committerGitHub <noreply@github.com>2024-05-09 07:48:48 +0000
commit3ff226e7d175b76c2f2ef2be1fcae5af8cc162d4 (patch)
tree87c58c99ca1dab17ff33e0a6c4369b0c61bdc370
parent13278a5cf67de69678d8c4c5fb97e6eb00c94c11 (diff)
Change Details and Summary Tags CSS (#894)
* Change summary CSS Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update structured-content-overrides.css Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --------- Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
-rw-r--r--dev/data/structured-content-overrides.css3
-rw-r--r--ext/css/structured-content.css6
2 files changed, 6 insertions, 3 deletions
diff --git a/dev/data/structured-content-overrides.css b/dev/data/structured-content-overrides.css
index c792cbb6..df4f0d80 100644
--- a/dev/data/structured-content-overrides.css
+++ b/dev/data/structured-content-overrides.css
@@ -81,3 +81,6 @@
.gloss-sc-summary {
/* remove-rule */
}
+.gloss-sc-details[open] .gloss-sc-summary {
+ /* remove-rule */
+}
diff --git a/ext/css/structured-content.css b/ext/css/structured-content.css
index 2cb3fafe..e2c87beb 100644
--- a/ext/css/structured-content.css
+++ b/ext/css/structured-content.css
@@ -255,11 +255,11 @@
color: var(--text-color-light3);
}
.gloss-sc-details {
- cursor: pointer;
- padding-left: var(--list-padding2);
- border-top: calc(1em / var(--font-size-no-units)) solid var(--medium-border-color);
border-bottom: calc(1em / var(--font-size-no-units)) solid var(--medium-border-color);
}
.gloss-sc-summary {
list-style-position: outside;
}
+.gloss-sc-details[open] .gloss-sc-summary {
+ border-bottom: calc(1em / var(--font-size-no-units)) solid var(--medium-border-color);
+}