-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
209 lines (167 loc) Β· 3.86 KB
/
style.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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f0f0f0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
font-family: 'Courier New', monospace;
}
#game{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
a{
text-decoration: none;
color: #45a049;
}
h1 {
font-size: 75px;
text-decoration: none; /* Remove underlines */
color: inherit; /* Use the default text color */
}
h3 {
font-size: 30px;
}
h4 {
font-size: 25px;
}
p {
font-size: 20px;
}
#imageContainer {
width: 80vw;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid with a minimum column width of 200px */
gap: 10px; /* Gap between grid items */
justify-content: center; /* Center the grid horizontally */
}
figure {
text-align: center;
margin: 0;
display: flex; /* Use flexbox to vertically center content */
flex-direction: column; /* Stack image and caption vertically */
align-items: center; /* Center content horizontally */
justify-content: center; /* Center content vertically */
}
#imageContainer img {
max-width: 100%; /* Ensure images do not exceed their container width */
height: auto; /* Maintain the aspect ratio of the images */
display: block; /* Remove extra spacing below inline images */
}
figcaption {
margin-top: 5px; /* Add some space between the image and caption */
}
#map {
width: 800px;
height: 400px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
button {
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
font-family: 'Courier New', monospace;
background-color: #3c3c3c;
}
.greenButton {
font-size: 30px;
background-color: #4CAF50;
}
.greenButton {
background-color: #45a049;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 10px; /* Adjust the value to reduce the top margin */
margin-bottom: 5px; /* Adjust the value to reduce the bottom margin */
}
.not-clickable {
cursor: grab;
}
.modal-target {
width: 300px;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
.modal-target:hover {opacity: 0.7;}
/* The Modal (background) */
.pictureModal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000000; /* Sit on top */
padding-top: 20px; /* Location of the box */
padding-bottom: 20px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}
/* Modal Content (image) */
.modal-content {
margin: auto;
display: block;
width: 80%;
opacity: 1 !important;
max-width: 1200px;
object-fit: contain;
}
#scoreContainer {
border-style: solid;
padding: 20px;
min-width: 200px;
}
#tutorial{
width: 75vw;
}
#tutorial2{
width: 75vw;
}
hr {
border: 10px solid green;
border-radius: 5px;
}
@media screen and (max-width: 1150px) {
#map {
width: 99vw;
height: 800px;
}
#imageContainer {
width: 99vw;
}
#tutorial{
width: 95vw;
}
#tutorial2{
width: 95vw;
}
p {
font-size: 35px;
}
}
.radio-inline{
cursor: pointer;
}
.radio-inline input[type="radio"] {
display: none;
}
.radio-inline input[type="radio"] + span {
font-weight: normal;
}
.radio-inline input[type="radio"]:checked + span {
font-weight: bold;
text-shadow: 0 0 10px #45a049;
}