|
7 | 7 | --c4: #a05b5b; /* secondary accent */ |
8 | 8 |
|
9 | 9 | /* Base */ |
10 | | - background-color: var(--c0); |
11 | 10 | color: #ffffff; |
12 | 11 |
|
13 | | - /* Sensible defaults used across the site */ |
| 12 | + /* Site vars */ |
14 | 13 | --background: var(--c0); |
15 | 14 | --card-background: var(--c1); |
16 | 15 | --text: #ffffff; |
|
22 | 21 | --link: var(--c4); |
23 | 22 | } |
24 | 23 |
|
25 | | -/* Page background */ |
| 24 | +/* ✅ Gradient page background (grey -> surface tint) */ |
| 25 | +html, body { |
| 26 | + min-height: 100%; |
| 27 | +} |
| 28 | + |
26 | 29 | body { |
27 | | - background: var(--c0) !important; |
28 | 30 | color: #ffffff !important; |
| 31 | + |
| 32 | + /* nice “shaded” background */ |
| 33 | + background: |
| 34 | + radial-gradient(1200px 700px at 50% -10%, rgba(37, 0, 0, 0.55), rgba(37, 0, 0, 0) 60%), |
| 35 | + linear-gradient(180deg, var(--c0) 0%, #1b1a1a 35%, rgba(37, 0, 0, 0.35) 70%, var(--c0) 100%) !important; |
| 36 | + |
| 37 | + background-attachment: fixed; |
29 | 38 | } |
30 | 39 |
|
31 | | -/* Cards / panels */ |
32 | | -main, section, .container, .card, .box, .markdown, .shadow { |
33 | | - background: var(--c1) !important; |
| 40 | +/* ✅ Make the big wrapper transparent so the gradient shows */ |
| 41 | +main, section, .container, .markdown, .shadow { |
| 42 | + background: transparent !important; |
| 43 | + border-color: rgba(201, 177, 177, 0.20) !important; |
| 44 | +} |
| 45 | + |
| 46 | +/* ✅ Cards / panels become the “surface” */ |
| 47 | +.card, .box { |
| 48 | + background: rgba(37, 0, 0, 0.78) !important; /* surface with some translucency */ |
| 49 | + backdrop-filter: blur(3px); |
34 | 50 | border-color: rgba(201, 177, 177, 0.20) !important; |
35 | 51 | } |
36 | 52 |
|
@@ -70,5 +86,3 @@ svg text { |
70 | 86 | } |
71 | 87 |
|
72 | 88 | footer { display: none !important; } |
73 | | - |
74 | | - |
|
0 commit comments