CSS: Fixed z-indexes to variables given by base.css.

This commit is contained in:
Yohan Boujon 2025-04-07 23:10:55 +02:00
parent 4e7ab8a432
commit 5dfea373a9
4 changed files with 5 additions and 5 deletions

View file

@ -18,7 +18,7 @@
box-shadow: #00000040 0px 8px 18px -1px;
transition: all .1s ease 0s;
background-color: var(--color-background);
z-index: 2;
z-index: var(--z-index-normal);
margin-right: 1rem;
margin-top: 2rem;
margin-bottom: 2rem;

View file

@ -21,7 +21,7 @@
.cover-img-text {
grid-area: overlay;
padding: 4rem;
z-index: 1;
z-index: var(--z-index-normal);
max-width: 50rem;
}

View file

@ -12,7 +12,7 @@ nav {
height: var(--navbar-height);
width: 100%;
position: fixed;
z-index: 5;
z-index: var(--z-index-navbar);
transition: var(--transition);
padding-top: 0.5rem;
}
@ -59,7 +59,7 @@ a {
.navbar-content {
grid-area: overlay;
z-index: 1;
z-index: var(--z-index-normal);
width: inherit;
display: flex;
}

View file

@ -40,7 +40,7 @@
box-shadow: var(--shadow);
border-radius: 1rem;
position: absolute !important;
z-index: 1;
z-index: var(--z-index-normal);
transform: translateX(-1rem);
display: none;
opacity: 0;