aboutsummaryrefslogtreecommitdiff
path: root/src/styles/details.scss
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-23 23:00:53 -0800
committerFuwn <[email protected]>2024-01-23 23:00:53 -0800
commitd2a5bf359a4f964af342fa1d078fa16b1bd87f8b (patch)
tree1c5bcd3d44c8124c2096256646dff8db9edd203b /src/styles/details.scss
parentrefactor(html): preload stylesheets (diff)
downloaddue.moe-d2a5bf359a4f964af342fa1d078fa16b1bd87f8b.tar.xz
due.moe-d2a5bf359a4f964af342fa1d078fa16b1bd87f8b.zip
refactor(styles): move out to src
Diffstat (limited to 'src/styles/details.scss')
-rw-r--r--src/styles/details.scss22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/styles/details.scss b/src/styles/details.scss
new file mode 100644
index 00000000..86f496d6
--- /dev/null
+++ b/src/styles/details.scss
@@ -0,0 +1,22 @@
+details {
+ background-color: var(--base0011);
+ padding: 1rem;
+ border-radius: 8px;
+}
+
+summary {
+ font-size: 1.05em;
+ font-weight: 600;
+ cursor: pointer;
+ list-style: none;
+}
+
+summary small {
+ font-weight: normal;
+}
+
+.details-unstyled {
+ background-color: transparent;
+ padding: 0;
+ border-radius: 0;
+}