Skip to content

style(home): clean 80%-to-bottom linear fade on play homepage banner#301

Merged
0800tim merged 1 commit into
mainfrom
style/home-banner-fade
Jun 5, 2026
Merged

style(home): clean 80%-to-bottom linear fade on play homepage banner#301
0800tim merged 1 commit into
mainfrom
style/home-banner-fade

Conversation

@0800tim

@0800tim 0800tim commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Tim 2026-06-05 (post marketing publish): the existing banner mask had three stops (opaque to 68%, half-opacity at 88%, transparent at 100%) which left a visible threshold band where the lede paragraph crossed the player-photo edge. Rewritten as a straight linear ramp from 80% opaque to 100% transparent so the photos dissolve into the page background cleanly.

CSS-only, one rule (.vt-home-hero-bg). Both -webkit-mask-image and mask-image updated together.

Tim 2026-06-05 (after the marketing publish):

  > it should fade out to transparent at the bottom so it blends in
  > nicely and we don't get this kind of line where the first
  > paragraph is under the heading in the bottom 20% of the banner
  > image. You just fade that from the 20% point at the bottom down
  > to the very bottom, gradient fade to transparent.

The existing mask had three stops (opaque to 68%, half-opacity at
88%, transparent at 100%) which left a visible threshold band
around the lede. Rewritten as a straight linear ramp from 80%
opaque to 100% transparent so the player-photo edge dissolves
into the page background. Both -webkit- and unprefixed mask-image
forms updated together so iOS Safari + every chromium fork picks
it up.

CSS-only, one rule (.vt-home-hero-bg). Headline-area dark overlay
above the mask is unchanged so legibility on the upper 80% is
unaffected.

Signed-off-by: Tim Thomas <0800tim@gmail.com>
@0800tim 0800tim merged commit 54aa2b6 into main Jun 5, 2026
11 of 12 checks passed
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

DRY-RUN — this verdict is informational; CI is not blocked.

Auto-triage: GREEN — auto-triage clear

Risk score: 0/100

Metric Value
Files changed 1
Lines added 8
Lines removed 8
Apps touched apps/web
New dependencies 0
New 3rd-party hosts 0

No flags raised by the automated scanners. A human reviewer will still take a look.

Labels applied: area:web, auto-triage:green

Posted by @vtorn/pr-triage-bot. How this works: docs/security/01-pr-triage-process.md. Disagree with the verdict? Comment /triage override <reason> and a maintainer will re-review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant