-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.css
75 lines (69 loc) · 1.1 KB
/
main.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
html, body {
background-color: rgb(51, 51, 51);
overflow: hidden;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
font-family: 'Press Start 2P', cursive;
}
#view {
right: 0;
left: 0;
margin: auto;
position: fixed;
z-index: 0;
background-image: url("./img/spacebg.png");
background-size: 100% auto;
}
#score {
display: block;
position: fixed;
top: 20;
left: 0;
color: orange;
font-size: 8px;
z-index: 1;
padding-left: 5px;
-webkit-user-select: none;
/* for Chrome */
-moz-user-select: none;
/* for Firefox */
user-select: none;
}
#debug {
display: block;
position: fixed;
/* top: 0; */
left: 0;
bottom: 0px;
color: white;
}
#life {
position: fixed;
bottom: 0;
background-color: orange;
height: 10px;
width: 100%;
z-index: 2;
}
.ready{
width: 100%;
height: 100%;
position: fixed;
text-align: center;
z-index: 999;
background-color:rgba(0,0,0,.6);
display: flex;
align-items: center;
justify-content: center;
color: orange;
}
.ready .title p{
color: white;
}
.score {
margin-top: 20px;
font: bold;
font-size: 5rem;
}