forked from psychrider/GameToGrow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle3.css
102 lines (80 loc) · 1.31 KB
/
style3.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
98
99
100
101
102
@font-face {
font-family: 'Source Code Pro';
src: url('fonts/SourceCodePro-Regular.ttf');
}
::-webkit-scrollbar {
display: none;
}
/* Colors */
:root {
--accent1: #F1C40F;
--accent2: #37DBD0;
--bg: #1E003D;
--fg: #ECF0F1;
--sidebar: #4E046D ;
}
/* Page structure */
html, body {
margin: 0;
}
body {
background-color: var(--bg);
color: var(--fg);
display: flex;
flex-direction: row;
font-family: 'Source Code Pro', monospace;
line-height: 1.6;
min-height: 100vh;
}
#game {
align-items: center;
display: flex;
flex: 1;
}
#sidebar {
background-color: var(--sidebar);
display: flex;
flex-direction: column;
max-height: 100vh;
max-width: 260px;
overflow-y: scroll;
}
header, main, footer {
padding: 16px;
}
main {
flex: 1;
padding-bottom: 0;
padding-top: 0;
}
footer {
padding-bottom: 0;
}
/* Page content */
canvas {
border: 1px solid var(--accent1);
display: block;
margin: 0 auto;
}
h1, h2, h3, h4, h5, h6 {
color: var(--accent1);
line-height: 1.2;
text-align: center;
}
ul {
list-style: none;
padding-left: 0;
}
li {
margin: 10px 0;
}
.control {
color: var(--accent2);
font-weight: bold;
}
#debug {
display: none;
}
#copyright {
text-align: center;
}