From c33d77fbcaf37374465be779fb25bd8c73ce8707 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 15 Oct 2024 15:50:53 +0200 Subject: fix responsiveness issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- links/hero.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'links/hero.css') diff --git a/links/hero.css b/links/hero.css index 9dd4f77..924bb9d 100644 --- a/links/hero.css +++ b/links/hero.css @@ -1,12 +1,19 @@ body { width: 100vw; height: 100vh; + + display: grid; + place-items: center; +} + +main.hero { display: grid; place-items: center; } main.hero>img { max-height: 33vh; + max-width: 66vw; } main.hero>nav li+li { -- cgit 1.4.1