-
Notifications
You must be signed in to change notification settings - Fork 0
/
Style.css
71 lines (62 loc) · 1.21 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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
body {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: white;
min-height: 100vh;
background-color: #191919;
overflow: hidden;
}
canvas {
background-color: #111;
}
.score {
display: flex;
flex-direction: column;
align-items: center;
font-size: 1.8rem;
}
.score--value {
font-weight: 700;
font-size: 4.5rem;
display: block;
margin-top: -10px;
}
.menu-screen {
position: absolute;
display: none;
flex-direction: column;
align-items: center;
z-index: 1;
}
.game-over {
text-transform: uppercase;
font-weight: 700;
font-size: 3rem;
}
.final-score {
font-weight: 500;
font-size: 1.5rem;
}
.btn-play {
border: none;
border-radius: 100px;
padding: 10px 15px 10px 12px;
font-size: 1rem;
font-weight: 600;
color: #333;
margin-top: 40px;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
cursor: pointer;
}