summaryrefslogtreecommitdiffci
path: root/views/partials/general-page-header.html
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2025-10-15 02:43:04 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2025-10-15 02:43:04 +0700
commit454e2f3cd84b6c0b02a0c2936a574d3d9c35c5a1 (patch)
treec05bfb6efdce821d69a0d676dc2e3244a646746a /views/partials/general-page-header.html
parente372d8ad15ca9026fffb9248991e3df48c72b5f6 (diff)
downloadweb-454e2f3cd84b6c0b02a0c2936a574d3d9c35c5a1.tar.gz
web-454e2f3cd84b6c0b02a0c2936a574d3d9c35c5a1.zip
feat: start switching to absolute length units in design
Diffstat (limited to 'views/partials/general-page-header.html')
-rw-r--r--views/partials/general-page-header.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/partials/general-page-header.html b/views/partials/general-page-header.html
index 6cb87b7..d13a6d8 100644
--- a/views/partials/general-page-header.html
+++ b/views/partials/general-page-header.html
@@ -1,8 +1,8 @@
<div {{ if .PublishedDate }} hx-get="/api/v1/tz" hx-vals='js:{timestamp: "{{ .PublishedDate }}", tz: clientTimeZone}' hx-target="#published-date" hx-swap="innerHTML" hx-trigger="load" {{ end }}
- class="flex flex-row mb-[0.4vmin]">
- <i onclick="changeUrl('/../', true);" class="fas fa-circle-left hover:bg-main-dark hover:bg-opacity-10 cursor-pointer transition-colors duration-300 rounded-md text-[2vmax] mt-auto mb-auto px-[0.8vmin]"></i>
- <p class="text-[2.5vmin] font-spectral italic font-extrabold select-none mt-auto pl-[0.8vmin] pr-[1.2vmin]">//</p>
- <p class="text-[2.5vmin] font-spectral italic text-left mt-auto">{{ .Title }}</p>
- <p id="published-date" class="grow text-[1.75vmin] font-spectral text-secondary text-right mt-auto">{{ .PublishedDate }}</p>
+ class="flex flex-row mb-1">
+ <i onclick="changeUrl('/../', true);" class="fas fa-circle-left hover:bg-main-dark hover:bg-opacity-10 cursor-pointer transition-colors duration-300 rounded-md text-3xl mt-auto mb-auto px-2"></i>
+ <p class="text-3xl font-spectral italic font-extrabold select-none mt-auto pl-2 pr-6">//</p>
+ <p class="text-3xl font-spectral italic text-left mt-auto">{{ .Title }}</p>
+ <p id="published-date" class="grow text-2xl font-spectral text-secondary text-right mt-auto">{{ .PublishedDate }}</p>
</div>
{{ block "header" . }}{{ end }}