Index.html
La maison du chocolat
La Maison du Chocolat.
NOUVELLE SAISON
NOUVEAUX CHOCOLAT
Par ici
qualité
Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim accusantium, vitae nesciunt est eum atque
iure provident fuga porro similique.
ecologie
Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim accusantium, vitae nesciunt est eum atque
iure provident fuga porro similique.
equitable
Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim accusantium, vitae nesciunt est eum atque
iure provident fuga porro similique.
CONTACTEZ-NOUS
Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim accusantium, vitae nesciunt est eum atque iure
provident fuga porro similique.
Style.css
/* generale */
*{
margin: 0;
padding: 0;
}
body{
font-family: Arial, Helvetica, sans-serif;
color: #444545;
}
/* Header */
header{
display: flex;
justify-content: space-evenly;
height: 50px;
line-height: 50px;
}
h1{
font-size: 30px;
font-family: 'Crete Round', serif;
}
span{
color: #e83b89;
}
nav a{
text-decoration: none;
margin-left: 10px;
color: #444545;
}
#banniere{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
background-image: url("images/main.jpg");
background-size: cover;
height: 697px;
}
.h2blanc{
margin-bottom: 30px;
color: white;
font-size: 70px;
}
.bouton
{
color: white;
background-color: #e83b89;
display: inline-block;
line-height: 50px;
text-align: center;
font-size: 20px;
text-decoration: none;
width: 150px;
height: 50px;
border-radius: 5px;
}
/* Qualité */
#qualite,p{
margin: 50px;
display: flex;
text-align: center;
}
img{
margin: 50px;
}
/* info */
#info{
background-color: #EFEFEF ;
display: flex;
justify-content: center;
padding: 100px 0;
}
.club{
background-image: url("images/article-image-1.jpg");
background-repeat: no-repeat;
width: 500px;
height: 270px;
}
.actu{
background-image: url("images/article-image-2.jpg");
background-repeat: no-repeat;
width: 500px;
height: 270px;
}
.clubactu{
background-color: rgba(255, 255, 255, 0.9);
width: 200px;
height: 100%;
font-size: 15px;
}
#info a{
height: 30px;
text-align: center;
line-height: 30px;
margin-left: 25px;
}
#info h2{
text-align: center;
padding-top: 20px;
}
hr{
width: 100px;
margin: 20px auto;
}
#info p{
margin: 20px;
}
/* contact */
#contact h2{
text-align: center;
margin-top: 20px;
}
#contact hr{
width: 300px;
background-color: aqua;
}
form{
text-align: center;
}
input[type=text],input[type=email],input[type=submit]{
font-size: 20px;
border-radius: 3px;
}
input[type=submit]{
color: white;
background-color: #e83b89;
line-height: 30px;
text-align: center;
font-size: 20px;
width: 70px;
height: 30px;
border-radius: 5px;
border: none;
}
/* Footer */
footer{
background-color:#444545;
height: 200px;
margin-top: 50px;
padding: 50px;
color: white;
display: flex;
justify-content:center;
align-items: center;
flex-direction: column;
}
#maisonchoco{
color: white;
font-size: 30px;
font-family: 'Crete Round', serif;
}
@media screen and (max-width:600px) {
header {
display: flex;
flex-direction: column;
height: 100px;
line-height: 50px;
text-align: center;
}
.h2blanc {
margin-bottom: 30px;
color: white;
font-size: 40px;
}
#qualite, p {
margin: 50px;
display: flex;
flex-direction: column;
text-align: center;
}
#info {
background-color: #EFEFEF;
display: flex;
padding: 100px 0;
flex-direction: column;
align-items: center;
}
.club {
background-image: url("images/article-image-1.jpg");
background-repeat: no-repeat;
width: 500px;
height: 270px;
margin: 10px;
border-radius: 5px;
}
.actu {
background-image: url("images/article-image-2.jpg");
background-repeat: no-repeat;
width: 500px;
height: 270px;
margin: 20px;
border-radius: 5px;
}
form{
display: flex;
flex-direction: column;
}
form div{
margin: 10px;
}
}