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
+4 -2
View File
@@ -1,7 +1,7 @@
<header class="site-header">
<nav class="nav-container">
<a href="{{ get_url(path="") }}" class="brand-link">
<span class="brand-text">{{ config.title | default(value="pwna4profit") }}</span>
<span class="brand-text">{{ config.title }}</span>
</a>
<div class="nav-right">
@@ -9,7 +9,9 @@
<div id="nav-links" class="nav-links">
{% if config.extra.menu %}
{% for item in config.extra.menu %}
<a href="{{ get_url(path=item.url) }}" class="nav-item">{{ item.name }}</a>
{% set current = current_path | default(value="") %}
{% set is_active = item.match and current is starting_with(item.match) %}
<a href="{{ get_url(path=item.url) }}" class="nav-item{% if is_active %} is-active{% endif %}"{% if is_active %} aria-current="page"{% endif %}>{{ item.name }}</a>
{% endfor %}
{% endif %}
</div>