diff options
| -rw-r--r-- | layouts/_partials/footer.html | 4 | ||||
| -rw-r--r-- | layouts/baseof.html | 2 | ||||
| -rw-r--r-- | themes/aoidh/assets/aoidh.css | 20 |
3 files changed, 17 insertions, 9 deletions
diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index e3699e0..d7aac7e 100644 --- a/layouts/_partials/footer.html +++ b/layouts/_partials/footer.html @@ -19,6 +19,6 @@ <p> Powered by <a href="https://gohugo.io/">Hugo</a> and - <a href="https://freedns.afraid.org/">Free DNS</a>. - <a class="button" href="https://git.samanthony.xyz/samanthony.xyz/">Source code →</a> + <a href="https://freedns.afraid.org/">Free DNS</a>. + <a href="https://git.samanthony.xyz/samanthony.xyz/">Source code →</a> </p> diff --git a/layouts/baseof.html b/layouts/baseof.html index e5fd07d..4162138 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -4,7 +4,7 @@ {{ partial "head.html" . }} </head> <body> - <div class="content"> + <div id="content"> <header> {{ partial "header.html" . }} </header> diff --git a/themes/aoidh/assets/aoidh.css b/themes/aoidh/assets/aoidh.css index 51571f5..dafb947 100644 --- a/themes/aoidh/assets/aoidh.css +++ b/themes/aoidh/assets/aoidh.css @@ -16,7 +16,7 @@ html { body { margin: 1rem auto; - padding: .5rem 1rem .25rem; + padding: 1rem; max-width: 60rem; border: 1px solid var(--dark-yellow); box-shadow: 2px 2px var(--dark-yellow); @@ -30,9 +30,8 @@ body { background: #fff; } -.content { - margin-left: auto; - margin-right: auto; +#content { + margin: 0 auto; max-width: 45rem; } @@ -142,14 +141,23 @@ th, td { vertical-align: middle; } -footer hr { +footer { margin-top: 2rem; - margin-bottom: .4rem; +} + +footer hr { + margin-top: 0; + margin-bottom: .4em; } footer p { font-size: 90%; text-align: left; + margin-bottom: .1em; +} + +footer :last-child { + margin-bottom: 0; } hr { |