From 98ea6f9da5325ab7c30ef661e8decede6632c327 Mon Sep 17 00:00:00 2001 From: distorsion Date: Fri, 24 Jan 2025 23:27:15 +0100 Subject: [PATCH] Update CSS --- site/css/simple.css | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/site/css/simple.css b/site/css/simple.css index 027f511..306b655 100644 --- a/site/css/simple.css +++ b/site/css/simple.css @@ -1,19 +1,24 @@ body{ - margin: 1em auto; - padding: 0 1em 0; + margin: 0 auto; max-width: 40em; line-height: 1.6; } -h1,h2,h3 { - line-height: 1.2; +h1 { + text-align: center; } img { width: 100%; } -footer>p { - text-align: right; +nav { + text-align: center; } -footer a { - color:darkmagenta; - background-color: darkmagenta; +nav ul { + padding: 0; +} +nav li { + display: inline; + padding: 0 1em; +} +nav li:not(:last-of-type) { + border-right: solid 0.1rem; }