-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
90 lines (79 loc) · 4.04 KB
/
Copy pathstyles.css
File metadata and controls
90 lines (79 loc) · 4.04 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
:root {
--ink: #111827;
--muted: #5f6368;
--soft: #f5f5f5;
--line: #d8d8d8;
--paper: #ffffff;
--mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, "Liberation Mono", Menlo, monospace;
--sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; text-underline-offset: .2em; }
.site-header, main, footer { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 76px;
border-bottom: 1px solid var(--line);
}
.name { font-weight: 800; text-decoration: none; }
nav { display: flex; gap: 32px; }
nav a { color: var(--muted); font: 700 .76rem/1 var(--mono); text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: var(--ink); }
.hero {
display: grid;
grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
gap: clamp(48px, 9vw, 112px);
align-items: end;
padding: 104px 0 92px;
border-bottom: 2px solid var(--ink);
}
.eyebrow, .label, .section-title > p {
margin: 0;
color: var(--muted);
font: 700 .74rem/1.4 var(--mono);
text-transform: uppercase;
}
.eyebrow::before { content: "$ "; color: var(--ink); }
h1 { max-width: 760px; margin: 15px 0 25px; font-size: clamp(3.3rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.045em; }
.intro { max-width: 690px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.6; }
.primary-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; font: 700 .83rem/1 var(--mono); }
.button { padding: 12px 16px; color: white; background: var(--ink); text-decoration: none; }
.profile-note { padding: 25px; background: var(--soft); border-top: 3px solid var(--ink); }
.profile-note p { margin: 0; }
.profile-note .label:not(:first-child) { margin-top: 24px; }
.profile-note .label { margin-bottom: 5px; }
.section { padding: 92px 0; border-bottom: 1px solid var(--line); }
.section-title { display: grid; grid-template-columns: 80px 1fr; align-items: baseline; margin-bottom: 42px; }
.section-title h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.project { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(280px, 1.25fr) auto; gap: clamp(30px, 5vw, 70px); align-items: start; padding: 32px; background: var(--soft); }
.project h3 { margin: 7px 0 0; font-size: 1.4rem; }
.project > p { margin: 0; color: var(--muted); }
.project > a { font: 700 .8rem/1.4 var(--mono); white-space: nowrap; }
.experience-list { border-top: 1px solid var(--ink); }
.experience-list article { display: grid; grid-template-columns: 150px 240px 1fr; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.experience-list time { color: var(--muted); font: 700 .75rem/1.5 var(--mono); }
.experience-list h3 { margin: 0 0 2px; font-size: 1.02rem; }
.experience-list div p, .experience-list > article > p { margin: 0; color: var(--muted); }
.experience-list div p { font-size: .88rem; }
.cv-link { display: inline-block; margin-top: 30px; font-weight: 700; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px 0 48px; color: var(--muted); font: 700 .72rem/1.5 var(--mono); text-transform: uppercase; }
footer p { margin: 0; }
@media (max-width: 760px) {
.site-header, main, footer { width: min(100% - 32px, 1120px); }
.site-header { min-height: 66px; }
nav { gap: 15px; }
nav a { font-size: .68rem; }
.hero { grid-template-columns: 1fr; gap: 48px; padding: 72px 0 58px; }
h1 { font-size: clamp(3.15rem, 15vw, 4.5rem); }
.section { padding: 68px 0; }
.section-title { grid-template-columns: 42px 1fr; }
.project { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
.experience-list article { grid-template-columns: 1fr; gap: 8px; }
footer { display: block; }
footer p + p { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }