Création des répertoires js, html, css etc...
This commit is contained in:
parent
7ea6a7a60c
commit
829795f10a
@ -4,37 +4,6 @@ body {
|
||||
font-family: 'Arial', sans-serif;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
padding: 10px 0; /* Ajustez le padding-top pour déplacer légèrement l'image du logo vers le bas */
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#logo {
|
||||
display: flex;
|
||||
align-items: center; /* Centrer verticalement le contenu du logo */
|
||||
}
|
||||
|
||||
#logo img {
|
||||
width: 20%; /* Utiliser 100% de la largeur du conteneur */
|
||||
height: auto; /* Maintenir le rapport hauteur/largeur pour éviter la distorsion */
|
||||
margin-top: 5px; /* Ajustez la marge pour déplacer légèrement l'image du logo vers le bas */
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
align-items: center; /* Centrer verticalement les éléments de la barre de navigation */
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: #4A305A;
|
||||
color: #fff;
|
||||
@ -44,9 +13,15 @@ header {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
header #logo {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
#logo {
|
||||
display: flex;
|
||||
align-items: center; /* Centrer verticalement le contenu du logo */
|
||||
}
|
||||
|
||||
#logo img {
|
||||
max-width: 80px; /* Ajuste la taille du logo à 80 pixels (ou une valeur qui convient) */
|
||||
height: auto;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
nav {
|
||||
@ -86,32 +61,6 @@ nav a {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#hero {
|
||||
background: url('hero-image.jpg') center/cover;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 100px 0;
|
||||
}
|
||||
|
||||
#hero h1 {
|
||||
font-size: 48px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#hero p {
|
||||
font-size: 18px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#hero a {
|
||||
display: inline-block;
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
padding: 10px 20px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
nav {
|
||||
flex-direction: column;
|
@ -3,14 +3,14 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<link rel="stylesheet" href="../css/styles.css">
|
||||
<title>Neo Eat - Acceuil</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header>
|
||||
<div class="container">
|
||||
<div id="logo"><img src="img/LogoNeoEat.png" alt="LogoNeoEat"></div>
|
||||
<div id="logo"><img src="../img/LogoNeoEat.png" alt="LogoNeoEat"></div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#">Accueil</a></li>
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
<!-- Ajoutez d'autres sections pour présenter votre menu, l'équipe, etc. -->
|
||||
|
||||
<script src="script.js"></script>
|
||||
<script src="../js/script.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 14 KiB |
BIN
img/LogoNeoEat7.png
Normal file
BIN
img/LogoNeoEat7.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
Reference in New Issue
Block a user