From c2046113a60e04703636f02e1f61cbf2c9995e98 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 9 Jan 2023 14:29:27 -0800 Subject: [PATCH] add top nav bar Signed-off-by: Arthur Lu --- css/style.css | 20 ++++++++++++++++++++ index.html | 6 ++++++ 2 files changed, 26 insertions(+) diff --git a/css/style.css b/css/style.css index 1cd44c2..722c0ac 100644 --- a/css/style.css +++ b/css/style.css @@ -62,4 +62,24 @@ p { .btn-group button:hover { background-color: #008800; +} + +nav { + background-color: black; +} + +nav a { + float: left; + color: #00ff00; + text-align: center; + padding: 8px; +} + +nav a:hover { + background-color: #008800; +} + +nav a.active { + background-color: black; + color: white; } \ No newline at end of file diff --git a/index.html b/index.html index 93f38ff..f196b32 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,12 @@ +
+ +