From db404a389b15dabc7a0fffce7cfb8671416de1d5 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Sat, 2 May 2026 23:13:02 +0200 Subject: [PATCH] Use classes instead of element selectors at the navbar --- src/assets/style/nav/navbar/navbar.css | 8 ++++---- src/index.html | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/assets/style/nav/navbar/navbar.css b/src/assets/style/nav/navbar/navbar.css index 6cfb302..2595634 100644 --- a/src/assets/style/nav/navbar/navbar.css +++ b/src/assets/style/nav/navbar/navbar.css @@ -1,11 +1,11 @@ -nav{ +.global-nav { display: flex; justify-content: center; padding: 10px 0; border-bottom: 1px solid #000000; } -nav ul { +.global-nav ul { display: flex; list-style: none; margin: 0; @@ -13,11 +13,11 @@ nav ul { gap: 30px; } -nav a{ +.nav-item a { text-decoration: none; color: black; } -nav a:hover{ +.nav-item a:hover { text-decoration: underline; } diff --git a/src/index.html b/src/index.html index bc75a05..768fa22 100644 --- a/src/index.html +++ b/src/index.html @@ -24,11 +24,11 @@ limitations under the License. -