website: add gradient background images with CSS fallback

CSS gradients have visible banding (no dithering). Replaced with Photoshop-exported JPGs layered on top of the existing CSS gradients, which serve as instant fallback while images load.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
another-simple-pixel
2026-04-14 13:26:38 -07:00
co-authored by Claude Opus 4.6
parent 5c6514ee91
commit 1f20ec628d
5 changed files with 16 additions and 0 deletions
+16
View File
@@ -628,6 +628,14 @@ main .section-bg {
pointer-events: none;
}
main .section-bg {
background-image: url("/img/design_3/bg-gradient-desktop-light.jpg"), var(--bg-grad);
}
.dark main .section-bg {
background-image: url("/img/design_3/bg-gradient-desktop.jpg"), var(--bg-grad);
}
.chrome-ios main .section-bg,
.safari-ios main .section-bg {
height: 110lvh;
@@ -713,6 +721,14 @@ main .section-bg {
}
@media screen and (max-width: 959px) {
main .section-bg {
background-image: url("/img/design_3/bg-gradient-mobile-light.jpg"), var(--bg-grad);
}
.dark main .section-bg {
background-image: url("/img/design_3/bg-gradient-mobile.jpg"), var(--bg-grad);
}
.page-2 {
background-image: url("/img/design_3/section-2-mobile-light.webp");
background-size: auto calc(var(--cover-bg-h) * 0.84);
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB