Spaces:
Sleeping
Sleeping
Update style.css
Browse files- static/css/style.css +2 -60
static/css/style.css
CHANGED
|
@@ -30,7 +30,6 @@
|
|
| 30 |
gap: var(--gap-main);
|
| 31 |
place-items: center;
|
| 32 |
}
|
| 33 |
-
|
| 34 |
body {
|
| 35 |
background: var(--background);
|
| 36 |
color: var(--text);
|
|
@@ -40,13 +39,11 @@ body {
|
|
| 40 |
line-height: 1.6;
|
| 41 |
font-size: 1rem;
|
| 42 |
}
|
| 43 |
-
|
| 44 |
a {
|
| 45 |
color: var(--primary);
|
| 46 |
text-decoration: none;
|
| 47 |
transition: color var(--transition);
|
| 48 |
}
|
| 49 |
-
|
| 50 |
a:hover,
|
| 51 |
a:focus-visible {
|
| 52 |
color: var(--accent);
|
|
@@ -70,7 +67,6 @@ a:focus-visible {
|
|
| 70 |
z-index: 1;
|
| 71 |
user-select: none;
|
| 72 |
}
|
| 73 |
-
|
| 74 |
.spark-gradient {
|
| 75 |
background: linear-gradient(90deg, var(--primary) 30%, var(--accent) 70%);
|
| 76 |
-webkit-background-clip: text;
|
|
@@ -81,7 +77,6 @@ a:focus-visible {
|
|
| 81 |
padding-bottom: 0.15em;
|
| 82 |
position: relative;
|
| 83 |
}
|
| 84 |
-
|
| 85 |
.spark-underline {
|
| 86 |
display: block;
|
| 87 |
position: absolute;
|
|
@@ -96,7 +91,6 @@ a:focus-visible {
|
|
| 96 |
animation: spark-underline-anim 2s infinite alternate;
|
| 97 |
z-index: -1;
|
| 98 |
}
|
| 99 |
-
|
| 100 |
@keyframes spark-underline-anim {
|
| 101 |
0% { width: 60%; opacity: 0.75; }
|
| 102 |
100% { width: 72%; opacity: 1; }
|
|
@@ -137,7 +131,6 @@ a:focus-visible {
|
|
| 137 |
letter-spacing: 0.01em;
|
| 138 |
transition: background 0.3s, border 0.3s;
|
| 139 |
}
|
| 140 |
-
|
| 141 |
.about-title {
|
| 142 |
font-size: 1.4em;
|
| 143 |
color: var(--primary);
|
|
@@ -145,7 +138,6 @@ a:focus-visible {
|
|
| 145 |
margin-bottom: 0.5em;
|
| 146 |
letter-spacing: 0.03em;
|
| 147 |
}
|
| 148 |
-
|
| 149 |
.about-box a {
|
| 150 |
display: inline-block;
|
| 151 |
margin-top: 0.7em;
|
|
@@ -156,7 +148,6 @@ a:focus-visible {
|
|
| 156 |
border-bottom: 2px solid #9f7aea44;
|
| 157 |
transition: color 0.2s, border-color 0.2s;
|
| 158 |
}
|
| 159 |
-
|
| 160 |
.about-box a:hover {
|
| 161 |
color: #ff6584;
|
| 162 |
border-color: #ff6584;
|
|
@@ -171,41 +162,35 @@ a:focus-visible {
|
|
| 171 |
grid-template-columns: 1fr;
|
| 172 |
gap: var(--gap-main);
|
| 173 |
}
|
| 174 |
-
|
| 175 |
.row {
|
| 176 |
display: flex;
|
| 177 |
gap: 32px;
|
| 178 |
margin-bottom: 20px;
|
| 179 |
width: 100%;
|
| 180 |
}
|
| 181 |
-
|
| 182 |
.input-group {
|
| 183 |
flex: 1;
|
| 184 |
display: flex;
|
| 185 |
flex-direction: column;
|
| 186 |
min-width: 0;
|
| 187 |
}
|
| 188 |
-
|
| 189 |
label {
|
| 190 |
color: var(--text);
|
| 191 |
font-weight: 500;
|
| 192 |
font-size: 1.09rem;
|
| 193 |
margin-bottom: 8px;
|
| 194 |
}
|
| 195 |
-
|
| 196 |
.field-desc {
|
| 197 |
color: var(--accent);
|
| 198 |
font-size: 0.98em;
|
| 199 |
font-weight: 400;
|
| 200 |
margin-left: 4px;
|
| 201 |
}
|
| 202 |
-
|
| 203 |
input,
|
| 204 |
select {
|
| 205 |
font-family: inherit;
|
| 206 |
font-size: 1rem;
|
| 207 |
}
|
| 208 |
-
|
| 209 |
input[type="text"],
|
| 210 |
input[type="number"],
|
| 211 |
select {
|
|
@@ -221,39 +206,33 @@ select {
|
|
| 221 |
min-width: 0;
|
| 222 |
box-sizing: border-box;
|
| 223 |
}
|
| 224 |
-
|
| 225 |
input:focus,
|
| 226 |
select:focus {
|
| 227 |
outline: none;
|
| 228 |
border-color: var(--primary);
|
| 229 |
box-shadow: 0 0 7px color-mix(in srgb, var(--primary) 60%, transparent 40%);
|
| 230 |
}
|
| 231 |
-
|
| 232 |
input[type="checkbox"] {
|
| 233 |
width: 18px;
|
| 234 |
height: 18px;
|
| 235 |
accent-color: var(--primary);
|
| 236 |
}
|
| 237 |
-
|
| 238 |
.question-types-container {
|
| 239 |
display: flex;
|
| 240 |
flex-direction: column;
|
| 241 |
flex: 1;
|
| 242 |
}
|
| 243 |
-
|
| 244 |
.question-types-row {
|
| 245 |
display: flex;
|
| 246 |
gap: 20px;
|
| 247 |
max-width: 600px;
|
| 248 |
}
|
| 249 |
-
|
| 250 |
.question-type-group {
|
| 251 |
display: flex;
|
| 252 |
flex-direction: column;
|
| 253 |
gap: 10px;
|
| 254 |
flex: 1;
|
| 255 |
}
|
| 256 |
-
|
| 257 |
.checkbox-label {
|
| 258 |
display: flex;
|
| 259 |
align-items: center;
|
|
@@ -263,12 +242,10 @@ input[type="checkbox"] {
|
|
| 263 |
cursor: pointer;
|
| 264 |
user-select: none;
|
| 265 |
}
|
| 266 |
-
|
| 267 |
.type-quantity {
|
| 268 |
margin: 0.5em 0 1em 1.7em;
|
| 269 |
display: block;
|
| 270 |
}
|
| 271 |
-
|
| 272 |
.quantity-label {
|
| 273 |
font-size: 0.98em;
|
| 274 |
color: var(--accent);
|
|
@@ -292,12 +269,10 @@ input[type="number"].quantity-input-custom {
|
|
| 292 |
min-width: 0;
|
| 293 |
box-sizing: border-box;
|
| 294 |
}
|
| 295 |
-
|
| 296 |
input[type="number"].quantity-input-custom:focus {
|
| 297 |
border-color: var(--primary);
|
| 298 |
box-shadow: 0 0 7px color-mix(in srgb, var(--primary) 60%, transparent 40%);
|
| 299 |
}
|
| 300 |
-
|
| 301 |
input[type="number"].quantity-input-custom::-webkit-inner-spin-button,
|
| 302 |
input[type="number"].quantity-input-custom::-webkit-outer-spin-button {
|
| 303 |
-webkit-appearance: none;
|
|
@@ -311,21 +286,17 @@ input[type="number"].quantity-input-custom::-webkit-outer-spin-button {
|
|
| 311 |
color: var(--primary);
|
| 312 |
box-shadow: none;
|
| 313 |
}
|
| 314 |
-
|
| 315 |
input[type="number"].quantity-input-custom::-webkit-inner-spin-button {
|
| 316 |
background: var(--accent-light);
|
| 317 |
color: var(--primary);
|
| 318 |
}
|
| 319 |
-
|
| 320 |
input[type="number"].quantity-input-custom::-webkit-outer-spin-button {
|
| 321 |
background: var(--accent-light);
|
| 322 |
color: var(--primary);
|
| 323 |
}
|
| 324 |
-
|
| 325 |
input[type="number"].quantity-input-custom::-ms-input-spinner {
|
| 326 |
display: none;
|
| 327 |
}
|
| 328 |
-
|
| 329 |
input[type="number"].quantity-input-custom[type="number"] {
|
| 330 |
-moz-appearance: textfield;
|
| 331 |
}
|
|
@@ -350,7 +321,6 @@ input[type="number"].quantity-input-custom[type="number"] {
|
|
| 350 |
margin-left: auto;
|
| 351 |
margin-right: auto;
|
| 352 |
}
|
| 353 |
-
|
| 354 |
.advanced-options summary {
|
| 355 |
font-family: var(--font-heading);
|
| 356 |
font-weight: 800;
|
|
@@ -363,11 +333,9 @@ input[type="number"].quantity-input-custom[type="number"] {
|
|
| 363 |
user-select: none;
|
| 364 |
transition: color var(--transition);
|
| 365 |
}
|
| 366 |
-
|
| 367 |
.advanced-options[open] summary {
|
| 368 |
color: var(--primary);
|
| 369 |
}
|
| 370 |
-
|
| 371 |
.advanced-content {
|
| 372 |
display: grid;
|
| 373 |
grid-template-columns: 1fr 1fr;
|
|
@@ -375,11 +343,9 @@ input[type="number"].quantity-input-custom[type="number"] {
|
|
| 375 |
width: 100%;
|
| 376 |
max-width: 1050px;
|
| 377 |
}
|
| 378 |
-
|
| 379 |
.advanced-content .row {
|
| 380 |
display: contents;
|
| 381 |
}
|
| 382 |
-
|
| 383 |
@media (max-width: 1100px) {
|
| 384 |
.advanced-options, .advanced-content {
|
| 385 |
max-width: 98vw;
|
|
@@ -390,21 +356,18 @@ input[type="number"].quantity-input-custom[type="number"] {
|
|
| 390 |
gap: 24px 16px;
|
| 391 |
}
|
| 392 |
}
|
| 393 |
-
|
| 394 |
@media (max-width: 700px) {
|
| 395 |
.advanced-content {
|
| 396 |
grid-template-columns: 1fr;
|
| 397 |
gap: 18px 0;
|
| 398 |
}
|
| 399 |
}
|
| 400 |
-
|
| 401 |
.radio-group {
|
| 402 |
display: flex;
|
| 403 |
align-items: center;
|
| 404 |
gap: 22px;
|
| 405 |
margin-top: 7px;
|
| 406 |
}
|
| 407 |
-
|
| 408 |
.radio-label input[type="radio"] {
|
| 409 |
accent-color: var(--accent);
|
| 410 |
width: 18px;
|
|
@@ -418,7 +381,6 @@ input[type="number"].quantity-input-custom[type="number"] {
|
|
| 418 |
width: 100%;
|
| 419 |
margin-top: 1.2rem;
|
| 420 |
}
|
| 421 |
-
|
| 422 |
.main-btn {
|
| 423 |
display: block;
|
| 424 |
margin: 0 auto;
|
|
@@ -436,7 +398,6 @@ input[type="number"].quantity-input-custom[type="number"] {
|
|
| 436 |
letter-spacing: 0.04em;
|
| 437 |
text-shadow: 0 2px 12px rgba(62,57,104,0.22);
|
| 438 |
}
|
| 439 |
-
|
| 440 |
.main-btn:hover,
|
| 441 |
.main-btn:focus-visible {
|
| 442 |
background: linear-gradient(90deg, #9f7aea 0%, #ff6584 100%);
|
|
@@ -455,11 +416,11 @@ input[type="number"].quantity-input-custom[type="number"] {
|
|
| 455 |
border: 1.5px solid #3E3968;
|
| 456 |
padding: 20px;
|
| 457 |
margin-top: 24px;
|
| 458 |
-
resize: vertical;
|
| 459 |
width: 100%;
|
| 460 |
min-height: 320px;
|
| 461 |
-
max-height: 600px;
|
| 462 |
overflow-y: auto;
|
|
|
|
|
|
|
| 463 |
box-sizing: border-box;
|
| 464 |
}
|
| 465 |
|
|
@@ -469,7 +430,6 @@ input[type="number"].quantity-input-custom[type="number"] {
|
|
| 469 |
max-width: 90%;
|
| 470 |
width: 100%;
|
| 471 |
}
|
| 472 |
-
|
| 473 |
.question-card {
|
| 474 |
background: #29274C;
|
| 475 |
border: 1.5px solid var(--border);
|
|
@@ -479,44 +439,37 @@ input[type="number"].quantity-input-custom[type="number"] {
|
|
| 479 |
box-shadow: var(--shadow);
|
| 480 |
transition: box-shadow var(--transition), border-color var(--transition);
|
| 481 |
}
|
| 482 |
-
|
| 483 |
.question-card:hover {
|
| 484 |
box-shadow: 0 8px 32px rgba(159,122,234,0.13);
|
| 485 |
border-color: var(--primary);
|
| 486 |
}
|
| 487 |
-
|
| 488 |
.question-card ul {
|
| 489 |
padding-left: 20px;
|
| 490 |
margin: 10px 0;
|
| 491 |
}
|
| 492 |
-
|
| 493 |
.answer {
|
| 494 |
color: var(--primary);
|
| 495 |
margin-top: 10px;
|
| 496 |
font-weight: 500;
|
| 497 |
}
|
| 498 |
-
|
| 499 |
.explanation {
|
| 500 |
color: var(--text-muted);
|
| 501 |
margin-top: 5px;
|
| 502 |
font-size: 0.95em;
|
| 503 |
font-style: italic;
|
| 504 |
}
|
| 505 |
-
|
| 506 |
.loading {
|
| 507 |
text-align: center;
|
| 508 |
color: var(--primary);
|
| 509 |
font-size: 1.2rem;
|
| 510 |
margin-top: 20px;
|
| 511 |
}
|
| 512 |
-
|
| 513 |
.error {
|
| 514 |
color: var(--accent);
|
| 515 |
font-weight: 500;
|
| 516 |
text-align: center;
|
| 517 |
margin-top: 20px;
|
| 518 |
}
|
| 519 |
-
|
| 520 |
footer {
|
| 521 |
text-align: center;
|
| 522 |
color: var(--text-muted);
|
|
@@ -526,7 +479,6 @@ footer {
|
|
| 526 |
width: 100%;
|
| 527 |
letter-spacing: 0.01em;
|
| 528 |
}
|
| 529 |
-
|
| 530 |
@media (max-width: 900px) {
|
| 531 |
.container {
|
| 532 |
padding: 20px;
|
|
@@ -536,7 +488,6 @@ footer {
|
|
| 536 |
max-width: 100%;
|
| 537 |
}
|
| 538 |
}
|
| 539 |
-
|
| 540 |
@media (max-width: 768px) {
|
| 541 |
.spark-heading {
|
| 542 |
font-size: 2.1rem;
|
|
@@ -558,7 +509,6 @@ footer {
|
|
| 558 |
padding: 1rem;
|
| 559 |
}
|
| 560 |
}
|
| 561 |
-
|
| 562 |
@media (max-width: 480px) {
|
| 563 |
.container {
|
| 564 |
padding: 8px;
|
|
@@ -572,11 +522,3 @@ footer {
|
|
| 572 |
padding: 12px;
|
| 573 |
}
|
| 574 |
}
|
| 575 |
-
|
| 576 |
-
@media print {
|
| 577 |
-
#quiz-output {
|
| 578 |
-
height: auto;
|
| 579 |
-
overflow: visible !important;
|
| 580 |
-
page-break-inside: avoid !important;
|
| 581 |
-
}
|
| 582 |
-
}
|
|
|
|
| 30 |
gap: var(--gap-main);
|
| 31 |
place-items: center;
|
| 32 |
}
|
|
|
|
| 33 |
body {
|
| 34 |
background: var(--background);
|
| 35 |
color: var(--text);
|
|
|
|
| 39 |
line-height: 1.6;
|
| 40 |
font-size: 1rem;
|
| 41 |
}
|
|
|
|
| 42 |
a {
|
| 43 |
color: var(--primary);
|
| 44 |
text-decoration: none;
|
| 45 |
transition: color var(--transition);
|
| 46 |
}
|
|
|
|
| 47 |
a:hover,
|
| 48 |
a:focus-visible {
|
| 49 |
color: var(--accent);
|
|
|
|
| 67 |
z-index: 1;
|
| 68 |
user-select: none;
|
| 69 |
}
|
|
|
|
| 70 |
.spark-gradient {
|
| 71 |
background: linear-gradient(90deg, var(--primary) 30%, var(--accent) 70%);
|
| 72 |
-webkit-background-clip: text;
|
|
|
|
| 77 |
padding-bottom: 0.15em;
|
| 78 |
position: relative;
|
| 79 |
}
|
|
|
|
| 80 |
.spark-underline {
|
| 81 |
display: block;
|
| 82 |
position: absolute;
|
|
|
|
| 91 |
animation: spark-underline-anim 2s infinite alternate;
|
| 92 |
z-index: -1;
|
| 93 |
}
|
|
|
|
| 94 |
@keyframes spark-underline-anim {
|
| 95 |
0% { width: 60%; opacity: 0.75; }
|
| 96 |
100% { width: 72%; opacity: 1; }
|
|
|
|
| 131 |
letter-spacing: 0.01em;
|
| 132 |
transition: background 0.3s, border 0.3s;
|
| 133 |
}
|
|
|
|
| 134 |
.about-title {
|
| 135 |
font-size: 1.4em;
|
| 136 |
color: var(--primary);
|
|
|
|
| 138 |
margin-bottom: 0.5em;
|
| 139 |
letter-spacing: 0.03em;
|
| 140 |
}
|
|
|
|
| 141 |
.about-box a {
|
| 142 |
display: inline-block;
|
| 143 |
margin-top: 0.7em;
|
|
|
|
| 148 |
border-bottom: 2px solid #9f7aea44;
|
| 149 |
transition: color 0.2s, border-color 0.2s;
|
| 150 |
}
|
|
|
|
| 151 |
.about-box a:hover {
|
| 152 |
color: #ff6584;
|
| 153 |
border-color: #ff6584;
|
|
|
|
| 162 |
grid-template-columns: 1fr;
|
| 163 |
gap: var(--gap-main);
|
| 164 |
}
|
|
|
|
| 165 |
.row {
|
| 166 |
display: flex;
|
| 167 |
gap: 32px;
|
| 168 |
margin-bottom: 20px;
|
| 169 |
width: 100%;
|
| 170 |
}
|
|
|
|
| 171 |
.input-group {
|
| 172 |
flex: 1;
|
| 173 |
display: flex;
|
| 174 |
flex-direction: column;
|
| 175 |
min-width: 0;
|
| 176 |
}
|
|
|
|
| 177 |
label {
|
| 178 |
color: var(--text);
|
| 179 |
font-weight: 500;
|
| 180 |
font-size: 1.09rem;
|
| 181 |
margin-bottom: 8px;
|
| 182 |
}
|
|
|
|
| 183 |
.field-desc {
|
| 184 |
color: var(--accent);
|
| 185 |
font-size: 0.98em;
|
| 186 |
font-weight: 400;
|
| 187 |
margin-left: 4px;
|
| 188 |
}
|
|
|
|
| 189 |
input,
|
| 190 |
select {
|
| 191 |
font-family: inherit;
|
| 192 |
font-size: 1rem;
|
| 193 |
}
|
|
|
|
| 194 |
input[type="text"],
|
| 195 |
input[type="number"],
|
| 196 |
select {
|
|
|
|
| 206 |
min-width: 0;
|
| 207 |
box-sizing: border-box;
|
| 208 |
}
|
|
|
|
| 209 |
input:focus,
|
| 210 |
select:focus {
|
| 211 |
outline: none;
|
| 212 |
border-color: var(--primary);
|
| 213 |
box-shadow: 0 0 7px color-mix(in srgb, var(--primary) 60%, transparent 40%);
|
| 214 |
}
|
|
|
|
| 215 |
input[type="checkbox"] {
|
| 216 |
width: 18px;
|
| 217 |
height: 18px;
|
| 218 |
accent-color: var(--primary);
|
| 219 |
}
|
|
|
|
| 220 |
.question-types-container {
|
| 221 |
display: flex;
|
| 222 |
flex-direction: column;
|
| 223 |
flex: 1;
|
| 224 |
}
|
|
|
|
| 225 |
.question-types-row {
|
| 226 |
display: flex;
|
| 227 |
gap: 20px;
|
| 228 |
max-width: 600px;
|
| 229 |
}
|
|
|
|
| 230 |
.question-type-group {
|
| 231 |
display: flex;
|
| 232 |
flex-direction: column;
|
| 233 |
gap: 10px;
|
| 234 |
flex: 1;
|
| 235 |
}
|
|
|
|
| 236 |
.checkbox-label {
|
| 237 |
display: flex;
|
| 238 |
align-items: center;
|
|
|
|
| 242 |
cursor: pointer;
|
| 243 |
user-select: none;
|
| 244 |
}
|
|
|
|
| 245 |
.type-quantity {
|
| 246 |
margin: 0.5em 0 1em 1.7em;
|
| 247 |
display: block;
|
| 248 |
}
|
|
|
|
| 249 |
.quantity-label {
|
| 250 |
font-size: 0.98em;
|
| 251 |
color: var(--accent);
|
|
|
|
| 269 |
min-width: 0;
|
| 270 |
box-sizing: border-box;
|
| 271 |
}
|
|
|
|
| 272 |
input[type="number"].quantity-input-custom:focus {
|
| 273 |
border-color: var(--primary);
|
| 274 |
box-shadow: 0 0 7px color-mix(in srgb, var(--primary) 60%, transparent 40%);
|
| 275 |
}
|
|
|
|
| 276 |
input[type="number"].quantity-input-custom::-webkit-inner-spin-button,
|
| 277 |
input[type="number"].quantity-input-custom::-webkit-outer-spin-button {
|
| 278 |
-webkit-appearance: none;
|
|
|
|
| 286 |
color: var(--primary);
|
| 287 |
box-shadow: none;
|
| 288 |
}
|
|
|
|
| 289 |
input[type="number"].quantity-input-custom::-webkit-inner-spin-button {
|
| 290 |
background: var(--accent-light);
|
| 291 |
color: var(--primary);
|
| 292 |
}
|
|
|
|
| 293 |
input[type="number"].quantity-input-custom::-webkit-outer-spin-button {
|
| 294 |
background: var(--accent-light);
|
| 295 |
color: var(--primary);
|
| 296 |
}
|
|
|
|
| 297 |
input[type="number"].quantity-input-custom::-ms-input-spinner {
|
| 298 |
display: none;
|
| 299 |
}
|
|
|
|
| 300 |
input[type="number"].quantity-input-custom[type="number"] {
|
| 301 |
-moz-appearance: textfield;
|
| 302 |
}
|
|
|
|
| 321 |
margin-left: auto;
|
| 322 |
margin-right: auto;
|
| 323 |
}
|
|
|
|
| 324 |
.advanced-options summary {
|
| 325 |
font-family: var(--font-heading);
|
| 326 |
font-weight: 800;
|
|
|
|
| 333 |
user-select: none;
|
| 334 |
transition: color var(--transition);
|
| 335 |
}
|
|
|
|
| 336 |
.advanced-options[open] summary {
|
| 337 |
color: var(--primary);
|
| 338 |
}
|
|
|
|
| 339 |
.advanced-content {
|
| 340 |
display: grid;
|
| 341 |
grid-template-columns: 1fr 1fr;
|
|
|
|
| 343 |
width: 100%;
|
| 344 |
max-width: 1050px;
|
| 345 |
}
|
|
|
|
| 346 |
.advanced-content .row {
|
| 347 |
display: contents;
|
| 348 |
}
|
|
|
|
| 349 |
@media (max-width: 1100px) {
|
| 350 |
.advanced-options, .advanced-content {
|
| 351 |
max-width: 98vw;
|
|
|
|
| 356 |
gap: 24px 16px;
|
| 357 |
}
|
| 358 |
}
|
|
|
|
| 359 |
@media (max-width: 700px) {
|
| 360 |
.advanced-content {
|
| 361 |
grid-template-columns: 1fr;
|
| 362 |
gap: 18px 0;
|
| 363 |
}
|
| 364 |
}
|
|
|
|
| 365 |
.radio-group {
|
| 366 |
display: flex;
|
| 367 |
align-items: center;
|
| 368 |
gap: 22px;
|
| 369 |
margin-top: 7px;
|
| 370 |
}
|
|
|
|
| 371 |
.radio-label input[type="radio"] {
|
| 372 |
accent-color: var(--accent);
|
| 373 |
width: 18px;
|
|
|
|
| 381 |
width: 100%;
|
| 382 |
margin-top: 1.2rem;
|
| 383 |
}
|
|
|
|
| 384 |
.main-btn {
|
| 385 |
display: block;
|
| 386 |
margin: 0 auto;
|
|
|
|
| 398 |
letter-spacing: 0.04em;
|
| 399 |
text-shadow: 0 2px 12px rgba(62,57,104,0.22);
|
| 400 |
}
|
|
|
|
| 401 |
.main-btn:hover,
|
| 402 |
.main-btn:focus-visible {
|
| 403 |
background: linear-gradient(90deg, #9f7aea 0%, #ff6584 100%);
|
|
|
|
| 416 |
border: 1.5px solid #3E3968;
|
| 417 |
padding: 20px;
|
| 418 |
margin-top: 24px;
|
|
|
|
| 419 |
width: 100%;
|
| 420 |
min-height: 320px;
|
|
|
|
| 421 |
overflow-y: auto;
|
| 422 |
+
line-height: 1.6;
|
| 423 |
+
white-space: pre-wrap;
|
| 424 |
box-sizing: border-box;
|
| 425 |
}
|
| 426 |
|
|
|
|
| 430 |
max-width: 90%;
|
| 431 |
width: 100%;
|
| 432 |
}
|
|
|
|
| 433 |
.question-card {
|
| 434 |
background: #29274C;
|
| 435 |
border: 1.5px solid var(--border);
|
|
|
|
| 439 |
box-shadow: var(--shadow);
|
| 440 |
transition: box-shadow var(--transition), border-color var(--transition);
|
| 441 |
}
|
|
|
|
| 442 |
.question-card:hover {
|
| 443 |
box-shadow: 0 8px 32px rgba(159,122,234,0.13);
|
| 444 |
border-color: var(--primary);
|
| 445 |
}
|
|
|
|
| 446 |
.question-card ul {
|
| 447 |
padding-left: 20px;
|
| 448 |
margin: 10px 0;
|
| 449 |
}
|
|
|
|
| 450 |
.answer {
|
| 451 |
color: var(--primary);
|
| 452 |
margin-top: 10px;
|
| 453 |
font-weight: 500;
|
| 454 |
}
|
|
|
|
| 455 |
.explanation {
|
| 456 |
color: var(--text-muted);
|
| 457 |
margin-top: 5px;
|
| 458 |
font-size: 0.95em;
|
| 459 |
font-style: italic;
|
| 460 |
}
|
|
|
|
| 461 |
.loading {
|
| 462 |
text-align: center;
|
| 463 |
color: var(--primary);
|
| 464 |
font-size: 1.2rem;
|
| 465 |
margin-top: 20px;
|
| 466 |
}
|
|
|
|
| 467 |
.error {
|
| 468 |
color: var(--accent);
|
| 469 |
font-weight: 500;
|
| 470 |
text-align: center;
|
| 471 |
margin-top: 20px;
|
| 472 |
}
|
|
|
|
| 473 |
footer {
|
| 474 |
text-align: center;
|
| 475 |
color: var(--text-muted);
|
|
|
|
| 479 |
width: 100%;
|
| 480 |
letter-spacing: 0.01em;
|
| 481 |
}
|
|
|
|
| 482 |
@media (max-width: 900px) {
|
| 483 |
.container {
|
| 484 |
padding: 20px;
|
|
|
|
| 488 |
max-width: 100%;
|
| 489 |
}
|
| 490 |
}
|
|
|
|
| 491 |
@media (max-width: 768px) {
|
| 492 |
.spark-heading {
|
| 493 |
font-size: 2.1rem;
|
|
|
|
| 509 |
padding: 1rem;
|
| 510 |
}
|
| 511 |
}
|
|
|
|
| 512 |
@media (max-width: 480px) {
|
| 513 |
.container {
|
| 514 |
padding: 8px;
|
|
|
|
| 522 |
padding: 12px;
|
| 523 |
}
|
| 524 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|