From 281e0f353f03a7c143ec2391ca2ce406fc81559f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez?= Date: Thu, 20 Jan 2022 11:57:26 +0100 Subject: [PATCH] Center the whole content inside figures, not just the caption This will ensure images and captions are aligned when the image is smaller than the container. --- simple.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple.css b/simple.css index 68acb32..b898cbc 100644 --- a/simple.css +++ b/simple.css @@ -431,12 +431,12 @@ main video { figure { margin: 0; + text-align: center; } figcaption { font-size: 0.9rem; color: var(--text-light); - text-align: center; margin-bottom: 1rem; }