diff options
| author | BigCoke233 <hi@guhub.cn> | 2025-12-06 16:14:04 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2025-12-06 16:14:04 +0800 |
| commit | a3396630cb7a79585e3f39144c05965378d985e3 (patch) | |
| tree | 0cfa23fd3aa07dea9d9599941301a35c253b327d | |
| parent | cec8a299a36ea029f8fe2469f68071313ebdde1f (diff) | |
feat: better "good book" style
Former-commit-id: dac2b4e4a93ac378bf20559869310c4535e30f3d
| -rw-r--r-- | layouts/_partials/items/book.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/items/book.html b/layouts/_partials/items/book.html index 5a8c8efd..76336ab5 100644 --- a/layouts/_partials/items/book.html +++ b/layouts/_partials/items/book.html @@ -8,7 +8,7 @@ hover:rotate-0 hover:-translate-y-2 hover:scale-110 transition {{ if eq $ctx.Params.rating 1 }} relative - {{ else if eq $ctx.Params.rating 5 }} border-amber-200 shadow-amber-100 + {{ else if eq $ctx.Params.rating 5 }} border-amber-300 shadow-amber-200 shadow-xl {{ else }} border-white{{ end }}"> <img class="lazy w-full block" src="{{ $ctx.Params.cover }}!small" /> {{ if eq $ctx.Params.rating 1 }} |
