-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththedatapatch_theme.scss
More file actions
142 lines (122 loc) · 4.58 KB
/
thedatapatch_theme.scss
File metadata and controls
142 lines (122 loc) · 4.58 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/*--------------------------------------------------------------
Custom Quarto Reveal.js Theme
Roboto + The Data Patch Palette
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1. Import Fonts
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&display=swap');
/*--------------------------------------------------------------
2. Quarto theme variables
--------------------------------------------------------------*/
$font-family-sans-serif: 'Roboto', sans-serif !default;
$presentation-heading-font: 'Roboto', sans-serif !default;
$presentation-heading-color: #489635 !default;
$body-color: #33363b !default;
/*--------------------------------------------------------------
3. Backgrounds
--------------------------------------------------------------*/
.reveal {
background-color: #ffffff;
}
.reveal section {
background-color: #ffffff;
color: $body-color;
font-family: $font-family-sans-serif;
}
/* Slide background variations */
.reveal section.background-accent {
background-color: #d6f4f6;
color: $body-color;
}
.reveal section.background-secondary {
background-color: #addca3;
color: $body-color;
}
/*--------------------------------------------------------------
4. Headings
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
color: $presentation-heading-color;
font-weight: 500;
font-family: $presentation-heading-font;
}
.reveal .slides section h1 { font-size: 2.5em !important; }
.reveal .slides section h2 { font-size: 2em !important; }
.reveal .slides section h3 { font-size: 1.75em !important; }
/*--------------------------------------------------------------
5. Links
--------------------------------------------------------------*/
a { color: #489635; text-decoration: none; }
a:hover { text-decoration: underline; }
/*--------------------------------------------------------------
6. Accents and Highlights
--------------------------------------------------------------*/
strong, b { color: $body-color; }
em, i { color: #9fb782; }
/*--------------------------------------------------------------
7. Code blocks
--------------------------------------------------------------*/
pre, code {
font-family: 'Roboto Mono', monospace;
background-color: #f5f5f5;
color: $body-color;
border-radius: 4px;
padding: 0.3em 0.5em;
}
/*--------------------------------------------------------------
8. Blockquotes
--------------------------------------------------------------*/
blockquote {
border-left: 4px solid $presentation-heading-color;
color: $body-color;
padding-left: 1em;
font-style: italic;
}
/*--------------------------------------------------------------
9. Horizontal rules
--------------------------------------------------------------*/
hr {
border: none;
height: 2px;
background-color: $presentation-heading-color;
margin: 2em 0;
}
/*--------------------------------------------------------------
10. Buttons and navigation
--------------------------------------------------------------*/
.reveal .controls .navigate-right,
.reveal .controls .navigate-left { color: $presentation-heading-color; }
.reveal .progress span { background-color: $presentation-heading-color; }
/*--------------------------------------------------------------
11. Title Slide
--------------------------------------------------------------*/
.reveal .slides section.quarto-title-block .subtitle {
font-family: $font-family-sans-serif !important;
font-size: 0.75em !important;
color: #666 !important;
margin-top: 0.5em !important;
text-align: center !important;
}
.reveal .slides section.quarto-title-block .date {
font-family: $font-family-sans-serif !important;
font-size: 0.5em !important;
color: #666 !important;
margin-top: 0em !important;
}
.reveal .slides section.quarto-title-block .title {
font-family: $presentation-heading-font !important;
font-size: 3em !important;
font-weight: 700 !important;
color: $presentation-heading-color !important;
}
/*--------------------------------------------------------------
12. FORCE Roboto for all slide text (except code)
--------------------------------------------------------------*/
.reveal .slides section *,
.reveal .slides section p,
.reveal .slides section span,
.reveal .slides section li {
font-family: 'Roboto', sans-serif !important;
}