From 8b39fa160e8a0708caa865a939e3ac4507b58258 Mon Sep 17 00:00:00 2001 From: xoy Date: Sun, 29 Jan 2023 19:45:51 +0100 Subject: [PATCH] am css gearbeitet --- web/styles/main.css | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/web/styles/main.css b/web/styles/main.css index 4a2ac7b..338c064 100644 --- a/web/styles/main.css +++ b/web/styles/main.css @@ -65,20 +65,32 @@ header { } nav { + padding: 10px 0 10px 0; background-color: var(--nav-background-color); } -nav li a { +nav ul { + list-style: none; + text-align: center; +} + +nav ul li { + display: inline-block; + padding: 0 2vw 0 2vw; + font-size: 125%; +} + +nav ul li a { color: white !important; text-decoration: none; } -nav li a.active { +nav ul li a.active { text-decoration: underline; text-decoration-style: double; } -nav li a:visited { +nav ul li a:visited { color: white !important; } @@ -102,21 +114,6 @@ header img { margin-bottom: 10px; } -nav { - padding: 10px 0 10px 0; -} - -nav ul { - list-style: none; - text-align: center; -} - -nav ul li { - display: inline-block; - padding: 0 2vw 0 2vw; - font-size: 125%; -} - main { max-width: 950px; min-height: 100vh; @@ -178,5 +175,6 @@ p.topic { display: block; font-size: 200%; padding: 20px 0 20px 0; + text-align: right; } } \ No newline at end of file