Files
andwati.com/sass/_hero.scss
T
andwati a51671d7e4 redesign site as "case file" theme
- new paper/ink palette with single red accent, replacing catppuccin
- self-hosted IBM Plex Serif (display) + Source Serif 4 (body), drop Outfit
- rebuilt homepage masthead, numbered post index, navbar with active states
- switch syntax highlighting + utterances to gruvbox, synced via postMessage
- remove terminal/404 easter egg chrome, clean up remaining inline styles
- fix stray syntax.css link causing a 404
2026-07-16 12:28:34 +03:00

65 lines
1.1 KiB
SCSS

// Hero Section
.hero {
padding: 8rem 0 6rem 0;
max-width: 800px;
}
.hero-compact {
padding-bottom: 2rem;
}
.hero-title {
color: var(--text-color);
}
.hero-subtitle {
font-size: clamp(1.1rem, 1.5vw, 1.3rem);
color: var(--text-muted);
}
// Homepage masthead
.masthead {
padding: 4rem 0 3rem;
max-width: var(--content-width);
border-bottom: 3px solid var(--text-color);
}
.masthead-kicker {
font-family: var(--font-mono);
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--accent-color);
margin-bottom: 1rem;
}
.masthead-title {
margin-top: 0;
}
// Colophon-style contact line — quiet, small, middot-separated
.masthead-links {
display: flex;
flex-wrap: wrap;
row-gap: 0.4rem;
margin-top: 2rem;
font-family: var(--font-mono);
font-size: 0.8rem;
letter-spacing: 0.02em;
a {
color: var(--text-muted);
&:hover {
color: var(--accent-color);
}
&:not(:last-child)::after {
content: '·';
margin: 0 0.75rem;
color: var(--text-muted);
opacity: 0.5;
}
}
}