about summary refs log tree commit diff
path: root/static
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2021-09-20 22:32:55 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-09-20 22:32:55 +0700
commit27cb2f10474a5bb6d5894e45a811c30e9e4b07f9 (patch)
treea95eb1ecf68b22873af1c50489cdb7001dd87cfc /static
parentb850414850a49d47ccf1a00d3fc9731fc7249361 (diff)
downloadblog-27cb2f10474a5bb6d5894e45a811c30e9e4b07f9.tar.gz
Make comic description explicit
Alt text is limited for such long text.
Diffstat (limited to 'static')
-rw-r--r--static/css/custom.css23
1 files changed, 23 insertions, 0 deletions
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;
+}