|
1 | 1 | .hero { |
2 | 2 | --hero-title: #111214; |
3 | | - --hero-title-muted: #747474; |
4 | | - --hero-text: #707174; |
| 3 | + --hero-text: #848484; |
5 | 4 | --hero-primary-bg: #111214; |
6 | 5 | --hero-primary-bg-hover: #383838; |
7 | 6 | --hero-primary-text: #fff; |
|
15 | 14 | align-items: center; |
16 | 15 | justify-content: center; |
17 | 16 | box-sizing: border-box; |
18 | | - min-height: calc(100svh - var(--rp-nav-height)); |
19 | | - padding: clamp(3.75rem, 7.5vh, 6rem) 2rem; |
| 17 | + min-height: calc(80svh - var(--rp-nav-height)); |
| 18 | + padding: clamp(3.75rem, 7.5vh, 6rem) 2rem 0; |
20 | 19 | overflow: hidden; |
21 | 20 | background: var(--rp-c-bg); |
22 | 21 | } |
23 | 22 |
|
24 | 23 | :global(.dark) .hero { |
25 | 24 | --hero-title: #f5f5f5; |
26 | | - --hero-title-muted: #9a9a9a; |
27 | | - --hero-text: #a1a3a6; |
| 25 | + --hero-text: #9a9a9a; |
28 | 26 | --hero-primary-bg: #f2f2f2; |
29 | 27 | --hero-primary-bg-hover: #fff; |
30 | 28 | --hero-primary-text: #111214; |
|
44 | 42 | transform: translateY(-1.5rem); |
45 | 43 | } |
46 | 44 |
|
| 45 | +.releaseLink { |
| 46 | + display: inline-flex; |
| 47 | + align-items: center; |
| 48 | + margin-bottom: clamp(1.5rem, 3vh, 2.5rem); |
| 49 | + color: var(--hero-text); |
| 50 | + font-size: 0.875rem; |
| 51 | + font-weight: 400; |
| 52 | + line-height: 1.5; |
| 53 | + text-decoration-line: underline; |
| 54 | + text-decoration-color: transparent; |
| 55 | + text-decoration-thickness: 1px; |
| 56 | + text-underline-offset: 0.25em; |
| 57 | + transition: |
| 58 | + color 0.2s ease, |
| 59 | + text-decoration-color 0.2s ease; |
| 60 | + |
| 61 | + &:hover { |
| 62 | + color: var(--hero-title); |
| 63 | + text-decoration-color: currentcolor; |
| 64 | + } |
| 65 | + |
| 66 | + &:focus-visible { |
| 67 | + outline: 2px solid var(--rp-c-brand); |
| 68 | + outline-offset: 3px; |
| 69 | + } |
| 70 | +} |
| 71 | + |
47 | 72 | .title { |
48 | 73 | margin: 0; |
49 | 74 | color: var(--hero-title); |
|
59 | 84 | } |
60 | 85 |
|
61 | 86 | .subtitle { |
62 | | - color: var(--hero-title-muted); |
| 87 | + color: var(--hero-text); |
63 | 88 | } |
64 | 89 |
|
65 | 90 | .description { |
66 | 91 | max-width: 42rem; |
67 | 92 | margin: clamp(2.5rem, 5vh, 3.75rem) 0 0; |
68 | 93 | color: var(--hero-text); |
69 | | - font-size: clamp(1rem, 2vw, 1.25rem); |
| 94 | + font-size: clamp(1rem, 2vw, 1.2rem); |
70 | 95 | font-weight: 400; |
71 | | - line-height: 1.5; |
| 96 | + line-height: 1.6; |
72 | 97 | letter-spacing: -0.02em; |
73 | 98 | text-wrap: balance; |
74 | 99 | } |
|
125 | 150 |
|
126 | 151 | &:hover { |
127 | 152 | color: var(--hero-secondary-text); |
128 | | - border-color: var(--hero-title-muted); |
| 153 | + border-color: var(--hero-text); |
129 | 154 | background: var(--hero-secondary-bg-hover); |
130 | 155 | } |
131 | 156 | } |
132 | 157 |
|
133 | 158 | @media (max-width: 640px) { |
134 | 159 | .hero { |
135 | | - min-height: calc(100svh - var(--rp-nav-height)); |
136 | | - padding: 3.25rem 1.25rem; |
| 160 | + min-height: calc(80svh - var(--rp-nav-height)); |
| 161 | + padding: 3.25rem 1.25rem 0; |
137 | 162 | } |
138 | 163 |
|
139 | 164 | .title { |
|
142 | 167 | letter-spacing: -0.055em; |
143 | 168 | } |
144 | 169 |
|
| 170 | + .releaseLink { |
| 171 | + margin-bottom: 1.5rem; |
| 172 | + font-size: 0.8125rem; |
| 173 | + } |
| 174 | + |
145 | 175 | .description { |
146 | 176 | max-width: 30rem; |
147 | 177 | margin-top: 2rem; |
|
162 | 192 | } |
163 | 193 |
|
164 | 194 | @media (prefers-reduced-motion: reduce) { |
165 | | - .link { |
| 195 | + .link, |
| 196 | + .releaseLink { |
166 | 197 | transition: none; |
167 | 198 | } |
168 | 199 | } |
0 commit comments