summaryrefslogtreecommitdiff
path: root/views/partials/catalogue-blog-cards.html
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <145215889+SayaAndy@users.noreply.github.com> 2026-05-19 02:59:20 +0700
committerGravatar GitHub <noreply@github.com> 2026-05-19 02:59:20 +0700
commit8df72001ed7ded4e31d24c39b829bb99707289f9 (patch)
treec1014c16b998bd3a77cdae98869332c744c436b9 /views/partials/catalogue-blog-cards.html
parente053b3ad37afdb034a4c5916f017c8cc33eb1855 (diff)
parent1776fd1e933209deebbaf3bc6d49c83768f104a6 (diff)
downloadweb-8df72001ed7ded4e31d24c39b829bb99707289f9.tar.gz
web-8df72001ed7ded4e31d24c39b829bb99707289f9.zip
v0.17.0 (#42)v0.17.0
- feat: smooth rem transition through screen size change (also zoom more) - feat: add elevation to accent buttons - feat: make blog catalogue buttons accent - feat: redo shadowing & inset shadowing - feat: add edge blur for thumbnails - feat: replace most px units with rem units - feat: inset shadow elevation attributes - feat: remove most dotted borders - fix: path validating in get like handler - feat: add left padding to radio buttons in blog catalogue
Diffstat (limited to 'views/partials/catalogue-blog-cards.html')
-rw-r--r--views/partials/catalogue-blog-cards.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/partials/catalogue-blog-cards.html b/views/partials/catalogue-blog-cards.html
index b066a9e..6466262 100644
--- a/views/partials/catalogue-blog-cards.html
+++ b/views/partials/catalogue-blog-cards.html
@@ -1,7 +1,7 @@
{{- range .BlogPages }}
-<hr class="first-of-type:hidden border-t-2 border-dotted border-main-hard">
-<div {{ if .ToHighlight }}id="blog-page-highlighted"{{ end }} class="w-full flex flex-row items-stretch {{ if .ToHighlight }}bg-accent-light bg-paper{{ end }}">
- <div class="relative min-h-24 flex flex-col w-28 overflow-hidden shrink-0 mask-r-from-70% mask-r-to-100%">
+<hr class="first-of-type:hidden border-t-[0.375rem] my-1 w-24 mx-auto border-dotted border-main-hard">
+<div {{ if .ToHighlight }}id="blog-page-highlighted"{{ end }} class="w-full flex flex-row items-stretch mask-t-from-[calc(100%-0.5rem)] mask-t-to-100% mask-b-from-[calc(100%-0.5rem)] mask-b-to-100% {{ if .ToHighlight }}bg-accent-light bg-paper{{ end }}">
+ <div class="relative min-h-24 flex flex-col w-32 overflow-hidden shrink-0 mask-r-from-[calc(100%-1rem)] mask-r-to-100%">
<img onclick="return changeUrl('{{ .ArticleLink }}');" class="h-full min-h-24 w-full cursor-pointer select-none object-cover block absolute" src="{{ printf $.PhotoStorage.Thumbnail320p.BaseUrl .Thumbnail }}">
<div class="w-full h-6 flex flex-row mt-auto relative">
<div class="flex-1/2 flex flex-row justify-center select-none bg-linear-180 {{ if .Liked }}from-accent-deep/40 to-accent-deep/80 text-background-dark{{ else }}from-accent-light/40 to-accent-light/80 text-main-hard{{ end }}">
@@ -14,7 +14,7 @@
</div>
</div>
</div>
- <div class="grow w-full h-fit flex flex-col justify-center my-auto py-1 px-1">
+ <div class="grow w-full h-fit flex flex-col justify-center my-auto py-1 px-2">
<div class="flex flex-row gap-2 max-w-full">
<a href="{{ .ArticleLink }}" onclick="return changeUrl('{{ .ArticleLink }}');" class="grow-2 text-base cursor-pointer font-m-plus">
<span class="font-extrabold">{{ .Title }}</span>