From 9fe86b0317c1cded1224f6d35eb4dc9693e2fd60 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 9 Jan 2023 14:43:48 -0800 Subject: [PATCH] simplify nav heiarchy Signed-off-by: Arthur Lu --- css/style.css | 3 ++- index.html | 12 +++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/css/style.css b/css/style.css index 18d4499..fa6a696 100644 --- a/css/style.css +++ b/css/style.css @@ -64,7 +64,7 @@ p { background-color: #008800; } -.nav-container { +.nav { background-color: #00ff00; } @@ -79,6 +79,7 @@ nav a { nav a:hover { background-color: #008800; + color: white; } nav a.active { diff --git a/index.html b/index.html index d9807c4..651afec 100644 --- a/index.html +++ b/index.html @@ -10,14 +10,12 @@
- +
-
+