From 6013420158d848f6411a7210585d107191fc5ee7 Mon Sep 17 00:00:00 2001 From: Justin Wind Date: Mon, 2 Aug 2021 10:14:41 -0700 Subject: [PATCH] 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 --- src/template/template-helper.js | 16 +++++++++------- static/theme.css | 12 ++++++------ 2 files changed, 15 insertions(+), 13 deletions(-) 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; } -- 2.45.2