-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.scss
More file actions
635 lines (588 loc) · 28.2 KB
/
Copy paththeme.scss
File metadata and controls
635 lines (588 loc) · 28.2 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
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
/*============================================================
theme.scss — Ben Black researcher site
Warm · earthy · organic. Satoshi (headings/UI) + Spectral (body).
Works on top of Quarto's Bootstrap theme + _brand.yml.
============================================================*/
/*-- scss:defaults --*/
// ---- Palette (mirrors _brand.yml so rules below can use Sass vars) ----
$cream: #F4EEE2;
$cream-2: #EFE7D7;
$surface: #FBF7EE;
$ink: #2B2620;
$ink-soft: #6B6253;
$ink-faint: #97907F;
$forest: #36513C;
$forest-deep: #233827;
$olive: #6E7350;
$sage: #97A083;
$burnt: #BC5C32;
$burnt-deep: #8E3F1E;
$tan: #DAC6A0;
$sand: #E8DCC4;
// ---- Fonts (files loaded in header.html) ----
$font-family-sans-serif: "Satoshi", system-ui, -apple-system, sans-serif;
$font-family-serif: "Spectral", Georgia, "Times New Roman", serif;
$font-family-base: $font-family-serif; // readable serif body / long-form
$headings-font-family: $font-family-sans-serif;
$font-family-monospace: "JetBrains Mono", "Source Code Pro", monospace;
// ---- Core Bootstrap overrides ----
$body-bg: $cream;
$body-color: $ink;
$primary: $forest;
$secondary: $olive;
$link-color: $burnt;
$link-hover-color: $burnt-deep;
$link-decoration: none;
$headings-font-weight: 700;
$headings-color: $ink;
$headings-line-height: 1.1;
$border-radius: 18px;
$border-radius-sm: 12px;
$border-radius-lg: 24px;
// Cards / surfaces
$card-bg: $surface;
$card-border-color: rgba($ink, .10);
$card-border-radius: $border-radius;
// Code
$code-color: $burnt-deep;
$code-bg: rgba($forest, .07);
// Navbar (Quarto uses a dark navbar class; we restyle in rules)
$navbar-bg: transparent;
$navbar-light-color: $ink;
$navbar-light-hover-color: $forest;
$navbar-light-active-color: $forest;
/*-- scss:rules --*/
/* ----------------------------------------------------------
Design tokens (CSS custom properties — easy to retune)
---------------------------------------------------------- */
:root {
--bb-cream: #F4EEE2;
--bb-cream-2: #EFE7D7;
--bb-surface: #FBF7EE;
--bb-ink: #2B2620;
--bb-ink-soft: #6B6253;
--bb-ink-faint: #97907F;
--bb-forest: #36513C;
--bb-forest-deep: #233827;
--bb-olive: #6E7350;
--bb-sage: #97A083;
--bb-burnt: #BC5C32;
--bb-burnt-deep: #8E3F1E;
--bb-tan: #DAC6A0;
--bb-sand: #E8DCC4;
--bb-primary: var(--bb-forest);
--bb-primary-deep: var(--bb-forest-deep);
--bb-accent: var(--bb-burnt);
--bb-line: rgba(43,38,32,.12);
--bb-line-2: rgba(43,38,32,.07);
/* duotone wash (MEDIUM) */
--bb-duo-shadow: var(--bb-forest-deep);
--bb-duo-light: var(--bb-tan);
--bb-duo-gray: .72;
--bb-duo-shadow-op: .55;
--bb-duo-light-op: .34;
--bb-radius: 18px;
--bb-radius-pill: 999px;
--bb-shadow-card: 0 1px 2px rgba(43,38,32,.04), 0 18px 40px -22px rgba(43,38,32,.30);
--bb-shadow-soft: 0 10px 30px -18px rgba(43,38,32,.35);
--bb-font-sans: "Satoshi", system-ui, sans-serif;
--bb-font-serif: "Spectral", Georgia, serif;
}
body {
background: var(--bb-cream);
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
/* subtle paper grain over the whole page */
body::before {
content: "";
position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
background-image: url("assets/grain.svg");
}
#quarto-content, .navbar, footer { position: relative; z-index: 1; }
h1,h2,h3,h4,h5 { font-family: var(--bb-font-sans); letter-spacing: -.02em; }
/* ==========================================================
NAVBAR (transparent over hero, solid on scroll)
nav-scroll.html toggles `.navbar-solid`
========================================================== */
.navbar {
position: fixed; top: 0; left: 0; right: 0; width: 100%;
background: transparent !important;
box-shadow: none;
border-bottom: 1px solid transparent;
padding: 16px clamp(20px, 5vw, 56px);
transition: background .35s ease, border-color .35s ease, padding .35s ease, backdrop-filter .35s ease;
}
.navbar.navbar-solid {
background: color-mix(in srgb, var(--bb-cream) 88%, transparent) !important;
-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
border-bottom-color: var(--bb-line);
padding-top: 10px; padding-bottom: 10px;
}
/* brand wordmark */
.navbar-brand, .navbar-title {
font-family: var(--bb-font-sans) !important;
font-weight: 900 !important; font-size: 1.4rem !important;
letter-spacing: -.03em; color: var(--bb-ink) !important;
}
.navbar-title .brand-2 { color: var(--bb-primary); }
/* nav links */
.navbar .nav-link {
font-family: var(--bb-font-sans) !important;
font-weight: 500 !important; color: var(--bb-ink) !important;
position: relative; padding: 4px 2px !important; margin: 0 .55rem;
}
.navbar .nav-link::after {
content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
background: var(--bb-accent); transition: width .3s ease;
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { width: 100%; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--bb-primary) !important; }
/* navbar icons */
.navbar .nav-link i, .navbar .navbar-nav .nav-item i { color: var(--bb-ink-soft) !important; transition: color .2s; }
.navbar .nav-link:has(i)::after { display: none; }
.navbar .nav-link:hover i { color: var(--bb-accent) !important; }
/* search */
.navbar #quarto-search svg, .navbar #quarto-search .aa-SubmitIcon { color: var(--bb-ink-soft); }
/* "Download CV" pill button — wrap the navbar item label in
<span class="cv-btn"> (see README §1) and it renders as a filled pill */
.navbar .nav-link .cv-btn {
display: inline-block;
background: var(--bb-primary); color: #fff !important;
font-family: var(--bb-font-sans); font-weight: 600; font-size: .92rem; white-space: nowrap;
padding: 8px 18px; border-radius: var(--bb-radius-pill);
transition: background .25s ease, transform .2s ease;
}
.navbar .nav-link:has(.cv-btn) { padding: 0 !important; margin-left: .6rem; }
.navbar .nav-link:has(.cv-btn)::after { display: none; } /* no underline on the button */
.navbar .nav-link:hover .cv-btn { background: var(--bb-primary-deep); transform: translateY(-1px); color: #fff !important; }
/* keep page content clear of the fixed navbar on inner pages */
#quarto-content, .quarto-title-block { padding-top: 1rem; }
main#quarto-document-content { padding-top: 80px; }
body.quarto-light .page-columns { padding-top: 0; }
/* ==========================================================
HERO (markup lives in index.qmd — see README)
========================================================== */
.bb-hero {
position: relative;
max-width: 1480px; margin: 0 auto;
padding: 84px clamp(20px, 3vw, 44px) 80px;
min-height: 100vh;
display: flex; justify-content: center; align-items: center;
gap: clamp(36px, 5vw, 96px);
}
.bb-hero-left { flex: 0 1 560px; position: relative; z-index: 3; }
.bb-eyebrow {
font-family: var(--bb-font-serif); font-style: italic; font-size: 1.4rem;
color: var(--bb-accent); margin-bottom: 6px;
}
.bb-name {
font-family: var(--bb-font-sans);
font-size: clamp(3.4rem, 9vw, 7rem); line-height: .92; letter-spacing: -.04em;
margin: 0; color: var(--bb-ink); border: 0;
}
.bb-name .ln2 { color: var(--bb-primary); }
.bb-role {
margin-top: 22px; max-width: 30ch;
font-family: var(--bb-font-sans);
font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; line-height: 1.35; color: var(--bb-ink);
}
.bb-role .at { color: var(--bb-ink-soft); }
.bb-intro {
margin-top: 22px; max-width: 42ch;
font-family: var(--bb-font-serif); font-size: 1.12rem; line-height: 1.6; color: var(--bb-ink-soft);
}
.bb-social { display: flex; gap: 22px; margin-top: 34px; align-items: center; }
.bb-social a,
#quarto-document-content .bb-social a { color: var(--bb-primary); display: grid; place-items: center; transition: color .22s, transform .22s; }
.bb-social a:hover,
#quarto-document-content .bb-social a:hover { color: var(--bb-accent); transform: translateY(-3px); }
.bb-social a i, .bb-social a svg { font-size: 1.7rem; width: 28px; height: 28px; }
.bb-hero-right {
position: relative; flex: 0 0 auto;
display: flex; flex-direction: column; align-items: center; justify-content: center;
gap: 36px; min-height: 460px;
}
.bb-portrait-wrap { position: relative; width: clamp(340px, 40vw, 540px); aspect-ratio: 1; }
.bb-portrait-ring {
position: absolute; width: calc(100% + 11px); height: calc(100% + 11px); left: -5.5px; top: 0;
border-radius: 50%;
background: linear-gradient(to right, var(--bb-forest), var(--bb-burnt));
-webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 28%, transparent 50%);
mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 28%, transparent 50%);
z-index: 0;
}
.bb-portrait-glow {
position: absolute; inset: -24px -24px -28px; border-radius: 50%;
background: linear-gradient(to right,
color-mix(in srgb, var(--bb-forest) 38%, transparent),
color-mix(in srgb, var(--bb-burnt) 38%, transparent));
-webkit-mask-image: radial-gradient(ellipse 72% 52% at 50% 76%, #000 0%, transparent 60%);
mask-image: radial-gradient(ellipse 72% 52% at 50% 76%, #000 0%, transparent 60%);
filter: blur(24px); z-index: -1;
}
.bb-portrait {
position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
border: 6px solid var(--bb-surface); box-shadow: var(--bb-shadow-soft);
}
.bb-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 0 !important; margin: 0; }
.bb-squiggle {
position: absolute; left: 22%; bottom: 12%; width: 200px; height: auto;
color: var(--bb-accent); opacity: .85; pointer-events: none; z-index: 1;
overflow: visible;
}
@media (max-width: 1080px) {
.bb-hero { flex-direction: column; min-height: auto; gap: 28px; padding-top: 84px; }
.bb-hero-left { flex: 1 1 auto; }
.bb-hero-right { order: -1; min-height: 360px; }
.bb-squiggle { display: none; }
}
/* ==========================================================
PAGE SECTIONS (publications / presentations / posts)
========================================================== */
.page-section { padding-top: 5rem; padding-bottom: 1rem; border-top: 1px solid var(--bb-line-2); margin-top: 2rem; }
.page-section.publications-section { /* hook for any special pub styling */ }
/* full-bleed tinted section to distinguish listing groups */
.section-tint {
position: relative;
background: var(--bb-cream-2);
border-top: 1px solid var(--bb-line-2); border-bottom: 1px solid var(--bb-line-2);
}
.section-tint::before {
content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
width: 100vw; transform: translateX(-50%); z-index: -1;
background: var(--bb-cream-2);
border-top: 1px solid var(--bb-line-2); border-bottom: 1px solid var(--bb-line-2);
}
/* section heading + "All … →" link on one row */
.section-head {
display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
flex-wrap: wrap; margin-bottom: 2rem;
}
.section-head > h2, .section-head > div > h2 { margin: 0 !important; }
.section-more, a.section-more {
font-family: var(--bb-font-sans); font-weight: 600; font-size: .95rem; white-space: nowrap;
color: var(--bb-primary) !important; text-decoration: none;
display: inline-flex; align-items: center; gap: 7px; transition: gap .2s, color .2s;
}
.section-more::after { content: "→"; }
.section-more:hover { gap: 12px; color: var(--bb-burnt-deep) !important; }
h2[id] { scroll-margin-top: 110px; }
#quarto-document-content h2 {
font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; color: var(--bb-ink);
border: 0; padding-bottom: 0; margin-bottom: 1.4rem;
}
#quarto-document-content h3 {
font-size: 1.3rem; color: var(--bb-primary); margin-top: 2rem; border: 0;
}
/* ==========================================================
PUBLICATIONS (EJS templates → .no-bullets list)
========================================================== */
/* ---- editorial row layout (publication_yearly.ejs / publication.ejs) ---- */
.pub-list { display: flex; flex-direction: column; }
.pub {
display: grid; grid-template-columns: 92px 1fr; gap: 28px; align-items: baseline;
padding: 26px 8px; border-top: 1px solid var(--bb-line);
transition: background .25s, padding .25s;
}
.pub-list .pub:last-child { border-bottom: 1px solid var(--bb-line); }
.pub:hover { background: var(--bb-surface); padding-left: 18px; padding-right: 18px; }
.pub .yr { font-family: var(--bb-font-sans); font-size: 1.5rem; font-weight: 700; color: var(--bb-accent); letter-spacing: -.02em; }
.pub .meta { min-width: 0; }
.pub .pt { font-family: var(--bb-font-sans); font-size: 1.16rem; font-weight: 600; line-height: 1.32; letter-spacing: -.01em; color: var(--bb-ink); text-wrap: pretty; }
.pub:hover .pt { color: var(--bb-primary); }
.pub .pj { margin-top: 8px; font-family: var(--bb-font-serif); font-style: italic; color: var(--bb-ink-soft); font-size: 1rem; }
.pub .pj .author-name { font-style: normal; color: var(--bb-primary); font-weight: 700; }
/* action pills sit on their own row beneath the journal/authors line */
.pub .links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-start; margin-top: 14px; }
.tagpill, .pub .links .btn {
font-family: var(--bb-font-sans); font-size: .72rem; font-weight: 600; letter-spacing: .04em;
color: var(--bb-ink-soft) !important; background: transparent !important;
border: 1px solid var(--bb-line) !important; border-radius: var(--bb-radius-pill) !important;
padding: 5px 11px !important; transition: all .2s; white-space: nowrap; cursor: pointer; line-height: 1.2;
}
.tagpill:hover, .pub .links .btn:hover { color: #fff !important; background: var(--bb-primary) !important; border-color: var(--bb-primary) !important; }
/* summary toggle — accent-tinted, fills in when expanded */
.tagpill-summary { color: var(--bb-primary) !important; border-color: color-mix(in srgb, var(--bb-primary) 35%, transparent) !important; }
.tagpill-summary[aria-expanded="true"] { color: #fff !important; background: var(--bb-primary) !important; border-color: var(--bb-primary) !important; }
/* ---- plain-language summary (sectioned: Overview / Key findings / Methods / Implications) ---- */
.pub .pub-summary { margin-top: 14px; }
.pub-summary-body {
background: var(--bb-surface);
border: 1px solid var(--bb-line);
border-radius: 16px;
padding: 6px clamp(18px, 2.4vw, 28px);
box-shadow: var(--bb-shadow-card);
}
.pub-sum-section { padding: 18px 0; border-top: 1px dashed var(--bb-line); }
.pub-sum-section:first-child { border-top: 0; }
.pub-sum-section > h4 {
font-family: var(--bb-font-sans);
font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
color: var(--bb-accent);
margin: 0 0 10px; padding: 0; border: 0;
}
.pub-sum-content { font-family: var(--bb-font-serif); color: var(--bb-ink); font-size: 1rem; line-height: 1.62; }
.pub-sum-content > :first-child { margin-top: 0; }
.pub-sum-content > :last-child { margin-bottom: 0; }
.pub-sum-content p { margin: 0 0 .7em; }
.pub-sum-content ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.pub-sum-content ul ul { margin-top: .5rem; }
.pub-sum-content li { position: relative; padding-left: 1.25rem; }
.pub-sum-content li::before {
content: ""; position: absolute; left: .15rem; top: .62em;
width: 6px; height: 6px; border-radius: 50%; background: var(--bb-sage);
}
.pub-sum-content ul ul li::before { background: var(--bb-tan); width: 5px; height: 5px; }
.pub-sum-content strong { color: var(--bb-primary); font-weight: 700; }
.pub-sum-content em { color: var(--bb-ink-soft); }
@media (max-width: 720px) {
.pub { grid-template-columns: 56px 1fr; gap: 14px; }
.pub .links { margin-top: 10px; }
.pub .yr { font-size: 1.15rem; }
}
/* ---- fallback for the original .no-bullets EJS (if you keep it) ---- */
.year-heading {
font-family: var(--bb-font-sans) !important;
font-size: 1.6rem !important; font-weight: 700 !important;
color: var(--bb-accent) !important; letter-spacing: -.02em;
margin-top: 2.4rem !important; margin-bottom: .25rem !important;
}
ul.no-bullets > li {
border-top: 1px solid var(--bb-line);
padding: 1.4rem .25rem; line-height: 1.55; font-family: var(--bb-font-serif);
}
ul.no-bullets > li:first-child { border-top: 0; }
ul.no-bullets > li > br:first-child { display: none; }
.author-name { color: var(--bb-primary); font-weight: 700; }
ul.no-bullets > li i { color: var(--bb-ink-soft); }
/* publication action buttons (original EJS) → quiet earthy pills */
.btn-outline-dark.btn-sm, a.btn-outline-dark {
--bs-btn-color: var(--bb-ink-soft);
--bs-btn-border-color: var(--bb-line);
--bs-btn-hover-color: #fff;
--bs-btn-hover-bg: var(--bb-primary);
--bs-btn-hover-border-color: var(--bb-primary);
border-radius: var(--bb-radius-pill) !important;
font-family: var(--bb-font-sans); font-weight: 600; font-size: .76rem;
letter-spacing: .02em; padding: .3rem .8rem; margin: .35rem .25rem 0 0;
}
/* ==========================================================
LISTING GRIDS (Presentations + Posts → type: grid)
Uniform square thumbnails + medium duotone wash.
========================================================== */
.quarto-listing { margin-top: .5rem; }
.quarto-listing-container-grid .list.grid {
display: grid !important;
grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
gap: 30px !important;
}
.quarto-listing-container-grid .list.grid > * { min-width: 0; }
/* naked cards — image is a rounded tile, text sits below on the page */
.quarto-grid-item.card,
.quarto-listing-container-grid .quarto-grid-item.card {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
padding: 0;
overflow: visible;
}
/* the square duotone image tile (the <p class="card-img-top"> wrapper) */
/* padding-top: 100% is the reliable intrinsic-ratio square — works in Bootstrap flex cards */
.quarto-grid-item .card-img-top {
position: relative; display: block; margin: 0;
padding-top: 100%; overflow: hidden;
border-radius: var(--bb-radius); background: var(--bb-cream-2);
box-shadow: var(--bb-shadow-card);
}
.quarto-grid-item .card-img-top img,
.quarto-grid-item img.thumbnail-image {
position: absolute; top: 0; left: 0;
width: 100% !important; height: 100% !important; object-fit: cover; object-position: center;
border-radius: 0 !important;
filter: grayscale(var(--bb-duo-gray)) contrast(1.04) brightness(1.02);
transition: filter .45s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.quarto-grid-item .card-img-top::before,
.quarto-grid-item .card-img-top::after {
content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity .45s ease;
}
.quarto-grid-item .card-img-top::before { background: var(--bb-duo-shadow); mix-blend-mode: multiply; opacity: var(--bb-duo-shadow-op); }
.quarto-grid-item .card-img-top::after { background: var(--bb-duo-light); mix-blend-mode: screen; opacity: var(--bb-duo-light-op); }
/* reveal full colour on hover */
.quarto-grid-item:hover .card-img-top img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1.04); }
.quarto-grid-item:hover .card-img-top::before,
.quarto-grid-item:hover .card-img-top::after { opacity: 0; }
/* card text — reflowed to match the design: date → title → event/desc → location → categories */
.quarto-grid-item .card-body, .quarto-grid-item .card-body.post-contents {
padding: 16px 2px 0; display: flex; flex-direction: column; gap: 8px;
}
.quarto-grid-item .card-body > .card-attribution,
.quarto-grid-item .card-body > .listing-date { order: 1 !important; margin: 0; }
.quarto-grid-item .card-body > .listing-title,
.quarto-grid-item .card-body > .card-title { order: 2 !important; }
.quarto-grid-item .card-body > .listing-event,
.quarto-grid-item .card-body > .listing-subtitle { order: 3; }
.quarto-grid-item .card-body > .listing-description { order: 3; }
.quarto-grid-item .card-body > .card-other-values { order: 3; }
.quarto-grid-item .card-body > .listing-location { order: 4; }
.quarto-grid-item .card-body > .listing-categories { order: 5; margin-top: 2px; }
.quarto-grid-item .listing-categories {
display: flex !important; flex-wrap: wrap; gap: 6px; align-items: center;
}
.quarto-grid-item .listing-title, .quarto-grid-item .card-title,
.quarto-grid-item .listing-title a {
font-family: var(--bb-font-sans); font-weight: 700; font-size: 1.16rem; line-height: 1.28;
letter-spacing: -.01em; color: var(--bb-ink) !important; margin: 0;
}
.quarto-grid-item:hover .listing-title,
.quarto-grid-item:hover .listing-title a { color: var(--bb-primary) !important; }
.quarto-grid-item .card-other-values {
display: grid; gap: 8px; margin: 0; border: 0; padding: 0;
background: transparent !important;
}
.quarto-grid-item .card-other-values tbody,
.quarto-grid-item .card-other-values tr {
display: contents;
background: transparent !important;
}
.quarto-grid-item .card-other-values td {
display: block; border: 0; padding: 0;
background: transparent !important;
}
.quarto-grid-item .card-other-values td:first-child { display: none; }
.quarto-grid-item .listing-event,
.quarto-grid-item .card-other-values td.event,
.quarto-grid-item .listing-subtitle {
font-family: var(--bb-font-serif); font-style: italic; color: var(--bb-ink-soft); font-size: .98rem; line-height: 1.4;
}
.quarto-grid-item .listing-description, .quarto-grid-item .card-text.listing-description {
font-family: var(--bb-font-serif); color: var(--bb-ink-soft); font-size: .98rem; line-height: 1.5;
}
.quarto-grid-item .listing-location,
.quarto-grid-item .card-other-values td.location {
font-family: var(--bb-font-sans); font-size: .9rem; color: var(--bb-ink-faint);
display: flex; align-items: center; gap: 6px;
}
.quarto-grid-item .listing-location::before,
.quarto-grid-item .card-other-values td.location::before { content: "📍"; font-size: .85em; }
.quarto-grid-item .listing-date, .quarto-grid-item .card-attribution {
font-family: var(--bb-font-sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
color: var(--bb-ink-faint); font-weight: 600;
}
.quarto-grid-item .card-attribution {
display: flex !important; justify-content: flex-start !important; text-align: left;
margin-top: 0 !important; margin-bottom: 0 !important;
}
.quarto-grid-item .card-attribution .listing-date { display: block; text-align: left; }
/* ----- default-listing fallback (if you keep type: default) ----- */
.quarto-listing-container-default .quarto-post .thumbnail img.thumbnail-image {
aspect-ratio: 1/1; object-fit: cover; width: 100%; height: 100%;
border-radius: var(--bb-radius); box-shadow: var(--bb-shadow-card);
filter: grayscale(var(--bb-duo-gray)) contrast(1.04);
}
/* ----- gallery (Other content, gallery.ejs Bootstrap cards) ----- */
.list.grid .card { background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius); overflow: hidden; }
.list.grid .card > a { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; }
.list.grid .card img.card-img-top {
width: 100%; height: 100%; object-fit: cover; border-radius: 0;
filter: grayscale(var(--bb-duo-gray)) contrast(1.04); transition: filter .45s ease, transform .6s ease;
}
.list.grid .card > a::after { content:""; position:absolute; inset:0; background: var(--bb-duo-shadow); mix-blend-mode: multiply; opacity: var(--bb-duo-shadow-op); transition: opacity .45s ease; pointer-events:none; }
.list.grid .card:hover img.card-img-top { filter: none; transform: scale(1.04); }
.list.grid .card:hover > a::after { opacity: 0; }
/* category chips (used in listings) */
.listing-category, .quarto-category {
background: color-mix(in srgb, var(--bb-primary) 12%, transparent) !important;
color: var(--bb-primary) !important;
border-radius: var(--bb-radius-pill) !important;
border: 0 !important; opacity: 1 !important;
font-family: var(--bb-font-sans); font-weight: 600; font-size: .68rem; letter-spacing: .04em;
padding: 4px 10px !important; margin: 4px 6px 0 0 !important;
text-transform: none;
}
.listing-category:hover, .quarto-category:hover { background: var(--bb-primary) !important; color: #fff !important; }
/* ==========================================================
LINKS in body copy
========================================================== */
#quarto-document-content a { color: var(--bb-accent); }
#quarto-document-content a:hover { color: var(--bb-burnt-deep); }
/* card links must override the body-copy rule above */
#quarto-document-content .quarto-grid-item a,
#quarto-document-content .quarto-grid-item .listing-title a { color: var(--bb-ink); }
#quarto-document-content .quarto-grid-item:hover .listing-title a { color: var(--bb-primary); }
/* ==========================================================
FOOTER — custom "Let's talk" block (bb-footer.html include)
Quarto's default .nav-footer is hidden in favour of this.
========================================================== */
.nav-footer { display: none !important; }
.bb-footer {
grid-column: screen-start / screen-end;
background: var(--bb-forest-deep);
color: color-mix(in srgb, #fff 82%, var(--bb-forest));
font-family: var(--bb-font-sans);
padding: 70px 0 36px; margin-top: 60px;
position: relative; z-index: 1;
/* Viewport bleed: overrides any grid-container constraint on article pages.
On full-width pages 100% == 100vw so margin-left == 0; on narrower containers
it shifts the footer left to the true viewport edge. */
width: 100vw;
margin-left: calc((100% - 100vw) / 2);
box-sizing: border-box;
}
.bb-footer .bb-footer-wrap {
max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px,5vw,56px);
display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start;
}
.bb-footer h3 { font-family: var(--bb-font-sans); font-size: 2.2rem; color: #fff; letter-spacing: -.03em; margin: 0; }
.bb-footer .bb-ft-sub { margin-top: 12px; font-family: var(--bb-font-serif); font-style: italic; color: color-mix(in srgb, #fff 70%, var(--bb-forest)); max-width: 42ch; }
.bb-footer .bb-ft-mail { display: inline-block; margin-top: 20px; font-size: 1.2rem; font-weight: 600; color: var(--bb-tan); border-bottom: 2px solid color-mix(in srgb, var(--bb-tan) 50%, transparent); padding-bottom: 3px; }
.bb-footer .bb-ft-mail:hover { color: #fff; }
.bb-footer .bb-ft-cols { display: flex; gap: 60px; justify-content: flex-end; }
.bb-footer .bb-ft-col h4 { font-family: var(--bb-font-sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bb-tan); margin: 0 0 14px; font-weight: 600; }
.bb-footer .bb-ft-col a { display: block; padding: 6px 0; line-height: 1.3; color: color-mix(in srgb, #fff 80%, var(--bb-forest)); font-size: .95rem; }
.bb-footer .bb-ft-col a:hover { color: #fff; }
.bb-footer .bb-ft-bottom {
max-width: 1200px; margin: 50px auto 0; padding: 22px clamp(20px,5vw,56px) 0;
border-top: 1px solid color-mix(in srgb, #fff 16%, transparent);
display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
font-size: .84rem; color: color-mix(in srgb, #fff 60%, var(--bb-forest));
}
.bb-footer .bb-ft-bottom a { color: var(--bb-tan); }
@media (max-width: 760px) {
.bb-footer .bb-footer-wrap { grid-template-columns: 1fr; }
.bb-footer .bb-ft-cols { justify-content: flex-start; gap: 40px; }
}
/* ==========================================================
EMBED CONTAINER — responsive iframes (presentations)
Wraps <iframe> in a 16:9 padding-box so the iframe fills
the available body width regardless of hardcoded dimensions.
========================================================== */
.embed-container {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
overflow: hidden;
margin: 1.5rem 0;
border-radius: var(--bb-radius);
box-shadow: var(--bb-shadow-card);
}
.embed-container p,
.embed-container p[align] {
position: absolute !important;
inset: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
.embed-container iframe {
position: absolute;
inset: 0;
width: 100% !important;
height: 100% !important;
border: 0;
}
/* ==========================================================
Misc — keep portraits/figures from old global border-radius rule
========================================================== */
.bb-portrait img, .quarto-grid-item img { border-radius: 0; }