-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
44 lines (42 loc) · 772 Bytes
/
style.css
File metadata and controls
44 lines (42 loc) · 772 Bytes
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Trebuchet MS';
}
body{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #181818;
color: #f2f2f2;
}
.wrapper{
display: flex;
flex-direction: column;
align-items: center;
}
.score-flex{
position: absolute;
top: 40px;
left: 50%;
transform: translate(-230px);
display: flex;
align-items: center;
background-color: #181818;
}
.gameOver{
position: absolute;
font-size: 70px;
top: 360px;
left: 50%;
transform: translate(-50%, -50%);
background-color: #18181800;
}
.score{
padding: 5px;
text-align: center;
}