From fda5e83a47bc499f7add988305ef490387dfe242 Mon Sep 17 00:00:00 2001 From: gnat Date: Sat, 27 Jul 2024 15:26:24 -0700 Subject: [PATCH] add style for new image captioning --- style.css | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index d19c846..23c7888 100644 --- a/style.css +++ b/style.css @@ -227,7 +227,7 @@ section { .ignore-section { background: var(--bg); box-shadow: none; - margin: none; + margin: 0; padding: 5px 10px; } @@ -365,6 +365,30 @@ image-container { height: auto; } +figure { + display: flex; + flex-direction: column; + justify-content: flex-start; + max-width: 125%; + background: var(--bg); + margin: 0; + margin-bottom: 15px; + + > img { + height: auto; + padding: 10px; + padding-bottom: 0; + } + + > figcaption { + display: flex; + justify-content: center; + text-align: center; + padding: 5px; + margin: 0; + } +} + flex-column { width: 100%; display: flex;