Repository navigation
Expand file tree
/
Copy paththeme.scss
More file actions
804 lines (761 loc) · 30.6 KB
/
Copy paththeme.scss
File metadata and controls
804 lines (761 loc) · 30.6 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
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
/*-- scss:defaults --*/
// Layered on Quarto's dark Reveal.js theme: `theme: [dark, theme.scss]`.
// One accent palette; the three agent boxes reuse its violet, amber, and green.
$ws-accent: #86cce8; // links, rules, section marks
$ws-violet: #b9a0ed; // .prompt — ask your coding agent
$ws-amber: #e9b86e; // .agent — expect it to run; exercise labels
$ws-green: #79d4b2; // .you — you type
$ws-muted: #b8c2cc; // captions, sources, secondary text
$link-color: $ws-accent;
$code-block-font-size: 0.6em;
/*-- scss:rules --*/
:root {
--ws-accent: #{$ws-accent};
--ws-violet: #{$ws-violet};
--ws-amber: #{$ws-amber};
--ws-green: #{$ws-green};
--ws-muted: #{$ws-muted};
--ws-panel: rgba(134, 204, 232, 0.08);
/* Spacing factor per slide, set by slide-spacing.html: 1 on full slides, up to 1.8 on
slides with spare room, down to 0.6 on overfull slides of a translated page. Margins
scale with it; at 1 the layout is unchanged. */
--ws-space: 1;
}
.reveal .slides section { overflow-wrap: anywhere; }
.reveal img { max-width: 100%; height: auto; }
/* Title and section slides: a short accent rule anchors the heading. */
.reveal #title-slide .subtitle { color: var(--ws-accent); }
.reveal #title-slide .quarto-title-author-name { color: var(--ws-muted); }
.reveal #title-slide h1.title::after,
.reveal section.level1.title-slide h1::after {
content: "";
display: block;
width: 2.2em;
height: 0.09em;
margin: 0.25em auto 0;
background: var(--ws-accent);
}
.reveal section.level1.title-slide h1::after { margin-left: 0; }
/* Section dividers: a big emoji title with a time marker that matches the agenda. */
.reveal section.level1.title-slide h1 { font-size: 2.3em; line-height: 1.15; }
.reveal .clock {
display: inline-block;
margin-top: 0.6em;
padding: 0.12em 0.6em;
border: 2px solid var(--ws-accent);
border-radius: 999px;
color: var(--ws-accent);
font-size: 0.75em;
font-weight: 600;
font-variant-numeric: tabular-nums;
}
/* Slide titles keep a little more room for content. */
.reveal h2 { margin-bottom: calc(0.45em * var(--ws-space)); }
/* "### Exercise" becomes a labelled activity marker, not a second title.
Quarto gives these headings ids such as exercise, exercise-1, exercise-30-minutes. */
.reveal h3[id^="exercise"] {
font-size: 0.72em;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--ws-amber);
margin: calc(0.55em * var(--ws-space)) 0 0.2em;
}
.reveal h3[id^="exercise"]::before { content: "\25B8\00A0" / ""; }
/* Exercise completion check. */
.reveal .done {
margin: calc(0.45em * var(--ws-space)) 0;
font-size: 0.8em;
}
.reveal .done > p { margin: 0; }
/* 💬 Understanding check: a short question to discuss while the agent runs, set like
the completion check; its answer is in the slide's notes. */
.reveal .check { font-size: 0.8em; }
.reveal .check > p { margin: 0; }
/* "✅ You're done when" is real text inserted by translate-safe.html, so browser
translation translates it with the rest of the slide. */
.reveal .done .done-label {
font-weight: 600;
color: var(--ws-green);
}
/* Prompts in the second deck read as a chat message. */
.reveal blockquote {
width: 94%;
margin: calc(0.55em * var(--ws-space)) 0;
padding: calc(0.3em * (1 + var(--ws-space)) / 2) 0.75em;
border-left: 4px solid var(--ws-accent);
border-radius: 0 0.35em 0.35em 0;
background: var(--ws-panel);
box-shadow: none;
font-style: normal;
}
.reveal blockquote p:first-child { margin-top: 0; }
.reveal blockquote p:last-child { margin-bottom: 0; }
/* The three agent boxes: left border, tinted background, emoji label. */
.reveal .prompt,
.reveal .agent,
.reveal .you {
--box-color: var(--ws-accent);
margin: calc(0.4em * var(--ws-space)) 0;
padding: calc(0.35em * (1 + var(--ws-space)) / 2) 0.7em calc(0.45em * (1 + var(--ws-space)) / 2);
border-left: 6px solid var(--box-color);
border-radius: 0 0.4em 0.4em 0;
background: color-mix(in srgb, var(--box-color) 13%, transparent);
font-size: 0.78em;
line-height: 1.35;
}
.reveal .prompt { --box-color: var(--ws-violet); }
.reveal .agent { --box-color: var(--ws-amber); }
.reveal .you { --box-color: var(--ws-green); }
/* Box labels are real text inserted by translate-safe.html (see .done-label). */
.reveal :is(.prompt, .agent, .you) > .box-label {
display: block;
margin-bottom: 0.2em;
color: var(--box-color);
font-size: 0.78em;
font-weight: 700;
letter-spacing: 0.02em;
}
.reveal .prompt > p,
.reveal .agent > p,
.reveal .you > p { margin: 0.15em 0; }
.reveal .prompt div.sourceCode,
.reveal .agent div.sourceCode,
.reveal .you div.sourceCode {
margin: 0.2em 0;
background: rgba(0, 0, 0, 0.28);
border: 0;
}
.reveal .prompt pre,
.reveal .agent pre,
.reveal .you pre {
margin: 0;
font-size: 0.82em;
box-shadow: none;
}
.reveal .prompt pre code,
.reveal .prompt pre > .prompt-text,
.reveal .agent pre code,
.reveal .you pre code { white-space: pre-wrap; }
.reveal .prompt pre code,
.reveal .prompt pre > .prompt-text { color: #f2f2f2; }
/* translate-safe.html moves a prompt's text from <code> to a span, so browser translation
reaches it. The span repeats the box Reveal gives `.reveal pre code` (reveal.css: block,
max-height 500px, scroll); check it against the agent boxes after a Quarto upgrade. */
.reveal :is(.prompt, .behind) pre > .prompt-text {
display: block;
max-height: 500px;
overflow: auto;
tab-size: 2;
white-space: pre-wrap;
}
.reveal .prompt pre > .prompt-text { padding: 6px 9px; }
/* Long prompts (Part 1's audiences, with four parallel sub-agents, and the 🏠 install and setup
check) cannot be split without losing their single copy button, so they are set smaller and
show in full. */
.reveal .prompt.long pre { font-size: 0.68em; }
/* Keep the copy button clear of the first line of text. */
.reveal .prompt pre code,
.reveal .prompt pre > .prompt-text,
.reveal .agent pre code,
.reveal .you pre code { padding-right: 2.4em; }
/* A rendered-page preview beside Markdown source. */
.reveal .preview {
padding: 0.5em 0.8em;
border-radius: 0.4em;
background: #f7f7f4;
color: #1d1d1d;
font-size: 0.62em;
line-height: 1.35;
box-shadow: 0 0.3em 1.2em rgba(0, 0, 0, 0.4);
}
.reveal .preview :is(h1, h2, h3) { color: #1d1d1d; text-transform: none; margin: 0.2em 0 0.3em; }
.reveal .preview h1 { font-size: 1.6em; }
.reveal .preview h2 { font-size: 1.25em; }
.reveal .preview a { color: #0b5cad; }
.reveal .preview blockquote {
width: auto;
border-left-color: #8a8a8a;
background: #ececea;
color: #333;
}
.reveal .preview table { font-size: 0.95em; }
.reveal .preview table th { border-bottom-color: #555; }
.reveal .preview table td { border-bottom-color: #d4d4d0; }
.reveal .preview pre { background: #ececea; color: #1d1d1d; font-size: 0.9em; }
.reveal .preview code { color: #1d1d1d; }
/* Card grids for agendas, audiences, and deliverables. */
.reveal .cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
gap: calc(0.5em * var(--ws-space));
font-size: 0.72em;
}
.reveal .cards > div {
padding: calc(0.5em * (1 + var(--ws-space)) / 2) 0.65em;
border-top: 4px solid var(--ws-accent);
border-radius: 0.35em;
background: rgba(255, 255, 255, 0.06);
}
.reveal .cards > div > p { margin: 0.15em 0; }
.reveal .cards .big { font-size: 1.9em; line-height: 1.1; }
/* Grouped lists, e.g. clustering features: a small label above emoji-led items;
.outcomes cards are amber, like the outcome panels. */
.reveal .cards.groups { font-size: 0.8em; }
.reveal .cards.groups ul { margin: 0.2em 0 0; padding: 0; list-style: none; }
.reveal .cards.groups li { margin: 0.15em 0; }
.reveal .cards.groups .group {
color: var(--ws-muted);
font-size: 0.72em;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.reveal .cards.outcomes > div { border-top-color: var(--ws-amber); }
/* 3-D slides (assets/deck-3d/): a WebGL canvas under HTML labels and a legend, so their
text is translated with the slide. Labels and legend show once the canvas draws. */
.reveal .deck-3d { position: relative; height: 11em; margin: 0.2em 0; }
.reveal .deck-3d canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
cursor: grab;
touch-action: none;
}
.reveal .deck-3d canvas:active { cursor: grabbing; }
.reveal .deck-3d :is(.axis-label, .legend) {
position: absolute;
color: var(--ws-muted);
font-size: 0.5em;
pointer-events: none;
white-space: nowrap;
}
.reveal .deck-3d:not(.is-drawn) :is(.axis-label, .legend) { display: none; }
.reveal .deck-3d .axis-label { transform: translate(-50%, -50%); }
.reveal .deck-3d .legend { top: 0; right: 0; display: flex; flex-direction: column; gap: 0.1em; }
.reveal .deck-3d .legend.k-goal { right: auto; left: 0; }
/* City names on the relief map beside the top of their column, on the side relief.js picks
(data-side) so no two overlap; light text with a dark halo over columns and borders. */
.reveal .deck-3d .place-label {
position: absolute;
transform: translate(-50%, calc(-100% - 0.25em));
color: #f0f0f0;
font-size: 0.42em;
font-weight: 600;
line-height: 1;
pointer-events: none;
white-space: nowrap;
text-shadow: 0 0 0.25em #191919, 0 0 0.12em #191919;
}
.reveal .deck-3d .place-label[data-side="below"] { transform: translate(-50%, 0.25em); }
.reveal .deck-3d .place-label[data-side="right"] { transform: translate(0.25em, -50%); }
.reveal .deck-3d .place-label[data-side="left"] { transform: translate(calc(-100% - 0.25em), -50%); }
.reveal .deck-3d:not(.is-drawn) .place-label { display: none; }
.reveal .deck-3d .fallback { padding-top: 4em; color: var(--ws-muted); text-align: center; }
.reveal .deck-3d :is(.t-picker, .c-picker) {
position: absolute;
bottom: 0;
display: flex;
gap: 0.35em;
}
.reveal .deck-3d .t-picker { left: 0; }
.reveal .deck-3d .c-picker { right: 0; }
.reveal .deck-3d:not(.is-drawn) :is(.t-picker, .c-picker) { display: none; }
.reveal .deck-3d :is(.t-picker, .c-picker) button {
font: inherit;
font-size: 0.5em;
color: var(--ws-muted);
background: #2b2b2b;
border: 1px solid #8a8f96;
border-radius: 0.3em;
padding: 0.15em 0.6em;
cursor: pointer;
}
.reveal .deck-3d :is(.t-picker, .c-picker) button[aria-pressed="true"] {
color: #191919;
background: #f0f0f0;
border-color: #f0f0f0;
}
.reveal .steps-3d { font-size: 0.75em; }
.reveal .k-readout { color: var(--ws-muted); }
/* The k-means slide's 🎬 button and the dialog assets/short-player.js opens (a 9:16 Short). */
.reveal .short-btn {
font: inherit;
font-size: 0.5em;
color: var(--ws-muted);
background: #2b2b2b;
border: 1px solid #8a8f96;
border-radius: 0.3em;
padding: 0.2em 0.8em;
cursor: pointer;
}
.short-dialog { padding: 0.6em; color: #f0f0f0; background: #191919; border: 1px solid #8a8f96; border-radius: 0.5em; text-align: center; }
.short-dialog::backdrop { background: rgba(0, 0, 0, 0.75); }
.short-dialog .short-frame { width: min(340px, 40vh); aspect-ratio: 9 / 16; margin: 0 auto; }
.short-dialog iframe { width: 100%; height: 100%; border: 0; }
.short-dialog p { margin: 0.4em 0 0; font-size: 14px; }
.short-dialog a { color: #9ecbff; }
.short-dialog button { font: inherit; color: inherit; background: #2b2b2b; border: 1px solid #8a8f96; border-radius: 0.3em; cursor: pointer; }
.reveal .steps-3d p { margin: 0.1em 0; }
/* Objective and outcome panels with format chips. The outcome panel nearly fills the
slide, so the translation note under it (a block .source, its line as small as its
text) sits close, clear of the progress label that covers the slide's bottom edge on
16:9 screens (1366 × 768, 1280 × 720). Margins follow --ws-space, so the panels close
up further when a translated slide overflows (slide-spacing.html). */
.reveal .goal {
margin: calc(0.5em * var(--ws-space)) 0 calc(0.45em * var(--ws-space));
padding: 0.55em 0.9em 0.65em;
border-left: 6px solid var(--ws-accent);
border-radius: 0 0.5em 0.5em 0;
background: var(--ws-panel);
font-size: 1.05em;
line-height: 1.4;
}
.reveal .goal-outcome { border-left-color: var(--ws-amber); background: color-mix(in srgb, var(--ws-amber) 9%, transparent); margin-bottom: calc(0.3em * var(--ws-space)); }
.reveal .goal > p { margin: 0.25em 0; }
.reveal .goal-label {
display: block;
margin-bottom: 0.15em;
color: var(--ws-accent);
font-size: 0.6em;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.reveal .goal-outcome .goal-label { color: var(--ws-amber); }
.reveal .goal > p:last-child { color: var(--ws-muted); font-size: 0.72em; }
.reveal .chips > p { display: flex; flex-wrap: wrap; gap: 0.35em; margin: 0.45em 0; }
.reveal .chips span {
padding: 0.12em 0.6em;
border: 2px solid color-mix(in srgb, var(--ws-amber) 55%, transparent);
border-radius: 999px;
background: rgba(0, 0, 0, 0.25);
font-size: 0.82em;
font-weight: 600;
white-space: nowrap;
}
/* Free static hosts: six cards in a 3 × 2 grid, so none is left alone on a row. */
.reveal .cards.hosts { grid-template-columns: repeat(3, 1fr); }
/* Prompting tips: a 2 × 2 grid, emoji beside each tip, one colour per tip. */
.reveal .cards.tips {
grid-template-columns: repeat(2, 1fr);
gap: 0.7em 0.8em;
margin-top: 0.6em;
font-size: 0.9em;
}
.reveal .cards.tips > div {
display: grid;
grid-template-columns: auto 1fr;
align-content: center;
column-gap: 0.6em;
min-height: 4.2em;
padding: 0.6em 0.9em;
border-top: 0;
border-left: 6px solid var(--tip-color, var(--ws-accent));
}
.reveal .cards.tips > div > p:first-child { grid-row: span 2; align-self: center; }
.reveal .cards.tips > div > p:last-child { color: var(--ws-muted); font-size: 0.85em; }
.reveal .cards.tips > div:nth-child(1) { --tip-color: var(--ws-violet); }
.reveal .cards.tips > div:nth-child(2) { --tip-color: var(--ws-amber); }
.reveal .cards.tips > div:nth-child(3) { --tip-color: var(--ws-green); }
.reveal .cards.tips > div:nth-child(4) { --tip-color: var(--ws-accent); }
/* Installer list: agent name and docs link beside its commands. */
.reveal .you.installers {
display: grid;
grid-template-columns: max-content 1fr;
gap: 0.35em 0.9em;
align-items: center;
padding-bottom: 0.6em;
}
.reveal .you.installers > .box-label { grid-column: 1 / -1; }
.reveal .you.installers > div:not(.sourceCode, .box-label):not(:has(pre)) > p { margin: 0; line-height: 1.3; }
.reveal .you.installers > div:not(.sourceCode, .box-label):not(:has(pre)) a { font-size: 0.8em; }
.reveal .you.installers pre { font-size: 0.72em; }
/* Tips stacked or in two narrow columns beside a code block. */
.reveal .cards.tips.compact { margin-top: 0.2em; gap: 0.45em 0.5em; font-size: 0.72em; }
.reveal .cards.tips.compact > div { min-height: 0; padding: 0.45em 0.6em; column-gap: 0.4em; }
/* 🐦 model × effort grid: white tiles, because some drawings have no full background. */
.reveal .pelican-grid table { width: 100%; margin: 0.15em 0 0.2em; font-size: 0.56em; border-collapse: collapse; }
.reveal .pelican-grid th, .reveal .pelican-grid td {
position: relative;
padding: 0.12em 0.2em;
border: 0;
text-align: center;
vertical-align: middle;
line-height: 1.15;
}
.reveal .pelican-grid td:first-child { width: 4.6em; text-align: right; color: var(--ws-amber); }
.reveal .pelican-grid img {
display: block;
height: 134px;
width: auto;
margin: 0 auto;
background: #fff;
border-radius: 0.3em;
}
.reveal .pelican-grid img.pick { outline: 5px solid var(--ws-green); outline-offset: 0; }
/* The cost sits on the tile, so the three rows keep their height. */
.reveal .pelican-grid .cost {
position: absolute;
right: calc(50% - 85px);
bottom: 0.3em;
padding: 0 0.4em;
border-radius: 0.3em;
background: rgba(20, 20, 20, 0.85);
color: #fff;
font-weight: 600;
}
/* A shell session to look at, not to copy: a terminal window, centred, with no copy button
(it is raw HTML, not a code cell) and text that cannot be selected. */
.reveal .terminal {
width: fit-content;
min-width: 56%;
margin: calc(0.4em * var(--ws-space)) auto;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 0.45em;
background: #0b0e13;
box-shadow: 0 0.4em 1.2em rgba(0, 0, 0, 0.55);
-webkit-user-select: none;
user-select: none;
}
.reveal .terminal-bar {
display: flex;
align-items: center;
gap: 0.35em;
padding: 0.28em 0.7em;
background: #2a2f37;
color: var(--ws-muted);
font-size: 0.42em;
}
.reveal .terminal-bar i { width: 0.75em; height: 0.75em; border-radius: 50%; background: #e06c75; }
.reveal .terminal-bar i:nth-child(2) { background: #e5c07b; }
.reveal .terminal-bar i:nth-child(3) { background: #98c379; }
.reveal .terminal-bar span { flex: 1; margin-right: 3.6em; text-align: center; }
.reveal .terminal pre {
width: auto;
margin: 0;
padding: 0.5em 1em 0.6em;
background: none;
box-shadow: none;
color: #e6e9ee;
font-size: 0.52em;
line-height: 1.34;
white-space: pre;
}
.reveal .terminal pre b { color: #fff; font-weight: 700; }
.reveal .terminal .pr { color: var(--ws-green); }
.reveal .terminal .out { color: var(--ws-muted); }
.reveal .terminal .cursor { color: var(--ws-green); }
.reveal .terminal.mini { min-width: 0; width: 100%; margin: 0.2em 0; box-shadow: none; }
.reveal .terminal.mini pre { padding: 0.35em 0.7em; font-size: 0.85em; }
/* Ubuntu on WSL in Windows Terminal: a tab with Ubuntu's orange mark on the left, the
window buttons on the right, and Ubuntu's prompt (bold green user@computer, bold blue
folder; `ls` shows folders in the same blue). */
.reveal .terminal-bar.wt { align-items: flex-end; gap: 0.6em; padding: 0.35em 0.9em 0 0.5em; }
.reveal .terminal-bar.wt b {
display: flex;
align-items: center;
gap: 0.55em;
padding: 0.3em 1.6em 0.35em 0.75em;
border-radius: 0.45em 0.45em 0 0;
background: #0b0e13;
color: #e6e9ee;
font-weight: 400;
}
.reveal .terminal-bar.wt i { background: #e95420; }
.reveal .terminal-bar.wt em { align-self: center; margin-left: auto; font-style: normal; word-spacing: 1.5em; }
.reveal .terminal.wsl .pr,
.reveal .terminal.wsl .pa { font-weight: 700; }
.reveal .terminal.wsl .pa { color: #6ea8fe; }
/* The terminal-basics picture is the slide's subject: bigger type and a wider window. */
.reveal .terminal.wsl.basics { width: 100%; min-width: 0; }
.reveal .terminal.wsl.basics pre { font-size: 0.58em; line-height: 1.3; }
.reveal .terminal.wsl.basics .terminal-bar { font-size: 0.5em; }
/* 👀 Started?: each agent's window steps through its first start. A Reveal r-stack
puts a window's screens in one place and fragments show one at a time; every screen
takes the tallest one's size, like one window whose contents change. Colours are the
agents' own (Claude Code's orange, pointer blue and warning yellow; Codex's cyan
and blue), sampled from the captures in the slide's notes. */
.reveal .screens { display: flex; gap: 0.5em; justify-content: center; }
.reveal .screens .r-stack > .terminal { align-self: stretch; width: auto; min-width: 0; margin: 0.2em 0; }
.reveal .screens .terminal pre { font-size: 0.4em; }
.reveal .screens .cc { color: #d77757; }
.reveal .screens .dim { color: #999999; }
.reveal .screens .sel { color: #b1b9f9; }
.reveal .screens .warn { color: #ffc107; }
.reveal .screens .cx { color: #63a8f8; }
.reveal .screens .cy { color: #56b6c2; }
.reveal .screens .faint { opacity: 0.7; }
.reveal .screens .rev { background: #e6e9ee; color: #0b0e13; }
.reveal .screens .terminal.cxwin { display: flex; flex-direction: column; }
.reveal .screens .cxhome {
display: flex; flex-direction: column; box-sizing: border-box; flex: 1;
padding: 0.7em 1em 0.6em; background: #1e1e1e; color: #eee;
font: 0.4em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap;
}
.reveal .screens .cxhome b { color: #fff; }
.reveal .screens .cxlogo { flex: 1; display: grid; place-items: center; font-size: 5em; color: #34383b; min-height: 2em; }
.reveal .screens .cxprompt { background: #383838; padding: 0.9em 0.6em; margin: 0 -1em; }
.reveal .screens .cxhome .gold { color: #e5d3a5; }
.reveal .screens .cxhome .grn { color: #a6d99a; }
.reveal .screens .cxfoot { padding-top: 0.4em; }
.reveal .screen-hints > .hint { align-self: stretch; margin: calc(0.3em * var(--ws-space)) 0 0; }
/* Claude and ChatGPT side by side: a model and its use, twice per row. */
.reveal .model-table table { width: 100%; font-size: 0.56em; }
.reveal .model-table th, .reveal .model-table td { padding: 0.32em 0.45em; line-height: 1.22; vertical-align: middle; }
.reveal .model-table .price { display: block; color: var(--ws-muted); font-size: 0.82em; font-weight: 400; }
/* Supporting lines under a box: the slide's one action stays the largest thing on it. */
.reveal .hint { font-size: 0.72em; line-height: 1.32; margin: calc(0.4em * var(--ws-space)) 0; }
.reveal .hint > p { margin: 0.2em 0; }
.reveal .pillnote { font-size: 0.66em; }
/* Translated text runs longer; Google Translate marks the page with this class. */
html.translated-ltr .reveal .hint { font-size: 0.64em; }
html.translated-ltr .reveal .prompt.long pre { font-size: 0.62em; }
/* Title slide: title, subtitle and author, then the QR code with its short link, then the
notes (how to translate the deck, the e-book) in a quiet footer under a hairline. */
.reveal #title-slide p.author { margin: 0.9em 0 0; font-size: 0.85em; }
/* The author's LinkedIn profile, a small link beside the name. */
.reveal #title-slide .author-sep { color: var(--ws-muted); }
.reveal #title-slide .author-link { font-size: 0.7em; vertical-align: 0.08em; }
/* The QR code to the published deck, about a quarter of the slide's height so it scans from a
projector, with the short link beside it large enough to read off the screen. */
.reveal #title-slide .title-extras {
display: flex;
align-items: center;
justify-content: center;
gap: 1.1em;
margin-top: 1.3em;
}
.reveal #title-slide .title-qr { flex: none; line-height: 0; }
.reveal #title-slide .title-qr img {
display: block;
width: 170px;
height: 170px;
margin: 0;
border-radius: 10px;
}
.reveal #title-slide .title-qr-text { text-align: left; }
.reveal #title-slide .title-qr-text p { margin: 0; line-height: 1.25; }
.reveal #title-slide .title-qr-text .title-qr-caption { color: var(--ws-muted); font-size: 0.55em; }
.reveal #title-slide .title-qr-text .title-qr-link { margin: 0.1em 0; font-size: 0.95em; font-weight: 700; }
.reveal #title-slide .title-qr-text .title-qr-url { font-size: 0.5em; }
.reveal #title-slide .title-qr-url a { color: var(--ws-muted); }
.reveal #title-slide .title-footer {
max-width: 1040px;
margin: 1.4em auto 0;
padding-top: 0.7em;
border-top: 1px solid color-mix(in srgb, var(--ws-muted) 35%, transparent);
}
.reveal #title-slide .title-footer:not(:has(p)) { display: none; }
.reveal #title-slide .title-note {
margin: 0.25em 0;
color: var(--ws-muted);
font-size: 0.5em;
line-height: 1.4;
}
/* 📖 Get the Book: the cover, the two links and a QR code for the e-book's page, in one row. */
.reveal .get-book {
display: flex;
align-items: center;
justify-content: center;
gap: 1.1em;
margin-top: 0.8em;
}
.reveal .get-book > p { margin: 0; line-height: 0; }
.reveal .get-book-cover img {
display: block;
width: 260px;
height: auto;
margin: 0;
border-radius: 3px 6px 6px 3px;
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.reveal .get-book-text { flex: 0 1 510px; text-align: left; font-size: 0.85em; }
.reveal .get-book-text p { margin: 0.6em 0; line-height: 1.35; }
.reveal .get-book-qr { flex: none; text-align: center; }
.reveal .get-book-qr p { margin: 0; line-height: 0; }
.reveal .get-book-qr p:last-child { margin-top: 0.6em; line-height: 1.3; font-size: 0.55em; font-weight: 600; }
.reveal .get-book-qr img { display: block; width: 260px; height: 260px; margin: 0 auto; border-radius: 8px; }
@media (max-width: 768px) {
.reveal .get-book { flex-direction: column; }
}
/* Short emoji pointers and big two-line statements. */
.reveal .bigline { font-size: 1.25em; line-height: 1.4; margin: calc(0.4em * var(--ws-space)) 0; }
.reveal .source { color: var(--ws-muted); font-size: 0.5em; }
.reveal .source a { color: var(--ws-muted); text-decoration: underline; }
.reveal span.source { display: inline-block; line-height: 1.35; }
.reveal a code { color: inherit; text-decoration: underline; }
/* "😰 Stuck?" catch-up prompt beside the exercise label: a copyable one-liner naming the
checkpoint README that lists the steps. The label floats left on one line; the prompt,
a flex box, takes the rest of the row and wraps its path when both are long (as in
translations). Keeps level with the label as its margin scales with --ws-space. */
.reveal h3[id^="exercise"]:has(+ .behind) {
float: left;
margin-right: 0.5em;
white-space: nowrap;
}
.reveal .behind {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.5em;
margin-top: calc(0.2em + 0.79em * var(--ws-space));
}
.reveal .behind > p { margin: 0; white-space: nowrap; }
.reveal .behind div.sourceCode {
min-width: 0;
margin: 0;
border: 0;
background: rgba(0, 0, 0, 0.28);
}
.reveal .behind pre { margin: 0; font-size: 0.85em; box-shadow: none; }
.reveal .behind pre code,
.reveal .behind pre > .prompt-text { padding: 0.2em 2.4em 0.2em 0.5em; color: #e6e6e6; }
.reveal .behind ~ .done { clear: both; }
/* A float's top ignores margin collapsing, so the block before the label gives up its
bottom margin, as does the last child of an unpadded block (a .bigline, say), whose
margin would pass through it; the label's and the prompt's top margins set the gap. */
.reveal .slides section > :has(+ h3[id^="exercise"] + .behind),
.reveal .slides section > :has(+ h3[id^="exercise"] + .behind):not(.prompt, .agent, .you) > :last-child {
margin-bottom: 0;
}
/* Pace marker under a slide title: 🏠 pre-work or ⭐ optional, self-paced. */
.reveal .pace {
display: inline-block;
padding: 0.08em 0.6em;
border: 2px solid var(--ws-muted);
border-radius: 999px;
color: var(--ws-muted);
font-size: 0.55em;
font-weight: 600;
}
/* Code is read from the back of a room. Reveal ignores code-overflow: wrap,
so long lines wrap here rather than scrolling off the slide. */
.reveal pre { line-height: 1.35; }
.reveal pre code { tab-size: 2; }
.reveal pre code,
.reveal pre.sourceCode code { white-space: pre-wrap; }
/* Tables: a clear header rule and gentle row separation. */
.reveal table { font-size: 0.8em; }
.reveal table th {
border-bottom: 2px solid var(--ws-accent);
font-weight: 600;
}
.reveal table td { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.reveal table tbody tr:last-child td { border-bottom: none; }
/* Figure captions are secondary to the figure. */
.reveal figcaption, .reveal .quarto-figure figcaption { color: var(--ws-muted); }
/* Breathing room between top-level blocks; zero extra at --ws-space: 1. */
.reveal .slides section.level2 > p {
margin-block: calc(var(--r-block-margin) + 0.35em * (var(--ws-space) - 1));
}
.reveal .slides section.level2 > :is(.columns, .cards, .cell, .quarto-figure) {
padding-block: calc(0.2em * (var(--ws-space) - 1));
}
.reveal .columns { column-gap: 0.8em; }
/* Column layouts stack once the deck switches to scroll view on narrow screens. */
@media (max-width: 768px) {
.reveal .columns { flex-direction: column; }
.reveal .columns .column { width: 100% !important; }
}
.reveal a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
/* A colored route through sections/tasks, with a text label for the current one.
Only replace Reveal's fallback progress/footer after the script initializes. */
.reveal.has-workshop-progress .progress,
.reveal.has-workshop-progress .footer { display: none !important; }
.reveal .workshop-progress {
position: absolute;
inset: auto 0 0;
z-index: 30;
font-family: inherit;
font-size: 16px;
line-height: 1.3;
}
.reveal .workshop-progress-status {
position: absolute;
bottom: 16px;
left: 70px;
right: 100px;
color: var(--section-color);
text-align: center;
font-weight: 600;
pointer-events: none;
}
.reveal .workshop-progress-track { display: flex; gap: 3px; }
.reveal .workshop-progress-segment {
position: relative;
flex-basis: 0;
min-width: 12px;
height: 18px;
padding: 0;
border: 0;
background: transparent;
cursor: pointer;
}
.reveal .workshop-progress-segment::before,
.reveal .workshop-progress-segment::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
height: 8px;
background: var(--section-color);
}
.reveal .workshop-progress-segment::before { width: 100%; opacity: 0.2; }
.reveal .workshop-progress-segment::after { width: var(--section-fill, 0%); }
.reveal .workshop-progress-segment.is-past::after { opacity: 0.55; }
.reveal .workshop-progress-segment.is-current::before {
opacity: 0.4;
box-shadow: 0 -2px 0 #fff;
}
.reveal .workshop-progress-segment:hover::before { opacity: 0.65; }
.reveal .workshop-progress-segment:focus-visible {
outline: 2px solid #fff;
outline-offset: -2px;
}
.reveal.overview .workshop-progress,
.reveal.paused .workshop-progress { visibility: hidden; }
@media print {
.reveal .workshop-progress { display: none; }
.reveal.has-workshop-progress .footer { display: block !important; }
}
@media (prefers-reduced-motion: reduce) {
.reveal .slides section,
.reveal .slides section .fragment,
.reveal .backgrounds .slide-background {
transition: none !important;
animation: none !important;
}
}
/* Tunja explorer (assets/tunja-explorer.js): dropdown bar, a table or SVG chart, a note. */
.reveal .tunja { font-size: 0.75em; }
.reveal .tunja .tj-bar { display: flex; flex-wrap: wrap; gap: 0.5em 1.2em; margin-bottom: 0.3em; }
.reveal .tunja label { color: var(--ws-muted); }
.reveal .tunja select {
font: inherit;
color: #f0f0f0;
background: #2b2b2b;
border: 1px solid #8a8f96;
border-radius: 0.3em;
padding: 0.1em 0.4em;
max-width: 17em;
}
.reveal .tunja .tj-out { height: 11.5em; }
.reveal .tunja .tj-svg { width: 100%; height: 100%; }
.reveal .tunja .tj-svg text { fill: #d0d4d9; font-size: 15px; }
.reveal .tunja .tj-svg .lab { fill: #f0f0f0; font-size: 16px; }
.reveal .tunja .tj-svg .yr { font-size: 13px; fill: #b8c2cc; }
.reveal .tunja .tj-svg .ax { stroke: #8a8f96; }
.reveal .tunja .tj-svg .grid { stroke: #3a4048; }
.reveal .tunja .tj-svg .brk { stroke: #8a8f96; stroke-dasharray: 5 4; }
.reveal .tunja .tj-svg .brk-t { font-size: 13px; fill: #b8c2cc; }
.reveal .tunja .tj-svg .bar { fill: #191919; font-weight: 600; }
.reveal .tunja .tj-scroll { height: 100%; overflow: auto; }
.reveal .tunja .tj-table { margin: 0; font-size: 0.62em; border-collapse: collapse; }
.reveal .tunja .tj-table th, .reveal .tunja .tj-table td { padding: 0.1em 0.6em; text-align: right; white-space: nowrap; border-bottom: 1px solid #3a4048; }
.reveal .tunja .tj-table th { position: sticky; top: 0; background: #191919; font-weight: 600; }
.reveal .tunja .tj-table td.rep { color: #6c737b; }
.reveal .tunja .tj-table :is(th, td):first-child { text-align: left; }
.reveal .tunja .tj-note { margin: 0.2em 0 0; font-size: 0.6em; color: var(--ws-muted); }