aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-09-16 22:16:03 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-09-16 22:16:03 +0100
commit3ddad0a0addfcf0761eddec48467152252d19f7d (patch)
tree0ff433beaf21c2be14af9cb0d6839fe90b7ebd33
parent99045cf9ee3034ee540f4fd0d69c31fb20850137 (diff)
downloadblossom-3ddad0a0addfcf0761eddec48467152252d19f7d.tar.gz
blossom-3ddad0a0addfcf0761eddec48467152252d19f7d.tar.bz2
blossom-3ddad0a0addfcf0761eddec48467152252d19f7d.zip
add ability to hide checklist (no js!)
Diffstat (limited to '')
-rw-r--r--articles/ejabberd.md3
-rw-r--r--static/style.css9
2 files changed, 11 insertions, 1 deletions
diff --git a/articles/ejabberd.md b/articles/ejabberd.md
index b832f70..a828cd1 100644
--- a/articles/ejabberd.md
+++ b/articles/ejabberd.md
@@ -12,8 +12,9 @@ we shall begin with a single virtualhost[^1]. for example purposes, we will use
<div>
<div class="panel checklist">
+checklist!:
+<input type="checkbox" id="hide-checklist"><label for="hide-checklist">hide</label>
-checklist!:
- [ ] add dns records
- [ ] open firewall ports
- [ ] set up web server
diff --git a/static/style.css b/static/style.css
index 039c62c..e4e3ebd 100644
--- a/static/style.css
+++ b/static/style.css
@@ -455,9 +455,18 @@ iframe {
margin: 2vw 0;
}
+input[type=checkbox]:checked~ul {
+ display: none;
+}
+
+.checklist p {
+ display: inline;
+}
+
.checklist ul {
list-style-type: none !important;
padding: 0;
+ margin-bottom: 0;
}
code {