forked from robjhyndman/ETC3550Slides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.scss
176 lines (144 loc) · 2.9 KB
/
custom.scss
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
/*-- scss:defaults --*/
// colors
$body-bg: #f0f0f0 !default;
$body-color: rgb(41, 31, 31);
$link-color: #8f0000;
$presentation-heading-color: #8f0000 !default;
/*-- scss:rules --*/
// Blockquotes white on orange with rounded corners
.reveal .slide blockquote, .blockquote {
background-color: #906767;
color: #fff;
padding: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
font-size: 25px !important;
}
// Callout backgrounds
div.callout-note.callout-style-default .callout-caption {
background-color: #a1b8c8 !important;
}
div.callout-warning.callout-style-default .callout-caption {
background-color: #c8ada1 !important;
}
div.callout-note.callout-style-default .callout-body {
font-size: 36px !important;
}
// headers
.reveal h1 {
font-size: 1.4em !important;
}
.reveal h2 {
font-size: 1.2em !important;
}
.reveal h3 {
color: #8f0000 !important;
font-size: 1em !important;
}
.reveal h4 {
color: #8f0000 !important;
font-size: 0.8em !important;
}
// Remove ugly lines in tables
.reveal table td {
border-bottom: 0px;
}
.quarto-title-author-name {
color: #8f0000 !important;
}
#title-slide {
text-align: right
}
.reveal .quarto-title-block .quarto-title-authors {
justify-content: right;
}
.reveal .quarto-title-block .quarto-title-authors .quarto-title-author {
padding-right: 0em;
}
// Big gap before author on front page
p.author {
margin-top: 4em;
}
// Bigger code blocks
.reveal pre.sourceCode code {
max-height: 600px;
}
// Class for tighter itemized lists
.tightlist ul li, ol li, dl dd dt {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.reveal dl {
display:grid;
grid-template-columns: max-content auto;
}
.reveal dt {
grid-column-start: 1;
}
.reveal dd {
grid-column-start: 2;
}
// Class for tight tables
.tighttable th, td {
padding-top: 0 !important;
padding-bottom: 0 !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.shiftup img {
margin: 0;
}
.shiftup p {
margin: 0;
}
.smallequations .katex {
font: normal 1em KaTeX_Main, Times New Roman, serif;
}
.smalltable {
font-size: 50% !important;
}
.smallcode {
font-size: 60% !important;
display: inline-block;
}
#title-slide h1 {
font-size: 60px !important;
}
.subtitle {
color: #863235;
font-size: 50px !important;
}
.fa-ul {
list-style-type: none!important;
margin-left: var(--fa-li-margin, 2.5em)!important;
padding-left: 0!important;
}
.reveal .slide aside, .reveal .slide div.aside {
position: absolute;
bottom: -50px;
font-size: 0.7em;
color: #808080;
}
.slbCaption {
font-family: var(--r-main-font);
}
/* file: style.css */
.v-center-container {
display: flex;
justify-content: center;
align-items: center;
height: 80%;
}
.reveal .footer {
color: #8f0000;
}
.wrapping {
float: right;
shape-margin: 50px;
width: 80%;
}
#fig-structure > figure > figcaption {
float: left;
clear: both;
}