Hero loop: lighten it for text legibility
Wash the loop back into the paper so text reads cleanly over it (matters most on mobile where text overlays the loop): drop the playing opacity to .5 (blends with the paper bg) and flip the tint overlay from darkening multiply to a light paper wash (.2). Tunable via those two values. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -138,9 +138,9 @@ a.tel { text-decoration: none; }
|
|||||||
position: absolute; top: 0; right: 0; bottom: 0; width: 56%;
|
position: absolute; top: 0; right: 0; bottom: 0; width: 56%;
|
||||||
z-index: 1; pointer-events: none; background: var(--paper);
|
z-index: 1; pointer-events: none; background: var(--paper);
|
||||||
}
|
}
|
||||||
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--paper); opacity: .12; mix-blend-mode: multiply; pointer-events: none; }
|
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--paper); opacity: .2; pointer-events: none; }
|
||||||
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1s ease; transform: scale(1.7) translateY(-16%); transform-origin: center; }
|
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1s ease; transform: scale(1.7) translateY(-16%); transform-origin: center; }
|
||||||
.hero-video.is-playing { opacity: 1; }
|
.hero-video.is-playing { opacity: .5; }
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.hero { min-height: 88vh; padding: 120px 0 56px; display: block; }
|
.hero { min-height: 88vh; padding: 120px 0 56px; display: block; }
|
||||||
/* Loop OVERLAID as the hero background (not stacked below): full-bleed, rotated 90deg CW,
|
/* Loop OVERLAID as the hero background (not stacked below): full-bleed, rotated 90deg CW,
|
||||||
|
|||||||
Reference in New Issue
Block a user