-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgame.css
113 lines (99 loc) · 1.79 KB
/
game.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
body, html {
margin: 0;
text-align: center;
font-family: 'Montserrat';
background-image: linear-gradient(to bottom, #93a5cf, #e4efe9);
}
canvas {
display: none;
background-size: 100%;
height: 100vh;
width: 100vw;
left: 0;
right: 0;
position: fixed;
background-position: bottom;
background-repeat: no-repeat;
background-size: cover;
margin: auto;
}
#images {
display: none;
}
.area {
padding: 10px;
text-align: center;
}
h2 {
padding: 5px;
text-align: center;
}
p {
width: 500px;
padding: 1%;
margin: auto;
}
.btn {
text-align: center;
width: 100px;
background-color: #A8C2C4;
border: 2px solid #97aeb0;
padding: 20px;
display: inline-block;
margin: 30px 10px;
user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
cursor: pointer;
}
.health-box {
background-color: #FFECE9;
height: 30px;
width: 100%;
margin: 0 auto;
border: solid 1px #043C5B;
}
.health-bar {
background-color: #043C5B;
width: inherit;
height: 28px;
position: relative;
bottom: 56px;
}
.health-bar-red {
width: 100%;
height: 100%;
background-color: #3bd3df;
}
.health-bar-blue {
width: 100%;
height: 100%;
background-color: #3bd3df;
bottom: 28px;
position: relative;
}
.health-bar-text {
position: relative;
bottom: 80px;
color: #FFECE9;
font-family: 'Poppins', sans-serif;
}
table {
margin-top: 5%;
margin-left: 10%;
}
.text {
font-family: 'Poppins', sans-serif;
font-size: 20px;
margin-left: 4%;
}
.bubble {
background-color: #FFECE9;
padding: 2%;
border-radius: 9px;
width: 400px;
box-shadow: 20px 20px #043C5B;
margin-bottom: 30px;
}