-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
71 lines (62 loc) · 1.06 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
:root {
--game-background: rgb(24, 25, 33);
--canvas-background: rgb(33, 34, 45);
--canvas-border: #635c5c;
--text-color: #5cdb95;
}
@keyframes for-title {
from {
color: #fff;
}
to {
color: rgb(116, 112, 112);
}
}
body {
margin: 0;
padding: 0;
/* background-color: var(--game-background); */
background-image: url("./assets/background.jpg");
background-repeat: no-repeat;
}
.list-control {
margin: 0;
padding: 0;
list-style: none;
}
.title {
text-align: center;
margin-top: 40px;
color: #fff;
}
.title .game-btn {
text-transform: uppercase;
animation: for-title 0.9s infinite;
}
.title.hide {
opacity: 0;
}
#cnvs {
position: absolute;
top: 50%;
width: 100%;
max-width: 560px;
/* height: auto; */
left: 50%;
transform: translate(-50%, -50%);
background-color: var(--canvas-background);
border: 2px solid var(--canvas-border);
box-sizing: border-box;
}
footer {
background-color: var(--game-background);
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
footer h2 {
margin: 10px 0;
text-align: center;
color: var(--text-color);
}