summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-16 16:13:57 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-16 16:13:57 +0800
commit9fab8272ca7d94841c3543eab8a4c1e91dd76b85 (patch)
treec0308809d1ddc69562403b73dd92ee888b130358 /layouts
parentb1c99135c54358a007e29f5e7d2ab051fca68f77 (diff)
feat: smoother style for highlights page
remove <mark>, use italic font instead
Diffstat (limited to 'layouts')
-rw-r--r--layouts/highlights.html9
1 files changed, 3 insertions, 6 deletions
diff --git a/layouts/highlights.html b/layouts/highlights.html
index d624fd7d..9d7c13bf 100644
--- a/layouts/highlights.html
+++ b/layouts/highlights.html
@@ -10,12 +10,9 @@
<h3><a href="{{ .url }}">《{{ .title }}》</a></h3>
<ul class="list-none">
{{ range .highlights }}
- <li class="my-2 text-lg">
- <mark class="bg-amber-2 dark:bg-amber-3/50 transition-colors
- hover:bg-amber-2/50 dark:hover:bg-amber-3/20">
- <a class="hover:no-underline" href="{{ .link }}">{{ .text | markdownify }}</a>
- </mark>
- </li>
+ <li class="my-4 text-lg">
+ <a class="font-italic hover:no-underline" href="{{ .link }}">{{ .text | markdownify }}</a>
+ </li>
{{ end }}
</ul>
</section>