From eede39230cc13c06d2258a12c7213f2f60f3bd8a Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 9 Jan 2023 14:36:50 -0800 Subject: [PATCH] fix nav styling Signed-off-by: Arthur Lu --- css/style.css | 10 ++++++---- index.html | 16 +++++++++------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/css/style.css b/css/style.css index 722c0ac..18d4499 100644 --- a/css/style.css +++ b/css/style.css @@ -64,15 +64,17 @@ p { background-color: #008800; } -nav { - background-color: black; +.nav-container { + background-color: #00ff00; } nav a { + background-color: #00ff00; float: left; - color: #00ff00; + color: black; text-align: center; padding: 8px; + text-decoration: none; } nav a:hover { @@ -80,6 +82,6 @@ nav a:hover { } nav a.active { - background-color: black; + background-color: #008800; color: white; } \ No newline at end of file diff --git a/index.html b/index.html index f196b32..2559128 100644 --- a/index.html +++ b/index.html @@ -5,16 +5,18 @@ tronnet - client - + -
- -
+
+ +