|
214 | 214 | .community-layout { |
215 | 215 | display: grid; |
216 | 216 | grid-template-columns: 1fr 300px; |
217 | | - gap: 48px; |
| 217 | + gap: 40px; |
218 | 218 | align-items: start; |
219 | 219 | } |
220 | 220 |
|
|
229 | 229 | background: white; |
230 | 230 | border-radius: 16px; |
231 | 231 | padding: 24px; |
232 | | - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); |
| 232 | + box-shadow: 0 4px 12px rgb(185 181 187); |
233 | 233 | border: 1px solid rgba(0, 0, 0, 0.05); |
234 | 234 | transition: all 0.3s ease; |
235 | 235 | transition: |
|
239 | 239 |
|
240 | 240 | .contribution-section:hover { |
241 | 241 | transform: translateY(-2px); |
242 | | - box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); |
| 242 | + box-shadow: 0 6px 18px rgb(126 110 196 / 58%); |
243 | 243 | } |
244 | 244 |
|
245 | 245 | [data-theme="dark"] .contribution-section { |
246 | | - background: #1a1a1a; |
| 246 | + background: #1a1a1a80; |
247 | 247 | border: 1px solid #2d2d2d; |
248 | | - box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); |
| 248 | + box-shadow: 0 8px 25px rgb(124 110 137 / 51%); |
249 | 249 | } |
250 | 250 |
|
251 | 251 | [data-theme="dark"] .contribution-section:hover { |
252 | | - box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4); |
| 252 | + box-shadow: 0 12px 35px rgb(81 29 143 / 50%); |
253 | 253 | } |
254 | 254 |
|
255 | 255 | .contribution-section.active { |
256 | 256 | border: 2px solid #8b5cf6; |
257 | | - box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); |
| 257 | + box-shadow: 0 0 15px rgb(80 39 172 / 40%); |
258 | 258 | transition: |
259 | 259 | box-shadow 0.3s ease, |
260 | 260 | border 0.3s ease; |
|
276 | 276 | background: white; |
277 | 277 | border-radius: 16px; |
278 | 278 | padding: 24px; |
279 | | - box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); |
| 279 | + box-shadow: 0 8px 25px rgb(202 198 205); |
280 | 280 | border: 1px solid rgba(0, 0, 0, 0.05); |
281 | 281 | height: fit-content; |
282 | 282 | } |
283 | 283 |
|
284 | 284 | [data-theme="dark"] .table-of-contents { |
285 | 285 | background: #1a1a1a; |
286 | 286 | border: 1px solid #2d2d2d; |
287 | | - box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); |
| 287 | + box-shadow: 0 8px 25px rgb(104 101 101 / 69%); |
288 | 288 | } |
289 | 289 |
|
290 | 290 | .toc-header { |
|
339 | 339 | } |
340 | 340 |
|
341 | 341 | [data-theme="dark"] .toc-item { |
342 | | - color: #edf2f7; |
| 342 | + color: #dae3ec; |
343 | 343 | } |
344 | 344 |
|
345 | 345 | .toc-item:hover { |
346 | | - background: rgba(0, 0, 0, 0.04); |
347 | | - transform: translateX(4px); |
| 346 | + background: rgb(234 230 235 / 45%); |
| 347 | + transform: translateX(5px); |
348 | 348 | } |
349 | 349 |
|
350 | 350 | [data-theme="dark"] .toc-item:hover { |
351 | | - background: rgba(255, 255, 255, 0.08); |
| 351 | + background: rgb(44 43 49 / 88%); |
352 | 352 | } |
353 | 353 |
|
354 | 354 | .toc-item.active { |
355 | 355 | background: rgba(139, 92, 246, 0.1); |
356 | 356 | color: #8b5cf6; |
357 | 357 | font-weight: 600; |
| 358 | + border-radius: 8px; |
358 | 359 | } |
359 | 360 |
|
360 | 361 | [data-theme="dark"] .toc-item.active { |
361 | | - background: rgba(139, 92, 246, 0.2); |
362 | | - color: #a78bfa; |
363 | | -} |
364 | | - |
365 | | -.toc-item.active + .toc-item.active { |
366 | | - margin-top: -2px; |
367 | | - /* overlap borders */ |
368 | | - border-top: 1px solid rgba(139, 92, 246, 0.3); |
369 | | - /* subtle divider */ |
370 | | - border-radius: 0; |
371 | | - /* flatten middle items */ |
372 | | -} |
373 | | - |
374 | | -/* First active in a block keeps rounded top */ |
375 | | -.toc-item.active:first-child, |
376 | | -.toc-item.active:not(:first-child):not(:last-child) { |
377 | | - border-radius: 8px 8px 0 0; |
378 | | -} |
379 | | - |
380 | | -/* Last active in a block keeps rounded bottom */ |
381 | | -.toc-item.active:last-child, |
382 | | -.toc-item.active + .toc-item:not(.active) { |
383 | | - border-radius: 0 0 8px 8px; |
| 362 | + background: rgb(56 43 84 / 65%); |
| 363 | + color: #90b0d0; |
384 | 364 | } |
385 | 365 |
|
386 | 366 | .toc-item-icon { |
|
395 | 375 | .section-header { |
396 | 376 | display: flex; |
397 | 377 | align-items: center; |
398 | | - gap: 16px; |
| 378 | + gap: 14px; |
399 | 379 | margin-bottom: 16px; |
400 | 380 | } |
401 | 381 |
|
|
407 | 387 | align-items: center; |
408 | 388 | justify-content: center; |
409 | 389 | font-size: 1.5rem; |
410 | | - color: white; |
411 | | - box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); |
| 390 | + color: #ffffff; |
| 391 | + box-shadow: 0 6px 16px rgb(0 0 0 / 49%); |
412 | 392 | flex-shrink: 0; |
413 | 393 | } |
414 | 394 |
|
|
467 | 447 | } |
468 | 448 |
|
469 | 449 | .section-links { |
470 | | - background: linear-gradient(135deg, #f8fafc, #f1f5f9); |
| 450 | + background: linear-gradient(135deg, #963dcd12, #f1f5f9); |
471 | 451 | border-radius: 12px; |
472 | 452 | padding: 20px; |
473 | 453 | border: 1px solid #e2e8f0; |
474 | 454 | } |
475 | 455 |
|
476 | 456 | [data-theme="dark"] .section-links { |
477 | | - background: linear-gradient(135deg, #2d2d2d, #1a1a1a); |
| 457 | + background: linear-gradient(135deg, #2d2d2d54, #1a1a1a99); |
478 | 458 | border: 1px solid #3d3d3d; |
479 | 459 | } |
480 | 460 |
|
|
484 | 464 | gap: 12px; |
485 | 465 | margin-bottom: 20px; |
486 | 466 | font-weight: 600; |
487 | | - color: #374151; |
| 467 | + color: #2f1d74; |
| 468 | + line-height: 1; |
488 | 469 | } |
489 | 470 |
|
490 | 471 | [data-theme="dark"] .links-header { |
491 | | - color: #edf2f7; |
| 472 | + color: #edf2f7a6; |
492 | 473 | } |
493 | 474 |
|
494 | 475 | .links-icon { |
495 | 476 | font-size: 1.2rem; |
| 477 | + display: flex; |
| 478 | + align-items: center; |
| 479 | + justify-content: center; |
496 | 480 | } |
497 | 481 |
|
498 | 482 | .links-container { |
|
510 | 494 | text-decoration: none; |
511 | 495 | border-radius: 8px; |
512 | 496 | font-weight: 600; |
513 | | - border: 2px solid var(--link-color, #8b5cf6); |
| 497 | + border: 1px solid var(--link-color, #8b5cf6); |
514 | 498 | transition: all 0.3s ease; |
515 | | - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); |
| 499 | + box-shadow: 0 4px 12px #8b5cf64d; |
516 | 500 | font-size: 0.9rem; |
517 | 501 | } |
518 | 502 |
|
519 | 503 | [data-theme="dark"] .resource-link { |
520 | | - background: #1a1a1a; |
| 504 | + background: #191919e3; |
521 | 505 | color: var(--link-color, #8b5cf6); |
522 | | - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); |
| 506 | + box-shadow: 0 4px 12px rgb(118 110 123 / 49%); |
523 | 507 | } |
524 | 508 |
|
525 | 509 | .resource-link:hover { |
526 | 510 | background: var(--link-color, #8b5cf6); |
527 | 511 | color: white; |
528 | 512 | transform: translateY(-2px); |
529 | | - box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); |
| 513 | + box-shadow: 0 8px 20px rgb(0 0 0 / 50%); |
530 | 514 | text-decoration: none; |
531 | 515 | } |
532 | 516 |
|
|
0 commit comments