diff options
author | Marius Peter <marius.peter@tutanota.com> | 2025-03-16 16:27:52 +0100 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2025-03-16 16:27:52 +0100 |
commit | 1d1b8113e117be008573a82c5596ac1e25799307 (patch) | |
tree | 54ad1526a6c77a2f587bd4f79e0fe4c771af7761 /lib/static | |
parent | 346d17a1f4c78a05fb1fe010eb1a9e646c8b04a3 (diff) |
Restore global stylesheet.
Mistakenly clobbered my work yesterday...
Diffstat (limited to 'lib/static')
-rw-r--r-- | lib/static/styles.css | 54 |
1 files changed, 49 insertions, 5 deletions
diff --git a/lib/static/styles.css b/lib/static/styles.css index 680a6b1..de2c3db 100644 --- a/lib/static/styles.css +++ b/lib/static/styles.css @@ -1,18 +1,29 @@ +@import url("fonts/Inter-4.1/web/inter.css"); + body { - font-family: sans-serif; + font-family: Inter, sans-serif; + max-width: 50em; + margin: auto; + padding: 0 1em; + background-color: #181818; + color: white; } nav#top { - background-color: dimgray; + background-color: black; + border-radius: 0.25rem; } nav#top ul { - display: flex; + display: flex; + flex-wrap: wrap; list-style-type: none; + padding: 0; } nav#top ul li { - padding: 1em 0; + padding: 0.5em 0; + border-radius: 0.25rem; } nav#top ul li a { @@ -22,6 +33,39 @@ nav#top ul li a { } nav#top ul li a:hover { - background-color: #555; + background-color: white; + color: black; +} + +nav#top ul li#active { + border-radius: 0.25rem; + background-color: rgb(194, 79, 30); +} + +nav#top ul li#active a:hover { + border-radius: 0.25rem; + background-color: rgb(132, 40, 0); + color: white; +} + +div#main ul { + padding-left: 0; + list-style: none; +} + +div#main ul li { + border: 1px solid #303030; +} + +div#main ul li a { + display: block; + color: white; + text-decoration: none; + padding: 0.5em; +} + +div#main a:hover { + background-color: white; + color: black; text-decoration: revert; } |