-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
71 lines (65 loc) · 1 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
html,
body {
margin: 0;
padding: 0;
background: rgb(0, 0, 0);
overscroll-behavior-y: none;
box-sizing: border-box;
}
canvas {
display: block;
margin: 5px;
border-radius: 0.5rem;
background: url("./Assets/tileSand1.png");
background-size: 8vmin;
}
.button {
display: block;
background: none;
padding: 6px 16px;
border: none;
outline: none;
color: white;
border-radius: 1000px;
}
.score {
color: white;
width: 100%;
position: absolute;
top: 0;
font-size: 1.2rem;
text-align: center;
}
#speedButton {
position: absolute;
bottom: 5px;
left: 5px;
}
#pauseButton {
position: absolute;
bottom: 5px;
right: 5px;
}
.gameOverWindow {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.popup {
min-width: 300px;
min-height: 150px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 1rem;
text-align: center;
background: #000;
color: white;
border-radius: 1rem;
}