diff --git a/css/navbar.css b/css/navbar.css index d7d3d4a..f7e82c9 100644 --- a/css/navbar.css +++ b/css/navbar.css @@ -250,7 +250,7 @@ CSS für die navbar padding: 2rem 1rem; box-shadow: 2px 0 10px rgba(0,0,0,0.5); overflow-y: auto; - + /* Genug Abstand oben rechts, damit Links nicht hinter dem X liegen */ padding: 4rem 1.5rem 2rem 1.5rem; } @@ -285,6 +285,26 @@ CSS für die navbar border-bottom: 1px solid #333d43; } + .nav__logout-form { + margin: 0; + } + + .nav__mobile-logout-button { + color: #fff; + text-decoration: none; + font-size: 1.2rem; + font-weight: 600; + display: block; + width: 100%; + text-align: left; + padding: 0.5rem 1rem; + border: none; + border-bottom: 1px solid #333d43; + background: none; + cursor: pointer; + font-family: inherit; + } + .nav__mobile-submenu { display: block; list-style: none; diff --git a/includes/navbar.php b/includes/navbar.php index c62204e..78d7a3c 100644 --- a/includes/navbar.php +++ b/includes/navbar.php @@ -28,7 +28,12 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden