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
+30 -62
View File
@@ -1,69 +1,37 @@
<article
class="feed-item"
style="border-bottom: 1px dashed var(--border-color); padding-bottom: 2rem"
>
<h2 class="item-title" style="font-size: 1.25rem; margin-bottom: 0.5rem; font-weight: 600">
<a href="{{ page.permalink }}">{{ page.title }}</a>
</h2>
<article class="feed-item card hover-scale">
<span class="item-index">{% if loop.index < 10 %}0{{ loop.index }}{% else %}{{ loop.index }}{% endif %}</span>
<div
class="item-meta"
style="
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.25rem;
"
>
<span>{{ page.date | date(format="%Y-%m-%d") }}</span>
{% if page.reading_time %}
<span style="opacity: 0.5;">&middot;</span>
<span>{{ page.reading_time }} min read</span>
{% endif %}
</div>
<div class="item-body">
<h2 class="item-title">
<a href="{{ page.permalink }}">{{ page.title }}</a>
</h2>
<div
class="item-snippet"
style="font-size: 0.95rem; color: var(--text-color); margin-bottom: 1rem; opacity: 0.9"
>
{% if page.description %}
<p style="margin: 0">{{ page.description }}</p>
{% else %}
<p style="margin: 0">{{ page.content | striptags | truncate(length=120) | safe }}</p>
{% endif %}
</div>
<div class="item-meta">
<span>{{ page.date | date(format="%Y-%m-%d") }}</span>
{% if page.reading_time %}
<span class="item-meta-sep">&middot;</span>
<span>{{ page.reading_time }} min read</span>
{% endif %}
</div>
<div
class="item-footer"
style="display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem"
>
<a href="{{ page.permalink }}" style="color: var(--accent-color)">Read more...</a>
<div class="item-snippet">
{% if page.description %}
<p>{{ page.description }}</p>
{% else %}
<p>{{ page.content | striptags | truncate(length=120) | safe }}</p>
{% endif %}
</div>
{% if page.taxonomies.tags %}
<div
class="item-tags"
style="display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted)"
>
<svg
viewBox="0 0 24 24"
width="14"
height="14"
stroke="currentColor"
stroke-width="2"
fill="none"
>
<path
d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"
></path>
<line x1="7" y1="7" x2="7.01" y2="7"></line>
</svg>
<span>
{% for tag in page.taxonomies.tags %} {{ tag }}{% if not loop.last %}, {% endif %} {% endfor
%}
</span>
<div class="item-footer">
<a href="{{ page.permalink }}" class="item-readmore">Read more<span class="readmore-arrow">→</span></a>
{% if page.taxonomies.tags %}
<div class="item-tags">
{% for tag in page.taxonomies.tags %}
<a href="{{ get_taxonomy_url(kind="tags", name=tag) }}" class="tag">{{ tag }}</a>
{% endfor %}
</div>
{% endif %}
</div>
{% endif %}
</div>
</article>