From 4946275b48bfc92ce4b420e36c6cf48694776bbc Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sat, 1 Mar 2025 19:19:30 +0100 Subject: Start work on Git "un"helper functions. Worse is better. I'll revisit the OCaml Git package once I'm more comfortable with OCaml overall. --- lib/static/styles.css | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'lib/static') diff --git a/lib/static/styles.css b/lib/static/styles.css index 680a6b1..cd87fc1 100644 --- a/lib/static/styles.css +++ b/lib/static/styles.css @@ -1,18 +1,25 @@ body { font-family: sans-serif; + max-width: 60em; + margin: auto; + padding: 0 1em; + background-color: #181818; + color: white; } nav#top { - background-color: dimgray; + background-color: black; } 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; } nav#top ul li a { @@ -22,6 +29,19 @@ nav#top ul li a { } nav#top ul li a:hover { - background-color: #555; + background-color: white; + color: black; text-decoration: revert; } + +ul { + padding-left: 1em; +} + +li { + line-height: 1.5; +} + +a { + color: white; +} -- cgit v1.2.3