mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-19 01:26:29 +03:00
Drop italic cursive from tutorial detail titles
The tutorial h1 used font-style: italic + weight 500, which read as cursive and sat oddly next to the non-italic h1 on /skills, /anti-patterns, and skill detail pages. Align it with the shared .sub-page-title treatment: display serif at weight 400, no italic, clamp(2.5rem, 6vw, 4.5rem). The italic style stays on subsection headings (skill category titles, anti-pattern section titles) where it still reads as a label, not a page title.
This commit is contained in:
@@ -938,11 +938,10 @@ main#main {
|
||||
|
||||
.tutorial-detail-title {
|
||||
font-family: var(--font-display);
|
||||
font-size: clamp(2.5rem, 5vw, 4rem);
|
||||
font-weight: 500;
|
||||
font-style: italic;
|
||||
font-size: clamp(2.5rem, 6vw, 4.5rem);
|
||||
font-weight: 400;
|
||||
line-height: 1.05;
|
||||
letter-spacing: -0.01em;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--color-ink);
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user