Skip to content

Commit 6934335

Browse files
committed
docs: change the layout and format of the webpage
1 parent 0d54a4e commit 6934335

File tree

2 files changed

+203
-207
lines changed

2 files changed

+203
-207
lines changed

assets/style.css

Lines changed: 75 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
: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;
78
}
89

910
/* Reset */
@@ -16,118 +17,126 @@
1617
body {
1718
margin: 0;
1819
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;
2226
}
2327

24-
/* ---------------- Hero ---------------- */
28+
/* Hero */
2529
.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 */
2834
}
2935

3036
.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;
3339
}
3440

3541
.hero p {
36-
color: var(--text-muted);
37-
font-size: 1.1rem;
42+
color: var(--muted);
43+
font-size: 1rem;
3844
}
3945

40-
/* ---------------- Grid ---------------- */
46+
/* Grid */
4147
.release-grid {
42-
max-width: 1200px;
48+
max-width: 1100px;
4349
margin: auto;
44-
padding: 64px 24px;
50+
padding: 0 24px 96px;
4551
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;
4854
}
4955

50-
/* ---------------- Cards ---------------- */
56+
/* Card */
5157
.release-card {
52-
padding: 36px;
58+
background: var(--card-bg);
59+
border: 1px solid var(--border);
5360
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;
5666
}
5767

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);
6178
}
6279

63-
.release-top {
80+
/* Header */
81+
.card-header {
6482
display: flex;
6583
justify-content: space-between;
66-
margin-bottom: 20px;
84+
align-items: center;
85+
margin-bottom: 14px;
6786
}
6887

6988
.version {
7089
font-weight: 600;
71-
font-size: 0.95rem;
90+
font-size: 0.9rem;
91+
color: var(--accent);
7292
}
7393

74-
.date {
94+
time {
7595
font-size: 0.85rem;
76-
opacity: 0.85;
96+
color: var(--muted);
7797
}
7898

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);
83106
}
84107

85-
.release-card ul {
86-
padding-left: 20px;
108+
.card-section ul {
87109
margin: 0;
110+
padding-left: 18px;
111+
font-size: 0.95rem;
88112
}
89113

90-
.release-card li {
114+
.card-section li {
91115
margin-bottom: 6px;
92116
}
93117

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; }
110123

111-
/* ---------------- Footer ---------------- */
124+
/* Footer */
112125
.footer {
126+
border-top: 1px solid var(--border);
113127
padding: 32px;
114128
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);
118131
}
119132

120-
/* ---------------- Responsive ---------------- */
133+
/* Responsive */
121134
@media (max-width: 640px) {
122135
.hero {
123-
padding: 72px 20px;
124-
}
125-
126-
.release-grid {
127-
padding: 48px 20px;
136+
padding: 64px 20px 40px;
128137
}
129138

130139
.release-card {
131-
padding: 28px;
140+
min-height: auto;
132141
}
133142
}

0 commit comments

Comments
 (0)