-
Notifications
You must be signed in to change notification settings - Fork 17
/
gradient.css
88 lines (73 loc) · 1.65 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/* @theme gradient */
/* Author: rnd195 https://github.com/rnd195/ */
/* MIT license https://github.com/rnd195/my-marp-themes/blob/live/licenses/LICENSE */
@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(to top right, #e1c2e1 5%, #b9d5d9 95%);
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #842174;
}
a {
color: #9d30a6;
}
code {
background-color: #ffffffad;
}
mark {
background-color: #eaa2ee;
padding: 0 2px 2px;
}
pre {
background-color: #ffffffad;
}
/* 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 */
/* https://github.com/marp-team/marpit/issues/141#issuecomment-473204518 */
img[alt~="center"] {
display: block;
margin: 0 auto;
}
/* || SECTION CLASS: blue */
section.blue {
background-color: #ffffff;
background-image: linear-gradient(to bottom right, #cadaf7 5%, #87a7e4 95%);
}
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;
}