diff options
| -rw-r--r-- | assets/css/main.css | 10 | ||||
| -rw-r--r-- | layouts/partials/list/default.html | 4 |
2 files changed, 9 insertions, 5 deletions
diff --git a/assets/css/main.css b/assets/css/main.css index 36ec9fa..cbd7d77 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -106,7 +106,7 @@ p, hr, pre, dl, details { margin-bottom: 1.25rem; } -article > h1 { +article > h1, article > h2 { margin-bottom: 0.25rem; } @@ -349,14 +349,18 @@ button { color: var(--color-light); } -#content h1 > a { +#content article > h2 { + line-height: 1.75rem; +} + +#content h2 > a { text-decoration: none; font-size: 1.25rem; font-weight: 700; color: var(--color-heading); } -#content h1 > a:hover { +#content h2 > a:hover { text-decoration: underline; color: var(--color-heading); } diff --git a/layouts/partials/list/default.html b/layouts/partials/list/default.html index f1eef3d..799e7d7 100644 --- a/layouts/partials/list/default.html +++ b/layouts/partials/list/default.html @@ -1,7 +1,7 @@ <article class="flex flex-col gap-1"> - <h1> + <h2> <a href="{{ .Permalink }}">{{ .Title }}</a> - </h1> + </h2> <span class="date"> <time datetime="{{ .PublishDate }}" title='{{ .PublishDate.Format "Mon, Jan 2, 2006, 3:04 PM MST" }}'> |
