|
468 | 468 | height: 140px; |
469 | 469 | border-radius: calc(var(--radius) - 4px); |
470 | 470 | margin: -4px -4px 12px -4px; |
| 471 | + |
471 | 472 | display:flex; |
472 | 473 | align-items:center; |
473 | 474 | justify-content:center; |
| 475 | + |
| 476 | + position: relative; |
| 477 | + overflow: hidden; |
| 478 | + |
| 479 | + /* Colores por defecto del thumb (se pueden “tunear” por clase) */ |
| 480 | + --a: rgba(124,58,237,.35); |
| 481 | + --b: rgba(34,211,238,.22); |
| 482 | + |
| 483 | + /* Fondo: rejilla + luces + base */ |
474 | 484 | background: |
475 | | - radial-gradient(circle at 0% 0%, rgba(124,58,237,.35), transparent 55%), |
476 | | - radial-gradient(circle at 100% 100%, rgba(34,211,238,.22), transparent 55%), |
| 485 | + /* grid (rejilla) */ |
| 486 | + repeating-linear-gradient( |
| 487 | + 0deg, |
| 488 | + rgba(255,255,255,.06) 0 1px, |
| 489 | + transparent 1px 22px |
| 490 | + ), |
| 491 | + repeating-linear-gradient( |
| 492 | + 90deg, |
| 493 | + rgba(255,255,255,.06) 0 1px, |
| 494 | + transparent 1px 22px |
| 495 | + ), |
| 496 | + /* glow corners */ |
| 497 | + radial-gradient(circle at 0% 0%, var(--a), transparent 55%), |
| 498 | + radial-gradient(circle at 100% 100%, var(--b), transparent 55%), |
| 499 | + /* base */ |
477 | 500 | linear-gradient(135deg, #050816, #0b0f14); |
478 | 501 | } |
479 | | -.project-thumb span{ |
480 | | - font-size: 42px; |
481 | | - filter: drop-shadow(0 8px 24px rgba(0,0,0,.6)); |
| 502 | + |
| 503 | +/* capa para “suavizar” un poco el grid */ |
| 504 | +.project-thumb::after{ |
| 505 | + content:""; |
| 506 | + position:absolute; |
| 507 | + inset:0; |
| 508 | + background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.06), transparent 60%); |
| 509 | + pointer-events:none; |
482 | 510 | } |
| 511 | + |
483 | 512 | .project-card .tech{ |
484 | 513 | margin: 12px 0; |
485 | 514 | display:flex; |
486 | 515 | flex-wrap:wrap; |
487 | 516 | gap:6px; |
488 | 517 | } |
| 518 | + |
489 | 519 | .project-card .tech span{ |
490 | 520 | background: rgba(255,255,255,.08); |
491 | 521 | padding: 6px 10px; |
|
500 | 530 | margin: 10px 0 22px; |
501 | 531 | color: var(--muted); |
502 | 532 | } |
| 533 | + |
503 | 534 | .project-card details summary{ |
504 | 535 | cursor:pointer; |
505 | 536 | color: #c4b5fd; |
506 | 537 | font-weight: 700; |
507 | 538 | } |
508 | 539 |
|
| 540 | +.project-icon{ |
| 541 | + position: relative; |
| 542 | + z-index: 1; |
| 543 | + |
| 544 | + font-size: 56px; |
| 545 | + color: rgba(255,255,255,.92); |
| 546 | + |
| 547 | + filter: drop-shadow(0 10px 26px rgba(0,0,0,.55)); |
| 548 | + opacity: .95; |
| 549 | +} |
| 550 | + |
| 551 | +.project-thumb.thumb-powerapps{ --a: rgba(196,181,253,.38); --b: rgba(34,211,238,.20); } |
| 552 | +.project-thumb.thumb-desktop{ --a: rgba(148,163,184,.30); --b: rgba(196,181,253,.22); } |
| 553 | +.project-thumb.thumb-android{ --a: rgba(34,197,94,.22); --b: rgba(244,114,182,.18); } |
| 554 | + |
| 555 | + |
509 | 556 | /* ========================================================= |
510 | 557 | CV |
511 | 558 | ========================================================= */ |
|
0 commit comments