Dernières modifications de la soirée
This commit is contained in:
parent
a934303d08
commit
bc38138459
@ -1,8 +1,18 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-top: 80px;
|
||||
font-family: 'Arial', sans-serif;
|
||||
background-color: #F2F2F2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
@ -11,12 +21,18 @@ body {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
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 */
|
||||
}
|
||||
|
||||
|
||||
.logo img {
|
||||
width: 4.7cm;
|
||||
height: 1.7cm;
|
||||
margin-left: 2cm;
|
||||
margin-left: 1cm;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
@ -163,4 +179,62 @@ p {
|
||||
width: 90%; /* largeur de la fenêtre de la vidéo */
|
||||
max-height: 400px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.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;
|
||||
background-color: #4A305A;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#scrollTopBtn span {
|
||||
margin-right: 5px;
|
||||
font-size: 18px;
|
||||
}
|
@ -70,11 +70,39 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="robot-section">
|
||||
<!-- Ajoutez la même structure pour les photos des robots etc.......-->
|
||||
</section>
|
||||
<section class="plats-populaires">
|
||||
<h2>Nos plats les plus populaires</h2>
|
||||
<div class="plat-container">
|
||||
<div class="plat">
|
||||
<h3>Filet de bar et courgette</h3>
|
||||
<img src="../img/Plat/Plat1.png" alt="Plat 1">
|
||||
<p>Filet de bar et son bonbon de Pélardon au pistou sur son nid de spaghetti de courgette.</p>
|
||||
</div>
|
||||
|
||||
<div class="plat">
|
||||
<h3>Pâtes à la truffe</h3>
|
||||
<img src="../img/Plat/Plat2.png" alt="Plat 2">
|
||||
<p>Pâte à la truffe artisanale agrémentée de copeaux de parmesan fondants.</p>
|
||||
</div>
|
||||
|
||||
<div class="plat">
|
||||
<h3>Burger Ritz</h3>
|
||||
<img src="../img/Plat/Plat3.png" alt="Plat 3">
|
||||
<p>Burger Ritz accompagné de frites croustillantes et d'une sauce maison secrète.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="voir-plus">
|
||||
<a href="#" class="voir-plus-btn">Voir plus de plats</a>
|
||||
</div>
|
||||
</section>
|
||||
<footer class="footer">
|
||||
<p>© 2024 Neo Eat. Tous droits réservés.</p>
|
||||
</footer>
|
||||
|
||||
<script src="../js/script.js"></script>
|
||||
<button id="scrollTopBtn" onclick="scrollToTop()">
|
||||
<span>↑</span>
|
||||
</button>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
BIN
img/.DS_Store
vendored
BIN
img/.DS_Store
vendored
Binary file not shown.
BIN
img/Plat/.DS_Store
vendored
Normal file
BIN
img/Plat/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
img/Plat/Plat1.png
Normal file
BIN
img/Plat/Plat1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 599 KiB |
BIN
img/Plat/Plat2.png
Normal file
BIN
img/Plat/Plat2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
BIN
img/Plat/Plat3.png
Normal file
BIN
img/Plat/Plat3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 MiB |
17
js/script.js
17
js/script.js
@ -6,3 +6,20 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
navLinks.classList.toggle('show');
|
||||
});
|
||||
});
|
||||
|
||||
function scrollToTop() {
|
||||
window.scrollTo({
|
||||
top: 0,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}
|
||||
|
||||
// Afficher ou masquer le bouton en fonction de la position de défilement
|
||||
document.addEventListener('scroll', function () {
|
||||
const scrollTopBtn = document.getElementById('scrollTopBtn');
|
||||
if (window.scrollY > 200) {
|
||||
scrollTopBtn.style.display = 'block';
|
||||
} else {
|
||||
scrollTopBtn.style.display = 'none';
|
||||
}
|
||||
});
|
||||
|
BIN
video/.DS_Store
vendored
Normal file
BIN
video/.DS_Store
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user