-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresume.css
More file actions
476 lines (460 loc) · 12.5 KB
/
Copy pathresume.css
File metadata and controls
476 lines (460 loc) · 12.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
:root {
color-scheme: light;
--ink: #f7f5ed;
--panel: #edeae1;
--paper: #111512;
--muted: #5c645d;
--lime: #bdd633;
--mint: #16785b;
--line: rgba(12, 14, 13, .15);
--page-bg: #e7e5dc;
--toolbar-bg: rgba(231, 229, 220, .9);
--glow: rgba(22, 120, 91, .08);
--shadow: rgba(29, 34, 30, .15);
--accent-text: #0c0e0d;
--display: "Oswald", Impact, sans-serif;
--sans: "Manrope", system-ui, sans-serif;
--mono: "DM Mono", monospace;
}
html[data-theme="dark"] {
color-scheme: dark;
--ink: #0c0e0d;
--panel: #141714;
--paper: #f2efe6;
--muted: #a9ada4;
--lime: #e7ff68;
--mint: #73f2c3;
--line: rgba(242, 239, 230, .16);
--page-bg: #080a09;
--toolbar-bg: rgba(8, 10, 9, .9);
--glow: rgba(115, 242, 195, .09);
--shadow: rgba(0, 0, 0, .38);
--accent-text: #0c0e0d;
}
* { box-sizing: border-box; }
html {
scroll-behavior: smooth;
background: var(--page-bg);
transition: background-color .25s ease;
}
body {
margin: 0;
color: var(--paper);
background:
radial-gradient(circle at 78% 3%, var(--glow), transparent 25%),
var(--page-bg);
font: 400 15px/1.7 var(--sans);
transition:
color .25s ease,
background-color .25s ease;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--accent-text); background: var(--lime); }
.skip-link {
position: fixed;
z-index: 100;
top: 10px;
left: 10px;
padding: 9px 14px;
color: var(--accent-text);
background: var(--lime);
transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.resume-toolbar {
position: sticky;
z-index: 50;
top: 0;
width: min(1320px, calc(100vw - 48px));
height: 76px;
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
margin: 0 auto;
border-bottom: 1px solid var(--line);
background: var(--toolbar-bg);
backdrop-filter: blur(18px);
transition:
background-color .25s ease,
border-color .25s ease;
}
.resume-toolbar p,
.resume-toolbar a,
.resume-toolbar button {
font: 400 9px/1 var(--mono);
letter-spacing: .1em;
text-transform: uppercase;
}
.resume-toolbar p { margin: 0; color: var(--muted); }
.toolbar-actions {
justify-self: end;
display: flex;
gap: 8px;
align-items: center;
}
.resume-toolbar button {
width: 39px;
height: 39px;
display: grid;
padding: 0;
place-items: center;
color: var(--paper);
border: 1px solid var(--line);
border-radius: 50%;
background: transparent;
cursor: pointer;
transition:
color .2s ease,
border-color .2s ease,
background-color .2s ease,
transform .2s ease;
}
.resume-toolbar button:hover {
color: var(--lime);
border-color: var(--lime);
transform: rotate(12deg);
}
.theme-toggle {
padding: 0;
}
.resume-theme-icon {
font-size: 17px;
line-height: 1;
}
.back-link { display: flex; gap: 10px; align-items: center; }
.resume-shell {
width: min(1180px, calc(100vw - 48px));
margin: 64px auto;
border: 1px solid var(--line);
background: var(--ink);
box-shadow: 0 45px 100px var(--shadow);
transition:
color .25s ease,
background-color .25s ease,
border-color .25s ease,
box-shadow .25s ease;
}
.resume-hero {
position: relative;
min-height: 570px;
display: grid;
grid-template-columns: 1fr 380px;
align-items: end;
padding: 76px 68px 64px;
overflow: hidden;
border-bottom: 1px solid var(--line);
}
.resume-hero::after {
position: absolute;
top: -180px;
right: -120px;
width: 560px;
height: 560px;
content: "";
border: 1px dashed color-mix(in srgb, var(--mint) 28%, transparent);
border-radius: 50%;
}
.resume-monogram {
display: grid;
width: 50px;
height: 50px;
place-items: center;
color: var(--accent-text);
background: var(--lime);
border-radius: 50%;
font: 600 18px/1 var(--display);
}
.resume-hero > .resume-monogram {
position: absolute;
top: 56px;
left: 68px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow,
.date,
.place,
.company {
margin: 0;
font: 400 9px/1.5 var(--mono);
letter-spacing: .1em;
text-transform: uppercase;
}
.eyebrow, .place { color: var(--muted); }
.hero-copy h1 {
margin: 30px 0 0;
font: 600 clamp(78px, 10vw, 142px)/.78 var(--display);
letter-spacing: -.055em;
}
.hero-copy h1 span {
color: transparent;
-webkit-text-stroke: 1.5px var(--paper);
}
.role {
margin: 40px 0 0;
color: var(--muted);
font-size: 17px;
}
.role i { margin: 0 7px; color: var(--lime); font-style: normal; }
.contact-list {
position: relative;
z-index: 2;
padding-left: 48px;
border-left: 1px solid var(--line);
}
.contact-list a {
display: block;
padding: 18px 0;
border-bottom: 1px solid var(--line);
font: 400 11px/1.4 var(--mono);
}
.contact-list a:first-child { border-top: 1px solid var(--line); }
.contact-list span {
display: block;
margin-bottom: 8px;
color: var(--mint);
font-size: 8px;
letter-spacing: .1em;
text-transform: uppercase;
}
.section {
display: grid;
grid-template-columns: 220px 1fr;
border-bottom: 1px solid var(--line);
}
.section-heading {
padding: 64px 42px;
border-right: 1px solid var(--line);
}
.section-heading span {
color: var(--lime);
font: 400 9px/1 var(--mono);
}
.section-heading h2 {
margin: 17px 0 0;
font: 500 33px/1 var(--display);
text-transform: uppercase;
}
.section-body { padding: 64px; }
.summary-grid {
display: grid;
grid-template-columns: 1.2fr .8fr;
gap: 58px;
align-items: end;
}
.summary-grid p { margin: 0; }
.summary-lead {
font-size: 30px;
line-height: 1.3;
letter-spacing: -.025em;
}
.summary-lead em { color: var(--lime); font-style: normal; }
.summary-grid > p:last-child { color: var(--muted); }
.skill-groups {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0;
padding: 0;
}
.skill-groups article {
min-height: 190px;
padding: 42px;
border-right: 1px solid var(--line);
border-bottom: 1px solid var(--line);
}
.skill-groups article:nth-child(2n) { border-right: 0; }
.skill-groups article:nth-last-child(-n+2) { border-bottom: 0; }
.skill-groups h3 {
margin: 0 0 18px;
color: var(--mint);
font: 500 10px/1 var(--mono);
letter-spacing: .1em;
text-transform: uppercase;
}
.skill-groups p { margin: 0; color: var(--muted); font-size: 13px; }
.timeline { padding-top: 0; padding-bottom: 0; }
.job {
display: grid;
grid-template-columns: 170px 1fr;
gap: 42px;
padding: 58px 0;
border-bottom: 1px solid var(--line);
}
.job:last-child { border-bottom: 0; }
.job-meta { padding-top: 4px; }
.date { color: var(--lime); }
.place { margin-top: 9px; }
.company { color: var(--mint); }
.job-content h3 {
margin: 11px 0 26px;
font: 500 38px/1 var(--display);
text-transform: uppercase;
}
.job-content ul {
display: grid;
gap: 13px;
margin: 0;
padding-left: 18px;
color: var(--muted);
}
.job-content li { padding-left: 8px; }
.job-content li::marker { color: var(--lime); }
.education-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 52px;
}
.education-grid h3 {
margin: 14px 0 8px;
font: 500 29px/1.08 var(--display);
text-transform: uppercase;
}
.education-grid p:not(.date) { margin: 0; color: var(--paper); }
.education-grid span {
display: block;
margin-top: 12px;
color: var(--muted);
font-size: 13px;
}
.education-primary {
padding: 32px;
color: var(--accent-text);
background: var(--lime);
}
.education-primary .date { color: rgba(12, 14, 13, .55); }
.education-primary p:not(.date) { color: var(--accent-text); }
.education-primary span { color: rgba(12, 14, 13, .65); }
.course-list { display: grid; gap: 34px; }
.course-list article + article {
padding-top: 34px;
border-top: 1px solid var(--line);
}
.course-list h3 { font-size: 23px; }
.project-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0;
padding: 0;
}
.project-list article {
min-height: 350px;
padding: 40px 34px;
border-right: 1px solid var(--line);
}
.project-list article:last-child { border-right: 0; }
.project-list > article > span {
color: var(--lime);
font: 400 9px/1 var(--mono);
}
.project-list h3 {
margin: 62px 0 20px;
font: 500 24px/1.08 var(--display);
text-transform: uppercase;
}
.project-list p { margin: 0; color: var(--muted); font-size: 13px; }
.resume-footer {
min-height: 160px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 40px 68px;
}
.resume-footer p,
.resume-footer a {
font: 400 8px/1 var(--mono);
letter-spacing: .1em;
text-transform: uppercase;
}
.resume-footer p { color: var(--muted); }
@media (max-width: 900px) {
.resume-shell { width: calc(100vw - 32px); }
.resume-hero { grid-template-columns: 1fr; gap: 60px; }
.contact-list { padding-left: 0; border-left: 0; }
.section { grid-template-columns: 170px 1fr; }
.section-heading { padding: 52px 28px; }
.section-body { padding: 52px 38px; }
.summary-grid, .education-grid { grid-template-columns: 1fr; }
.job { grid-template-columns: 130px 1fr; gap: 28px; }
.project-list { grid-template-columns: 1fr; }
.project-list article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
.project-list article:last-child { border-bottom: 0; }
.project-list h3 { margin-top: 36px; }
}
@media (max-width: 620px) {
.resume-toolbar {
width: calc(100vw - 28px);
grid-template-columns: 1fr auto;
}
.resume-toolbar p { display: none; }
.theme-toggle {
width: 38px;
height: 38px;
}
.resume-shell { width: 100%; margin: 24px 0 0; border-right: 0; border-left: 0; }
.resume-hero { min-height: 620px; padding: 82px 22px 44px; }
.resume-hero > .resume-monogram { top: 30px; left: 22px; }
.hero-copy h1 { font-size: clamp(65px, 21vw, 100px); }
.role { font-size: 14px; }
.section { grid-template-columns: 1fr; }
.section-heading { padding: 38px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
.section-heading h2 { font-size: 28px; }
.section-body { padding: 42px 22px; }
.summary-lead { font-size: 25px; }
.skill-groups { grid-template-columns: 1fr; }
.skill-groups article,
.skill-groups article:nth-child(2n),
.skill-groups article:nth-last-child(-n+2) {
min-height: 0;
padding: 34px 22px;
border-right: 0;
border-bottom: 1px solid var(--line);
}
.skill-groups article:last-child { border-bottom: 0; }
.timeline { padding-top: 0; padding-bottom: 0; }
.job { grid-template-columns: 1fr; gap: 25px; padding: 44px 0; }
.job-content h3 { font-size: 33px; }
.education-primary { padding: 25px; }
.project-list { padding: 0; }
.resume-footer { min-height: 210px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 40px 22px; }
}
@media print {
@page { size: A4; margin: 12mm; }
:root,
html[data-theme="dark"] {
--ink: #fff;
--paper: #111;
--muted: #444;
--lime: #e8efc4;
--mint: #26664e;
--line: #bbb;
--page-bg: #fff;
--accent-text: #111;
}
html, body { background: #fff; }
body { color: #111; font-size: 9.5pt; }
.skip-link, .resume-toolbar { display: none; }
.resume-shell { width: 100%; margin: 0; border: 0; box-shadow: none; background: #fff; color: #111; }
.resume-hero { min-height: auto; grid-template-columns: 1fr 250px; padding: 12mm 0 10mm; border-bottom: 1px solid #bbb; }
.resume-hero::after, .resume-hero > .resume-monogram { display: none; }
.hero-copy h1 { font-size: 54pt; color: #111; }
.hero-copy h1 span { color: #111; -webkit-text-stroke: 0; }
.role, .eyebrow, .contact-list span, .summary-grid > p:last-child, .skill-groups p, .place, .job-content ul, .education-grid span, .project-list p { color: #444; }
.contact-list { padding-left: 8mm; border-left-color: #bbb; }
.contact-list a { padding: 3mm 0; border-color: #ccc; font-size: 7.5pt; }
.section { grid-template-columns: 35mm 1fr; border-color: #bbb; break-inside: auto; }
.section-heading { padding: 8mm 5mm 8mm 0; border-color: #bbb; }
.section-heading span, .date, .project-list > article > span { color: #405600; }
.section-heading h2 { font-size: 18pt; }
.section-body { padding: 8mm 0 8mm 8mm; }
.summary-lead { font-size: 17pt; }
.summary-lead em { color: #405600; }
.skill-groups article { min-height: 0; padding: 5mm; border-color: #ccc; break-inside: avoid; }
.skill-groups h3, .company { color: #26664e; }
.job { grid-template-columns: 31mm 1fr; gap: 7mm; padding: 8mm 0; border-color: #bbb; break-inside: avoid; }
.job-content h3 { font-size: 20pt; }
.job-content ul { gap: 2mm; }
.education-primary { color: #111; background: #e8efc4; }
.project-list article { min-height: 0; padding: 6mm; border-color: #bbb; break-inside: avoid; }
.project-list h3 { margin-top: 8mm; font-size: 15pt; }
.resume-footer { display: none; }
}