summaryrefslogtreecommitdiff
path: root/css/garden.css
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2022-01-22 18:11:06 -0500
committerDavid Thompson <dthompson@vistahigherlearning.com>2022-01-22 18:11:06 -0500
commitd445a346dc578d6078191931064fc915c1bad78b (patch)
tree4a5a1ade4abb99a60326eae248a7228c3096d5a2 /css/garden.css
parente258aaa656e9dcc3b61341ddf00e1ba7815b23a7 (diff)
Make it so you can open/close sections of the page.
Diffstat (limited to 'css/garden.css')
-rw-r--r--css/garden.css16
1 files changed, 14 insertions, 2 deletions
diff --git a/css/garden.css b/css/garden.css
index 49f78c4..a2693dc 100644
--- a/css/garden.css
+++ b/css/garden.css
@@ -494,7 +494,6 @@ a:visited {
background-color: #000000bb;
}
-
.modal {
position: fixed;
border-radius: 4px;
@@ -529,9 +528,22 @@ a:visited {
}
}
-
.detail-subheading {
padding-left: 1rem;
opacity: 60%;
font-size: 70%;
}
+
+h2.open, h2.closed {
+ cursor: pointer;
+}
+
+h2.open::after {
+ content: " ▼";
+ font-size: 75%;
+}
+
+h2.closed::after {
+ content: " ▲";
+ font-size: 75%;
+}