|
1 | 1 | :root { |
2 | | - --bg-main: #020617; |
3 | | - --text-main: #e5e7eb; |
4 | | - --text-muted: #9ca3af; |
5 | | - --radius: 20px; |
6 | | - --shadow: 0 25px 50px rgba(0, 0, 0, 0.45); |
| 2 | + --bg: #f8fafc; |
| 3 | + --card-bg: #ffffff; |
| 4 | + --border: #e5e7eb; |
| 5 | + --text: #0f172a; |
| 6 | + --muted: #64748b; |
| 7 | + --radius: 14px; |
7 | 8 | } |
8 | 9 |
|
9 | 10 | /* Reset */ |
|
16 | 17 | body { |
17 | 18 | margin: 0; |
18 | 19 | font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; |
19 | | - background: radial-gradient(circle at top, #020617, #020617); |
20 | | - color: var(--text-main); |
21 | | - line-height: 1.7; |
| 20 | + background: |
| 21 | + radial-gradient(circle at 15% 10%, rgba(168, 85, 247, 0.06), transparent 40%), |
| 22 | + radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.06), transparent 45%), |
| 23 | + var(--bg); |
| 24 | + color: var(--text); |
| 25 | + line-height: 1.6; |
22 | 26 | } |
23 | 27 |
|
24 | | -/* ---------------- Hero ---------------- */ |
| 28 | +/* Hero */ |
25 | 29 | .hero { |
26 | | - padding: 96px 24px 72px; |
27 | | - text-align: center; |
| 30 | + max-width: 1100px; |
| 31 | + margin: 0 auto; |
| 32 | + padding: 88px 24px 56px; |
| 33 | + text-align: left; /* ← change to center if you want */ |
28 | 34 | } |
29 | 35 |
|
30 | 36 | .hero h1 { |
31 | | - font-size: clamp(2.6rem, 6vw, 3.4rem); |
32 | | - margin-bottom: 10px; |
| 37 | + font-size: clamp(2.3rem, 5vw, 2.8rem); |
| 38 | + margin-bottom: 6px; |
33 | 39 | } |
34 | 40 |
|
35 | 41 | .hero p { |
36 | | - color: var(--text-muted); |
37 | | - font-size: 1.1rem; |
| 42 | + color: var(--muted); |
| 43 | + font-size: 1rem; |
38 | 44 | } |
39 | 45 |
|
40 | | -/* ---------------- Grid ---------------- */ |
| 46 | +/* Grid */ |
41 | 47 | .release-grid { |
42 | | - max-width: 1200px; |
| 48 | + max-width: 1100px; |
43 | 49 | margin: auto; |
44 | | - padding: 64px 24px; |
| 50 | + padding: 0 24px 96px; |
45 | 51 | display: grid; |
46 | | - grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); |
47 | | - gap: 32px; |
| 52 | + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
| 53 | + gap: 24px; |
48 | 54 | } |
49 | 55 |
|
50 | | -/* ---------------- Cards ---------------- */ |
| 56 | +/* Card */ |
51 | 57 | .release-card { |
52 | | - padding: 36px; |
| 58 | + background: var(--card-bg); |
| 59 | + border: 1px solid var(--border); |
53 | 60 | border-radius: var(--radius); |
54 | | - box-shadow: var(--shadow); |
55 | | - transition: transform 0.35s ease, box-shadow 0.35s ease; |
| 61 | + padding: 24px 24px 24px 20px; |
| 62 | + display: grid; |
| 63 | + grid-template-rows: auto 1fr 1fr 1fr; |
| 64 | + min-height: 420px; |
| 65 | + position: relative; |
56 | 66 | } |
57 | 67 |
|
58 | | -.release-card:hover { |
59 | | - transform: translateY(-8px); |
60 | | - box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6); |
| 68 | +/* Accent rail */ |
| 69 | +.release-card::before { |
| 70 | + content: ""; |
| 71 | + position: absolute; |
| 72 | + top: 12px; |
| 73 | + bottom: 12px; |
| 74 | + left: 0; |
| 75 | + width: 4px; |
| 76 | + border-radius: 4px; |
| 77 | + background: var(--accent); |
61 | 78 | } |
62 | 79 |
|
63 | | -.release-top { |
| 80 | +/* Header */ |
| 81 | +.card-header { |
64 | 82 | display: flex; |
65 | 83 | justify-content: space-between; |
66 | | - margin-bottom: 20px; |
| 84 | + align-items: center; |
| 85 | + margin-bottom: 14px; |
67 | 86 | } |
68 | 87 |
|
69 | 88 | .version { |
70 | 89 | font-weight: 600; |
71 | | - font-size: 0.95rem; |
| 90 | + font-size: 0.9rem; |
| 91 | + color: var(--accent); |
72 | 92 | } |
73 | 93 |
|
74 | | -.date { |
| 94 | +time { |
75 | 95 | font-size: 0.85rem; |
76 | | - opacity: 0.85; |
| 96 | + color: var(--muted); |
77 | 97 | } |
78 | 98 |
|
79 | | -/* Headings */ |
80 | | -.release-card h3 { |
81 | | - margin-top: 22px; |
82 | | - margin-bottom: 8px; |
| 99 | +/* Sections */ |
| 100 | +.card-section h3 { |
| 101 | + font-size: 0.72rem; |
| 102 | + letter-spacing: 0.08em; |
| 103 | + text-transform: uppercase; |
| 104 | + margin-bottom: 6px; |
| 105 | + color: var(--accent); |
83 | 106 | } |
84 | 107 |
|
85 | | -.release-card ul { |
86 | | - padding-left: 20px; |
| 108 | +.card-section ul { |
87 | 109 | margin: 0; |
| 110 | + padding-left: 18px; |
| 111 | + font-size: 0.95rem; |
88 | 112 | } |
89 | 113 |
|
90 | | -.release-card li { |
| 114 | +.card-section li { |
91 | 115 | margin-bottom: 6px; |
92 | 116 | } |
93 | 117 |
|
94 | | -/* ---------------- Gradients ---------------- */ |
95 | | -.gradient-blue { |
96 | | - background: linear-gradient(145deg, #1e3a8a, #0ea5e9); |
97 | | -} |
98 | | - |
99 | | -.gradient-purple { |
100 | | - background: linear-gradient(145deg, #6d28d9, #9333ea); |
101 | | -} |
102 | | - |
103 | | -.gradient-green { |
104 | | - background: linear-gradient(145deg, #065f46, #10b981); |
105 | | -} |
106 | | - |
107 | | -.gradient-orange { |
108 | | - background: linear-gradient(145deg, #9a3412, #f97316); |
109 | | -} |
| 118 | +/* Accent themes (gentle pastels) */ |
| 119 | +.accent-purple { --accent: #8b5cf6; } |
| 120 | +.accent-blue { --accent: #38bdf8; } |
| 121 | +.accent-green { --accent: #22c55e; } |
| 122 | +.accent-orange { --accent: #fb923c; } |
110 | 123 |
|
111 | | -/* ---------------- Footer ---------------- */ |
| 124 | +/* Footer */ |
112 | 125 | .footer { |
| 126 | + border-top: 1px solid var(--border); |
113 | 127 | padding: 32px; |
114 | 128 | text-align: center; |
115 | | - font-size: 0.9rem; |
116 | | - color: var(--text-muted); |
117 | | - border-top: 1px solid rgba(255, 255, 255, 0.08); |
| 129 | + font-size: 0.85rem; |
| 130 | + color: var(--muted); |
118 | 131 | } |
119 | 132 |
|
120 | | -/* ---------------- Responsive ---------------- */ |
| 133 | +/* Responsive */ |
121 | 134 | @media (max-width: 640px) { |
122 | 135 | .hero { |
123 | | - padding: 72px 20px; |
124 | | - } |
125 | | - |
126 | | - .release-grid { |
127 | | - padding: 48px 20px; |
| 136 | + padding: 64px 20px 40px; |
128 | 137 | } |
129 | 138 |
|
130 | 139 | .release-card { |
131 | | - padding: 28px; |
| 140 | + min-height: auto; |
132 | 141 | } |
133 | 142 | } |
0 commit comments