From ae72fe87b5e7d26ee9839fdd1c6cb8ee96e0ef06 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 12 Feb 2021 09:19:35 -0600 Subject: [PATCH] class to center an image as a block element this is effectively a replacement for div.splash means of getting a centered header image, and can be used anywhere --- incorporealcms/static/css/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/incorporealcms/static/css/style.css b/incorporealcms/static/css/style.css index d7486eb..ed2b1da 100644 --- a/incorporealcms/static/css/style.css +++ b/incorporealcms/static/css/style.css @@ -131,6 +131,12 @@ img { max-width: 50% !important; } +.img-center { + display: block; + margin-left: auto; + margin-right: auto; +} + /* For screens with width smaller than 400px */ .figure-left .figure-right { max-width: 95%;