forked from rnd195/my-marp-themes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gradient.css
66 lines (52 loc) · 1.4 KB
/
gradient.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
/* @theme gradient */
@import "default";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
:root {
font-family: Inter, Helvetica, Arial;
}
section {
background-color: #ffffff;
background-image: linear-gradient(40deg, #e2bee2ad 0%, #a7e1e7ad 100%);
}
h1, h2, h3, h4, h5, h6 {
color: #842174;
}
a {
color: #9d30a6;
}
code {
background-color: rgba(146, 146, 146, 0.2);
}
pre {
background-color: #ece1ecad;
}
/* https://github.com/yhatt/marp/issues/263 */
section::after {
font-size: 0.75em;
content: attr(data-marpit-pagination) ' / ' attr(data-marpit-pagination-total);
}
/* the "center" keyword centers the image - may break, careful */
img[alt~="center"] {
display: block;
margin: 0 auto;
}
/* || SECTION CLASS: blue */
section.blue {
background-color: #ffffff;
background-image: linear-gradient(to bottom right, #cadaf7 0%, #87a7e4 100%);
}
section.blue>h1, section.blue>h2, section.blue>h3, section.blue>h4, section.blue>h5, section.blue>h6 {
color: #214484;
}
section.blue>a {
color: #303ca6;
}
section.blue::after, section.blue>footer, section.blue>header {
color: #303ca6;
}
/* || SECTION CLASS: tinytext */
/* new class that makes p, ul, and blockquote text smaller */
/* might be useful for the References slide, use <!-- _class: tinytext --> */
section.tinytext>p, section.tinytext>ul, section.tinytext>blockquote {
font-size: 0.65em;
}