Match the label-to-title gap on article pages
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user