From aad68d8afd38319c37d27d344d4e03a4b1200cf3 Mon Sep 17 00:00:00 2001 From: c2tz <95414249+c2tz@users.noreply.github.com> Date: Sat, 18 Nov 2023 16:31:30 +0100 Subject: [PATCH] chore(style): better footer logo alignment (#212) --- assets/css/compiled/main.css | 3 +++ exampleSite/hugo_stats.json | 1 + layouts/partials/footer.html | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index b1450b5..0e0a110 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1183,6 +1183,9 @@ video { .align-text-bottom { vertical-align: text-bottom; } +.align-\[-2\.5px\] { + vertical-align: -2.5px; +} .font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } diff --git a/exampleSite/hugo_stats.json b/exampleSite/hugo_stats.json index ff7af3d..96fe650 100644 --- a/exampleSite/hugo_stats.json +++ b/exampleSite/hugo_stats.json @@ -73,6 +73,7 @@ "active:opacity-50", "active:shadow-gray-200", "active:shadow-sm", + "align-[-2.5px]", "align-text-bottom", "appearance-none", "aspect-auto", diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 92e6d9d..9e8a742 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -39,7 +39,7 @@ {{- . | markdownify -}} {{- if strings.Contains . "Hextra" -}} - {{- partial "utils/icon.html" (dict "name" "hextra" "attributes" `height=1em class="inline-block ml-1 align-text-bottom"`) -}} + {{- partial "utils/icon.html" (dict "name" "hextra" "attributes" `height=1em class="inline-block ml-1 align-[-2.5px]"`) -}} {{- end -}}