mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-28 00:44:27 +00:00
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:
co-authored by
Claude Opus 4.6
parent
5c6514ee91
commit
1f20ec628d
@@ -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 |
Reference in New Issue
Block a user