|
50 | 50 | color: rgba(var(--accent), 0.9); |
51 | 51 | } |
52 | 52 |
|
53 | | -.hero-name { |
54 | | - font-size: clamp(2.8rem, 6vw, 3.75rem); |
55 | | - font-weight: 800; |
56 | | - margin: 0; |
57 | | - letter-spacing: 0.08em; |
58 | | - color: var(--body-color); |
59 | | - text-shadow: |
60 | | - -2px -2px 2px rgba(255, 255, 255, 0.85), |
61 | | - 2px 2px 3px rgba(15, 23, 42, 0.25), |
62 | | - 0 1px 0 rgba(255, 255, 255, 0.55), |
63 | | - 0 -1px 0 rgba(15, 23, 42, 0.18), |
64 | | - 4px 4px 8px rgba(15, 23, 42, 0.12); |
65 | | -} |
| 53 | +.hero-name { |
| 54 | + font-size: clamp(2.8rem, 6vw, 3.75rem); |
| 55 | + font-weight: 800; |
| 56 | + margin: 0; |
| 57 | + letter-spacing: 0.08em; |
| 58 | + color: var(--body-color); |
| 59 | + text-shadow: |
| 60 | + -2px -2px 2px rgba(255, 255, 255, 0.85), |
| 61 | + 2px 2px 3px rgba(15, 23, 42, 0.25), |
| 62 | + 0 1px 0 rgba(255, 255, 255, 0.55), |
| 63 | + 0 -1px 0 rgba(15, 23, 42, 0.18), |
| 64 | + 4px 4px 8px rgba(15, 23, 42, 0.12); |
| 65 | +} |
66 | 66 |
|
67 | 67 | .hero-role { |
68 | 68 | font-size: 1.1rem; |
|
90 | 90 | color: var(--body-color); |
91 | 91 | } |
92 | 92 |
|
93 | | -.hero-meta { |
94 | | - display: grid; |
95 | | - grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); |
96 | | - gap: 1rem; |
97 | | -} |
98 | | - |
99 | | -.hero-meta-item { |
100 | | - padding: 1rem; |
101 | | - border-radius: 1rem; |
102 | | - background: var(--neu-base); |
103 | | - box-shadow: |
104 | | - inset 6px 6px 12px var(--neu-shadow-inset-dark), |
105 | | - inset -6px -6px 12px var(--neu-shadow-inset-light); |
106 | | -} |
| 93 | +.hero-meta { |
| 94 | + display: inline-flex; |
| 95 | + gap: 1rem; |
| 96 | + flex-wrap: wrap; |
| 97 | + align-items: flex-start; |
| 98 | +} |
| 99 | + |
| 100 | +.hero-meta-item { |
| 101 | + display: inline-flex; |
| 102 | + flex-direction: column; |
| 103 | + flex: 0 0 auto; |
| 104 | + padding: 1rem; |
| 105 | + border-radius: 1rem; |
| 106 | + background: var(--neu-base); |
| 107 | + box-shadow: |
| 108 | + inset 6px 6px 12px var(--neu-shadow-inset-dark), |
| 109 | + inset -6px -6px 12px var(--neu-shadow-inset-light); |
| 110 | + width: fit-content; |
| 111 | + max-width: 100%; |
| 112 | +} |
107 | 113 |
|
108 | 114 | .meta-label { |
109 | 115 | display: block; |
|
130 | 136 | border-bottom-color: rgba(var(--accent), 0.7); |
131 | 137 | } |
132 | 138 |
|
133 | | -.dark .hero-name { |
134 | | - color: rgba(235, 235, 246, 0.95); |
135 | | - text-shadow: |
136 | | - -2px -2px 2px rgba(255, 255, 255, 0.2), |
137 | | - 2px 2px 3px rgba(0, 0, 0, 0.45), |
138 | | - 0 1px 0 rgba(0, 0, 0, 0.35), |
139 | | - 0 -1px 0 rgba(255, 255, 255, 0.18), |
140 | | - 4px 4px 8px rgba(0, 0, 0, 0.32); |
141 | | -} |
| 139 | +.dark .hero-name { |
| 140 | + color: rgba(235, 235, 246, 0.95); |
| 141 | + text-shadow: |
| 142 | + -2px -2px 2px rgba(255, 255, 255, 0.2), |
| 143 | + 2px 2px 3px rgba(0, 0, 0, 0.45), |
| 144 | + 0 1px 0 rgba(0, 0, 0, 0.35), |
| 145 | + 0 -1px 0 rgba(255, 255, 255, 0.18), |
| 146 | + 4px 4px 8px rgba(0, 0, 0, 0.32); |
| 147 | +} |
142 | 148 |
|
143 | 149 | .hero-actions { |
144 | 150 | display: flex; |
|
432 | 438 | flex-direction: column; |
433 | 439 | } |
434 | 440 |
|
435 | | - .hero-link-grid { |
436 | | - grid-template-columns: 1fr; |
437 | | - } |
438 | | - |
439 | | - .item-heading { |
440 | | - flex-direction: column; |
441 | | - align-items: flex-start; |
442 | | - } |
443 | | -} |
| 441 | + .hero-link-grid { |
| 442 | + grid-template-columns: 1fr; |
| 443 | + } |
| 444 | + |
| 445 | + .item-heading { |
| 446 | + flex-direction: column; |
| 447 | + align-items: flex-start; |
| 448 | + } |
| 449 | +} |
444 | 450 |
|
445 | 451 | @media (max-width: 480px) { |
446 | 452 | .hero-name { |
|
0 commit comments