From dd2386f954cc214d7484fa1aa8063007c53bcecd Mon Sep 17 00:00:00 2001 From: Eltrac Date: Tue, 1 Apr 2025 10:43:00 +0800 Subject: feat: term list style --- assets/css/components/_postlist.scss | 19 +++++++++++++++++++ layouts/_default/term.html | 25 +++++++++---------------- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/assets/css/components/_postlist.scss b/assets/css/components/_postlist.scss index 27016245..f9d526ce 100644 --- a/assets/css/components/_postlist.scss +++ b/assets/css/components/_postlist.scss @@ -87,3 +87,22 @@ } } } + +.term-list { + ul { + list-style: none; + padding-inline-start: 0; + display: flex; + flex-direction: column; + gap: 0.5rem; + li { + display: flex; + justify-content: space-between; + font-size: 1.1rem; + time { + font-size: 0.9rem; + font-family: var(--mono-font-family); + } + } + } +} diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 8e935334..7aac0646 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -1,5 +1,6 @@ {{ define "main" }}
+ {{ partial "components/post-page-header.html" . }} {{ partial "components/breadcrumbs.html" . }} {{ with .Params.description }} @@ -9,25 +10,17 @@ {{ end }} -
+
-- cgit v1.2.3