Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
77 lines (65 loc) · 1.92 KB
/
Copy pathstyles.css
File metadata and controls
77 lines (65 loc) · 1.92 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
/* Course-specific additions on top of _brand.yml. */
/* Slightly smaller base text than reveal's 40px: these decks carry code and tables. */
:root {
--r-main-font-size: 34px;
}
/* "Your turn" exercise slides: a green bar so they stand out when flicking through. */
.reveal .slide.exercise-slide {
border-left: 0.4em solid var(--brand-niu-green, #03A062);
padding-left: 0.8em;
}
.reveal .exercise-slide h2::before {
content: "✍️ ";
}
/* Live coding slides: an amber bar, so they are easy to tell apart from exercises. */
.reveal .slide.live-coding {
border-left: 0.4em solid #F2A900;
padding-left: 0.8em;
}
.reveal .live-coding h2::before {
content: "💻 ";
}
/* Notebook path shown on exercise slides. */
.reveal .notebook {
font-family: "JetBrains Mono", monospace;
font-size: 0.8em;
background: rgba(3, 160, 98, 0.1);
padding: 0.1em 0.4em;
border-radius: 0.2em;
}
/* Layered "ecosystem" diagram built from plain divs. */
.reveal .stack {
display: flex;
flex-direction: column;
gap: 0.3em;
font-size: 0.9em;
}
.reveal .stack > div {
border-radius: 0.3em;
padding: 0.35em 0.6em;
text-align: center;
}
.reveal .stack .layer-domain { background: #e8f0fe; }
.reveal .stack .layer-tools { background: #d2f4e4; }
.reveal .stack .layer-core { background: #b4e9cf; font-weight: 600; }
.reveal .stack .layer-base { background: #ececec; }
/* Small grey print for sources under a slide. */
.reveal .source-note {
font-size: 0.55em;
color: #666;
}
/* Quarto's default code size (0.55em) is too small to read from the back of a room. */
.reveal div.sourceCode pre code,
.reveal div.cell-output pre code {
font-size: 1.1em;
line-height: 1.3;
}
/* Rendered DataFrames: compact, so a few rows and columns fit beside the code. */
.reveal .cell-output-display table {
font-size: 0.75em;
margin: 0.3em 0;
}
.reveal .cell-output-display table th,
.reveal .cell-output-display table td {
padding: 0.15em 0.5em;
}