-
Notifications
You must be signed in to change notification settings - Fork 0
/
dark.scss
400 lines (338 loc) · 10.7 KB
/
dark.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
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
/*-- scss:defaults --*/
// colors
$dim-text: #777777;
$dim-color: #404040;
$mygrey-000: #1c1c1c;
$mygrey-010: #222222;
$mygrey-020: #282828;
$mygrey-030: #333333;
$mygrey-040: #444444;
$mygrey-050: #555555;
$mygrey-060: #666666;
$mygrey-070: #777777;
$mygrey-080: #888888;
$mygrey-090: #999999;
$mygrey-100: #b8b8b8;
$mygrey-999: #f8f8f8;
$myred: #FF5252;
$myorange: #FD971F;
$myyellow: #FFFF00;
$mygreen: #63FF5b;
$myblue: #00CCFF;
$mypurple: #AE81FF;
$mypink: #FF67FF;
// $green-text: #66BB6A;
$green-text: #07B875;
$red-text: #FF5252;
$blue-text: #29B6F6;
$orange-text: #FD971F;
$pink-text: #F06292;
$body-bg: #1c1c1c;
$dim-text: #666666;
$body-color: #bdbdbd;
$link-color: #42affa;
$italic-color: #89DDFF;
$strong-color: #FFFFFF;
$interactive-accent-hsl: #FFFF00;
$text-selection: hsla(var($interactive-accent-hsl), 0.25);
$selection-bg: rgba(255, 255, 0, 0.5);
$selection-color: #1c1c1c;
// fonts
$font-family-sans-serif: "IBM Plex Sans", "Source Sans Pro", "Inter", Open Sans, Helvetica, sans-serif !default;
$font-family-monospace: "agave Nerd Font", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
// line height
$presentation-font-family-line-height: 1.0em !default;
$presentation-line-height: 1.0em !default;
// headings
$heading-color: #efefef;
$presentation-h1-font-size: 1.5em !default;
$presentation-h2-font-size: 1.33em !default;
$presentation-h3-font-size: 1.25em !default;
$presentation-h4-font-size: 1.1em !default;
$presentation-h5-font-size: 1.05em !default;
$presentation-h6-font-size: 1.0em !default;
$presentation-heading-color: $heading-color !default;
// headings
// $presentation-heading-line-height: 1.0em !default;
$presentation-heading-font-weight: 600 !default;
$presentation-h1-text-shadow: none !default;
$presentation-heading-text-shadow: none !default;
$presentation-heading-text-transform: none !default;
$presentation-heading-letter-spacing: normal !default;
$presentation-heading-font: IBM Plex Sans Condensed, Open Sans, Playfair Display, Helvetica, sans-serif, $font-family-sans-serif !default;
// links
$link-color: #42affa !default;
$link-color-hover: $mypink !default;
$dark-bg-link-color: #42affa !default;
// code blocks
// $code-block-border-color: lighten($body-color, 60%) !default;
// $dark-bg-code-color: #E599F7 !default;
$dark-bg-code-color: #ff67ff !default;
$code-block-bg: $body-bg !default;
$code-block-border-color: #222222 !default;
$code-block-font-size: 0.75em !default;
// inline code
// $code-color: var(--quarto-hl-fu-color) !default;
$code-color: $dark-bg-code-color !default;
$code-bg: transparent !default;
// tabset
// $tabset-border-color: $code-block-border-color !default;
$presentation-font-size-root: 30px !default;
$algcolor: #F783AC !default;
$algicon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path fill="currentColor" d="M414.9 31.11L270.9 495.1C266.1 507.8 253.5 514.8 240.9 510.9C228.2 506.1 221.1 493.5 225.1 480.9L369.1 16.89C373 4.226 386.5-2.852 399.1 1.077C411.8 5.006 418.9 18.45 414.9 31.11V31.11zM504.4 118.5L632.4 238.5C637.3 243 640 249.4 640 255.1C640 262.6 637.3 268.1 632.4 273.5L504.4 393.5C494.7 402.6 479.6 402.1 470.5 392.4C461.4 382.7 461.9 367.6 471.6 358.5L580.9 255.1L471.6 153.5C461.9 144.4 461.4 129.3 470.5 119.6C479.6 109.9 494.7 109.4 504.4 118.5V118.5zM168.4 153.5L59.09 255.1L168.4 358.5C178.1 367.6 178.6 382.7 169.5 392.4C160.4 402.1 145.3 402.6 135.6 393.5L7.585 273.5C2.746 268.1 0 262.6 0 255.1C0 249.4 2.746 243 7.585 238.5L135.6 118.5C145.3 109.4 160.4 109.9 169.5 119.6C178.6 129.3 178.1 144.4 168.4 153.5V153.5z"/></svg>') !default;
$algbg: #1c1c1c !default;
/*-- scss:rules --*/
// .reveal .slide aside .aside-footnotes {
// margin-bottom: 1em;
// }
//
// .reveal .slide aside .aside-footnotes li:first-of-type {
// position: absolute!important;
// bottom: 20px!important;
// margin-bottom: unset!important;
// font-size: 0.7em!important;
// color: $dim-text!important;
// }
//
// .reveal .slide aside, .reveal .slide aside .aside-footnotes .reveal .slide div.aside {
// position: absolute!important;
// bottom: 20px!important;
// margin-bottom: unset!important;
// font-size: 0.7em!important;
// color: $dim-text!important;
// }
//
// .reveal .slide aside,
// .reveal .slide aside .aside-footnotes
// .reveal .slide div.aside {
// position: absolute;
// bottom: 20px;
// // display: block;
// // margin: inherit;
// // padding-bottom: 1em!important;
// font-size: 0.7em;
// color: $dim-text;
// }
// .reveal .slide aside {
// position: absolute!important;
// bottom: 20px!important;
// margin-bottom: inherit;
// font-size: 0.7em!important;
// color: $dim-text!important;
// }
// .reveal.center .slide aside, .reveal.center .slide div.aside {
// position: absolute!important;
// bottom: 20px!important;
// font-size: 0.7em!important;
// color: $dim-text!important;
// }
//
// .reveal .slide.scrollable aside,.reveal .slide.scrollable div.aside {
// position: relative;
// margin-top: 1em
// }
.reveal .slide aside .aside-footnotes {
// position: fixed!important;
// margin-top: 1em!important;
// bottom: 2px!important;
// font-size: 0.7em!important;
color: $dim-text!important;
}
.reveal .slide sup {
font-size: 0.7em;
}
.reveal em {
font-style: italic;
color: $italic-color;
}
.reveal .slide-menu-button .fa-bars::before {
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#{colorToRGB($link-color)}" class="bi bi-list" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/></svg>');
}
.reveal .callout.callout-style-simple {
padding: 0em 0.5em;
border-left: solid #acacac .3rem;
border-right: solid 1px silver;
border-top: solid 1px silver;
border-bottom: solid 1px silver;
display: flex;
// box-shadow: #000000 0px 0px 5px 10px;
}
.reveal .callout.callout-style-simple .callout-body,
.reveal .callout.callout-style-default .callout-body,
.reveal .callout.callout-style-simple div.callout-caption,
.reveal .callout.callout-style-default div.callout-caption {
font-size: inherit;
}
.reveal .callout.callout-style-default .callout-icon::before,
.reveal .callout.callout-style-simple .callout-icon::before {
height: 2rem;
width: 2rem;
background-size: 2rem 2rem;
}
.reveal .callout.callout-captioned .callout-caption p {
margin-top: 0.5em;
}
.reveal .callout.callout-captioned .callout-icon::before {
margin-top: 1rem;
}
.reveal
.callout.callout-captioned
.callout-body
> .callout-content
> :last-child {
margin-bottom: 1rem;
}
.reveal .callout.callout-titled .callout-icon::before {
margin-top: unset!important;
}
.reveal .green-text {
color: $green-text;
}
.reveal .yellow-text {
color: $myyellow;
}
.reveal .red-text {
color: $red-text;
}
.reveal .dim-text {
color: $dim-text;
}
.reveal .purple-text {
color: $mypurple;
}
.reveal .blue-text {
color: $blue-text;
}
.reveal .orange-text {
color: $orange-text;
}
.reveal .pink-text {
color: $pink-text;
}
.reveal .note-green {
padding: 1pt 1pt 1pt 1pt;
border:1px solid #66BB6A;
border-radius:8px;
box-shadow: RGBA(0, 0, 0, 0.35) 0px 5px 15px;
background-color:#202020;
max-width: min-content;
min-width: max-content;
text-align:left;
margin-left: auto;
margin-right: auto;
}
.reveal .callout.callout-style-default div.callout-title{
font-size: 1.0em!important;
}
.callout-title {
font-size:1.0em!important;
}
.reveal .callout-caution {
border: 1px solid #E599F7!important;
}
.reveal blockquote {
display: block;
position: relative;
width: 70%;
// margin: var(--r-block-margin) auto;
margin: inherit;
padding: 5px;
font-style: italic;
background: rgba(255,255,255,.05);
box-shadow: 0px 0px 2px rgba(0,0,0,.2)
}
.reveal blockquote p:first-child,.reveal blockquote p:last-child {
display: inline-block
}
.reveal .callout.callout-titled .callout-icon::before {
height: -webkit-fill-available!important;
}
.reveal .callout.callout-style-default .callout-icon::before,
.reveal .callout.callout-style-simple .callout-icon::before {
width: 1em!important;
height: 1em!important;
background-size: 1em 1em!important;
}
.reveal .callout.callout-style-default div.callout-title {
font-size: 1.0em !important;
}
.reveal small * {
vertical-align: baseline!important;
}
.reveal blockquote {
border-radius: 4px!important;
display: block;
position: relative;
width: fit-content!important;
/* padding-left: 2pt; */
/* padding-right: 2pt; */
font-size: 0.8em;
font-style: italic;
color: $mygrey-080;
background-color: #1c1c1c;
border-left: 4px solid $mygrey-080!important;
// border: 1px solid $mygrey-060!important;
box-shadow: RGBA(0, 0, 0, 0.85) 0px 5px 15px!important;
// margin: var(--r-block-margin) auto;
// padding: 5px;
/* max-width: min-content + 20px; */
/* min-width: max-content; */
// margin-left: 5pt!important;
margin-right: revert!important;
padding: 0em 0.1em 0em 0.3em;
// display: -webkit-inline-box;
}
.reveal .slide figure>figcaption {
text-align:center;
}
.reveal figure>figcaption {
margin-top: 0.2em;
}
.reveal boxed {
border-radius: 6px!important;
display: block;
position: relative;
width: fit-content!important;
font-size: 0.9em;
color: $mygrey-080;
background-color: #1c1c1c;
box-shadow: RGBA(0, 0, 0, 0.85) 0px 5px 15px!important;
margin-right: revert!important;
padding: 0em 0.1em 0em 0.3em;
}
// .reveal .slide ul li, .reveal .slide ol li {
// margin-top: 0.2em!important;
// margin-bottom: 0.1em!important;
// }
.hanging-indent div.csl-entry {
font-size: 0.9em;
margin-left: 2em;
text-indent: -2em!Important;
}
.reveal .slide-chalkboard-buttons {
display: none!important;
}
.slide-chalkboard-buttons.slide-menu-offset {
display: none!important;
}
.reveal a:hover {
border-bottom: ridge;
}
.reveal .slide aside, .reveal .slide div.aside {
position: absolute;
bottom: 20px;
font-size: 0.7em;
color: #777777;
}
hr {
color: #666666;
display: block;
unicode-bidi: isolate;
margin-block-start: 0.5em;
margin-block-end: 0.5em;
margin-inline-start: auto;
margin-inline-end: auto;
overflow: hidden;
border-style: inset;
border-width: 1px;
}