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 */ }