Match the label-to-title gap on article pages

This commit is contained in:
2026-11-15 20:29:52 +08:00
parent f127486b99
commit 6c6d8eff81
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -85,6 +85,11 @@ kbd {
margin-top: 0.125rem;
}
/* 文章页:面包屑到标题的间距,与 /blog/ 列表页保持一致(14px) */
.post-title-row {
margin-top: 0.875rem;
}
/* 文章标题与列表标题同一套字:24px、常规字重,不要标题那么大那么重 */
.post-title {
font-size: 1.5rem;
+1 -1
View File
@@ -12,7 +12,7 @@
{{ partial "breadcrumb.html" (dict "page" . "enable" true) }} {{ if
.Title }}
<div
class="hx:flex hx:flex-col hx:sm:flex-row hx:items-start hx:sm:items-center hx:sm:justify-between hx:gap-4 hx:mt-2"
class="post-title-row hx:flex hx:flex-col hx:sm:flex-row hx:items-start hx:sm:items-center hx:sm:justify-between hx:gap-4"
>
<h1
class="post-title hx:mb-0"