werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

commit 322d16d1abbd3fb716ee9d5e53929130dd9550fb
parent 243cc5f75d27d9e86d2e10d2ed6cc5e433cd8a1f
Author: NunoSempere <nuno.sempere@protonmail.com>
Date:   Thu, 10 Mar 2022 07:24:30 +0000

tweak: Add default styling for images

and centering options, which I have found to be convenient.

Diffstat:
Mpub/style/style.css | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git 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%; +} +