-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
112 lines (100 loc) · 2.1 KB
/
Copy pathstyle.css
File metadata and controls
112 lines (100 loc) · 2.1 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
body {
font-family: consolas;
margin: 0;
}
.start-screen {
position: relative;
background: linear-gradient(
0deg, rgba(61, 160, 244, 1) 0%, rgba(192, 221, 246, 1) 33%, rgba(55, 157, 244, 1) 100%);
width: 100%;
height: 657px;
margin: 0;
}
.start-button {
font-family: consolas;
font-size: 36px;
border: none;
border-radius: 40px;
background-color: springgreen;
color: darkolivegreen;
width: 37%;
height: 60px;
margin-left: 31%;
margin-top: 8%;
text-align: center;
font-weight: bold;
letter-spacing: 3px;
cursor: pointer;
}
.hide {
display: none;
}
.game-screen {
position: relative;
background: linear-gradient(
0deg, rgba(61, 160, 244, 1) 0%, rgba(192, 221, 246, 1) 33%, rgba(55, 157, 244, 1) 100%);
width: 100%;
height: 657px;
margin: 0;
}
.wizard {
background-image: url(./images/wizard.png);
position: absolute;
width: 82px;
height: 100px;
display: block;
}
.wizard-fire {
background-image: url(./images/wizard-fire.png);
}
.fireball {
background-image: url(./images/fire-ball.png);
position: absolute;
width: 40px;
height: 40px;
display: block;
}
.cloud {
background-image: url(./images/cloud.png);
position: absolute;
width: 200px;
height: 200px;
display: block;
}
.score-board {
background-color: black;
width: 100%;
height: 20px;
display: inline-block;
color: white;
margin: 0;
text-align: center;
}
.bug {
background-image: url(./images/bug.png);
background-size: cover;
position: absolute;
width: 60px;
height: 60px;
}
.player-stats {
background-color: black;
width: 100%;
height: 20px;
display: inline-block;
color: white;
margin: 0;
text-align: center;
}
.game-over{
position: absolute;
width: 50%;
background-color: red;
top: 100px;
left: 25%;
z-index: 1;
text-align: center;
padding: 30px;
font-size: 40px;
color: white;
}