From 5b1ddd7cc2ad7f334b1d29b7374c818614e654bd Mon Sep 17 00:00:00 2001 From: verdant Date: Sun, 22 Mar 2026 11:30:43 +0800 Subject: style: refactor index layout --- layouts/partials/post_meta.html | 20 +++++++------------- layouts/partials/style.html | 15 ++++++++++----- 2 files changed, 17 insertions(+), 18 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 741efd2..1c180c3 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -1,33 +1,24 @@ {{ if ne (.Params.showMeta | default true) false }}
- - + {{ if eq .Kind "page" }} + {{ end }}
{{ end }} + + diff --git a/layouts/partials/style.html b/layouts/partials/style.html index 33ba584..ec4dae2 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -19,8 +19,7 @@ --upvoted-color: #fa8072; --caption-text-color: #666; --toc-text-color: #e5e5e5; - --toc-hover-color -: e5e5e5; + --toc-hover-color: e5e5e5; --music-bg-hover-light: #e5e5e5; --music-bg-light: rgba(229, 229, 229, 0.5); --music-text-secondary: #666; @@ -73,6 +72,10 @@ h1, h2 { color: var(--body-text-color) } +.post-meta-item a { + font-size: .85rem; +} + body { @@ -280,9 +283,8 @@ ul.blog-posts li span.grouped { } .post-meta-item { - margin-right: 0.8em; + margin-right: 0.3rem; display: inline-block; - font-size: var(--font-size-secondary); } .post-meta-item svg { @@ -296,7 +298,6 @@ ul.blog-posts li span.grouped { } .post-tag a { - font-size: var(--font-size-secondary) !important; } img { @@ -647,6 +648,10 @@ ul li:has(input) { text-decoration: none; } +h3.recent-post-title a { +color: var(--body-text-color); +} + a:hover { text-decoration: underline; } -- cgit v1.2.3