Tighten the title-to-date gap
This commit is contained in:
@@ -85,6 +85,11 @@ kbd {
|
|||||||
margin-top: 0.125rem;
|
margin-top: 0.125rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 文章页:标题到日期的间距,比原来紧一点,让标题和日期成一组 */
|
||||||
|
.post-meta {
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
/* 文章页:面包屑到标题的间距,与 /blog/ 列表页保持一致(14px) */
|
/* 文章页:面包屑到标题的间距,与 /blog/ 列表页保持一致(14px) */
|
||||||
.post-title-row {
|
.post-title-row {
|
||||||
margin-top: 0.875rem;
|
margin-top: 0.875rem;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div
|
<div
|
||||||
class="hx:mt-4 hx:mb-8 hx:text-gray-500 hx:dark:text-gray-400 hx:text-sm hx:flex hx:items-center hx:flex-wrap hx:gap-y-2"
|
class="post-meta hx:mb-8 hx:text-gray-500 hx:dark:text-gray-400 hx:text-sm hx:flex hx:items-center hx:flex-wrap hx:gap-y-2"
|
||||||
>
|
>
|
||||||
{{- with $date := .Date }}<span class="hx:mr-1"
|
{{- with $date := .Date }}<span class="hx:mr-1"
|
||||||
>{{ partial "utils/format-date" $date }}</span
|
>{{ partial "utils/format-date" $date }}</span
|
||||||
|
|||||||
Reference in New Issue
Block a user