From fb824ac07e12b01fe82e1e6ce112ce9473eb3f3b Mon Sep 17 00:00:00 2001 From: Niko Abeler Date: Sun, 6 Aug 2023 12:08:46 +0200 Subject: [PATCH] smaller images --- render/templates/base.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/render/templates/base.tmpl b/render/templates/base.tmpl index 05f17f4..4a4abd8 100644 --- a/render/templates/base.tmpl +++ b/render/templates/base.tmpl @@ -59,6 +59,14 @@ aspect-ratio: 1 / 1 ; object-fit: cover; } + + main img { + max-height: 50vh; + max-width: 80vw; + margin: auto; + text-align: center; + display: block; + } {{ .SiteConfig.HtmlHeadExtra }}