-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.css
149 lines (116 loc) · 1.91 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
body {
color: #fff;
}
button{
display: inline-block;
width: 200px;
height: 60px;
font-size: 20px;
color: #fff;
border-radius: 4px;
line-height: 5px;
margin: 10px;
background: #191970;
}
.button clicked{
background: red;
}
.imga{
width: 200px;
height: 200px;
}
button:hover {
cursor: pointer;
transform: scale(1.02);
transform: transform 100ms;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
* {
box-sizing: border-box;
margin: 0px;
padding: 0px;
font-size: 10px;
font-family: 'Nova Square', cursive;
}
h1 {
font-size: 25px;
color: #000;
margin-bottom: 10px;
margin-top: 20px;
}
h2 {
font-size: 20px;
margin-bottom: 4rem;
color: #000;
}
.container {
width: 600px;
height: 400px;
margin-left: 30%;
margin-top: 10%;
background-color: #fff;
padding: 10px 50px 50px 50px;
border-radius: 50px;
border: 2px solid #cbcbcb;
box-shadow: 10px 15px 5px #cbcbcb;
color: #000
}
.flex-column {
display: flex;
flex-direction: column;
}
.flex-center {
justify-content: center;
align-items: center;
color: #000;
}
.justify-center {
justify-content: center;
}
.text-center {
text-align: center;
color: #000
}
.choice-prefix {
padding: 2rem 2.5rem;
color: #000;
}
.opt{
display: inline-block;
}
.choice-text {
padding: 2rem;
float: left;
color: #000
text-align: center;
}
/* Heads up Display */
#hud {
display: flex;
justify-content: space-between;
}
.prefix {
text-align: center;
font-size: 2rem;
}
.main-text {
text-align: center;
}
#progressBar {
width: 160px;
height: 2rem;
border: 0.2rem solid rgb(11,223,36);
margin-top: 2rem;
border-radius: 50px;
overflow: hidden;
}
#progressBarFull {
height: 100%;
background: rgb(11,223,36);
width: 0%;
}
@media screen and (max-width: 768px) {
.choice-container {
min-width: 40rem;
}
}