Merge pull request 'Please finally notice my work' (#9) from sageTheDm/FreeTTRPG:pages into pages

Reviewed-on: https://codeberg.org/Patrick_Pluto/FreeTTRPG/pulls/9
This commit is contained in:
Patrick 2024-07-01 09:37:38 +00:00
commit abeac84589

View file

@ -19,18 +19,6 @@ body {
padding: 0;
}
.div-menu{
z-index: 1;
background-color: #211c1c;
width: 100%;
position: fixed;
top: 0;
left: 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
padding: 0;
height: auto;
}
/* Header styles */
header {
background-color: #211c1c;
@ -42,6 +30,19 @@ header {
padding: 0; /* Further reduce the padding */
height: auto;
z-index: 10; /* Higher z-index to ensure it is above other elements */
height: 5em;
}
.div-menu{
z-index: 1;
background-color: #211c1c;
width: 100%;
position: fixed;
top: 0;
left: 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
padding: 0;
height: auto;
}
.header-content {
@ -115,7 +116,7 @@ header {
.menu.active {
display: flex;
top: 10vh;
top: 5em;
z-index: 5; /* Lower z-index than header, header content, and project name */
}