From 5fb87c5c50782f322914667d9207aff6b27981ae Mon Sep 17 00:00:00 2001 From: Sage The DM Date: Mon, 1 Jul 2024 09:30:40 +0200 Subject: [PATCH] removed header gap --- list.css | 5 +++-- styles.css | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/list.css b/list.css index 2f6ca3b..002b8e3 100644 --- a/list.css +++ b/list.css @@ -41,6 +41,7 @@ header { padding: 0; /* Further reduce the padding */ height: auto; z-index: 10; /* Higher z-index to ensure it is above other elements */ + height: 5em; } .header-content { @@ -58,8 +59,8 @@ header { .div-menu li { margin: 0; - padding: 10px; z-index: -100; + padding: 1em; } .div-menu a { @@ -116,7 +117,7 @@ header { .menu.active { display: flex; - top: 11vh; + top: 5em; z-index: 0; /* Lower z-index than header, header content, and project name */ } diff --git a/styles.css b/styles.css index ed048fd..9825902 100644 --- a/styles.css +++ b/styles.css @@ -41,6 +41,7 @@ header { padding: 0; /* Further reduce the padding */ height: auto; z-index: 10; /* Higher z-index to ensure it is above other elements */ + height: 5em; } .header-content { @@ -116,7 +117,7 @@ header { .menu.active { display: flex; - top: 11vh; + top: 5em; z-index: 0; /* Lower z-index than header, header content, and project name */ }