From 6e449912aba7271f8353c35faf746812ce9adfa5 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Sun, 10 May 2026 14:23:03 +0200 Subject: [PATCH] navbar.php + navbar.css update --- css/navbar.css | 10 +-- includes/navbar.php | 150 +++++++++++++++++++++++++------------------- 2 files changed, 89 insertions(+), 71 deletions(-) diff --git a/css/navbar.css b/css/navbar.css index 90e9d52..aa348c2 100644 --- a/css/navbar.css +++ b/css/navbar.css @@ -1,3 +1,6 @@ +/* +CSS für den Block Navbar mit seinen Elementen nach BEM + */ .nav { display: flex; justify-content: space-between; @@ -50,13 +53,6 @@ text-decoration: none; } -.nav__link:not(:last-child)::after, -.nav__dropdown:not(:last-child)::after { - content: '|'; - margin: 0 0.75rem; - color: #ccc; -} - /* CSS von https://responsivenavigation.net/examples/simple-toggle/ */ /* .nav { width:100%; background-color: #fff; border-bottom: 1px solid #ccc; } diff --git a/includes/navbar.php b/includes/navbar.php index f00448f..147acdc 100644 --- a/includes/navbar.php +++ b/includes/navbar.php @@ -2,72 +2,94 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden --> \ No newline at end of file