mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-13 23:14:17 +00:00
Fix background gradient repeating on tall pages
Use background-attachment: fixed so the radial gradients stay anchored to the viewport instead of tiling with the document height. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
343977d467
commit
62c401336f
1 changed files with 4 additions and 3 deletions
|
|
@ -29,10 +29,11 @@
|
|||
/* ── Background atmosphere ── */
|
||||
|
||||
.bg-atmosphere {
|
||||
background:
|
||||
background-color: var(--color-navy-950);
|
||||
background-image:
|
||||
radial-gradient(ellipse 120% 60% at 15% 5%, rgba(53, 127, 158, 0.12) 0%, transparent 50%),
|
||||
radial-gradient(ellipse 80% 50% at 85% 90%, rgba(90, 200, 168, 0.07) 0%, transparent 45%),
|
||||
var(--color-navy-950);
|
||||
radial-gradient(ellipse 80% 50% at 85% 90%, rgba(90, 200, 168, 0.07) 0%, transparent 45%);
|
||||
background-attachment: fixed;
|
||||
}
|
||||
.bg-atmosphere::before {
|
||||
content: "";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue