fix: better fonts for header

This commit is contained in:
Tim Rijkse
2026-01-15 07:57:36 +01:00
parent f7be64dbba
commit 3aff4d1630
6 changed files with 33 additions and 27 deletions

View File

@@ -76,9 +76,10 @@ class HorizontalScrollNav extends HTMLElement {
flex-shrink: 0;
height: 32px;
padding: 0;
font-size: 16px;
font-family: var(--font-family-base);
font-size: var(--font-size-base, 16px);
font-weight: var(--font-weight-medium, 500);
line-height: 1.5;
line-height: var(--line-height-24, 24px);
color: #000000;
background-color: transparent;
border: none;
@@ -87,6 +88,7 @@ class HorizontalScrollNav extends HTMLElement {
transition: all var(--transition-fast, 150ms ease);
white-space: nowrap;
text-decoration: underline;
text-underline-offset: 4px;
display: flex;
align-items: center;
}