| author | 2026-04-04 03:03:29 +0700 | |
|---|---|---|
| committer | 2026-04-04 03:03:29 +0700 | |
| commit | b1355436e96f2dfa777e843b53896d0bb71628e3 (patch) | |
| tree | b1a6d83cfbbc558d0572e26a353c3bce37bee580 /views/pages/blog-page.html | |
| parent | 85fbaeb091d0bc26b828bb4537664325d93dd119 (diff) | |
| download | web-b1355436e96f2dfa777e843b53896d0bb71628e3.tar.gz web-b1355436e96f2dfa777e843b53896d0bb71628e3.zip | |
feat: replace font-andika
feat: replace noise image with lighter paper texture
refactor: put colors in tailwind theme block
Diffstat (limited to 'views/pages/blog-page.html')
| -rw-r--r-- | views/pages/blog-page.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/views/pages/blog-page.html b/views/pages/blog-page.html index 3fc4526..8978eb8 100644 --- a/views/pages/blog-page.html +++ b/views/pages/blog-page.html @@ -1,15 +1,15 @@ {{ define "body" }} <div class="absolute w-full h-full inset-0 inset-shadow-[0_0_0.4rem_black] pointer-events-none z-20"></div> -<article class="relative bg-background-light flex flex-col px-8 py-4 overflow-y-auto"> - <h1 class="max-xs:block [@media(max-height:32rem)]:block hidden font-andika text-2xl font-bold italic text-main-hard tracking-[.0125rem] mb-1">{{ .Title }}</h1> - <p class="block grow text-lg font-andika text-secondary"> +<article class="relative bg-paper bg-background-light flex flex-col px-8 py-4 overflow-y-auto"> + <h1 class="max-xs:block [@media(max-height:32rem)]:block hidden font-gentium text-2xl font-bold italic text-main-hard tracking-[.0125rem] mb-1">{{ .Title }}</h1> + <p class="block grow text-lg font-gentium text-secondary"> <b>{{ .L.Metadata.Published }}</b>: <time datetime="{{ .PublishedDate }}" hx-get="/api/v1/tz" hx-vals='js:{timestamp: "{{ .PublishedDate }}", tz: clientTimeZone}' hx-target="this" hx-swap="innerHTML" hx-trigger="load"> {{ .PublishedDate }} </time> </p> - <p class="block grow text-lg font-andika text-secondary"><b>{{ .L.Metadata.Action }}</b>: {{ .ActionDate }}</p> - <p class="block grow text-md font-andika italic text-main-hard">{{ .ShortDescription }}</p> + <p class="block grow text-lg font-gentium text-secondary"><b>{{ .L.Metadata.Action }}</b>: {{ .ActionDate }}</p> + <p class="block grow text-md font-gentium font-thin text-main-hard">{{ .ShortDescription }}</p> <hr class="block border-t-2 border-dotted border-main-hard mt-1 mb-2 w-full ml-auto mr-auto"> {{ .ParsedMarkdown }} {{- if .MapLocationX }} |