Skip to content

Commit 0838307

Browse files
congwang-mkclaude
andcommitted
Simplify About page CSS: remove conflicting selectors and unused styles
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b1a11b9 commit 0838307

1 file changed

Lines changed: 45 additions & 82 deletions

File tree

assets/css/about.css

Lines changed: 45 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* ===== ABOUT PAGE STYLES ===== */
22

3-
.mission-vision, .values, .founder, .technology-overview, .architecture, .performance {
3+
/* Section backgrounds */
4+
.mission-vision, .values, .founder {
45
padding: var(--space-20) 0;
56
background: white;
67
}
@@ -11,26 +12,10 @@
1112
background: var(--gray-50);
1213
}
1314

14-
.values h2, .founder h2, .technology-overview h2, .architecture h2, .performance h2 {
15-
font-size: var(--text-4xl);
16-
font-weight: 700;
17-
line-height: var(--leading-tight);
18-
color: var(--gray-900);
19-
margin-bottom: var(--space-4);
20-
text-align: center;
21-
letter-spacing: -0.02em;
22-
}
23-
24-
.values p, .founder p, .technology-overview p, .architecture p, .performance p {
25-
font-size: var(--text-base);
26-
line-height: var(--leading-relaxed);
27-
color: var(--gray-600);
28-
margin-bottom: var(--space-5);
29-
}
30-
15+
/* Mission & Vision */
3116
.mv-block {
3217
text-align: center;
33-
max-width: 720px;
18+
max-width: 640px;
3419
margin: 0 auto;
3520
}
3621

@@ -41,52 +26,67 @@
4126
text-transform: uppercase;
4227
letter-spacing: 0.1em;
4328
color: var(--gray-400);
44-
margin-bottom: var(--space-4);
29+
margin-bottom: var(--space-3);
4530
}
4631

4732
.mv-statement {
4833
font-family: var(--font-display);
49-
font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
50-
font-weight: 700;
51-
line-height: var(--leading-tight);
34+
font-size: var(--text-lg);
35+
font-weight: 600;
36+
line-height: var(--leading-relaxed);
5237
color: var(--gray-900);
53-
letter-spacing: -0.02em;
54-
margin-bottom: var(--space-4);
38+
letter-spacing: -0.01em;
39+
margin-bottom: var(--space-2);
5540
}
5641

5742
.mv-detail {
58-
font-size: var(--text-base);
43+
font-size: var(--text-sm);
5944
line-height: var(--leading-relaxed);
6045
color: var(--gray-500);
6146
margin: 0;
6247
}
6348

6449
.mv-divider {
65-
width: 48px;
50+
width: 40px;
6651
height: 1px;
6752
background: var(--gray-300);
68-
margin: var(--space-12) auto;
53+
margin: var(--space-6) auto;
6954
}
7055

71-
.mission-vision-grid {
56+
/* Values grid */
57+
.values-grid {
7258
display: grid;
73-
grid-template-columns: repeat(2, 1fr);
74-
gap: var(--space-6);
59+
grid-template-columns: repeat(4, 1fr);
60+
gap: var(--space-5);
61+
margin-top: var(--space-10);
7562
}
7663

77-
.value-card, .tech-card {
78-
background: white;
79-
border-radius: var(--radius-xl);
80-
padding: var(--space-8);
81-
border: 1px solid var(--gray-200);
82-
transition: border-color 0.2s ease, box-shadow 0.2s ease;
64+
.values-item {
65+
text-align: center;
66+
}
67+
68+
.values-item i {
69+
width: 24px;
70+
height: 24px;
71+
color: var(--gray-900);
72+
margin-bottom: var(--space-3);
8373
}
8474

85-
.value-card:hover, .tech-card:hover {
86-
border-color: var(--gray-300);
87-
box-shadow: var(--shadow-md);
75+
.values-item h3 {
76+
font-size: var(--text-sm);
77+
font-weight: 700;
78+
color: var(--gray-900);
79+
margin-bottom: var(--space-2);
8880
}
8981

82+
.values-item p {
83+
font-size: var(--text-xs);
84+
line-height: var(--leading-relaxed);
85+
color: var(--gray-500);
86+
margin: 0;
87+
}
88+
89+
/* Founder */
9090
.founder-profile {
9191
max-width: 800px;
9292
margin: 0 auto;
@@ -130,45 +130,6 @@
130130
font-size: var(--text-sm);
131131
}
132132

133-
/* Values grid - compact 4-column layout */
134-
.values-grid {
135-
display: grid;
136-
grid-template-columns: repeat(4, 1fr);
137-
gap: var(--space-5);
138-
margin-top: var(--space-10);
139-
}
140-
141-
.values-item {
142-
text-align: center;
143-
}
144-
145-
.values-item i {
146-
width: 24px;
147-
height: 24px;
148-
color: var(--gray-900);
149-
margin-bottom: var(--space-3);
150-
}
151-
152-
.values-item h3 {
153-
font-size: var(--text-sm);
154-
font-weight: 700;
155-
color: var(--gray-900);
156-
margin-bottom: var(--space-2);
157-
}
158-
159-
.values-item p {
160-
font-size: var(--text-xs);
161-
line-height: var(--leading-relaxed);
162-
color: var(--gray-500);
163-
margin: 0;
164-
}
165-
166-
@media (max-width: 640px) {
167-
.values-grid {
168-
grid-template-columns: repeat(2, 1fr);
169-
}
170-
}
171-
172133
/* Contact Form */
173134
.contact-form {
174135
background: white;
@@ -201,7 +162,7 @@
201162
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
202163
outline: none;
203164
border-color: var(--gray-900);
204-
box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.08);
165+
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
205166
}
206167

207168
/* Responsive */
@@ -211,8 +172,10 @@
211172
gap: var(--space-5);
212173
text-align: center;
213174
}
175+
}
214176

215-
.values h2, .founder h2, .technology-overview h2, .architecture h2, .performance h2 {
216-
font-size: var(--text-3xl);
177+
@media (max-width: 640px) {
178+
.values-grid {
179+
grid-template-columns: repeat(2, 1fr);
217180
}
218181
}

0 commit comments

Comments
 (0)