From 8600bc55feb4cbf004d406c3074ba55bc014729d Mon Sep 17 00:00:00 2001 From: Jeremy Date: Fri, 21 Nov 2025 16:04:54 -0500 Subject: [PATCH] Correctif de bug dans le menu de navigation en css --- www/css/style.css | 54 ++++++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 31 deletions(-) diff --git a/www/css/style.css b/www/css/style.css index 36f607e..f3f6d45 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -14,45 +14,37 @@ nav { justify-content: space-between; position: sticky; top: 0; + height: 60px; } nav ul { display: flex; list-style: none; + justify-content: flex-end; align-items: center; - text-align: right; -} - -nav a{ - padding: 15px 5px; - display: block; - text-decoration: none; - text-align: center; - color: white; -} - -a:hover { - border-radius: 15px; - list-style-type: none; - background-color: #273A56; - margin: 5px; -} - -nav ul li a { - color: #FFEFE5; - text-decoration: none; -} - -nav ul li { - width: 12.5%; - padding: 0 60px; - + width: 85%; } nav img { - max-width: 220px; - height: 60px; - justify-content: left; + justify-self: left; + width: 15%; +} + +nav a { + display: block; + text-decoration: none; + color: #FFEFE5; + padding: 0 16px; +} + +nav a:hover { + display: block; + align-items: center; + line-height: 39px; + + border-radius: 20px; + background-color: #273A56; + height: 40px; } footer { @@ -64,7 +56,7 @@ footer { width: 100%; } -footer p { +footer>p { margin: auto; height: 60px; }