From 137db33cee30bde3bff48b90e0cb9d055523d376 Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Fri, 3 Nov 2023 21:40:39 +0100 Subject: [PATCH] auto heigt --- includes/styles.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/includes/styles.css b/includes/styles.css index ec49f4f..3d3bf7a 100644 --- a/includes/styles.css +++ b/includes/styles.css @@ -85,6 +85,13 @@ footer { display: block; margin-right: 0; } + header .banner { + max-width: 600px; /* Ensures the image is never larger than its container */ + height: auto; + display: block; /* Prevents inline default spacing */ + margin: 0 auto; /* Centers the image within the header */ + width: auto; /* Adjusts the width to maintain the aspect ratio */ + } } table {