diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2022-05-24 17:47:07 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2022-05-24 17:47:07 -0230 |
| commit | 05c0326c12d64995b6d7047dd2cae07e997539bd (patch) | |
| tree | e4598ced6e3a5c7993b684bc86cce22669292332 /htdocs/css/style.css | |
| parent | d1e4cb14f745298316095c6fb064f00f67bcdf88 (diff) | |
| download | samanthony.xyz-05c0326c12d64995b6d7047dd2cae07e997539bd.zip | |
add footer
Diffstat (limited to 'htdocs/css/style.css')
| -rw-r--r-- | htdocs/css/style.css | 19 |
1 files changed, 18 insertions, 1 deletions
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; +} |