SAE_S1.05_S1.06/css/styles.css

379 lines
6.2 KiB
CSS
Raw Normal View History

2024-01-13 00:52:08 +01:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
2024-01-13 00:52:08 +01:00
padding-top: 80px;
font-family: 'Arial', sans-serif;
2024-01-12 23:13:50 +01:00
background-color: #F2F2F2;
2024-01-13 00:52:08 +01:00
flex-direction: column;
min-height: 100vh;
}
2024-01-12 21:09:55 +01:00
.navbar {
background-color: #4A305A;
2024-01-12 21:09:55 +01:00
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
2024-01-13 00:52:08 +01:00
position: fixed;
width: 100%;
top: 0;
z-index: 1000; /* Assure que l'en-tête reste au-dessus du contenu */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ajoute une ombre légère pour le style */
}
2024-01-13 00:52:08 +01:00
2024-01-12 21:09:55 +01:00
.logo img {
2024-01-12 23:13:50 +01:00
width: 4.7cm;
height: 1.7cm;
2024-01-13 00:52:08 +01:00
margin-left: 1cm;
}
2024-01-12 21:09:55 +01:00
.reserve-btn {
background-color: #FFB039;
padding: 10px 20px;
border-radius: 10px;
2024-01-12 23:13:50 +01:00
color: #4A305A;
}
2024-01-12 21:09:55 +01:00
.burger-menu {
display: none;
cursor: pointer;
}
2024-01-12 21:09:55 +01:00
.burger-menu div {
width: 25px;
height: 3px;
background-color: white;
margin: 6px 0;
}
2024-01-12 23:13:50 +01:00
@media screen and (max-width: 768px) {
2024-01-12 21:09:55 +01:00
.nav-links {
display: none;
2024-01-12 21:09:55 +01:00
flex-direction: column;
align-items: center;
position: absolute;
top: 60px;
left: 0;
2024-01-12 21:09:55 +01:00
width: 100%;
background-color: #4A305A;
z-index: 1;
}
2024-01-12 21:09:55 +01:00
.nav-links.show {
display: flex;
}
2024-01-12 21:09:55 +01:00
.nav-link {
margin: 10px 0;
}
2024-01-12 21:09:55 +01:00
.burger-menu {
display: block;
}
2024-01-15 18:32:55 +01:00
.footer-content {
flex-wrap: wrap;
}
.footer-section {
flex: 1;
}
}
2024-01-12 23:13:50 +01:00
.content {
max-width: 1380px;
margin: 15px auto;
padding: 0 20px;
background-color: white;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.chef-section {
text-align: center;
padding: 20px 0;
}
.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: 8px;
margin-bottom: 10px;
}
.chef h3 {
margin-top: 10px;
color: #4A305A;
}
.chef p {
color: #333;
font-size: 16px;
line-height: 1.5;
}
.voir-plus {
text-align: center;
margin-top: 20px;
}
.voir-plus a.voir-plus-btn {
display: inline-block;
background-color: #FFB039;
padding: 10px 20px;
border-radius: 10px;
color: white;
text-decoration: none;
margin-top: 10px;
}
h2 {
color: #4A305A;
text-align: center;
}
p {
color: #333;
font-size: 16px;
line-height: 1.5;
}
2024-01-13 17:34:15 +01:00
.bienvenue-section {
2024-01-12 23:13:50 +01:00
margin-top: 20px;
text-align: center;
}
2024-01-13 17:34:15 +01:00
.bienvenue-video {
2024-01-13 13:26:02 +01:00
width: 80%; /* largeur de la fenêtre de la vidéo */
2024-01-12 23:13:50 +01:00
max-height: 400px;
margin-bottom: 20px;
2024-01-15 18:32:55 +01:00
margin-top: 10px;
2024-01-13 00:52:08 +01:00
}
.plats-populaires {
text-align: center;
padding: 20px 0;
}
.plat-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.plat {
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;
}
.plat img {
max-width: 100%;
border-radius: 8px;
margin-bottom: 10px;
}
.plat h3 {
margin-top: 10px;
color: #4A305A;
}
.plat p {
color: #333;
font-size: 16px;
line-height: 1.5;
}
#scrollTopBtn {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
2024-01-13 17:34:15 +01:00
background-color: #FFB039;
2024-01-13 00:52:08 +01:00
border: none;
border-radius: 5px;
2024-01-13 17:34:15 +01:00
font-size: 25px;
2024-01-13 00:52:08 +01:00
padding: 10px;
cursor: pointer;
}
2024-01-13 13:26:02 +01:00
.container {
position: relative;
margin-bottom: 120px;
}
.footer {
background-color: #4A305A; /* Couleur de fond du pied de page */
2024-01-13 13:26:02 +01:00
color: white;
padding: 20px; /* Hauteur du pied de page */
2024-01-13 13:26:02 +01:00
text-align: center;
}
2024-01-15 18:32:55 +01:00
.footer p {
color: white;
}
2024-01-13 13:26:02 +01:00
.footer-content {
display: flex;
justify-content: space-around;
}
.footer-section {
text-align: center;
margin: 10px;
}
.footer-signature {
order: 1;
2024-01-13 17:34:15 +01:00
}
2024-01-15 18:32:55 +01:00
.logo-reseaux {
2024-01-13 17:34:15 +01:00
display: flex;
align-items: center;
2024-01-15 18:32:55 +01:00
justify-content: center; /* Centrer les icônes sur les petits écrans */
margin-top: 10px; /* Ajouter une marge pour séparer les icônes du texte */
2024-01-13 17:34:15 +01:00
}
2024-01-15 18:32:55 +01:00
.logo-reseaux img {
width: 30px;
height: 30px;
2024-01-13 13:26:02 +01:00
}
.footer-section h3 {
margin-bottom: 10px;
2024-01-13 13:26:02 +01:00
}
.footer-section img {
width: 30px;
2024-01-13 13:26:02 +01:00
height: 30px;
margin-right: 5px;
2024-01-13 13:26:02 +01:00
}
2024-01-15 18:32:55 +01:00
.client-evaluations {
2024-01-13 17:34:15 +01:00
text-align: center;
padding: 20px 0;
}
2024-01-15 18:32:55 +01:00
.client-evaluation-container {
2024-01-13 17:34:15 +01:00
display: flex;
overflow-x: auto;
justify-content: center;
margin-top: 20px;
}
2024-01-15 18:32:55 +01:00
.client-evaluation {
2024-01-13 17:34:15 +01:00
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;
}
2024-01-15 18:32:55 +01:00
.client-evaluation img {
2024-01-13 17:34:15 +01:00
max-width: 100%;
border-radius: 50%;
margin-bottom: 10px;
}
2024-01-15 18:32:55 +01:00
.client-evaluation p {
2024-01-13 17:34:15 +01:00
color: #333;
font-size: 16px;
line-height: 1.5;
}
2024-01-15 18:32:55 +01:00
.client-evaluation h3 {
2024-01-13 17:34:15 +01:00
margin-top: 10px;
color: #4A305A;
}
.evaluation {
color: #FFB039;
font-size: 18px;
}
.restaurant-tables {
max-width: 100%;
height: auto;
margin-top: 20px;
border-radius: 8px;
}
2024-01-15 18:32:55 +01:00
/* MENU DROPDOWN -> Pour à propos*/
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #FFB039;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
border-radius: 8px;
z-index: 1;
}
.dropdown-content a {
text-decoration: none;
padding: 12px 16px;
display: block;
transition: background-color 0.3s, color 0.3s;
}
.dropdown:hover .dropdown-content {
display: block;
}
/*Couleur des éléments de la nav bar Accueil, Menu, À propos ... */
.nav-links a {
color: white;
text-decoration: none; /*Enlève le soulignement hyperlink*/
margin: 0 15px;
}
/* Couleur de survol de Accueil, Menu, À propos, and Contact */
.nav-links a:hover,
.dropdown:hover .dropdown-btn {
color: #FFB039;
}
/* Couleur du survol de Réserver une table, FAQ, Nos chefs, Nos fournisseurs, Nos équipes */
.nav-link.reserve-btn:hover,
.dropdown-content a:hover {
color: #4A305A;
}