From adbf2cad0e8ef54c28d35c7ff9a9747ba025a9a4 Mon Sep 17 00:00:00 2001 From: gutmet Date: Mon, 25 May 2020 21:46:28 +0200 Subject: [PATCH] different img styles --- initer/styles.go | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/initer/styles.go b/initer/styles.go index cde38da..8fcf2b6 100644 --- a/initer/styles.go +++ b/initer/styles.go @@ -27,14 +27,20 @@ a.categoryListing { color: #E8E8E8; } img { - max-width: 100%; + display: block; + max-width: 80%; + margin-left: auto; + margin-right: auto; +} +img.gallery { + display: unset; + max-width: unset; + margin-left: unset; + margin-right: unset; } div.blogpost { padding-bottom: 50px; } -div.blogpost img { - max-width: 50%; -} div.navigation { padding-bottom: 0.5em; }