-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
364 lines (316 loc) · 8.13 KB
/
Copy pathstyle.css
File metadata and controls
364 lines (316 loc) · 8.13 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
/* ============================================================
PORTFOLIO STYLESHEET
------------------------------------------------------------
This one file controls the look of every page. You should
not need to touch this file at all — all the text/photo
edits happen inside the .html files. But if you ever want to
change the accent color or fonts, the values are all named
here at the top under ":root".
============================================================ */
:root {
/* ---- Colors ---- */
--bg: #FAF9F5; /* main page background (warm paper white) */
--bg-card: #F1EEE6; /* slightly darker background for cards/panels */
--ink: #1C1B18; /* main text color (near-black) */
--ink-soft: #55524A; /* secondary/paragraph text */
--ink-faint: #918D80; /* captions, meta text */
--accent: #2B3A67; /* deep indigo — links, headings accents */
--accent-warm: #A97C50; /* brass/copper — small decorative accents */
--line: #DEDACE; /* hairline borders/dividers */
/* ---- Type ---- */
--font-display: "Fraunces", Georgia, serif;
--font-body: "Inter", -apple-system, Helvetica, Arial, sans-serif;
--font-mono: "IBM Plex Mono", "Courier New", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: var(--font-body);
font-size: 17px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a {
color: var(--accent);
text-decoration-color: var(--line);
text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--accent); }
h1, h2, h3 {
font-family: var(--font-display);
color: var(--ink);
line-height: 1.15;
margin: 0 0 0.5em 0;
font-weight: 600;
}
p { margin: 0 0 1em 0; }
.wrap {
max-width: 880px;
margin: 0 auto;
padding: 0 28px;
}
/* ---------------- Header / Nav ---------------- */
header.site-header {
border-bottom: 1px solid var(--line);
padding: 22px 0;
background: var(--bg);
}
header.site-header .wrap {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
}
.site-name {
font-family: var(--font-display);
font-weight: 600;
font-size: 1.15rem;
color: var(--ink);
text-decoration: none;
letter-spacing: 0.01em;
}
.site-name span { color: var(--accent-warm); }
nav.site-nav a {
font-family: var(--font-mono);
font-size: 0.82rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--ink-soft);
text-decoration: none;
margin-left: 26px;
}
nav.site-nav a:first-child { margin-left: 0; }
nav.site-nav a:hover, nav.site-nav a.active { color: var(--accent); }
/* ---------------- Hero (Home page) ---------------- */
.hero {
padding: 72px 0 56px 0;
}
.hero .wrap {
display: flex;
align-items: center;
gap: 56px;
}
.hero-text { flex: 1.3; min-width: 260px; }
.hero-photo { flex: 1; min-width: 200px; max-width: 280px; }
.eyebrow {
font-family: var(--font-mono);
font-size: 0.8rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--accent-warm);
margin-bottom: 14px;
display: block;
}
.hero-text h1 {
font-size: 2.6rem;
margin-bottom: 6px;
}
.hero-role {
font-family: var(--font-body);
color: var(--ink-soft);
font-size: 1.05rem;
margin-bottom: 22px;
}
.hero-vision {
color: var(--ink-soft);
font-size: 1.04rem;
max-width: 46ch;
}
.hero-buttons { margin-top: 26px; }
.btn {
display: inline-block;
font-family: var(--font-mono);
font-size: 0.82rem;
letter-spacing: 0.04em;
text-transform: uppercase;
text-decoration: none;
padding: 11px 20px;
border: 1px solid var(--ink);
color: var(--ink);
margin-right: 12px;
margin-bottom: 10px;
transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
/* photo frame with corner "figure" ticks, like a caption marker */
.photo-frame {
position: relative;
padding: 10px;
}
.photo-frame img {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
background: var(--bg-card);
}
.photo-frame::before, .photo-frame::after {
content: "";
position: absolute;
width: 18px;
height: 18px;
border-color: var(--accent-warm);
}
.photo-frame::before {
top: 0; left: 0;
border-top: 2px solid var(--accent-warm);
border-left: 2px solid var(--accent-warm);
}
.photo-frame::after {
bottom: 0; right: 0;
border-bottom: 2px solid var(--accent-warm);
border-right: 2px solid var(--accent-warm);
}
.photo-caption {
font-family: var(--font-mono);
font-size: 0.75rem;
color: var(--ink-faint);
margin-top: 10px;
text-align: center;
}
/* ---------------- Generic sections ---------------- */
section.block {
padding: 44px 0;
border-top: 1px solid var(--line);
}
.section-head {
display: flex;
align-items: baseline;
justify-content: space-between;
margin-bottom: 28px;
flex-wrap: wrap;
gap: 10px;
}
.section-head h2 { font-size: 1.5rem; }
.section-num {
font-family: var(--font-mono);
font-size: 0.8rem;
color: var(--ink-faint);
}
.section-link {
font-family: var(--font-mono);
font-size: 0.82rem;
text-transform: uppercase;
letter-spacing: 0.04em;
}
/* ---------------- Research cards ---------------- */
.research-item {
display: flex;
gap: 26px;
padding: 26px 0;
border-top: 1px solid var(--line);
align-items: flex-start;
}
.research-item:first-child { border-top: none; padding-top: 0; }
.research-item .research-figure {
flex: 0 0 180px;
}
.research-item .research-figure img {
background: var(--bg-card);
aspect-ratio: 4 / 3;
object-fit: cover;
}
.research-item .research-body { flex: 1; min-width: 200px; }
.research-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.research-item p { color: var(--ink-soft); }
/* ---------------- Publications (bibliography style) ---------------- */
.pub-year {
font-family: var(--font-mono);
color: var(--accent-warm);
font-size: 0.85rem;
letter-spacing: 0.05em;
margin: 30px 0 12px 0;
border-bottom: 1px solid var(--line);
padding-bottom: 6px;
}
.pub-year:first-child { margin-top: 0; }
ol.pub-list {
list-style: none;
counter-reset: pub-counter;
margin: 0;
padding: 0;
}
.pub-entry {
counter-increment: pub-counter;
position: relative;
padding: 12px 0 12px 42px;
border-top: 1px solid var(--line);
}
.pub-entry:first-child { border-top: none; }
.pub-entry::before {
content: "[" counter(pub-counter) "]";
position: absolute;
left: 0;
top: 12px;
font-family: var(--font-mono);
font-size: 0.82rem;
color: var(--ink-faint);
}
.pub-title {
font-weight: 600;
color: var(--ink);
}
.pub-meta {
color: var(--ink-soft);
font-size: 0.95rem;
}
.pub-tags a {
font-family: var(--font-mono);
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--accent);
margin-right: 14px;
text-decoration: none;
border-bottom: 1px solid var(--line);
}
.pub-tags { margin-top: 6px; }
/* ---------------- Contact page ---------------- */
.contact-list {
list-style: none;
padding: 0;
margin: 0;
}
.contact-list li {
display: flex;
gap: 18px;
padding: 16px 0;
border-top: 1px solid var(--line);
align-items: baseline;
}
.contact-list li:first-child { border-top: none; }
.contact-label {
font-family: var(--font-mono);
font-size: 0.8rem;
text-transform: uppercase;
color: var(--ink-faint);
width: 110px;
flex-shrink: 0;
}
/* ---------------- Footer ---------------- */
footer {
border-top: 1px solid var(--line);
padding: 30px 0 50px 0;
margin-top: 20px;
}
footer p {
font-family: var(--font-mono);
font-size: 0.78rem;
color: var(--ink-faint);
margin: 0;
}
/* ---------------- Responsive ---------------- */
@media (max-width: 680px) {
.hero .wrap { flex-direction: column-reverse; }
.hero-photo { max-width: 200px; }
.hero-text h1 { font-size: 2.1rem; }
.research-item { flex-direction: column; }
.research-item .research-figure { flex: none; width: 140px; }
nav.site-nav a { margin-left: 16px; }
}