Feat: variables z-index + header au-dessus du menu
- style.css : plage z-index (--z-base, --z-content, --z-menu, --z-header, --z-cursor) - Menu : show() au lieu de showModal() pour sortir du top-layer natif, Escape géré manuellement via keydown, z-index: var(--z-menu), position: fixed - Header : z-index: var(--z-header) sur navbar, logo et toggle (toujours au-dessus du menu) - Cursor/cursor.css : z-index: var(--z-cursor) - Home : z-index: var(--z-content) sur home-text Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
3e9657430f
commit
b7d825b2f0
6 changed files with 98 additions and 75 deletions
|
|
@ -63,7 +63,7 @@
|
|||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 50;
|
||||
z-index: var(--z-header);
|
||||
font-family: "Danzza";
|
||||
font-size: var(--font-size-paragraph);
|
||||
font-weight: normal;
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
left: 5vh;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 60;
|
||||
z-index: var(--z-header);
|
||||
}
|
||||
|
||||
.wg-logo {
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
font-weight: bold;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
z-index: 5;
|
||||
z-index: var(--z-content);
|
||||
color: white;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
right: 5vh;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 60;
|
||||
z-index: var(--z-header);
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue