From 7eabfa47b266548e058f1cb0dfd0dfb7590811e0 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 6 Feb 2025 11:23:12 +0800 Subject: style: add horizontal rule to term page --- assets/css/components/_pages.scss | 4 ++++ layouts/_default/term.html | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/assets/css/components/_pages.scss b/assets/css/components/_pages.scss index 1ba9d6e8..e3c9657b 100644 --- a/assets/css/components/_pages.scss +++ b/assets/css/components/_pages.scss @@ -212,6 +212,10 @@ section.taxonomy { } } +.taxonomy-description hr { + margin: 0.5rem 0; +} + @media screen and (max-width: 600px) { .posts-line { font-size: 16px; diff --git a/layouts/_default/term.html b/layouts/_default/term.html index cc09f547..2c23cb5b 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -3,7 +3,10 @@ {{ partial "components/breadcrumbs.html" . }} {{ with .Params.description }} -

{{ . | markdownify }}

+
+ {{ . | markdownify }} +
+
{{ end }}
-- cgit v1.2.3