Merge pull request 'removed header gap' (#7) from sageTheDm/foss_alternatives:main into pages

Reviewed-on: https://codeberg.org/Patrick_Pluto/foss_alternatives/pulls/7
This commit is contained in:
Patrick 2024-07-07 16:39:24 +00:00
commit 2d259eb72f
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 */
} }