From d445a346dc578d6078191931064fc915c1bad78b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 22 Jan 2022 18:11:06 -0500 Subject: Make it so you can open/close sections of the page. --- css/garden.css | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'css') 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%; +} -- cgit v1.2.3