diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/global.css | 49 |
1 files changed, 47 insertions, 2 deletions
diff --git a/static/global.css b/static/global.css index 2c1f553..5625968 100644 --- a/static/global.css +++ b/static/global.css @@ -4,6 +4,51 @@ * No page-specific settings should go in this file. */ -html { - background-color: red; +* { + box-sizing: border-box; +} + +html, body { + padding: 0; + margin: 0; +} + +/* Sticky footer + * See: https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Sticky_footers + */ +body { + min-height: 100vh; + display: grid; + grid-template-rows: auto 1fr auto; +} + +.navbar { + padding: 1.5rem; + background-color: #eee; + + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; +} + +.navbar__links { + list-style: none; + padding: 0; + + display: flex; + flex-direction: row; + gap: 1.5em; +} + +.navbar__links__item { + /* remove default link styling */ + color: inherit; + text-decoration: none; +} + +footer { + text-align: center; + font-size: small; + margin: 1rem; } |