aboutsummaryrefslogtreecommitdiff
path: root/src/lib/styles/theme.css
blob: 5215feb4001a5de9f3d7a8b113d0ecc1539f519f (plain)
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
@import '@fontsource-variable/manrope';
@import '@fontsource-variable/jetbrains-mono';

:root {
	--r-background-color: hsl(226 19% 13%);
	--r-main-font: 'Manrope Variable';
	--r-main-font-size: 42px;
	--r-main-color: hsl(226 19% 98%);
	--r-heading-font: 'Manrope';
	--r-code-font: 'JetBrains Mono Variable';
	--r-link-color: hsl(180 100% 50%);
}

/* required for Reveal.js to work */
#app {
	display: contents;
}

.reveal-viewport {
	background-color: var(--r-background-color);
}

.reveal {
	color: var(--r-main-color);
	font-family: var(--r-main-font);
	font-size: var(--r-main-font-size);
	font-weight: normal;
}

.reveal pre {
	display: block;
	position: relative;
	margin-inline: auto;
	font-family: var(--r-code-font);
	font-size: 0.55em;
	line-height: 1.6em;
	text-align: left;
	word-wrap: break-word;
}

.reveal code {
	font-family: var(--r-code-font);
	text-transform: none;
	tab-size: 2;
}

.reveal code::-webkit-scrollbar {
	display: none;
	scrollbar-width: none;
}

.reveal pre code {
	max-height: 600px;
	display: block;
	padding: 5px;
	overflow: auto;
	word-wrap: normal;
}

.reveal .code-wrapper {
	white-space: normal;
}

.reveal .code-wrapper code {
	white-space: pre;
}

.reveal table {
	margin: auto;
	border-collapse: collapse;
	border-spacing: 0;
}

.reveal table th {
	font-weight: bold;
}

.reveal table th,
.reveal table td {
	padding: 0.2em 0.5em 0.2em 0.5em;
	text-align: left;
	border-bottom: 1px solid;
}

.reveal table th[align='center'],
.reveal table td[align='center'] {
	text-align: center;
}

.reveal table th[align='right'],
.reveal table td[align='right'] {
	text-align: right;
}

.reveal table tbody tr:last-child th,
.reveal table tbody tr:last-child td {
	border-bottom: none;
}

.reveal sup {
	vertical-align: super;
	font-size: smaller;
}

.reveal sub {
	vertical-align: sub;
	font-size: smaller;
}

.reveal small {
	display: inline-block;
	font-size: 0.6em;
	line-height: 1.2em;
	vertical-align: top;
}

.reveal small * {
	vertical-align: top;
}

.reveal .controls {
	color: var(--r-link-color);
}

.reveal .progress {
	color: var(--r-link-color);
}