🎨 Standardise CSS class order
This commit is contained in:
parent
71765a44fe
commit
c3f89bd75c
@ -2,7 +2,7 @@
|
|||||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en{{ end }}">
|
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en{{ end }}">
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
<body
|
<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>
|
<main class="flex-grow">{{- block "main" . }}{{- end }}</main>
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
{{ $src = (.Fill "288x288").RelPermalink }}
|
{{ $src = (.Fill "288x288").RelPermalink }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<img
|
<img
|
||||||
class="mb-2 rounded-full w-36 h-36"
|
class="mb-2 rounded-full h-36 w-36"
|
||||||
width="144"
|
width="144"
|
||||||
height="144"
|
height="144"
|
||||||
alt="{{ $.Site.Author.name | default "Author" }}"
|
alt="{{ $.Site.Author.name | default "Author" }}"
|
||||||
@ -49,7 +49,7 @@
|
|||||||
{{ with $data.title }}{{ $title = . }}{{ end }}
|
{{ with $data.title }}{{ $title = . }}{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a
|
<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 }}"
|
href="{{ $href }}"
|
||||||
target="{{ $target }}"
|
target="{{ $target }}"
|
||||||
{{ with $title }}title="{{ . }}"{{ end }}
|
{{ with $title }}title="{{ . }}"{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user