Bagliori di apertura e intestazioni ritagliati anche su iOS Safari
Su iOS overflow: hidden non ritaglia i livelli con filter: blur e la macchia di luce usciva sopra la topbar e il logo. clip-path: inset(0) sui contenitori e sugli sfondi, contenuto con z-index sopra lo sfondo. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
24391c49ac
commit
bb3dee5b43
1 file changed
+17
@@ -873,7 +873,10 @@ button {
|
||||
.page-head {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
/* Su iOS Safari overflow: hidden non ritaglia i livelli con filter: blur (il bagliore uscirebbe sopra la topbar) */
|
||||
clip-path: inset(0);
|
||||
isolation: isolate;
|
||||
z-index: 0;
|
||||
background: var(--brand-gradient);
|
||||
color: var(--on-ink);
|
||||
padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0 clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
|
||||
@@ -1005,18 +1008,27 @@ button {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
overflow: hidden;
|
||||
clip-path: inset(0);
|
||||
z-index: 0;
|
||||
background: var(--brand-gradient);
|
||||
color: var(--on-ink);
|
||||
padding: clamp(2rem, 1.5rem + 3vw, 4.5rem) 0 clamp(4.5rem, 3.5rem + 4vw, 7rem);
|
||||
}
|
||||
|
||||
/* Livelli dell'apertura: sfondo (macchie e anelli) sotto, testo sopra; le macchie restano dentro l'apertura */
|
||||
.hero-bg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
clip-path: inset(0);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero-inner {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.hero-motivo {
|
||||
position: absolute;
|
||||
width: min(760px, 120vw);
|
||||
@@ -1535,6 +1547,8 @@ iframe.contentplayer {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
overflow: hidden;
|
||||
clip-path: inset(0);
|
||||
z-index: 0;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
display: grid;
|
||||
@@ -1548,6 +1562,9 @@ iframe.contentplayer {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
clip-path: inset(0);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.station-static-motivo {
|
||||
|
||||
Reference in new issue
Block a user