summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-12-02 23:59:16 +0800
committerEltrac <hi@guhub.cn>2025-12-02 23:59:16 +0800
commit123b121ec7d0c03df199e9e23c3479ea80a81c24 (patch)
tree8d6e5b35050a7e3eddb5477b3cb4362d5b07e901
parent3331dcacc90d0fb0f6e06e6fad30f232d1d99d90 (diff)
fix(component/now-read-this): unwanted hover style in dark mode
Former-commit-id: 5af2f5c4c7e9d06bef4352573f943d12505612d5
-rw-r--r--layouts/_partials/posts/now-read-this.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/posts/now-read-this.html b/layouts/_partials/posts/now-read-this.html
index 927e4d6f..2c35a8ec 100644
--- a/layouts/_partials/posts/now-read-this.html
+++ b/layouts/_partials/posts/now-read-this.html
@@ -1,7 +1,7 @@
{{ with site.RegularPages.Related . | first 1 }}
{{ range . }}
<a class="-mx-4 mt-8 p-4 pb-7 relative leading-loose block rounded-xl
- hover:no-underline hover:bg-neutral-200/25 transition-colors"
+ hover:no-underline hover:bg-neutral-200/25 dark:hover:bg-neutral-700/25 transition-colors"
href="{{ .RelPermalink }}">
<h4 class="absolute -z-1 bottom-0 right-4 text-8 m-0 opacity-20 font-italic">
{{ T "nowReadThis" }}