From: Justin Wind Date: Mon, 2 Aug 2021 17:14:41 +0000 (-0700) Subject: minor tweaks to theme.css and html footer X-Git-Tag: v1.1.0^2~4 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6013420158d848f6411a7210585d107191fc5ee7;p=websub-hub minor tweaks to theme.css and html footer - adjusted body margins so that short pages shouldn't have a scroll bar - fixed footer links to be proper list - fixed footer list css --- diff --git a/src/template/template-helper.js b/src/template/template-helper.js index 57a3f50..eb37917 100644 --- a/src/template/template-helper.js +++ b/src/template/template-helper.js @@ -227,13 +227,15 @@ function htmlFooter() { return ` `; } diff --git a/static/theme.css b/static/theme.css index 06f03a9..3e4c4f4 100644 --- a/static/theme.css +++ b/static/theme.css @@ -5,7 +5,7 @@ html { body { background-color: #fff; font-family: Helvetica, Verdana, sans-serif; - margin: 1em; + margin: 0 1em 0 1em; min-height: 100vh; display: flex; flex-direction: column; @@ -23,12 +23,13 @@ header nav ol li a { text-align: center; } h1 { - margin-top: 1.3em; - margin-bottom: 2.5em; + margin-top: 1em; + margin-bottom: 1.25em; text-align: center; } h2 { background-color: #ddd; + padding: .25em 0 .1em 0.25em; } main { flex-grow: 1; @@ -60,9 +61,8 @@ footer { width: 100%; border-top: 4px dotted #666; } -footer nav ol { +footer ol { list-style-type: none; - margin: 0; + margin: .5em; padding: 0; - border: 1px solid #000; }