-
Notifications
You must be signed in to change notification settings - Fork 1
/
custom.css
124 lines (100 loc) · 1.69 KB
/
custom.css
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
:root {
/* Configurable variables: https://github.com/hakimel/reveal.js/blob/master/css/theme/template/exposer.scss */
/* --r-main-font: Helvetica; */
--r-main-font-size: 33px;
--r-link-color: #a626a4;
--r-link-color-hover: #f113ed;
}
.reveal {
font-weight: 300;
color: #444;
}
.reveal .slides {
text-align: left;
}
.reveal pre {
box-shadow: none;
line-height: 1.5;
}
.reveal small,
.reveal small * {
vertical-align: inherit;
}
.reveal pre {
font-size: 0.8em;
width: auto;
}
.reveal ul ul {
margin: 0;
}
pre code.hljs {
border-radius: 6px;
}
code {
background-color: #fafafa;
}
:not(pre) code {
background-color: #fafafa;
display: inline-block;
padding: 0.1em 0.3em;
border-radius: 6px;
}
.katex {
font-size: 1em;
}
.reveal h1 {
margin-bottom: 0.5em;
}
.reveal h1::after {
content: "";
display: block;
width: 3em;
height: 0.3em;
background-color: #a626a4;
}
.reveal h2 {
margin-bottom: 1em;
}
.reveal h2::after {
content: "";
display: block;
width: 2em;
height: 0.2em;
background-color: #a626a4;
}
.reveal h3 {
margin-bottom: 1em;
}
.reveal h3::after {
content: "";
display: block;
width: 1.5em;
height: 0.15em;
background-color: #a626a4;
}
.reveal ul,
.reveal ol {
display: block;
margin: 1em 0em;
padding-left: 1.5em;
}
.reveal .slides section .fragment {
visibility: visible;
}
.reveal ::selection {
background-color: hsla(301, 63%, 40%, 1);
}
#TOC>nav>ul {
columns: 2;
font-size: 0.45em;
max-height: 520px;
}
#TOC li:empty {
display: none;
}
.float {
float: left;
}
.float>*:first-child {
margin-top: 0;
}