🎨 Standardise CSS class order

This commit is contained in:
James Panther 2022-08-19 09:17:55 +10:00
parent 71765a44fe
commit c3f89bd75c
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en{{ end }}">
{{- partial "head.html" . -}}
<body
class="flex flex-col h-screen px-6 m-auto text-lg leading-7 bg-neutral text-neutral-900 sm:px-14 md:px-24 lg:px-32 dark:bg-neutral-800 dark:text-white max-w-7xl"
class="flex flex-col h-screen px-6 m-auto text-lg leading-7 bg-neutral max-w-7xl text-neutral-900 dark:bg-neutral-800 dark:text-white sm:px-14 md:px-24 lg:px-32"
>
<main class="flex-grow">{{- block "main" . }}{{- end }}</main>
{{- partial "footer.html" . -}}

View File

@ -13,7 +13,7 @@
{{ $src = (.Fill "288x288").RelPermalink }}
{{ end }}
<img
class="mb-2 rounded-full w-36 h-36"
class="mb-2 rounded-full h-36 w-36"
width="144"
height="144"
alt="{{ $.Site.Author.name | default "Author" }}"
@ -49,7 +49,7 @@
{{ with $data.title }}{{ $title = . }}{{ end }}
{{ end }}
<a
class="link link-{{ $type }} sm:px-24 min-w-full py-2 mb-3 text-lg rounded"
class="link link-{{ $type }} mb-3 min-w-full rounded py-2 text-lg sm:px-24"
href="{{ $href }}"
target="{{ $target }}"
{{ with $title }}title="{{ . }}"{{ end }}