|
1 | | -/** |
2 | | - * CSS files with the .module.css suffix will be treated as CSS modules |
3 | | - * and scoped locally. |
4 | | - */ |
| 1 | +/* ─── Hero ─────────────────────────────────────────────────────────────────── */ |
5 | 2 |
|
6 | | -.heroBanner { |
7 | | - padding: 4rem 0; |
| 3 | +.hero { |
| 4 | + background: linear-gradient(160deg, var(--ifm-color-primary-darkest) 0%, var(--ifm-color-primary-dark) 100%); |
| 5 | + padding: 5rem 1rem 4rem; |
8 | 6 | text-align: center; |
9 | 7 | position: relative; |
10 | 8 | overflow: hidden; |
11 | 9 | } |
12 | 10 |
|
13 | | -@media screen and (max-width: 996px) { |
14 | | - .heroBanner { |
15 | | - padding: 2rem; |
| 11 | +.hero::before { |
| 12 | + content: ''; |
| 13 | + position: absolute; |
| 14 | + inset: 0; |
| 15 | + background: radial-gradient(ellipse at 60% 0%, rgba(255,255,255,0.07) 0%, transparent 70%); |
| 16 | + pointer-events: none; |
| 17 | +} |
| 18 | + |
| 19 | +.heroInner { |
| 20 | + position: relative; |
| 21 | + max-width: 720px; |
| 22 | + margin: 0 auto; |
| 23 | +} |
| 24 | + |
| 25 | +.heroLogo { |
| 26 | + width: 80px; |
| 27 | + height: 80px; |
| 28 | + object-fit: contain; |
| 29 | + margin-bottom: 1.25rem; |
| 30 | + filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25)); |
| 31 | +} |
| 32 | + |
| 33 | +.heroTitle { |
| 34 | + font-size: 3rem; |
| 35 | + font-weight: 800; |
| 36 | + color: #fff; |
| 37 | + margin-bottom: 0.5rem; |
| 38 | + line-height: 1.15; |
| 39 | +} |
| 40 | + |
| 41 | +.heroSubtitle { |
| 42 | + font-size: 1.2rem; |
| 43 | + color: rgba(255, 255, 255, 0.8); |
| 44 | + margin-bottom: 2rem; |
| 45 | +} |
| 46 | + |
| 47 | +.heroButtons { |
| 48 | + display: flex; |
| 49 | + gap: 1rem; |
| 50 | + justify-content: center; |
| 51 | + flex-wrap: wrap; |
| 52 | +} |
| 53 | + |
| 54 | +@media (max-width: 768px) { |
| 55 | + .heroTitle { |
| 56 | + font-size: 2rem; |
16 | 57 | } |
17 | 58 | } |
18 | 59 |
|
19 | | -.buttons { |
| 60 | +/* ─── Section Titles ────────────────────────────────────────────────────────── */ |
| 61 | + |
| 62 | +.sectionTitle { |
| 63 | + text-align: center; |
| 64 | + font-size: 1.9rem; |
| 65 | + font-weight: 700; |
| 66 | + margin-bottom: 0.4rem; |
| 67 | +} |
| 68 | + |
| 69 | +.sectionSubtitle { |
| 70 | + text-align: center; |
| 71 | + color: var(--ifm-color-emphasis-600); |
| 72 | + margin-bottom: 2.5rem; |
| 73 | +} |
| 74 | + |
| 75 | +/* ─── Resources ─────────────────────────────────────────────────────────────── */ |
| 76 | + |
| 77 | +.resources { |
| 78 | + padding: 4rem 0 3rem; |
| 79 | +} |
| 80 | + |
| 81 | +.cardGrid { |
| 82 | + display: grid; |
| 83 | + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
| 84 | + gap: 1.75rem; |
| 85 | + max-width: 900px; |
| 86 | + margin: 0 auto; |
| 87 | +} |
| 88 | + |
| 89 | +/* ─── Card ──────────────────────────────────────────────────────────────────── */ |
| 90 | + |
| 91 | +.card { |
| 92 | + display: flex; |
| 93 | + flex-direction: column; |
| 94 | + border: 1px solid var(--ifm-color-emphasis-200); |
| 95 | + border-radius: 12px; |
| 96 | + overflow: hidden; |
| 97 | + background: var(--ifm-card-background-color, var(--ifm-background-surface-color)); |
| 98 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); |
| 99 | + transition: transform 0.2s ease, box-shadow 0.2s ease; |
| 100 | +} |
| 101 | + |
| 102 | +.card:hover { |
| 103 | + transform: translateY(-4px); |
| 104 | + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 105 | +} |
| 106 | + |
| 107 | +.cardImage { |
| 108 | + width: 100%; |
| 109 | + aspect-ratio: 16 / 7; |
| 110 | + overflow: hidden; |
| 111 | + background: var(--ifm-color-emphasis-100); |
| 112 | +} |
| 113 | + |
| 114 | +.cardImage img { |
| 115 | + width: 100%; |
| 116 | + height: 100%; |
| 117 | + object-fit: cover; |
| 118 | + display: block; |
| 119 | +} |
| 120 | + |
| 121 | +.cardBody { |
| 122 | + padding: 1.25rem 1.5rem 0.75rem; |
| 123 | + flex: 1; |
| 124 | +} |
| 125 | + |
| 126 | +.cardHeader { |
20 | 127 | display: flex; |
21 | 128 | align-items: center; |
22 | | - justify-content: center; |
| 129 | + gap: 0.75rem; |
| 130 | + margin-bottom: 0.6rem; |
| 131 | +} |
| 132 | + |
| 133 | +.cardTitle { |
| 134 | + font-size: 1.3rem; |
| 135 | + font-weight: 700; |
| 136 | + margin: 0; |
| 137 | +} |
| 138 | + |
| 139 | +.cardBadge { |
| 140 | + font-size: 0.7rem; |
| 141 | + font-weight: 600; |
| 142 | + padding: 0.2rem 0.55rem; |
| 143 | + border-radius: 999px; |
| 144 | + background: var(--ifm-color-primary-lightest); |
| 145 | + color: var(--ifm-color-primary-darkest); |
| 146 | + white-space: nowrap; |
| 147 | + text-transform: uppercase; |
| 148 | + letter-spacing: 0.04em; |
| 149 | +} |
| 150 | + |
| 151 | +[data-theme='dark'] .cardBadge { |
| 152 | + background: var(--ifm-color-primary-darkest); |
| 153 | + color: var(--ifm-color-primary-lightest); |
| 154 | +} |
| 155 | + |
| 156 | +.cardDescription { |
| 157 | + font-size: 0.95rem; |
| 158 | + color: var(--ifm-color-emphasis-700); |
| 159 | + margin-bottom: 1rem; |
| 160 | + line-height: 1.55; |
| 161 | +} |
| 162 | + |
| 163 | +.cardTags { |
| 164 | + display: flex; |
| 165 | + gap: 0.4rem; |
| 166 | + flex-wrap: wrap; |
| 167 | + margin-bottom: 0.5rem; |
| 168 | +} |
| 169 | + |
| 170 | +.cardTag { |
| 171 | + font-size: 0.75rem; |
| 172 | + padding: 0.2rem 0.6rem; |
| 173 | + border-radius: 6px; |
| 174 | + background: var(--ifm-color-emphasis-100); |
| 175 | + color: var(--ifm-color-emphasis-800); |
| 176 | + border: 1px solid var(--ifm-color-emphasis-200); |
| 177 | +} |
| 178 | + |
| 179 | +.cardFooter { |
| 180 | + padding: 1rem 1.5rem 1.25rem; |
| 181 | +} |
| 182 | + |
| 183 | +/* ─── Info Banner ───────────────────────────────────────────────────────────── */ |
| 184 | + |
| 185 | +.infoBanner { |
| 186 | + background: var(--ifm-color-emphasis-100); |
| 187 | + border-top: 1px solid var(--ifm-color-emphasis-200); |
| 188 | + padding: 3.5rem 1rem; |
| 189 | +} |
| 190 | + |
| 191 | +.infoBannerInner { |
| 192 | + display: flex; |
| 193 | + align-items: center; |
| 194 | + justify-content: space-between; |
| 195 | + gap: 2rem; |
| 196 | + flex-wrap: wrap; |
| 197 | +} |
| 198 | + |
| 199 | +.infoBannerText { |
| 200 | + flex: 1; |
| 201 | + min-width: 240px; |
| 202 | +} |
| 203 | + |
| 204 | +.infoBannerText h3 { |
| 205 | + font-size: 1.4rem; |
| 206 | + font-weight: 700; |
| 207 | + margin-bottom: 0.5rem; |
| 208 | +} |
| 209 | + |
| 210 | +.infoBannerText p { |
| 211 | + color: var(--ifm-color-emphasis-700); |
| 212 | + margin: 0; |
| 213 | + max-width: 520px; |
| 214 | + line-height: 1.6; |
| 215 | +} |
| 216 | + |
| 217 | +.infoBannerActions { |
| 218 | + display: flex; |
| 219 | + gap: 0.75rem; |
| 220 | + flex-wrap: wrap; |
| 221 | + flex-shrink: 0; |
| 222 | +} |
| 223 | + |
| 224 | +@media (max-width: 768px) { |
| 225 | + .infoBannerInner { |
| 226 | + flex-direction: column; |
| 227 | + text-align: center; |
| 228 | + } |
| 229 | + |
| 230 | + .infoBannerActions { |
| 231 | + justify-content: center; |
| 232 | + } |
23 | 233 | } |
0 commit comments