-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
86 lines (70 loc) · 1.41 KB
/
styles.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
@import url('https://fonts.googleapis.com/css?family=K2D:700|Poppins:400|Fira%20Code:400|Average%20Sans:400');
@import url('https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/dark.min.css');
:root {
--font-size: 4rem;
--bg: hsl(90, 10%, 4%);
--text: hsl(108, 32%, 96%);
--accent: hsl(108, 16%, 58%);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Average Sans', sans-serif;
line-height: 1.15;
background-color: var(--bg);
color: var(--text);
padding: 4rem;
font-size: var(--font-size);
overflow: hidden;
height: 1080px;
width: 1920px;
}
h1 {
font-size: calc(var(--font-size) * 2);
margin-bottom: 0.5em;
text-align: center;
}
h2 {
font-size: calc(var(--font-size) * 1.5);
margin-bottom: 0.25em;
}
h3 {
font-size: calc(var(--font-size) * 1.17);
margin-bottom: 0.25em;
}
h4 {
font-size: var(--font-size);
margin-bottom: 0.25em;
}
h1,
h2,
h3,
h4,
h5 {
font-family: 'K2D';
font-weight: 700;
}
ul {
padding: 0;
margin: 0;
padding-left: 1.25em;
}
strong {
color: var(--accent);
}
code,
pre {
font-family: 'Fire Code', monospace;
font-size: 0.8em;
padding: 0em !important;
margin: 0em !important;
background-color: var(--bg);
}
pre * {
font-family: 'Fire Code', monospace;
font-size: inherit;
background-color: var(--bg) !important;
}