Skip to content

Commit d1b8146

Browse files
MaxDatenclaude
andcommitted
style: Apply design principles to HTML/CSS layout
Precision & Density direction refinements: - Add orange accent underline beneath name in header (matches PDF) - Change role titles (em) from italic to muted secondary color - Move accent underline from h2 (company names) to h1 (section headers) - Make "Technologies" label uppercase, muted, smaller (14px → 0.875rem) - Year badges: monospace font, tabular-nums, subtle border - Tighten spacing: lists (4px gaps), header (24px), profile (120px) - Profile picture: smaller, md radius, subtle shadow Typography hierarchy now consistent with PDF: - h1 in header: name with accent underline - h1 in body: section headers with accent underline - h2: company names (bold, no accent) - h3: "Technologies" label (muted, uppercase) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e795142 commit d1b8146

1 file changed

Lines changed: 72 additions & 29 deletions

File tree

src/templates/template.css

Lines changed: 72 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ body {
118118
}
119119

120120
/* --------------------------------------------------------------------------
121-
Header
121+
Header - Tighter for Precision & Density
122122
-------------------------------------------------------------------------- */
123123
#header {
124124
display: grid;
125125
grid-template-columns: 1fr auto;
126-
gap: var(--space-6);
126+
gap: var(--space-5);
127127
align-items: start;
128-
padding-bottom: var(--space-6);
129-
margin-bottom: var(--space-6);
128+
padding-bottom: var(--space-5);
129+
margin-bottom: var(--space-5);
130130
border-bottom: 1px solid var(--border-color);
131131
}
132132

@@ -143,21 +143,21 @@ body {
143143
}
144144

145145
/* --------------------------------------------------------------------------
146-
Profile Picture
146+
Profile Picture - Clean, minimal treatment
147147
-------------------------------------------------------------------------- */
148148
.profile-picture {
149-
width: 140px;
150-
height: 140px;
149+
width: 120px;
150+
height: 120px;
151151
object-fit: cover;
152-
border-radius: var(--radius-lg);
153-
border: 3px solid var(--border-color);
154-
box-shadow: var(--shadow-md);
152+
border-radius: var(--radius-md);
153+
border: 2px solid var(--border-color);
154+
box-shadow: var(--shadow-sm);
155155
}
156156

157157
@media (max-width: 600px) {
158158
.profile-picture {
159-
width: 120px;
160-
height: 120px;
159+
width: 100px;
160+
height: 100px;
161161
}
162162
}
163163

@@ -170,23 +170,52 @@ h1 {
170170
font-weight: 700;
171171
line-height: 1.2;
172172
letter-spacing: -0.02em;
173-
margin: 0 0 var(--space-2);
173+
margin: 0;
174174
color: var(--text-heading);
175175
}
176176

177+
/* Accent underline below name - matches PDF header */
178+
#header h1::after {
179+
content: '';
180+
display: block;
181+
width: 40px;
182+
height: 2px;
183+
background: var(--accent-color);
184+
margin-top: var(--space-2);
185+
border-radius: 1px;
186+
}
187+
188+
@media (max-width: 600px) {
189+
#header h1::after {
190+
margin-left: auto;
191+
margin-right: auto;
192+
}
193+
}
194+
177195
h2 {
196+
font-family: var(--font-heading);
197+
font-size: 1.25rem;
198+
font-weight: 600;
199+
line-height: 1.3;
200+
letter-spacing: -0.01em;
201+
margin: var(--space-6) 0 var(--space-3);
202+
color: var(--text-heading);
203+
}
204+
205+
/* Section headers (h1 in body) - accent underline */
206+
.container h1 {
178207
font-family: var(--font-heading);
179208
font-size: 1.5rem;
180209
font-weight: 600;
181210
line-height: 1.3;
182211
letter-spacing: -0.01em;
183-
margin: 3.5rem 0 var(--space-5);
212+
margin: 3rem 0 var(--space-5);
184213
padding-bottom: var(--space-3);
185214
color: var(--text-heading);
186215
position: relative;
187216
}
188217

189-
h2::after {
218+
.container h1::after {
190219
content: '';
191220
position: absolute;
192221
bottom: 0;
@@ -211,13 +240,16 @@ h2::after {
211240
display: none;
212241
}
213242

243+
/* Technologies label - muted, smaller (matches PDF) */
214244
h3 {
215245
font-family: var(--font-heading);
216-
font-size: 1.25rem;
217-
font-weight: 600;
246+
font-size: 0.875rem;
247+
font-weight: 500;
218248
line-height: 1.4;
219-
margin: var(--space-5) 0 var(--space-3);
220-
color: var(--text-heading);
249+
margin: var(--space-4) 0 var(--space-2);
250+
color: var(--text-muted);
251+
text-transform: uppercase;
252+
letter-spacing: 0.03em;
221253
}
222254

223255
/* --------------------------------------------------------------------------
@@ -244,28 +276,36 @@ a:visited {
244276
}
245277

246278
/* --------------------------------------------------------------------------
247-
Lists
279+
Role Titles (em) - Secondary color, not italic (matches PDF)
280+
-------------------------------------------------------------------------- */
281+
em {
282+
font-style: normal;
283+
color: var(--text-muted);
284+
}
285+
286+
/* --------------------------------------------------------------------------
287+
Lists - Tight spacing for Precision & Density
248288
-------------------------------------------------------------------------- */
249289
ul {
250290
padding-left: var(--space-5);
251-
margin: var(--space-3) 0;
291+
margin: var(--space-2) 0;
252292
}
253293

254294
li {
255-
margin-bottom: var(--space-2);
256-
line-height: 1.6;
295+
margin-bottom: var(--space-1);
296+
line-height: 1.5;
257297
}
258298

259299
li::marker {
260300
color: var(--accent-color);
261301
}
262302

263303
li ul {
264-
margin-top: var(--space-2);
304+
margin-top: var(--space-1);
265305
}
266306

267307
li li {
268-
margin-bottom: var(--space-2);
308+
margin-bottom: var(--space-1);
269309
}
270310

271311
/* --------------------------------------------------------------------------
@@ -293,16 +333,19 @@ code {
293333
}
294334

295335
/* --------------------------------------------------------------------------
296-
Year Badges
336+
Year Badges - Monospace for data, tabular nums for alignment
297337
-------------------------------------------------------------------------- */
298338
.year {
299339
float: right;
300-
font-size: 0.875rem;
301-
font-weight: 500;
340+
font-family: var(--font-mono);
341+
font-size: 0.8125rem;
342+
font-weight: 400;
343+
font-variant-numeric: tabular-nums;
302344
color: var(--text-muted);
303345
background: var(--bg-secondary);
304-
padding: 0.2em 0.6em;
346+
padding: 3px 8px;
305347
border-radius: var(--radius-sm);
348+
border: 1px solid var(--border-color);
306349
margin-left: var(--space-3);
307350
}
308351

0 commit comments

Comments
 (0)