Skip to content

Commit 0d54a4e

Browse files
committed
docs: fix typo and format in the main index web page
1 parent c9706ec commit 0d54a4e

File tree

2 files changed

+223
-134
lines changed

2 files changed

+223
-134
lines changed

assets/style.css

Lines changed: 73 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
1-
/* =========================
2-
Design Tokens
3-
========================= */
41
:root {
5-
--bg-main: #0b1020;
6-
--bg-surface: #11162a;
7-
--bg-card: #161c35;
8-
--accent: #4fd1c5;
9-
--accent-2: #60a5fa;
2+
--bg-main: #020617;
103
--text-main: #e5e7eb;
114
--text-muted: #9ca3af;
12-
--radius-lg: 18px;
13-
--radius-md: 12px;
14-
--shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.35);
15-
--max-width: 1150px;
5+
--radius: 20px;
6+
--shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
167
}
178

18-
/* =========================
19-
Reset
20-
========================= */
9+
/* Reset */
2110
*,
2211
*::before,
2312
*::after {
@@ -26,124 +15,119 @@
2615

2716
body {
2817
margin: 0;
29-
font-family: Inter, system-ui, sans-serif;
30-
background: radial-gradient(circle at top, #0f172a, #020617);
18+
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
19+
background: radial-gradient(circle at top, #020617, #020617);
3120
color: var(--text-main);
32-
line-height: 1.75;
21+
line-height: 1.7;
3322
}
3423

35-
/* =========================
36-
Hero
37-
========================= */
24+
/* ---------------- Hero ---------------- */
3825
.hero {
39-
padding: 96px 24px 80px;
26+
padding: 96px 24px 72px;
4027
text-align: center;
41-
background:
42-
radial-gradient(circle at 30% 20%, rgba(79, 209, 197, 0.2), transparent 40%),
43-
radial-gradient(circle at 70% 30%, rgba(96, 165, 250, 0.15), transparent 45%);
4428
}
4529

4630
.hero h1 {
47-
font-size: clamp(2.5rem, 6vw, 3.5rem);
48-
margin-bottom: 16px;
49-
letter-spacing: -0.02em;
31+
font-size: clamp(2.6rem, 6vw, 3.4rem);
32+
margin-bottom: 10px;
5033
}
5134

5235
.hero p {
53-
max-width: 720px;
54-
margin: auto;
55-
font-size: 1.15rem;
5636
color: var(--text-muted);
37+
font-size: 1.1rem;
38+
}
39+
40+
/* ---------------- Grid ---------------- */
41+
.release-grid {
42+
max-width: 1200px;
43+
margin: auto;
44+
padding: 64px 24px;
45+
display: grid;
46+
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
47+
gap: 32px;
48+
}
49+
50+
/* ---------------- Cards ---------------- */
51+
.release-card {
52+
padding: 36px;
53+
border-radius: var(--radius);
54+
box-shadow: var(--shadow);
55+
transition: transform 0.35s ease, box-shadow 0.35s ease;
5756
}
5857

59-
/* =========================
60-
Navigation
61-
========================= */
62-
.nav {
63-
position: sticky;
64-
top: 0;
65-
z-index: 10;
58+
.release-card:hover {
59+
transform: translateY(-8px);
60+
box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
61+
}
62+
63+
.release-top {
6664
display: flex;
67-
justify-content: center;
68-
gap: 28px;
69-
padding: 18px 24px;
70-
background: rgba(2, 6, 23, 0.75);
71-
backdrop-filter: blur(14px);
72-
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
65+
justify-content: space-between;
66+
margin-bottom: 20px;
7367
}
7468

75-
.nav a {
76-
color: var(--text-main);
77-
text-decoration: none;
78-
font-weight: 500;
69+
.version {
70+
font-weight: 600;
71+
font-size: 0.95rem;
72+
}
73+
74+
.date {
75+
font-size: 0.85rem;
7976
opacity: 0.85;
8077
}
8178

82-
.nav a:hover {
83-
opacity: 1;
84-
color: var(--accent);
79+
/* Headings */
80+
.release-card h3 {
81+
margin-top: 22px;
82+
margin-bottom: 8px;
8583
}
8684

87-
/* =========================
88-
Layout
89-
========================= */
90-
.container {
91-
max-width: var(--max-width);
92-
margin: auto;
93-
padding: 72px 24px;
94-
display: grid;
95-
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
96-
gap: 32px;
85+
.release-card ul {
86+
padding-left: 20px;
87+
margin: 0;
9788
}
9889

99-
/* =========================
100-
Cards
101-
========================= */
102-
section {
103-
background: linear-gradient(180deg, var(--bg-card), var(--bg-surface));
104-
border-radius: var(--radius-lg);
105-
padding: 36px;
106-
box-shadow: var(--shadow-soft);
107-
transition: transform 0.35s ease, box-shadow 0.35s ease;
90+
.release-card li {
91+
margin-bottom: 6px;
10892
}
10993

110-
section:hover {
111-
transform: translateY(-6px);
112-
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
94+
/* ---------------- Gradients ---------------- */
95+
.gradient-blue {
96+
background: linear-gradient(145deg, #1e3a8a, #0ea5e9);
11397
}
11498

115-
section h2 {
116-
margin-top: 0;
117-
margin-bottom: 14px;
118-
font-size: 1.35rem;
99+
.gradient-purple {
100+
background: linear-gradient(145deg, #6d28d9, #9333ea);
119101
}
120102

121-
section p {
122-
color: var(--text-muted);
123-
margin: 0;
103+
.gradient-green {
104+
background: linear-gradient(145deg, #065f46, #10b981);
105+
}
106+
107+
.gradient-orange {
108+
background: linear-gradient(145deg, #9a3412, #f97316);
124109
}
125110

126-
/* =========================
127-
Footer
128-
========================= */
111+
/* ---------------- Footer ---------------- */
129112
.footer {
130113
padding: 32px;
131114
text-align: center;
132115
font-size: 0.9rem;
133116
color: var(--text-muted);
134-
background: rgba(2, 6, 23, 0.9);
135-
border-top: 1px solid rgba(255, 255, 255, 0.05);
117+
border-top: 1px solid rgba(255, 255, 255, 0.08);
136118
}
137119

138-
/* =========================
139-
Responsive
140-
========================= */
120+
/* ---------------- Responsive ---------------- */
141121
@media (max-width: 640px) {
142122
.hero {
143123
padding: 72px 20px;
144124
}
145125

146-
.container {
126+
.release-grid {
147127
padding: 48px 20px;
148128
}
129+
130+
.release-card {
131+
padding: 28px;
132+
}
149133
}

0 commit comments

Comments
 (0)