summaryrefslogtreecommitdiff
path: root/ext/css
diff options
context:
space:
mode:
authorMatttttt <18152455+martholomew@users.noreply.github.com>2024-04-22 16:38:04 +0000
committerGitHub <noreply@github.com>2024-04-22 16:38:04 +0000
commit808ddef82a8eabc77ba20a0da89a392926550e76 (patch)
treefd04053c2f5355ac03828ea5206e3fa6c9a4a6c4 /ext/css
parent4873a8db20dd3d3efbf4611b455500b0b03efddf (diff)
Added Details and Summary tags to Structured Content (#842)
* add details and summary tags * fixed css test --------- Co-authored-by: martholomew <martholomew@users.noreply.github.com>
Diffstat (limited to 'ext/css')
-rw-r--r--ext/css/structured-content.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/css/structured-content.css b/ext/css/structured-content.css
index 532f1e54..2cb3fafe 100644
--- a/ext/css/structured-content.css
+++ b/ext/css/structured-content.css
@@ -254,3 +254,12 @@
display: inline;
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;
+}