From d969b65cdd5d241fa8403f4da0a7e24fc3122536 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Thu, 2 Sep 2021 08:44:28 -0700 Subject: [PATCH] Bit of styling fixes --- themes/maddybook/layouts/limerent-object/list.html | 1 + themes/maddybook/layouts/partials/head.html | 1 + themes/maddybook/static/css/main.css | 11 +++++++++++ 3 files changed, 13 insertions(+) diff --git a/themes/maddybook/layouts/limerent-object/list.html b/themes/maddybook/layouts/limerent-object/list.html index ac211d9..f4bf0ee 100644 --- a/themes/maddybook/layouts/limerent-object/list.html +++ b/themes/maddybook/layouts/limerent-object/list.html @@ -1,5 +1,6 @@ {{ define "main" }}
+

Limerent Object

{{ $paginator := .Paginate (.Pages) 1 }} {{ template "_internal/pagination.html" . }} {{ range $paginator.Pages }} diff --git a/themes/maddybook/layouts/partials/head.html b/themes/maddybook/layouts/partials/head.html index 5a65e18..abab3aa 100644 --- a/themes/maddybook/layouts/partials/head.html +++ b/themes/maddybook/layouts/partials/head.html @@ -1,4 +1,5 @@ {{ if .Title }}{{ .Title }} | {{ end }}A Wildness of the Heart by Madison Scott-Clary + diff --git a/themes/maddybook/static/css/main.css b/themes/maddybook/static/css/main.css index dbdb802..627d80e 100644 --- a/themes/maddybook/static/css/main.css +++ b/themes/maddybook/static/css/main.css @@ -85,3 +85,14 @@ h1, h2 { font-family: "Tom's New Roman", sans-serif; text-align: center; } + +@media only screen and (max-width: 640px) { + body { + padding: 0; + margin: 0; + } + main, header, footer { + width: 100%; + padding: 0 2rem; + } +}