This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
97 lines (80 loc) · 1.36 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
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
@font-face {
font-family: "Montserrat";
src: local("Montserrat"),
url("/fonts/Montserrat-Regular.woff2") format("woff2");
}
@font-face {
font-family: "Roboto Slab";
src: local("Roboto Slab"),
url("/fonts/RobotoSlab-Regular.woff2") format("woff2");
}
:root {
--bg: #111;
--fg: #ccc;
--primary: #83cc14;
--secondary: #527a0c;
--panel: #222;
--controls: #e5a016;
}
body {
background: var(--bg);
color: var(--fg);
display: grid;
font-family: "Montserrat", sans-serif;
grid-template:
"main hd" auto
"main item" auto
"main ctrl" auto
"main ." 1fr
"main ft" auto / 1fr minmax(240px, auto);
margin: 0;
min-height: 100vh;
}
main {
grid-area: main;
}
header {
grid-area: hd;
padding: 16px 32px;
}
#item, #controls {
background: var(--panel);
border-radius: 18px;
padding: 12px;
}
#item {
grid-area: item;
margin-bottom: 20px;
}
#controls {
grid-area: ctrl;
}
footer {
grid-area: ft;
}
canvas {
display: block;
}
.center, h1, h2 {
text-align: center;
}
h1, h2 {
font-family: "Roboto Slab", serif;
}
h1 {
color: var(--primary);
}
h2 {
color: var(--secondary);
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
.control {
color: var(--controls);
}
a:link, a:visited {
color: var(--fg);
}