This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
forked from IseeJ/CosmosPersona
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
styles.css
341 lines (288 loc) · 6.88 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
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
body {
font-family: 'Comfortaa', sans-serif;
background-color: #ffb997;
font-size: 20px;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 1000;
/*hight: 100vd;;*/
}
.dark {
font-family: 'Comfortaa', sans-serif;
background-color: #843b62;
font-size: 20px;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 1000;
/*hight: 100vd;;*/
}
.quiz-container {
font-family: 'Comfortaa', sans-serif;
text-align: center;
font-size: 20px;
background-color: #ffb997;
color: #0b032d;
padding: 20px;
border-radius: 10px;
/*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
width: 90%; /* Set width to 90% of the viewport */
max-width: 400px; /* Set max-width to 400px */
font-weight: bold;
}
.dark-container {
font-family: 'Comfortaa', sans-serif;
text-align: center;
font-size: 20px;
background-color: #843b62;
color: #ffb997;
padding: 20px;
border-radius: 10px;
/*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
width: 90%; /* Set width to 90% of the viewport */
max-width: 400px; /* Set max-width to 400px */
font-weight: bold;
}
h1 {
font-family: 'Comfortaa', sans-serif;
font-size: 28px;
font-weight: bold;
}
p{
font-size: 20px;
}
p1{
font-size: 10px;
}
.large-rectangular {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
display: block;
width: 80%;
font-size: 20px;
max-width: 400px;
padding: 10px 20px;
margin: 10px auto;
background-color: #f7e6dd;
color: rgb(0, 0, 0);
border: none;
/*border: 2px solid #333;*/
border-radius: 5px;
cursor: pointer;
}
.large-rectangular:hover {
background-color: #843b62;
color: #fff;
}
#result {
/*margin-top: 20px;*/
padding: 10px;
background-color: #ffb997;
/*border: 2px solid #ddd;
border-radius: 5px;*/
display: none;
width: 90%; /* Set width to 90% of the viewport */
max-width: 400px; /* Set max-width to 400px */
}
#quiz p{
font-size: 22px;
margin: 10px 0;
}
#result p {
font-size: 18px;
margin: 10px 0;
}
#quiz {
/* Add your other styles here */
font-size: 24px;
}
#quiz img {
max-width: 100%; /* Ensure the image doesn't exceed the container width */
max-height: 300px; /* Set a maximum height to prevent excessively tall images */
display: block; /* Ensure the image is displayed as a block element */
margin: auto; /* Center the image horizontally */
font-size: 24px;
}
/* Adjust the size of the question images */
question-image {
max-width: 360px;
height: auto;
align-items: center;
margin: 4px;
}
.keywords-container {
display: flex;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
flex-wrap: wrap;
margin-top: 20px; /* Adjust as needed */
}
.keyword-bubble {
background-color: #23282d;
color: white;
border-radius: 16px;
padding: 4px 12px;
margin: 4px;
font-size: 14px;
}
.result-content {
display: flex;
justify-content: space-between; /* Distribute content evenly */
align-items: center; /* Center vertically */
margin-top: 20px; /* Adjust as needed */
}
.result-text {
flex-grow: 1; /* Allow text to expand and take available space */
}
.result-image-container {
margin-top: 20px; /* Adjust as needed */
text-align: center;
align-items: center;
}
.result-image img {
max-width: 360px;
height: auto;
align-items: center;
margin: 4px;
margin-top: 20px;
}
.start-button {
font-family: 'Comfortaa', sans-serif;
background-color: #843b62;
border: none;
color: #ffffff;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin-top: 20px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.start-button:hover {
background-color: #ffffff; /* Darker green */
color: #090808;
}
.restart-button {
font-family: 'Comfortaa', sans-serif;
background-color: #ffb997;
border: none;
color: rgb(0, 0, 0);
padding: 15px 32px;
text-align: center;
font-size: 16px;
margin-top: 20px;
cursor: pointer;
display: inline-block;
}
.restart-button:hover {
background-color: #ffb997;
color: rgb(132, 107, 107);
}
.top-image {
width: 100%;
/*max-height: 200px;*/
object-fit: cover; /* To maintain aspect ratio */
}
.do-not-press-button {
font-family: 'Comfortaa', sans-serif;
background-color: #f46b6b; /* Red */
color: #fff;
padding: 20px; /* Adjust padding */
border: none;
border-radius: 50%; /* Make it a circle */
cursor: pointer;
font-size: 14px; /* Adjust font size */
margin-top: 10px;
display: inline-block;
text-decoration: none; /* Remove default link underline */
width: 100px; /* Set width to maintain circular shape */
height: 100px; /* Set height to maintain circular shape */
line-height: 1.5; /* Adjust line height */
text-align: center; /* Horizontally center content */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
}
.do-not-press-button:hover {
background-color: #bd2828; /* Darker red on hover */
}
/* Target all anchor elements */
a {
font-size: 20px;
color: #4b2d2d; /* Change to the desired color */
}
a:hover {
color: #ffffff; /* Change to the desired color */
}
a.no-underline {
color: #000000; /* Change to the desired color */
text-decoration: none;
}
a.no-underline:hover {
color: #000000; /* Change to the desired color */
text-decoration: none;
}
.hover-container {
position: relative;
display: inline-block;
cursor: pointer;
}
.tooltip {
visibility: hidden;
width: 200px;
font-size: 10px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
}
.hover-container:hover .tooltip {
visibility: visible;
opacity: 1;
}
footer {
text-align: center;
}
footer p {
font-size: 10px;
color: #843b62;
}
/*more magic*/
/* for the container */
.container {
position: relative;
display: inline-block; /* Ensure the container wraps around the image */
}
/* for the image */
.top-image2 {
display: block;
width: 100%; /* Ensure the image fills its container */
height: auto; /* Maintain aspect ratio */
}
/* for the invisible button */
.invisible-button {
position: absolute;
top: 170px;
left: 300px;
width: 50px;
height: 50px;
background-color: transparent;
border: none;
padding: 0;
margin: 0;
cursor: pointer;
outline: none;
}