chore(style): better footer logo alignment (#212)

This commit is contained in:
c2tz 2023-11-18 16:31:30 +01:00 committed by GitHub
parent d58a8b5469
commit aad68d8afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -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;
}

View File

@ -73,6 +73,7 @@
"active:opacity-50",
"active:shadow-gray-200",
"active:shadow-sm",
"align-[-2.5px]",
"align-text-bottom",
"appearance-none",
"aspect-auto",

View File

@ -39,7 +39,7 @@
<span>
{{- . | 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 -}}
</span>
</a>