removed header gap

This commit is contained in:
Sage The DM 2024-07-01 09:30:40 +02:00
parent 087ae2ea1f
commit 5fb87c5c50
2 changed files with 5 additions and 3 deletions

View file

@ -41,6 +41,7 @@ header {
padding: 0; /* Further reduce the padding */ padding: 0; /* Further reduce the padding */
height: auto; height: auto;
z-index: 10; /* Higher z-index to ensure it is above other elements */ z-index: 10; /* Higher z-index to ensure it is above other elements */
height: 5em;
} }
.header-content { .header-content {
@ -58,8 +59,8 @@ header {
.div-menu li { .div-menu li {
margin: 0; margin: 0;
padding: 10px;
z-index: -100; z-index: -100;
padding: 1em;
} }
.div-menu a { .div-menu a {
@ -116,7 +117,7 @@ header {
.menu.active { .menu.active {
display: flex; display: flex;
top: 11vh; top: 5em;
z-index: 0; /* Lower z-index than header, header content, and project name */ z-index: 0; /* Lower z-index than header, header content, and project name */
} }

View file

@ -41,6 +41,7 @@ header {
padding: 0; /* Further reduce the padding */ padding: 0; /* Further reduce the padding */
height: auto; height: auto;
z-index: 10; /* Higher z-index to ensure it is above other elements */ z-index: 10; /* Higher z-index to ensure it is above other elements */
height: 5em;
} }
.header-content { .header-content {
@ -116,7 +117,7 @@ header {
.menu.active { .menu.active {
display: flex; display: flex;
top: 11vh; top: 5em;
z-index: 0; /* Lower z-index than header, header content, and project name */ z-index: 0; /* Lower z-index than header, header content, and project name */
} }