|
31 | 31 | --optuna-light: #3b82c4; |
32 | 32 | --sklearn-orange: #F7931E; |
33 | 33 | --sklearn-blue: #29ABE2; |
| 34 | + |
| 35 | + /* Integration brand colors */ |
| 36 | + --sktime-blue: #0075b7; |
| 37 | + --sktime-teal: #00a890; |
| 38 | + --skpro-blue: #0076b7; |
| 39 | + --skpro-teal: #01ab90; |
| 40 | + --pytorch-orange: #ee4c2c; |
| 41 | + --pytorch-yellow: #eaa700; |
34 | 42 | } |
35 | 43 |
|
36 | 44 | html[data-theme="dark"] { |
@@ -389,32 +397,115 @@ html[data-theme="dark"] .algo-card { |
389 | 397 | } |
390 | 398 |
|
391 | 399 | /* ============================================ |
392 | | - Integration Cards |
| 400 | + Integration Cards (horizontal, two-part) |
393 | 401 | ============================================ */ |
| 402 | +.integration-grid { |
| 403 | + display: grid; |
| 404 | + grid-template-columns: repeat(2, 1fr); |
| 405 | + gap: 1.25rem; |
| 406 | + margin: 1.5rem 0; |
| 407 | +} |
| 408 | + |
| 409 | +@media (max-width: 768px) { |
| 410 | + .integration-grid { |
| 411 | + grid-template-columns: 1fr; |
| 412 | + } |
| 413 | +} |
| 414 | + |
394 | 415 | .integration-card { |
395 | | - background: var(--hyperactive-gradient); |
396 | | - border-radius: 12px; |
397 | | - padding: 1.5rem; |
398 | | - text-align: center; |
399 | | - color: white; |
400 | | - transition: all 0.3s ease; |
| 416 | + background: var(--pst-color-surface); |
| 417 | + border-radius: 8px; |
| 418 | + display: flex; |
401 | 419 | box-shadow: var(--card-shadow); |
| 420 | + position: relative; |
| 421 | + overflow: hidden; |
402 | 422 | } |
403 | 423 |
|
404 | | -.integration-card:hover { |
405 | | - transform: scale(1.05); |
406 | | - box-shadow: var(--card-shadow-hover); |
| 424 | +.integration-card::before { |
| 425 | + content: ''; |
| 426 | + position: absolute; |
| 427 | + left: 0; |
| 428 | + top: 0; |
| 429 | + bottom: 0; |
| 430 | + width: 5px; |
407 | 431 | } |
408 | 432 |
|
409 | | -.integration-name { |
410 | | - font-size: 1.25rem; |
| 433 | +.integration-left { |
| 434 | + padding: 1.25rem 1.5rem; |
| 435 | + display: flex; |
| 436 | + align-items: center; |
| 437 | + min-width: 140px; |
| 438 | +} |
| 439 | + |
| 440 | +.integration-left a { |
| 441 | + font-size: 1.1rem; |
411 | 442 | font-weight: 600; |
412 | | - margin-bottom: 0.5rem; |
| 443 | + text-decoration: none; |
| 444 | + transition: opacity 0.2s ease; |
| 445 | +} |
| 446 | + |
| 447 | +.integration-left a:hover { |
| 448 | + text-decoration: underline; |
| 449 | +} |
| 450 | + |
| 451 | +.integration-right { |
| 452 | + flex: 1; |
| 453 | + display: flex; |
| 454 | + align-items: center; |
| 455 | + border-left: 1px solid var(--pst-color-border); |
| 456 | + position: relative; |
| 457 | + transition: background 0.2s ease; |
| 458 | +} |
| 459 | + |
| 460 | +.integration-right a { |
| 461 | + display: flex; |
| 462 | + align-items: center; |
| 463 | + padding: 1.25rem 1.5rem; |
| 464 | + width: 100%; |
| 465 | + height: 100%; |
| 466 | + text-decoration: none; |
| 467 | + color: inherit; |
| 468 | + transition: all 0.2s ease; |
| 469 | +} |
| 470 | + |
| 471 | +.integration-right a::after { |
| 472 | + content: "→"; |
| 473 | + margin-left: auto; |
| 474 | + padding-left: 1rem; |
| 475 | + opacity: 0; |
| 476 | + transform: translateX(-8px); |
| 477 | + transition: all 0.2s ease; |
| 478 | +} |
| 479 | + |
| 480 | +.integration-right:hover { |
| 481 | + background: var(--pst-color-background); |
| 482 | +} |
| 483 | + |
| 484 | +.integration-right:hover a::after { |
| 485 | + opacity: 0.6; |
| 486 | + transform: translateX(0); |
413 | 487 | } |
414 | 488 |
|
415 | 489 | .integration-desc { |
416 | | - font-size: 0.85rem; |
417 | | - opacity: 0.9; |
| 490 | + font-size: 0.95rem; |
| 491 | + line-height: 1.4; |
| 492 | +} |
| 493 | + |
| 494 | +/* Integration card colors */ |
| 495 | +.integration-card.sklearn::before { |
| 496 | + background: linear-gradient(to bottom, var(--sklearn-orange) 50%, var(--sklearn-blue) 50%); |
| 497 | +} |
| 498 | + |
| 499 | +.integration-card.sktime::before { |
| 500 | + background: linear-gradient(to bottom, var(--sktime-blue) 0%, var(--sktime-teal) 100%); |
| 501 | +} |
| 502 | + |
| 503 | +.integration-card.skpro::before { |
| 504 | + background: linear-gradient(to bottom, var(--skpro-blue) 0%, var(--skpro-teal) 100%); |
| 505 | +} |
| 506 | + |
| 507 | +.integration-card.pytorch::before { |
| 508 | + background: linear-gradient(to bottom, var(--pytorch-orange) 50%, var(--pytorch-yellow) 50%); |
418 | 509 | } |
419 | 510 |
|
420 | 511 | /* ============================================ |
|
0 commit comments