diff options
-rw-r--r-- | articles/ejabberd.md | 3 | ||||
-rw-r--r-- | static/style.css | 9 |
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 { |