-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.css
57 lines (51 loc) · 786 Bytes
/
global.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
/* @theme global */
/* Custom theme affecting the entire slide */
/* common */
section *::selection {
background: rgba(110, 110, 255, 0.38);
}
/* link */
a {
text-decoration: underline;
transition: opacity 0.3s;
}
a:hover {
text-decoration: none;
opacity: 0.7;
}
a:has(code) {
text-decoration-color: #2b2b2b;
}
section.invert a:has(code) {
text-decoration-color: #dedede;
}
header > a,
header > a:hover,
footer > a,
footer > a:hover {
color: var(--color-header);
}
/* list */
ol,
ul {
margin-left: 2em;
}
section > ul > li,
section > ol > li {
margin-bottom: .2em;
}
li {
padding-top: .2em;
}
/* mark */
mark {
color: inherit;
background-color: inherit;
}
/* code block */
marp-pre {
border-radius: 8px;
}
:not(marp-pre) code {
border-radius: 8px;
}