-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgame.css
125 lines (109 loc) · 1.84 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
114
115
116
117
118
119
120
121
122
123
124
125
body {
margin: 0;
height: 100vh;
background-color: black;
display: flex;
align-items: center;
justify-content: center;
font-family: 'PT Sans', sans-serif;
-webkit-font-smoothing: antialiased;
}
button {
height: 3rem;
width: 10rem;
border: none;
border-radius: 10px;
font-size: 1.5rem;
cursor: pointer;
outline: none;
}
.game {
width: 60%;
height: 80%;
background-color: white;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.data {
position: relative;
top: 5%;
display: flex;
width: 100%;
align-items: center;
justify-content: center;
flex-direction: row;
}
.controls {
position: relative;
bottom: 15%;
display: flex;
width: 100%;
justify-content: space-around;
}
#counter {
text-align: center;
flex-grow: 2;
font-size: 4rem;
}
#div-collect-counter {
text-align: center;
flex-grow: 1;
font-size: 1.5rem;
color: #42f4a7;
}
#div-balloon-counter {
text-align: center;
flex-grow: 1;
font-size: 1.5rem;
}
#pump {
color: white;
background-color: #42b0f4;
}
#collect {
color: white;
background-color: #42f4a7;
}
#bag-of-money {
/*for later use*/
}
.hidden{
display:none;
}
.success{
background-color: rgba(0,0,0,0.7);
width:100%;
height:100%;
position: absolute;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-size: 3rem;
}
.success-text{
border: 1px solid black;
background-color: white;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding:2rem;
border-radius: 10px;
}
.success-text>a{
text-decoration: none;
color: black;
background-color: #d2cece;
border-radius: 10px;
padding: 0.9rem;
margin: 1rem;
font-size: 1.5rem;
}
#success-container{
position: absolute;
width: 100vw;
height: 100vh;
}