diff options
| author | Eltrac <hi@guhub.cn> | 2025-07-17 11:25:10 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-07-17 11:25:10 +0800 |
| commit | ec41236bc88a0762656413c38044ffa256bd93cb (patch) | |
| tree | 2d6f685fbe9ebb998e29dfcc9d1db9289238c1fe /layouts/_partials/items/post.html | |
| parent | 1160eda3a7de8ffaf1562e65187cec783081d491 (diff) | |
refactor: avoid using straight value in UnoCSS
Diffstat (limited to 'layouts/_partials/items/post.html')
| -rw-r--r-- | layouts/_partials/items/post.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_partials/items/post.html b/layouts/_partials/items/post.html index 10471180..1adf86af 100644 --- a/layouts/_partials/items/post.html +++ b/layouts/_partials/items/post.html @@ -21,7 +21,7 @@ {{ end }} </a> {{ if eq .ctx.Section "fictions" }} - <span class="font-normal text-[1rem] text-[var(--secondary-text-color)]">小说</span> + <span class="font-normal text-4 text-[var(--secondary-text-color)]">小说</span> {{ end }} </h2> </div> @@ -34,7 +34,7 @@ {{ end }} </header> {{ if $showSummary }} - <div class="markdown-body text-[1.1rem]" + <div class="markdown-body text-size-lg!" style="view-transition-name: post-content-{{ .File.UniqueID }}"> {{ .ctx.Summary }} </div> |
