From c278b801655ee712d4b4049ed47db55dc696d170 Mon Sep 17 00:00:00 2001 From: Geoff Doty Date: Sat, 20 Jan 2024 15:14:14 -0500 Subject: [PATCH] retake on nav --- src/stylelite.css | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/stylelite.css b/src/stylelite.css index 85b33a8..f187100 100644 --- a/src/stylelite.css +++ b/src/stylelite.css @@ -324,23 +324,21 @@ textarea { nav { display: flex; justify-content: space-between; + padding-bottom: .25rem; border-bottom: 1px solid var(--theme); } -nav > ul { - margin: 0 0 0 -1rem; - display: flex; - list-style-type: none; - margin-bottom: .25rem; +nav ul {display: flex;list-style-type: none;} +nav li {padding-left: 1rem;} +nav a {text-decoration: none;} + +nav.navbar { + padding: 1rem; + background: var(--theme); + color: var(--white); } -nav ul li a { - font-size: 1rem; - padding: .5rem; - text-decoration: none; -} - -nav ul li a:hover {color: var(--dark);} +nav.navbar a {color: var(--white)} /* Grid System */