|
1 | | -/* Newline popup — delete this file after Newline 2026 */ |
| 1 | +/* Newline popup + permanent banner — delete this file after Newline 2026 */ |
2 | 2 | @font-face { |
3 | 3 | font-family: "Brother"; |
4 | 4 | src: url("/fonts/brother-bold.ttf") format("truetype"); |
|
232 | 232 | transition: none !important; |
233 | 233 | } |
234 | 234 | } |
| 235 | + |
| 236 | +/* Permanent Newline banner on homepage */ |
| 237 | +.newline-banner { |
| 238 | + display: flex; |
| 239 | + align-items: center; |
| 240 | + gap: 1.5rem; |
| 241 | + padding: 1.25rem 1.75rem; |
| 242 | + margin: 1.5rem 0 1rem; |
| 243 | + background: linear-gradient(90deg, #ff5a6e 0%, #ff7a58 35%, #ffa048 70%, #ffb640 100%); |
| 244 | + border: none !important; |
| 245 | + border-radius: 16px; |
| 246 | + color: #fff5e6; |
| 247 | + text-decoration: none; |
| 248 | + box-shadow: 0 4px 20px rgba(255, 90, 110, 0.25); |
| 249 | + transition: transform 0.2s ease, box-shadow 0.2s ease; |
| 250 | + font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", "Arial", sans-serif; |
| 251 | +} |
| 252 | + |
| 253 | +.newline-banner:hover { |
| 254 | + transform: translateY(-2px); |
| 255 | + box-shadow: 0 6px 25px rgba(255, 90, 110, 0.4); |
| 256 | + color: #fff5e6; |
| 257 | +} |
| 258 | + |
| 259 | +.newline-banner__logo { |
| 260 | + width: clamp(140px, 18vw, 200px); |
| 261 | + height: auto; |
| 262 | + flex-shrink: 0; |
| 263 | +} |
| 264 | + |
| 265 | +.newline-banner__info { |
| 266 | + flex: 1; |
| 267 | + min-width: 0; |
| 268 | +} |
| 269 | + |
| 270 | +.newline-banner__date { |
| 271 | + font-family: "Brother", sans-serif; |
| 272 | + font-size: clamp(1.1rem, 2.5vw, 1.5rem); |
| 273 | + font-weight: bold; |
| 274 | + text-transform: uppercase; |
| 275 | + color: #fff5e6; |
| 276 | + margin: 0; |
| 277 | + line-height: 1.1; |
| 278 | +} |
| 279 | + |
| 280 | +.newline-banner__location { |
| 281 | + font-family: "Brother", sans-serif; |
| 282 | + font-size: clamp(0.9rem, 2vw, 1.1rem); |
| 283 | + font-weight: bold; |
| 284 | + text-transform: uppercase; |
| 285 | + color: #fff5e6; |
| 286 | + margin: 0.35rem 0 0; |
| 287 | + opacity: 0.9; |
| 288 | + line-height: 1.1; |
| 289 | +} |
| 290 | + |
| 291 | +.newline-banner__cta { |
| 292 | + font-family: "Brother", sans-serif; |
| 293 | + font-size: clamp(0.95rem, 2vw, 1.1rem); |
| 294 | + font-weight: bold; |
| 295 | + text-transform: uppercase; |
| 296 | + padding: 0.7rem 1.4rem; |
| 297 | + background: rgba(255, 255, 255, 0.95); |
| 298 | + color: #ff5a6e; |
| 299 | + border-radius: 50px; |
| 300 | + flex-shrink: 0; |
| 301 | + white-space: nowrap; |
| 302 | + transition: background 0.2s ease; |
| 303 | +} |
| 304 | + |
| 305 | +.newline-banner:hover .newline-banner__cta { |
| 306 | + background: #fff5e6; |
| 307 | +} |
| 308 | + |
| 309 | +@media (max-width: 600px) { |
| 310 | + .newline-banner { |
| 311 | + flex-direction: column; |
| 312 | + text-align: center; |
| 313 | + gap: 0.75rem; |
| 314 | + padding: 1.25rem; |
| 315 | + } |
| 316 | +} |
0 commit comments