fix: prevent hero title descender clipping, replace <br> with styled <span> for second line across all locales

This commit is contained in:
Timo
2026-06-09 21:14:55 +02:00
parent 39fe2cbd11
commit 5216fde641
34 changed files with 69 additions and 64 deletions
+6 -1
View File
@@ -233,12 +233,17 @@ nav {
font-weight: 800;
line-height: 1.1;
margin-bottom: 1.5rem;
padding-bottom: 0.08em;
padding-bottom: 0.1em;
background: linear-gradient(to bottom, #fff 40%, #6366f1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-text h1 .hero-line2 {
display: block;
margin-top: 0.2em;
}
.hero-text p, .hero-subtitle {
font-size: 1.25rem;
color: var(--text-muted);