From cc295b5da8e3db4417523a507caf106d5839d989 Mon Sep 17 00:00:00 2001 From: Prefetch Date: Wed, 2 Jun 2021 13:28:53 +0200 Subject: Introduce collapsible proofs to some articles --- static/main.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'static/main.css') diff --git a/static/main.css b/static/main.css index 5283181..542790e 100644 --- a/static/main.css +++ b/static/main.css @@ -22,3 +22,13 @@ pre {filter:invert(100%);} @media (prefers-color-scheme: dark) { body {background:#222;filter:invert(100%);} } +.accordion { + display:block; + padding:0ch 1ch; + border-style:dotted; +} +input {display:none;} +label {color:#00f;cursor:pointer;} +input + label + .hidden {display:none;} +input:checked + label {display:none;} +input:checked + label + .hidden {display:block;} -- cgit v1.2.3