This commit is contained in:
2026-07-16 12:28:42 +03:00
parent a51671d7e4
commit e1f7c33692
4 changed files with 6 additions and 24 deletions
+4 -13
View File
@@ -23,8 +23,8 @@
// Homepage "View all posts" CTA // Homepage "View all posts" CTA
.view-all-posts { .view-all-posts {
display: flex; display: flex;
justify-content: center;
margin-top: 3rem; margin-top: 3rem;
max-width: var(--content-width);
} }
.btn-view-all { .btn-view-all {
@@ -62,21 +62,12 @@
} }
// Homepage post list (post-card.html) — a numbered index of entries // Homepage post list (post-card.html) — a numbered index of entries
.feed-eyebrow { .feed-heading {
display: flex; font-size: 1.1rem;
align-items: baseline; margin: 0 0 1.5rem;
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 { .post-feed-list {
max-width: var(--content-width);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
+1 -3
View File
@@ -17,11 +17,9 @@
color: var(--text-muted); color: var(--text-muted);
} }
// Homepage masthead // Homepage masthead — spans the full width of .site-container, matching the navbar
.masthead { .masthead {
padding: 4rem 0 3rem; padding: 4rem 0 3rem;
max-width: var(--content-width);
border-bottom: 3px solid var(--text-color);
} }
.masthead-kicker { .masthead-kicker {
-4
View File
@@ -23,10 +23,6 @@
--scrollbar-track: #dedecf; --scrollbar-track: #dedecf;
--scrollbar-thumb: #b0afa2; --scrollbar-thumb: #b0afa2;
--scrollbar-thumb-hover: #b42318; --scrollbar-thumb-hover: #b42318;
// Shared reading column — keeps the masthead rule, eyebrow, and post
// list aligned to the same right edge instead of drifting per-component.
--content-width: 700px;
} }
// Dark mode — same document, read at night // Dark mode — same document, read at night
+1 -4
View File
@@ -31,10 +31,7 @@ block og_url %}{{ config.base_url }}/{% endblock og_url %} {% block head %}
{% endblock head %} {% block content %} {% include "partials/profile.html" %} {% endblock head %} {% block content %} {% include "partials/profile.html" %}
{% set section = get_section(path="posts/_index.md") %} {% set section = get_section(path="posts/_index.md") %}
<p class="feed-eyebrow"> <h2 class="feed-heading">Latest</h2>
<span>Recent Entries</span>
<span>{{ section.pages | length }} filed</span>
</p>
<div class="post-feed-list"> <div class="post-feed-list">
{% set post_limit = config.extra.homepage_post_limit | default(value=3) %} {% set post_limit = config.extra.homepage_post_limit | default(value=3) %}