From 3e03f0aa9019db0f8663cf79c59e003fb2efee41 Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Mon, 11 May 2026 09:57:39 +0200 Subject: [PATCH] nav__item --- css/navbar.css | 32 ++++++++------------------------ includes/navbar.php | 6 +++--- 2 files changed, 11 insertions(+), 27 deletions(-) diff --git a/css/navbar.css b/css/navbar.css index e6dc180..d15a715 100644 --- a/css/navbar.css +++ b/css/navbar.css @@ -27,6 +27,14 @@ CSS für den Block Navbar mit seinen Elementen nach BEM .nav__item { position: relative; margin: 0 0.5rem; + display: inline-block; + font-weight: 600; + background: none; + border: none; + cursor: pointer; + padding: 0.5rem 1rem; + color: #fff; + text-decoration: none; } .nav__dropdown-toggle { @@ -57,30 +65,6 @@ CSS für den Block Navbar mit seinen Elementen nach BEM font-weight: 600; } -.nav__link { - display: inline-block; - font-weight: 600; - background: none; - border: none; - cursor: pointer; - padding: 0.5rem 1rem; - color: #fff; - text-decoration: none; -} - -.nav__button { - display: inline-block; - background: #fff; - border: none; - border-radius: 4px; - padding: 0.5rem 1rem; - cursor: pointer; - color: #333; - text-decoration: none; - font-weight: 600; - margin-left: 0.5rem; -} - .nav__dropdown:hover .nav__dropdown-menu { display: block; } diff --git a/includes/navbar.php b/includes/navbar.php index d783505..ed2d1b5 100644 --- a/includes/navbar.php +++ b/includes/navbar.php @@ -58,13 +58,13 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden
\ No newline at end of file