From ab51b52b548daa0feff8868a9c5680894ff13775 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 26 Oct 2022 19:02:59 -0700 Subject: ref(css): clean up and adjust a few things --- static/css/custom.css | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'static/css') diff --git a/static/css/custom.css b/static/css/custom.css index 70ce618..07825ee 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,16 +1,18 @@ body { - font-family: sans-serif; font-size: 1em; - line-height: 1.8em; - color: #0e0e0b; + color: #111; margin: 1em auto; padding: 0 0.55em; - max-width: 50rem; + max-width: 49rem; +} + +h1,h2,h3,h4 { + font-family: monospace; } h1 { color: #0e0e0b; - font-size: 2rem; + font-size: 1.4rem; margin-top: 1em; margin-bottom: 0.34em; } @@ -87,11 +89,9 @@ pre { } #meta_tags { - border-radius: 8px; padding: 0 .5rem; font-size: 0.9rem; border: 2px solid #eee; - background-color: #eee; } #meta_tags a { @@ -115,15 +115,18 @@ td{ padding-right: 0.7em; padding-top: 0.4em; padding-bottom: 0.4em; + padding-left: : 0.7em; } thead { - color: #000; - font-style: bold; - text-align: left; + color: #000; + font-style: bold; + text-align: left; } table, th, td { - font-family: monospace; - color: #000; + font-family: monospace; + border: 1px solid; + border-collapse: collapse; + color: #000; } blockquote { @@ -135,13 +138,11 @@ blockquote { } nav { - padding-right: 10px; font-size: 1.4em; display: flex; font-family: monospace; justify-content: space-between; align-items: center; - padding-top: 0.5rem; } .nav-links { @@ -149,14 +150,17 @@ nav { display: flex; } +.nav-item { + margin-left: 10px; +} + .navbar a { display: inline-block; text-decoration: none; } .navbar a:hover { - background-color: #b72d2d; - color: #fafafa; + color: #000000; text-decoration: none; } -- cgit 1.4.1