Lower firefly/seed layer under cards
This commit is contained in:
parent
9d56681efa
commit
34915b9459
@ -238,7 +238,7 @@ h1 {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 1.5rem 1.25rem calc(120px + env(safe-area-inset-bottom, 0px));
|
padding: 1.5rem 1.25rem calc(120px + env(safe-area-inset-bottom, 0px));
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1; /* Keep cards above background but below flying effects */
|
z-index: 1; /* Keep cards above background */
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -264,6 +264,7 @@ h1 {
|
|||||||
box-shadow: var(--shadow);
|
box-shadow: var(--shadow);
|
||||||
transition: background-color 0.3s;
|
transition: background-color 0.3s;
|
||||||
border: 1px solid var(--border);
|
border: 1px solid var(--border);
|
||||||
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-header {
|
.project-header {
|
||||||
@ -542,7 +543,7 @@ button:active { transform: scale(0.97); box-shadow: none; }
|
|||||||
width: 28px;
|
width: 28px;
|
||||||
height: 28px;
|
height: 28px;
|
||||||
animation: fireflyGlide var(--fly-duration, 14s) linear forwards;
|
animation: fireflyGlide var(--fly-duration, 14s) linear forwards;
|
||||||
z-index: 5; /* Float above content but below header */
|
z-index: 0; /* Drift beneath page content */
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
.firefly {
|
.firefly {
|
||||||
@ -561,7 +562,7 @@ button:active { transform: scale(0.97); box-shadow: none; }
|
|||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
animation: seedGlide var(--seed-duration, 16s) linear forwards;
|
animation: seedGlide var(--seed-duration, 16s) linear forwards;
|
||||||
z-index: 5;
|
z-index: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
.seed {
|
.seed {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user