-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmaster.css
More file actions
91 lines (78 loc) · 1.15 KB
/
master.css
File metadata and controls
91 lines (78 loc) · 1.15 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
.container {
position: relative;
height:810px;
width:1296px;
margin-left: auto;
margin-right: auto;
font-family: 'Cuprum', sans-serif;
color: white;
}
.enable-volume {
z-index: -2000;
}
.disable-volume {
z-index: -2000;
}
.score {
z-index: 500;
}
.volume-control {
font-size: 12px;
color: white;
position: absolute;
top: 25px;
left: 15px;
border-bottom: 1px solid #ffffff;
}
.volume-control:hover {
cursor: pointer;
}
.score-label {
font-size: 30px;
color: white;
position: absolute;
top: 50px;
left: 15px;
z-index: 150;
}
.life-img {
width: 50px;
top: 85px;
left: 15px;
position: relative;
z-index: 150;
}
.background-img {
position: absolute;
z-index: -99;
width: 100%;
height: 100%;
}
#game-canvas {
position: absolute;
z-index: 99;
top: 0px;
}
.start-game-cont {
position:fixed;
top: 30%;
left: 50%;
width: 200px;
height: 200px;
transform: translateX(-50%);
z-index: 100;
text-align: center;
}
.start-game {
position: relative;
font-size: 50px;
}
.new-game {
position: relative;
display: block;
top: 100px;
font-size: 30px;
}
.new-game:hover {
cursor: pointer;
}