From aa628a01b0eb3692eefb62ebc5cafa19a456845a Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Fri, 23 May 2025 15:35:06 +0700 Subject: [PATCH] Adjust slideshow size --- new.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/new.css b/new.css index 74493cc..1b0039c 100644 --- a/new.css +++ b/new.css @@ -94,8 +94,9 @@ nav a:hover { .hero-image { flex: 0 0 auto; - width: 800px; - height: 600px; + width: 500px; + /* height: 450px; */ + aspect-ratio: 4/3; max-width: 100%; overflow: hidden; } @@ -106,8 +107,8 @@ nav a:hover { box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); padding: 10px; background-color: #f7f7f7; - width: 800px; - height: 600px; + width: 100%; + height: 100%; overflow: hidden; }