From 05c0326c12d64995b6d7047dd2cae07e997539bd Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Tue, 24 May 2022 17:47:07 -0230 Subject: add footer --- htdocs/css/style.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'htdocs/css/style.css') diff --git a/htdocs/css/style.css b/htdocs/css/style.css index 7403843..58e001f 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -4,7 +4,13 @@ --highlight-color: #4acaa4; } +html { height: 100%; } + body { + display: flex; + flex-direction: column; + height: 100%; + background-color: var(--bg-color); color: var(--fg-color); @@ -12,8 +18,9 @@ body { } main { - margin: auto; + margin-bottom: auto; max-width: 80em; + padding-left: 1em; padding-right: 1em; } @@ -65,3 +72,13 @@ nav a { nav a:first-child .label { font-weight: bold; } nav .label { font-size: 0.7em; } nav .this-section { font-style: italic; } + +/* Footer */ +footer { + background-color: var(--highlight-color); + text-align: center; +} +footer a { + color: var(--fg-color); + font-style: italic; +} -- cgit v1.2.3