diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-16 15:56:42 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-16 15:56:42 +0800 |
| commit | 6dacf49645809b70a684b71f2f98343fcea4c8d5 (patch) | |
| tree | 90933ad7303c862685df87ee8c640be789338c15 /layouts | |
| parent | db1b583370a36d4460e0f3fcba19dff98ce32e1c (diff) | |
feat: better post content style
- smaller font
- remove ` before and after <code> because they add visual clutter
- bolder font for code
- thinner underline for links
Former-commit-id: 0386de01b3fd4588bbb48a31f3d6f5c994433440
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_partials/template/post-page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/template/post-page.html b/layouts/_partials/template/post-page.html index 155915cf..872c6588 100644 --- a/layouts/_partials/template/post-page.html +++ b/layouts/_partials/template/post-page.html @@ -36,7 +36,7 @@ </header> <!-- Post Content --> - <div class="min-h-[60%] leading-loose mb-8 markdown-body text-size-lg md:text-size-xl" + <div class="min-h-[60%] leading-loose mb-8 markdown-body text-size-md md:text-size-lg" style="view-transition-name: post-content-{{ .File.UniqueID }}"> {{ partial "posts/toc" . }} <div id="post-content">{{ .Content }}</div> |
