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
This commit is contained in:
2026-07-16 12:28:34 +03:00
parent 57462869ec
commit a51671d7e4
62 changed files with 2116 additions and 2806 deletions
+139 -6
View File
@@ -8,15 +8,22 @@
.post-feed {
display: flex;
flex-direction: column;
gap: 3rem;
margin-top: 2rem;
margin-top: 1rem;
}
.post-feed .feed-item {
padding: 2rem 0;
border-bottom: 1px solid var(--border-color);
&:first-child {
padding-top: 0;
}
}
// Homepage "View all posts" CTA
.view-all-posts {
display: flex;
justify-content: center;
margin: 3rem auto 0;
margin-top: 3rem;
max-width: var(--content-width);
}
@@ -26,7 +33,7 @@
gap: 0.5rem;
padding: 0.6rem 1.5rem;
border: 1px solid var(--accent-color);
border-radius: 6px;
border-radius: 2px;
font-family: var(--font-mono);
font-size: 0.875rem;
color: var(--accent-color);
@@ -54,13 +61,133 @@
display: block;
}
// Homepage post list (post-card.html) — a numbered index of entries
.feed-eyebrow {
display: flex;
align-items: baseline;
justify-content: space-between;
max-width: var(--content-width);
margin-bottom: 1.5rem;
font-family: var(--font-mono);
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--text-muted);
}
.post-feed-list {
max-width: var(--content-width);
display: flex;
flex-direction: column;
}
.feed-item.card {
display: flex;
gap: 1.25rem;
border-bottom: 1px solid var(--border-color);
padding: 2rem 0;
&:first-child {
padding-top: 0;
}
.item-title {
font-size: 1.25rem;
margin-bottom: 0.5rem;
font-weight: 600;
a {
transition: color 0.2s ease;
}
}
&:hover .item-title a {
color: var(--accent-color);
}
}
.item-index {
font-family: var(--font-mono);
font-size: 0.85rem;
color: var(--text-muted);
padding-top: 0.3rem;
flex-shrink: 0;
}
.item-body {
min-width: 0;
flex: 1;
}
.item-meta {
display: flex;
align-items: center;
gap: 0.35rem;
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 1rem;
font-family: var(--font-mono);
}
.item-meta-sep {
opacity: 0.5;
}
.item-snippet {
color: var(--text-color);
opacity: 0.9;
margin-bottom: 1rem;
p {
margin: 0;
}
}
.item-footer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 0.75rem;
font-size: 0.85rem;
}
.item-readmore {
display: inline-flex;
align-items: center;
gap: 0.35rem;
color: var(--accent-color);
.readmore-arrow {
transition: transform 0.2s ease;
}
&:hover .readmore-arrow {
transform: translateX(4px);
}
}
.item-tags {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.item-link {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.item-date-row {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.25rem;
}
.item-date {
font-family: var(--font-mono);
font-size: 0.85rem;
color: var(--text-muted);
font-variant-numeric: tabular-nums;
@@ -68,6 +195,12 @@
text-transform: uppercase;
}
.item-reading-time {
color: var(--text-muted);
font-size: 0.85rem;
font-family: var(--font-mono);
}
.item-title {
margin: 0;
font-size: clamp(1.5rem, 2vw, 2rem);
@@ -112,7 +245,7 @@
min-width: 2.25rem;
height: 2.25rem;
padding: 0 0.5rem;
border-radius: 6px;
border-radius: 2px;
border: 1px solid var(--border-color);
background: var(--surface-color);
color: var(--text-muted);