510 lines
8.5 KiB
CSS
510 lines
8.5 KiB
CSS
/*204, 25, 25*/
|
|
/*==========================================================================================*/
|
|
/*BODY + GENERAL*/
|
|
body{
|
|
background : linear-gradient(to left,#141414, #444444, #141414);
|
|
margin: 0;
|
|
}
|
|
|
|
#content{
|
|
margin-left: 8vw;
|
|
margin-right: 8vw;
|
|
}
|
|
|
|
h1{
|
|
font-size: 3vw;
|
|
color : white;
|
|
}
|
|
|
|
|
|
body>#bienvenue>h1{
|
|
font-size : 3vw;
|
|
color : white;
|
|
text-align : center;
|
|
}
|
|
body>#bienvenue>h2{
|
|
font-size : 2vw;
|
|
color : lightgrey;
|
|
text-align: center;
|
|
}
|
|
/*=====================================*/
|
|
/*NAVBAR*/
|
|
|
|
a#kyflo{
|
|
font-size: 5vw;
|
|
color: rgb(204, 25, 25);
|
|
padding: 0.5vw 1vw;
|
|
transform: none;
|
|
border : none;
|
|
}
|
|
|
|
a#nous{
|
|
border-right: 0.15vw solid rgb(204, 25, 25);
|
|
border-left: 0.15vw solid rgb(204, 25, 25);
|
|
}
|
|
|
|
#panier {
|
|
float : right;
|
|
width : 18.5%;
|
|
padding : 1.2vw 1vw;
|
|
border-left: 0.2vw solid rgb(204, 25, 25);
|
|
margin-right: -13%;
|
|
}
|
|
|
|
.topnav {
|
|
overflow: hidden;
|
|
background-color: rgba(22, 22, 22, 0.61);
|
|
box-shadow: 0vw 0.5vw 0.4vw rgba(255, 0, 0, 0.534);
|
|
}
|
|
|
|
.topnav a {
|
|
float: left;
|
|
display: block;
|
|
color: rgb(255, 255, 255);
|
|
text-align: center;
|
|
padding: 2.4vw 2vw;
|
|
text-decoration: none;
|
|
font-size: 2vw;
|
|
border-right: 0.15vw solid rgb(204, 25, 25);
|
|
font-weight: bold;
|
|
transform: skew(-0.2rad);
|
|
}
|
|
|
|
.topnav a:hover {
|
|
background-color: rgb(204, 25, 25);
|
|
color: rgb(0, 0, 0);
|
|
}
|
|
|
|
.topnav a#nous:hover, a#contactN:hover {
|
|
padding: 2.4vw 3vw;
|
|
}
|
|
|
|
.topnav a#kyflo:hover{
|
|
color: white;
|
|
background-color: rgb(22, 22, 22);
|
|
}
|
|
|
|
.topnav a#panier:hover{
|
|
background-color: black;
|
|
}
|
|
|
|
|
|
.topnav input[type=text] {
|
|
float: right;
|
|
padding: 1vw;
|
|
margin-right: 16px;
|
|
border: 0.1vw solid rgb(204, 25, 25);
|
|
font-size: 2vw;
|
|
margin-top: 1.2vw;
|
|
background-color: rgb(22, 22, 22);
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.topnav a, .topnav input[type=text] {
|
|
float: none;
|
|
display: block;
|
|
text-align: left;
|
|
width: 87%;
|
|
margin: 0;
|
|
padding: 2vw;
|
|
border: none;
|
|
transform: none;
|
|
}
|
|
.topnav a#panier, a#nous{
|
|
border: none;
|
|
}
|
|
|
|
.topnav a#nous:hover, a#contactN:hover{
|
|
padding : 2.4vw 2vw;
|
|
}
|
|
|
|
.topnav input[type=text] {
|
|
border: 1px solid rgb(190, 73, 73);
|
|
}
|
|
}
|
|
|
|
/*======================================*/
|
|
|
|
|
|
/*FOOTER*/
|
|
footer>div>table{
|
|
width: 100%;
|
|
border-top : 0.1vw solid rgb(204,25,25);
|
|
background-color: rgb(27, 27, 27);
|
|
margin : auto;
|
|
padding: 2vw 8vw;
|
|
|
|
}
|
|
a{
|
|
text-decoration: none;
|
|
color : grey;
|
|
}
|
|
|
|
a:hover{
|
|
color:rgb(204, 25, 25);
|
|
transition-duration: 0.4s;
|
|
}
|
|
|
|
tr{
|
|
border-bottom: 0.2vw solid red;
|
|
color: white;
|
|
height: 5vw;
|
|
}
|
|
|
|
th{
|
|
font-size: 2vw;
|
|
text-align : left;
|
|
border-bottom: 0.1vw solid white;
|
|
}
|
|
|
|
th#line{
|
|
border: none;
|
|
|
|
}
|
|
button#contactB{
|
|
margin: auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 1.5vw 4vw;
|
|
font-size: 1.5vw;
|
|
color : lightgrey;
|
|
background-color: rgb(27, 27, 27);
|
|
border : 0.1vw solid rgb(204, 25, 25);
|
|
transform: skew(-.312rad);
|
|
margin-bottom: 2vw;
|
|
}
|
|
|
|
button#contactB:hover{
|
|
background-color: rgb(204, 25, 25);
|
|
transition-duration: 0.5s;
|
|
border-radius: 1vw;
|
|
}
|
|
|
|
td{
|
|
width: 20%;
|
|
font-size: 1.5vw;
|
|
}
|
|
|
|
td#contact{
|
|
width: 100%;
|
|
}
|
|
/*======================================*/
|
|
|
|
/*==========================================*/
|
|
/* CSS Confirmation commentaire */
|
|
#Merci>h1{
|
|
font-size: 2.8vw;
|
|
color : white;
|
|
text-align : center;
|
|
margin-top: 7%;
|
|
}
|
|
|
|
#Merci>h2{
|
|
font-size: 2vw;
|
|
text-align : center;
|
|
margin-top: 5%;
|
|
|
|
}
|
|
#Merci>h2>a{
|
|
color : lightgrey;
|
|
text-decoration: none;
|
|
|
|
}
|
|
#Merci>h2>a:hover{
|
|
color : yellow;
|
|
}
|
|
|
|
#Merci>img{
|
|
margin-left: 45%;
|
|
width : 10%;
|
|
margin-top: 5%;
|
|
}
|
|
|
|
|
|
/*==========================================*/
|
|
|
|
/*==========================================*/
|
|
/* CSS Produits */
|
|
/*EN TETE PRODUIT*/
|
|
#Produit{
|
|
margin-top: 5%;
|
|
}
|
|
|
|
#Produit>h1{
|
|
text-align: left;
|
|
font-size : 4vw;
|
|
margin-left: 25%;
|
|
}
|
|
|
|
#Produit>h2{
|
|
text-align: left;
|
|
font-size : 3vw;
|
|
margin-left: 25%;
|
|
color : red;
|
|
}
|
|
|
|
#Produit>h2#barre{
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
#Produit>h3{
|
|
text-align: left;
|
|
font-size : 1.5vw;
|
|
margin-left: 25%;
|
|
color : lightgrey;
|
|
}
|
|
|
|
#Produit>img{
|
|
width: 20%;
|
|
float: left;
|
|
border: 0.2vw solid rgb(204, 25, 25);
|
|
border-radius: 10px;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
#Produit>button{
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
padding : 1vw 1vw;
|
|
float : right;
|
|
text-align : center;
|
|
font-size : 2vw;
|
|
margin-right: 10%;
|
|
color: white;
|
|
border : 0.1vw solid rgb(204, 25, 25);
|
|
}
|
|
|
|
#Produit>button:hover{
|
|
color: white;
|
|
background-color: rgba(204,25,25,0.5);
|
|
transition-duration: 0.5s;
|
|
border-radius: 2vw;
|
|
}
|
|
|
|
table#mosaique{
|
|
width: 100%;
|
|
margin: auto;
|
|
}
|
|
|
|
table#mosaique>tr>td>img{
|
|
width: 20%;
|
|
}
|
|
|
|
img{
|
|
width: 30%;
|
|
float: left;
|
|
}
|
|
|
|
h3,h4{
|
|
color: white;
|
|
}
|
|
|
|
h3:hover{
|
|
color: rgb(204, 25, 25);
|
|
transition-duration: 0.5s;
|
|
}
|
|
/*================================================*/
|
|
/*CARACTERISTIQUES PRODUIT*/
|
|
#Carac{
|
|
width : 100%;
|
|
border-top : 0.2vw solid white;
|
|
margin-top: 8%;
|
|
}
|
|
|
|
#Carac>h1{
|
|
font-size: 3vw;
|
|
color : white;
|
|
}
|
|
|
|
#Carac>h2{
|
|
font-size: 1.5vw;
|
|
color : lightgrey;
|
|
}
|
|
/*================================================*/
|
|
/*COMMENTAIRES CLIENT*/
|
|
|
|
#Client{
|
|
width : 100%;
|
|
margin-left: 5%;
|
|
}
|
|
|
|
#Client>div>h1{
|
|
font-size : 2vw;
|
|
color :white;
|
|
margin-left: 8%;
|
|
}
|
|
|
|
#Client>div>h2 {
|
|
font-size : 1vw;
|
|
color : yellow;
|
|
margin-left: 8%;
|
|
}
|
|
|
|
#Client>div>h3 {
|
|
font-size : 1.5vw;
|
|
color : lightgrey;
|
|
margin-left: 8%;
|
|
}
|
|
|
|
#Client>div>img{
|
|
float : left;
|
|
width: 7%;
|
|
|
|
}
|
|
#Client>div{
|
|
margin-bottom: 3%;
|
|
border-bottom: 0.1vw solid darkgrey;
|
|
}
|
|
|
|
/*================================================*/
|
|
/*ESPACE LAISSER COMMENTAIRE*/
|
|
#Coms{
|
|
width : 100%;
|
|
border-top : 0.2vw solid white;
|
|
margin-top: 5%;
|
|
}
|
|
|
|
#Coms>h1{
|
|
font-size: 3vw;
|
|
color: white;
|
|
}
|
|
|
|
#Coms>h2{
|
|
font-size: 3vw;
|
|
color: white;
|
|
border-top: 0.2vw dashed white;
|
|
text-align: center;
|
|
}
|
|
|
|
#Coms>form{
|
|
margin-left: 25%;
|
|
}
|
|
|
|
#Coms>form>h1{
|
|
font-size: 1.5vw;
|
|
color : white;
|
|
}
|
|
|
|
input, select {
|
|
width: 20%;
|
|
padding: 1vw 1vw;
|
|
font-size: 1.5vw;
|
|
background-color: rgb(27, 27, 27);
|
|
color: white;
|
|
border : 0.1vw solid rgba(255, 255, 255, 0.5);
|
|
border-radius: 3vw;
|
|
}
|
|
|
|
input:hover{
|
|
border-radius: 0vw;
|
|
transition-duration: 0.5s;
|
|
}
|
|
|
|
input:valid{
|
|
border-radius: 0vw;
|
|
transition-duration: 0.5s;
|
|
border : 0.1vw solid rgb(8, 170, 8);
|
|
}
|
|
|
|
|
|
input[placeholder=Commentaire], select {
|
|
width: 60%;
|
|
padding: 1vw 1vw;
|
|
font-size: 1.5vw;
|
|
}
|
|
|
|
input[type=submit], select {
|
|
width: 20%;
|
|
padding: 1vw 1vw;
|
|
font-size: 1.5vw;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
border : 0.15vw solid white;
|
|
color : white;
|
|
}
|
|
|
|
input[type=submit]:hover {
|
|
color: black;
|
|
background-color: rgba(255, 255, 255, 0.856);
|
|
transition-duration: 0.5s;
|
|
border-radius: 2vw;
|
|
}
|
|
|
|
table>tr>td>input{
|
|
border: 0vw solid white;
|
|
background-color: rgba(255, 255, 255, 0);
|
|
}
|
|
/*================================================*/
|
|
|
|
/*==========================================================================================*/
|
|
/*Slide des promotions*/
|
|
|
|
div#slider {
|
|
width: 100%;
|
|
max-width: 1920px;
|
|
margin: auto;
|
|
margin-top: 5%;
|
|
|
|
}
|
|
|
|
div#slider figure {
|
|
position: relative;
|
|
width: 500%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 0;
|
|
text-align: left;
|
|
}
|
|
div#slider figure img {
|
|
width: 20%;
|
|
height: auto;
|
|
float: left;
|
|
}
|
|
div#slider {
|
|
width: 100%;
|
|
max-width: 1920px;
|
|
overflow: hidden
|
|
|
|
}
|
|
|
|
@keyframes slidy {
|
|
0% {left: 0%;}
|
|
20% {left: 0%;}
|
|
25% {left: -100%;}
|
|
45% {left: -100%;}
|
|
50% {left: -200%;}
|
|
70% {left: -200%;}
|
|
75% {left: -300%;}
|
|
95% {left: -300%;}
|
|
100% {left: -400%;}
|
|
}
|
|
div#slider figure {
|
|
position: relative;
|
|
width: 500%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 0;
|
|
left: 0;
|
|
text-align: left;
|
|
animation: 16s slidy infinite;
|
|
}
|
|
|
|
/*==========================================================================================*/
|
|
|
|
/*Panier*/
|
|
|
|
form[action="commande.html"]>h1{
|
|
font-size: 1.5vw;
|
|
}
|
|
|
|
form[action="commande.html"]>input[type=text], select {
|
|
width: 50%;
|
|
padding: 1vw 1vw;
|
|
font-size: 1.5vw;
|
|
}
|
|
|
|
#livraison {
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/*=================================*/
|