commit ac8f096581ff0795d6b1fbcbfdf98ffb7ec8ae84 parent 25a69297e1e8cbad56f18415381b53c6b65c201e Author: Adriel Dumas--Jondeau <leirda@disroot.org> Date: Thu, 20 Jun 2024 18:30:01 +0200 Ajoute un encadré autour des légendes Diffstat:
M | css/duper.css | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/css/duper.css b/css/duper.css @@ -28,6 +28,7 @@ --page-padding: 1rem; --code-padding: 0.5rem; --logo-height: 4rem; + --rounded: 0.5rem; } @@ -140,6 +141,22 @@ footer ul { padding: 0; } +figure { + display: flex; + flex-direction: column; + gap: 0; + margin: 0; + padding-inline: 0; +} + +figcaption { + font-style: italic; + background-color: var(--bg-1); + padding: 1rem 1rem; + border-bottom-left-radius: var(--rounded); + border-bottom-right-radius: var(--rounded); +} + img { max-width: 100%; }