-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.scss
More file actions
282 lines (234 loc) · 4.75 KB
/
custom.scss
File metadata and controls
282 lines (234 loc) · 4.75 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
/*-- scss:defaults --*/
// Fonts
$font-family-sans-serif: "Source Sans Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
$font-family-monospace: "Fira Code", "Source Code Pro", Consolas, Monaco, monospace;
$presentation-font-size-root: 42px;
$presentation-line-height: 1.4;
// Color palette - Professional neutral with subtle blue accent
$body-bg: #fafafa;
$body-color: #2d3436;
$link-color: #2563eb;
$link-color-hover: #1d4ed8;
$selection-bg: #3b82f6;
$selection-color: #ffffff;
// Headings
$presentation-heading-font: "Source Sans Pro", "Segoe UI", Roboto, sans-serif;
$presentation-heading-color: #1a1a2e;
$presentation-heading-text-transform: none;
$presentation-heading-font-weight: 600;
$presentation-h1-font-size: 2.2em;
$presentation-h2-font-size: 1.6em;
$presentation-h3-font-size: 1.3em;
// Code blocks
$code-block-bg: white;
$code-block-border-color: #334155;
/*-- scss:rules --*/
// Title slide styling
#title-slide {
text-align: left;
padding-left: 60px;
h1.title {
color: #5d6674;
font-size: 2.0em;
font-weight: 700;
line-height: 1.2;
margin-bottom: 0.5em;
text-shadow: none;
}
p.author {
color: #94a3b8;
font-size: 1.1em;
font-weight: 400;
margin-top: 1em;
}
p.date {
color: #94a3b8;
font-size: 0.9em;
}
}
// Regular slides
.reveal .slides section {
text-align: left;
}
// Headings with subtle accent line
.reveal h2 {
border-bottom: 3px solid #3b82f6;
padding-bottom: 0.3em;
margin-bottom: 0.8em;
}
.reveal h3 {
color: #475569;
}
// Section title slides (level 1 headers)
.reveal section[data-background-color] h1,
.reveal .slide-background-content h1 {
color: #ffffff;
}
// Lists
.reveal ul, .reveal ol {
margin-left: 1em;
}
.reveal li {
margin-bottom: 0.5em;
line-height: 1.5;
}
.reveal ul li::marker {
color: #3b82f6;
}
// Tables
.reveal table {
margin: 1em auto;
border-collapse: collapse;
font-size: 0.85em;
}
.reveal table th {
background-color: #1e293b;
color: #ffffff;
padding: 0.8em 1em;
font-weight: 600;
border: none;
}
.reveal table td {
padding: 0.6em 1em;
border-bottom: 1px solid #e2e8f0;
}
.reveal table tr:nth-child(even) {
background-color: #f1f5f9;
}
.reveal table tr:hover {
background-color: #e2e8f0;
}
// Callouts
.reveal .callout {
margin: 1em 0;
border-radius: 6px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.reveal .callout-note {
border-left: 4px solid #3b82f6;
background-color: #eff6ff;
}
.reveal .callout-tip {
border-left: 4px solid #10b981;
background-color: #ecfdf5;
}
.reveal .callout-warning {
border-left: 4px solid #f59e0b;
background-color: #fffbeb;
}
.reveal .callout-important {
border-left: 4px solid #ef4444;
background-color: #fef2f2;
}
// Code styling
.reveal pre {
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
font-size: 0.75em;
}
.reveal code {
font-family: $font-family-monospace;
background-color: #e2e8f0;
padding: 0.1em 0.4em;
border-radius: 4px;
font-size: 0.9em;
}
.reveal pre code {
background-color: transparent;
padding: 0;
}
// Math equations
.reveal .math {
color: #1e293b;
}
// Columns
.reveal .columns {
margin-top: 1em;
}
// Footer and slide number
.reveal .footer {
font-size: 0.5em;
color: #64748b;
}
.reveal .slide-number {
font-size: 0.6em;
color: #64748b;
background-color: transparent;
}
// Progress bar
.reveal .progress {
height: 4px;
color: #3b82f6;
}
// Aside/footnotes
.reveal aside {
font-size: 0.7em;
color: #64748b;
font-style: italic;
}
// Block quotes
.reveal blockquote {
border-left: 4px solid #cbd5e1;
padding-left: 1em;
font-style: italic;
color: #475569;
background-color: #f8fafc;
padding: 0.8em 1em;
border-radius: 0 6px 6px 0;
}
// Images
.reveal img {
border-radius: 4px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
// Stronger emphasis
.reveal strong {
color: #1e293b;
font-weight: 700;
}
// Section slides (# headers become section dividers)
.reveal section.center h1 {
font-size: 2.5em;
color: #1a1a2e;
}
// Links
.reveal a {
text-decoration: none;
border-bottom: 1px dotted $link-color;
}
.reveal a:hover {
border-bottom-style: solid;
}
// Responsive adjustments for figures
.reveal figure {
margin: 1em 0;
}
.reveal figcaption {
font-size: 0.7em;
color: #64748b;
text-align: center;
margin-top: 0.5em;
}
// Speaker notes styling (visible during presentation)
.reveal .speaker-notes {
font-family: $font-family-sans-serif;
font-size: 1em;
line-height: 1.6;
}
// Transition section styling for # headings
.reveal section[data-transition] {
background-color: #1a1a2e;
h1 {
color: #ffffff;
text-align: center;
}
}
// References section
#refs {
font-size: 0.7em;
p {
margin-bottom: 0.5em;
text-indent: -2em;
padding-left: 2em;
}
}