diff options
Diffstat (limited to 'htdocs')
| -rw-r--r-- | htdocs/base.html | 9 | ||||
| -rw-r--r-- | htdocs/css/style.css | 19 |
2 files changed, 27 insertions, 1 deletions
diff --git a/htdocs/base.html b/htdocs/base.html index 7a3c97f..f96c9c7 100644 --- a/htdocs/base.html +++ b/htdocs/base.html @@ -33,5 +33,14 @@ <main> {{ template "body_content" }} </main> + <footer> + <hr> + <p>Copyright 2022 Sam Anthony</p> + <p> + samanthony.xyz is free software, licensed under the + <a href="https://www.gnu.org/licenses/gpl.txt"> + GNU GPL. + </a> + </p> </body> </html> 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; +} |