From b07eb8d1c06e582e5f177c159d820778029a9d93 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 5 Oct 2024 17:56:32 +0200 Subject: use html figurecaption + fix caption css --- _sass/image.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to '_sass/image.css') diff --git a/_sass/image.css b/_sass/image.css index 3e98ae4..f1d48bb 100644 --- a/_sass/image.css +++ b/_sass/image.css @@ -1,8 +1,16 @@ -img { - position: relative; +img, figure { display: block; margin: 0 auto var(--page-margins) auto; max-width: 500px; +} + +img { + position: relative; overflow: visible; } +figure { + opacity: .8; + font-style: italic; +} + -- cgit v1.2.3