Skip to content

Commit 1d50c49

Browse files
robertoglclaude
andcommitted
Use MathWorks navy (#002855), full-width layout, and official styling
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5361d68 commit 1d50c49

1 file changed

Lines changed: 57 additions & 47 deletions

File tree

index.html

Lines changed: 57 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,32 @@
1313

1414
:root {
1515
--bg: #ffffff;
16-
--text: #333333;
17-
--text-muted: #6c6c6c;
16+
--text: #222222;
17+
--text-muted: #555555;
1818
--card-bg: #ffffff;
19-
--card-border: #e0e0e0;
19+
--card-border: #dcdcdc;
2020
--accent: #0076a8;
2121
--accent-orange: #d35400;
22-
--accent-light: #f5f5f5;
23-
--header-bg: #0076a8;
24-
--toggle-bg: rgba(255, 255, 255, 0.2);
25-
--tool-bg: #f5f5f5;
26-
--tool-border: #e0e0e0;
22+
--accent-light: #f4f4f4;
23+
--header-bg: #002855;
24+
--toggle-bg: rgba(255, 255, 255, 0.15);
25+
--tool-bg: #f4f4f4;
26+
--tool-border: #dcdcdc;
2727
}
2828

2929
[data-theme="dark"] {
30-
--bg: #1c1c1c;
31-
--text: #e6e6e6;
32-
--text-muted: #a0a0a0;
33-
--card-bg: #2d2d2d;
34-
--card-border: #3d3d3d;
30+
--bg: #1a1a2e;
31+
--text: #e8e8e8;
32+
--text-muted: #a8a8a8;
33+
--card-bg: #222244;
34+
--card-border: #3a3a5c;
3535
--accent: #4db8d9;
3636
--accent-orange: #e87a3a;
37-
--accent-light: #2a3a42;
38-
--header-bg: #004b6b;
37+
--accent-light: #2a2a48;
38+
--header-bg: #001a3a;
3939
--toggle-bg: rgba(255, 255, 255, 0.15);
40-
--tool-bg: #252525;
41-
--tool-border: #3d3d3d;
40+
--tool-bg: #252540;
41+
--tool-border: #3a3a5c;
4242
}
4343

4444
body {
@@ -54,7 +54,7 @@
5454
header {
5555
text-align: center;
5656
margin-bottom: 0;
57-
padding: 3rem 1rem;
57+
padding: 3.5rem 2rem;
5858
background: var(--header-bg);
5959
border-radius: 0;
6060
color: #fff;
@@ -65,25 +65,25 @@
6565
header::before {
6666
content: "";
6767
position: absolute;
68-
top: -50%;
69-
left: -50%;
70-
width: 200%;
71-
height: 200%;
72-
background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
68+
top: 0;
69+
left: 0;
70+
width: 100%;
71+
height: 100%;
72+
background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 50%);
7373
pointer-events: none;
7474
}
7575

7676
header h1 {
77-
font-size: 2rem;
77+
font-size: 2.25rem;
7878
margin-bottom: 0.4rem;
7979
color: #fff;
8080
font-weight: 700;
81-
letter-spacing: -0.02em;
81+
letter-spacing: -0.01em;
8282
}
8383

8484
header p {
85-
color: rgba(255, 255, 255, 0.9);
86-
font-size: 1rem;
85+
color: rgba(255, 255, 255, 0.85);
86+
font-size: 1.05rem;
8787
font-weight: 400;
8888
}
8989

@@ -124,15 +124,16 @@
124124
}
125125

126126
.intro-box {
127-
max-width: 1200px;
128-
margin: 0 auto;
129-
padding: 2rem 1.5rem;
127+
max-width: 100%;
128+
margin: 0;
129+
padding: 2rem 4rem;
130130
background: var(--accent-light);
131131
border: none;
132+
border-bottom: 1px solid var(--card-border);
132133
border-radius: 0;
133134
color: var(--text-muted);
134-
font-size: 0.93rem;
135-
line-height: 1.6;
135+
font-size: 0.95rem;
136+
line-height: 1.7;
136137
transition: background 0.3s;
137138
}
138139

@@ -146,11 +147,11 @@
146147
}
147148

148149
.section-heading {
149-
max-width: 1200px;
150-
margin: 2.5rem auto 1.25rem;
151-
padding: 0 1.5rem 0.5rem;
152-
font-size: 1.4rem;
153-
font-weight: 600;
150+
max-width: 100%;
151+
margin: 2.5rem 0 1.25rem;
152+
padding: 0 4rem 0.75rem;
153+
font-size: 1.5rem;
154+
font-weight: 700;
154155
color: var(--text);
155156
border-bottom: 1px solid var(--card-border);
156157
}
@@ -159,9 +160,9 @@
159160
display: grid;
160161
grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
161162
gap: 1.5rem;
162-
max-width: 1200px;
163-
margin: 0 auto;
164-
padding: 0 1.5rem;
163+
max-width: 100%;
164+
margin: 0;
165+
padding: 0 4rem;
165166
}
166167

167168
.card {
@@ -290,22 +291,27 @@
290291
}
291292

292293
footer {
293-
max-width: 1200px;
294-
margin: 3rem auto 0;
295-
padding: 1.5rem;
294+
max-width: 100%;
295+
margin: 3rem 0 0;
296+
padding: 2rem 4rem;
296297
text-align: center;
297-
color: var(--text-muted);
298-
font-size: 0.82rem;
299-
border-top: 1px solid var(--card-border);
298+
color: #ffffff;
299+
background: #002855;
300+
font-size: 0.85rem;
301+
}
302+
303+
[data-theme="dark"] footer {
304+
background: #001a3a;
300305
}
301306

302307
footer a {
303-
color: var(--accent);
308+
color: #8ecae6;
304309
text-decoration: none;
305310
}
306311

307312
footer a:hover {
308313
text-decoration: underline;
314+
color: #ffffff;
309315
}
310316

311317
@media (max-width: 600px) {
@@ -326,6 +332,10 @@
326332
padding: 1.5rem 1rem;
327333
}
328334

335+
footer {
336+
padding: 1.5rem 1rem;
337+
}
338+
329339
.card-image {
330340
aspect-ratio: 4 / 3;
331341
}

0 commit comments

Comments
 (0)