From 27cb2f10474a5bb6d5894e45a811c30e9e4b07f9 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Mon, 20 Sep 2021 22:32:55 +0700 Subject: Make comic description explicit Alt text is limited for such long text. --- static/css/custom.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'static') diff --git a/static/css/custom.css b/static/css/custom.css index 4baab30..55eb5e8 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -121,3 +121,26 @@ a:hover { .red-text { color: red; } + +details { + margin-top: 1em; + margin-bottom: 1em; + border: 1px solid #aaa; + border-radius: 4px; + padding: .5em .5em 0; +} + +summary { + font-weight: bold; + margin: -.5em -.5em 0; + padding: .5em; +} + +details[open] { + padding: .5em; +} + +details[open] summary { + border-bottom: 1px solid #aaa; + margin-bottom: .5em; +} -- cgit 1.4.1