forked from hackclub/workshop-deck-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
57 lines (53 loc) · 1.29 KB
/
style.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
@font-face {
font-family: 'Phantom Sans';
src: url('https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Regular.woff')
format('woff'),
url('https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Regular.woff2')
format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Phantom Sans';
src: url('https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Bold.woff')
format('woff'),
url('https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Bold.woff2')
format('woff2');
font-weight: bold;
font-style: normal;
font-display: swap;
}
/*
Safari has a rendering bug that sometimes prevented text from rendering on certain slides.
This is a hack that forces each new page to re-render.
*/
* {
-webkit-transform: translate3d(0,0,0);
}
body {
margin: 0;
}
pre,
code {
font-family: "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
font-size: 0.875em;
background-color: #e0e6ed !important;
color: #a633d6;
padding: 0 0.25em;
margin: 0 0.25em;
border-radius: 0.25em;
}
pre {
margin: 1rem 0;
border-radius: 1rem;
}
pre > code {
color: #a633d6 !important;
}
pre > code,
.npm__react-simple-code-editor__textarea + pre {
background-color: transparent !important;
margin: 0 !important;
padding: 0 !important;
}