-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
114 lines (102 loc) · 2.06 KB
/
styles.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
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
113
114
body {
font-size: 32px;
font-family: Consolas, "Courier New", monospace;
}
.game-area {
position: relative;
background: rgb(61, 160, 244);
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: 92vh;
margin:0;
}
.game-start {
position: absolute;
width: 30%;
background-color: rgb(250, 201, 39);
border-radius: 30px;
top: 200px;
left: 33%;
z-index: 1;
text-align: center;
padding: 30px;
cursor: pointer;
}
.game-controls-info {
position: absolute;
width: 30%;
background-color: rgb(226, 249, 122);
border-radius: 30px;
top: 330px;
left: 33%;
z-index: 1;
text-align: center;
padding: 30px;
}
.game-score {
background-color: black;
color: white;
text-align: center;
}
.game-over {
position: absolute;
width: 30%;
background-color: rgb(255, 0, 0);
border-radius: 30px;
top: 100px;
left: 33%;
z-index: 100;
text-align: center;
padding: 20px;
}
.game-start-over {
position: absolute;
width: 20%;
background-color: rgb(157, 218, 65);
border-radius: 25px;
top: 230px;
left: 38%;
z-index: 100;
text-align: center;
padding: 20px;
cursor: pointer;
}
.hide {
display: none;
}
.wizard {
z-index: 100;
position: absolute;
width: 82px;
height: 100px;
background-image: url(./images/wizard.png);
background-size: cover;
}
.wizard-fire {
background-image: url(./images/wizard-fire.png);
background-size: cover;
}
.fireball {
position: absolute;
width: 40px;
height: 40px;
background-image: url(./images/fire-ball.png);
background-size: cover;
}
.cloud {
z-index: 0;
position: absolute;
width: 200px;
height: 200px;
background-image: url(./images/cloud.png);
background-size: cover;
}
.bug {
position: absolute;
width: 60px;
height: 60px;
background-image: url(./images/bug.png);
background-size: cover;
}