From d834168573841d5fe7ea6bfaea0bc865bf86e71c Mon Sep 17 00:00:00 2001 From: stiti Date: Wed, 17 Jan 2024 18:47:54 +0100 Subject: [PATCH] Correction de bugs --- css/nos-chefs.css | 31 ++++++++++++++++++++++--------- css/plan-du-site.css | 6 +++--- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/css/nos-chefs.css b/css/nos-chefs.css index 5f42c2a..ae7ee67 100644 --- a/css/nos-chefs.css +++ b/css/nos-chefs.css @@ -8,18 +8,31 @@ text-align: center; } -.chef-item img { + +.chef-container { + display: flex; + flex-wrap: wrap; + justify-content: center; +} + +.chef { + flex: 1; + max-width: 300px; + margin: 10px; + text-align: center; + background-color: #FFFFFF; + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + padding: 15px; +} + +.chef img { max-width: 100%; - border-radius: 50%; + border-radius: 8px; margin-bottom: 10px; } -.chef-item h2 { +.chef h3 { + margin-top: 10px; color: #4A305A; } - -.chef-item p { - color: #333; - font-size: 16px; - line-height: 1.5; -} diff --git a/css/plan-du-site.css b/css/plan-du-site.css index eb5a00b..5e789e8 100644 --- a/css/plan-du-site.css +++ b/css/plan-du-site.css @@ -6,16 +6,16 @@ .plan-du-site-section h2 { color: #1a1a1a; font-size: 28px; - margin-bottom: 20px; + margin-bottom: 30px; } .plan-du-site-section ul { - list-style-type: disc; + list-style-type: disc; padding: 0; } .plan-du-site-section li { - margin-bottom: 10px; + margin-bottom: 20px; /* Ajout de marge en bas de chaque élément de la liste */ } .plan-du-site-section a {