From 322d16d1abbd3fb716ee9d5e53929130dd9550fb Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 10 Mar 2022 07:24:30 +0000 Subject: [PATCH] tweak: Add default styling for images and centering options, which I have found to be convenient. --- pub/style/style.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pub/style/style.css b/pub/style/style.css index 348a0b9..cddb670 100644 --- a/pub/style/style.css +++ b/pub/style/style.css @@ -58,3 +58,25 @@ footer { display: flex; justify-content: space-between; } + +img { + display: block; + margin-left: auto; + margin-right: auto; + width: 80%; +} + +.img-frontpage-center { + display: block; + margin-left: auto; + margin-right: auto; + width: 30%; +} + +.img-medium-center { + display: block; + margin-left: auto; + margin-right: auto; + width: 50%; +} +