Fix: h1 should use fs-xxl on desktop and only reduce to fs-l on mobile
The root project's _custom.css was overriding the theme's custom CSS because it had fs-l as the base font size instead of fs-xxl. Now the default is fs-xxl with media query override for mobile (≤ 666px).
This commit is contained in:
parent
a1b3d53c7a
commit
8996266a61
1 changed files with 9 additions and 2 deletions
|
|
@ -5,15 +5,22 @@
|
|||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Header h1 styling - smaller and flexible */
|
||||
/* Header h1 styling - responsive sizing that grows with viewport */
|
||||
.header__site-name {
|
||||
font-size: var(--fs-l);
|
||||
font-size: var(--fs-xxl);
|
||||
margin-block-start: 0;
|
||||
margin-block-end: 0;
|
||||
flex-shrink: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* Smaller on mobile only */
|
||||
@media (width <= 666px) {
|
||||
.header__site-name {
|
||||
font-size: var(--fs-l);
|
||||
}
|
||||
}
|
||||
|
||||
/* Logo scaling - smaller on mobile */
|
||||
.header__logo-image {
|
||||
width: 50px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue