From 629578bdb456200d1456e549d965548e9b7dd705 Mon Sep 17 00:00:00 2001 From: irl Date: Thu, 2 Apr 2026 14:53:16 +0100 Subject: [PATCH] feat: styles for post figures --- assets/css/main.scss | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 0421b8c..80cccbe 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -122,4 +122,20 @@ main { padding: .75rem; text-align: center; font-weight: bold; -} \ No newline at end of file +} + +figure { + max-width: 100%; + background-color: v.$color_hr; + border: 1px solid v.$color_tertiary; + padding: 4px; +} + +figure img { + max-width: 100%; +} + +figcaption p { + margin: 4px 0; + text-align: center; +}