Skip to content

Commit 6d19735

Browse files
committed
Update background color
1 parent 6fb62c0 commit 6d19735

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

src/css/style.css

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
Design tokens (edit in :root only):
1313
- Colors: --color-white, --color-text, --color-text-accent, --color-text-muted|soft|softer|strong,
14-
--surface-page|glass|overlay-dark*, --border-subtle|medium|strong, --cta-*, --shadow-*,
14+
--surface-page|glass|overlay-dark*, --bg-mesh-*, --border-subtle|medium|strong, --cta-*, --shadow-*,
1515
--project-type-*|project-tag-*|project-date-*|project-overlay-bg, --blur-*-gradient
1616
- Buttons: --button-radius-pill|md|lg, --button-transition, --button-active-scale
1717
@@ -39,6 +39,14 @@ body {
3939
-webkit-font-smoothing: antialiased;
4040
-moz-osx-font-smoothing: grayscale;
4141
background-color: var(--surface-page) !important;
42+
background-image:
43+
var(--bg-mesh-a),
44+
var(--bg-mesh-b),
45+
var(--bg-mesh-c),
46+
var(--bg-mesh-d);
47+
background-repeat: no-repeat;
48+
background-size: cover;
49+
background-attachment: scroll;
4250
}
4351

4452
:root {
@@ -54,8 +62,13 @@ body {
5462
--color-blockquote-footer: #88b3c0;
5563

5664
/* Surfaces & overlays (glass / panels) */
57-
--surface-page: rgba(10, 25, 47, 0.99);
58-
--surface-app: rgba(15, 28, 35, 0.85);
65+
--surface-page: #030712;
66+
/* Layered mesh visible through semi-transparent --surface-app */
67+
--bg-mesh-a: radial-gradient(ellipse 110% 90% at 8% -18%, rgba(56, 189, 248, 0.17) 0%, transparent 52%);
68+
--bg-mesh-b: radial-gradient(ellipse 95% 78% at 102% 6%, rgba(139, 92, 246, 0.12) 0%, transparent 48%);
69+
--bg-mesh-c: radial-gradient(ellipse 88% 72% at 82% 104%, rgba(45, 212, 191, 0.1) 0%, transparent 46%);
70+
--bg-mesh-d: radial-gradient(ellipse 72% 58% at -6% 86%, rgba(59, 130, 246, 0.08) 0%, transparent 42%);
71+
--surface-app: rgba(15, 23, 42, 0.74);
5972
--surface-glass: rgba(255, 255, 255, 0.05);
6073
--surface-glass-hover: rgba(255, 255, 255, 0.08);
6174
--surface-glass-active: rgba(255, 255, 255, 0.12);
@@ -97,8 +110,8 @@ body {
97110
====================*/
98111
--bg-gradient-section: linear-gradient(to bottom left, rgba(17, 16, 16, 0.582), rgba(8, 19, 24, 0.904));
99112
--bg-gradient-image: linear-gradient(to bottom left, rgba(17, 16, 16, 0.678), rgba(10, 14, 22, 0.863));
100-
--bg-preloader: #050b13;
101-
--bg-footer: linear-gradient(145deg, #08121a 0%, #0f1f2b 40%, #0c1621 100%);
113+
--bg-preloader: #030712;
114+
--bg-footer: linear-gradient(145deg, #020617 0%, #0f172a 38%, #0c1222 100%);
102115

103116
/*====================
104117
Scrollbar
@@ -198,8 +211,8 @@ body {
198211
--surface-nav-collapse: rgba(28, 38, 52, 0.95);
199212
--shadow-inset-soft: inset 0 1px 0 rgba(255, 255, 255, 0.06);
200213
--navbar-collapse-shadow: inset 0 -1.2px 1.2px rgba(255, 255, 255, 0.2), 0 -6px 32px 0 rgba(0, 0, 0, 0.2);
201-
--blur-top-gradient: linear-gradient(180deg, rgba(6, 12, 20, 0.88) 0%, rgba(8, 18, 28, 0.76) 30%, rgba(10, 22, 34, 0.46) 60%, rgba(10, 22, 34, 0.18) 82%, rgba(10, 22, 34, 0) 100%);
202-
--blur-mask-gradient: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 34%, rgba(0, 0, 0, 0.14) 70%, rgba(0, 0, 0, 0) 100%);
214+
--blur-top-gradient: linear-gradient(180deg, rgba(3, 7, 18, 0.92) 0%, rgba(15, 23, 42, 0.78) 32%, rgba(15, 23, 42, 0.42) 62%, rgba(15, 23, 42, 0.14) 84%, rgba(15, 23, 42, 0) 100%);
215+
--blur-mask-gradient: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.26) 36%, rgba(0, 0, 0, 0.12) 72%, rgba(0, 0, 0, 0) 100%);
203216
--preloader-logo-glow: rgba(90, 150, 170, 0.3);
204217
--accent-glow-strong: rgba(90, 150, 170, 0.4);
205218
--accent-bg-soft: rgba(90, 150, 170, 0.12);

0 commit comments

Comments
 (0)