Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
dsc-courses
GitHub Repository: dsc-courses/dsc10-2022-fa
Path: blob/main/lectures/lec18/rise.css
3058 views
1
/*
2
copy this file as rise.css adjacent to a lecture notebook to auto-include
3
*/
4
5
.reveal,
6
.reveal h1,
7
.reveal h2,
8
.reveal h3,
9
.reveal h4,
10
.reveal h5,
11
.reveal h6 {
12
/* reset slideshow fonts to system default */
13
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
14
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
15
}
16
17
/* make table styles more similar to pandas */
18
.reveal table th,
19
.reveal table td {
20
border: none;
21
padding: 0.5em;
22
}
23
24
.rise-enabled .reveal pre {
25
margin: 0;
26
}
27
28
/*
29
RISE sets table font-size to 75%, but this makes pandas tutor tables super
30
small
31
*/
32
table.wstRoot {
33
font-size: 18px !important;
34
}
35
36
.wstRoot td.rowLabel,
37
.wstRoot td.rowLabelLevelName,
38
.wstRoot .columnLabel,
39
.wstRoot .columnLabelLevelName {
40
font-size: 20px !important;
41
}
42
43
/* using .menti in a cell lets us put the menti code side by side */
44
.menti {
45
display: flex;
46
gap: 1rem;
47
}
48
49
.menti > div {
50
flex-grow: 1;
51
}
52
53
.menti > div:last-child {
54
max-width: 30%;
55
}
56
57