-
Notifications
You must be signed in to change notification settings - Fork 0
/
styling.scss
117 lines (95 loc) · 2.25 KB
/
styling.scss
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
/*-- scss:defaults --*/
@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,500;1,500&display=swap');
// custom colors set to Sass variables
$custom-charcoal: #1A162D;
$custom-teal: #50847B;
$custom-black: #000000;
$custom-white: white;
// fonts
$font-family-sans-serif: 'Jost', sans-serif;
$font-family-serif: 'Zilla Slab', serif;
// setting the colors to content elements
$body-bg: white;
$body-color: $custom-charcoal;
$link-color: $custom-teal;
$code-color: $custom-teal;
// headings
$presentation-heading-font: 'DM Sans', sans-serif;
$presentation-heading-color: $custom-charcoal;
/*-- scss:rules --*/
.quarto-title-author-name {
color: white;
}
h1, .quarto-title-authors {
color: black;
}
.reveal h1 {
font-size: 8rem;
}
h2, h3 {
color: $custom-black !important;
}
.reveal p {
margin-bottom: 20px;
}
.r-fit-text {
color: $custom-black !important;
top: 50% !important;
}
code, .reveal code {
font-size: 85%;
background-color: #f6f6f6 !important;
}
.countdown .countdown-time {
background-color: white !important;
}
.codewindow .header .file,
.codewindow .textarea {
background-color: #f6f6f6 !important;
}
summary {
color: #6a737b !important;
font-size: 1.2rem;
font-weight: 200;
}
.annotation-link {
position: fixed;
top: 10px;
right: 10px;
font-size: 75px;
}
.reveal .column-output-location .column:first-of-type div.sourceCode {
height: unset !important;
}
// underline link text
.reveal a {
text-decoration: underline;
}
// fragment highlight colors
.reveal .slides section {
.fragment.highlight-blue,
.fragment.highlight-teal {
opacity: 1;
visibility: inherit
}
.fragment.highlight-teal.visible {
background-color: $custom-teal;
color: white;
border-radius: 10px;
padding: 2px
}
.fragment.highlight-blue.visible {
background-color: rgba($custom-black, 0.2);
color: $custom-charcoal;
border-radius: 15px;
padding: 10px;
}
}
.reveal .slide figure>figcaption,
.reveal .slide img.stretch+p.caption,
.reveal .slide img.r-stretch+p.caption {
font-size: 0.3em;
text-align: center;
}