Newer
Older
--slidev-theme-primary: #fb7756;
--slidev-theme-secondary: #cc7b4b;
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
--slidev-theme-code: white;
}
a, .secondary-color {
color: var(--slidev-theme-primary);
}
.slidev-layout {
@apply py-20 px-16;
p, ul {
@apply text-xs text-left mr-2;
}
li {
@apply text-left;
list-style: inside
}
p + h2, ul + h2, table + h2 {
@apply mt-10;
}
h1 {
@apply text-4xl font-serif font-bold;
color: var(--slidev-theme-primary)
}
h1 + p {
@apply text-center;
}
:not(pre) > code {
font-size: 0.9em;
padding: 0 0.2rem;
background: var(--slidev-theme-secondary);
color: var(--slidev-theme-code);
@apply font-light py-0.5 rounded;
}
pre {
background: var(--slidev-theme-secondary);
color: var(--slidev-theme-code);
@apply font-light px-4 py-2 text-left rounded text-xs mb-6 mt-4 mr-4;
}
img {
@apply rounded;
}
}
.slidev-layout.cover,
.slidev-layout.intro {
@apply h-full grid;
h1 {
@apply text-6xl leading-20;
}
h1 + p {
@apply -mt-2 opacity-50 mb-4;
}
p + h2, ul + h2, table + h2 {
@apply mt-10;
}
}