1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
KyFlo/Assets/css.css
KEZEL BENOIT p1907091 ae49bdad9f a lot of change
2019-12-04 11:57:53 +01:00

765 lines
12 KiB
CSS

/*204, 25, 25*/
/*==========================================================================================*/
/*BODY + GENERAL*/
body {
background-color: rgb(0, 0, 0);
background-image: linear-gradient(rgba(107, 6, 6, 0.5) 2px, transparent 2px), linear-gradient(90deg, rgba(80, 7, 7, 0.5) 2px, transparent 2px), linear-gradient(rgba(61, 61, 61, 0.28) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 63, 63, 0.28) 1px, transparent 1px);
background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
margin: 0;
font-family: 'Roboto', sans-serif;
}
#content {
margin-left: 8vw;
margin-right: 8vw;
}
h1 {
font-size: 2vw;
color: white;
}
body>#bienvenue>h1 {
font-size: 2vw;
color: white;
text-align: center;
}
body>#bienvenue>h2 {
font-size: 1.5vw;
color: lightgrey;
text-align: center;
}
button#hautPage {
position: fixed;
z-index: 1;
left: 95%;
top: 90%;
padding: 1vw 1vw;
background-color: rgba(0, 0, 0, 0.5);
border: 0.1vw solid rgb(204, 25, 25);
color: white;
}
button#hautPage>img {
width: 2vw;
}
/*=====================================*/
/*NAVBAR*/
a#kyflo {
font-size: 3vw;
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: 9%;
padding: 1.2vw 1vw;
border-left: 0.15vw solid rgb(204, 25, 25);
margin-right: -6%;
}
a#panier>h3{
margin-top :0.5vw;
margin-bottom: 0;
color: white;
}
#loupe {
float: right;
display: block;
color: rgb(255, 255, 255);
text-align: center;
margin-top: 1.2vw;
margin-right: 2vw;
padding: 0.5vw;
border: 0.1vw solid rgb(204, 25, 25);
text-decoration: none;
font-size: 1vw;
font-weight: bold;
transform: none;
border-left: none;
background-color: rgb(204, 25, 25);
}
#loupe:hover {
color: rgb(0, 0, 0);
transition-duration: 0.2s;
}
.topnav {
overflow: hidden;
background-color: rgba(22, 22, 22, 0.61);
border-bottom: 0.15vw solid rgb(204, 25, 25);
}
.topnav a {
float: left;
display: block;
color: rgb(255, 255, 255);
text-align: center;
padding: 1.8vw 1.4vw;
text-decoration: none;
font-size: 1vw;
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: 1.8vw 2.5vw;
}
.topnav a#kyflo:hover {
color: white;
background-color: rgb(22, 22, 22);
}
.topnav a#panier:hover {
background-color: black;
margin-right: -2%;
}
.topnav input[type=text] {
float: right;
padding: 0.5vw;
width: 40%;
border: 0.1vw solid rgb(204, 25, 25);
font-size: 1vw;
margin-top: 1.2vw;
background-color: rgb(22, 22, 22);
}
/*======================================*/
/*FOOTER*/
footer {
margin-top: 8vw;
bottom: 0;
}
footer>div>table {
width: 100%;
border-top: 0.1vw solid rgb(204, 25, 25);
background-color: rgb(27, 27, 27);
margin: auto;
padding: 0vw 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%;
}
/*======================================*/
/*FLEX CONTAINER*/
.flex-container {
display: flex;
flex-wrap: wrap;
}
.flex-container>div {
background-color: rgba(59, 59, 59, 0.5);
width: 30%;
margin: 1vw;
text-align: center;
line-height: 3vw;
font-size: 30px;
}
.flex-container>div>a>h3 {
text-align: left;
font-size: 2vw;
margin-left: 35%;
color: lightgrey;
}
.flex-container>div>a>h4 {
text-align: left;
font-size: 1.5vw;
margin-left: 35%;
color: lightgrey;
}
.flex-container>div>a>img {
width: 30%;
margin-top: 10%;
}
/*==========================================*/
/*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: rgb(204, 25, 25);
}
#Merci>img {
display: block;
margin-left: auto;
margin-right: auto;
width: 10%;
margin-top: 5%;
float: none;
}
/*==========================================*/
/*==========================================*/
/* CSS DESCRIPTION PRODUIT */
/*EN TETE PRODUIT*/
#Produit {
margin-top: 5%;
}
#Produit>h1 {
text-align: left;
font-size: 4vw;
margin-left: 25%;
}
#Produit>h2#barre {
text-decoration: line-through;
}
#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;
}
/*=====================*/
/* MOSAIQUE PRODUITS*/
#produits {
border: 0.1vw solid red;
background-color: rgba(0, 0, 0, 0.5);
margin-top: 3vw;
padding: 2vw 2vw;
}
img {
width: 30%;
float: left;
}
h3,
h4 {
color: white;
}
h3:hover {
color: rgb(204, 25, 25);
transition-duration: 0.2s;
}
/*================================================*/
/*CARACTERISTIQUES PRODUIT*/
#Carac {
width: 100%;
border-top: 0.2vw solid rgb(204, 25, 25);
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%;
border-radius: 50%;
}
#Client>div {
margin-bottom: 3%;
border-bottom: 0.1vw solid rgb(134, 134, 134);
margin-right: 8%;
}
/*================================================*/
/*ESPACE LAISSER COMMENTAIRE*/
#Coms {
width: 95%;
border-top: 0.2vw solid rgb(204, 25, 25);
margin-top: 5%;
padding: 2vw 2vw;
}
#Coms>h1 {
font-size: 3vw;
color: white;
}
#Coms>h2 {
font-size: 3vw;
color: white;
border-top: 0.2vw dashed rgb(204, 25, 25);
text-align: center;
}
#Coms {
background-color: rgba(0, 0, 0, 0.5);
border: 0.1vw solid rgb(204, 25, 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,
input[placeholder="Question, suggestion, remarque"],
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 rgb(204, 25, 25);
color: white;
display: block;
margin-left: auto;
margin-right: auto;
}
input[type=submit]:hover {
color: rgb(255, 255, 255);
background-color: rgba(204, 25, 25, 0.5);
transition-duration: 0.5s;
border: 0.15vw solid rgb(0, 0, 0);
border-radius: 2vw;
}
h1#valider {
text-align: center;
}
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;
}
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.5);
border: 0.1vw solid rgb(204, 25, 25);
margin-top: 5vw;
}
input[type=number],
select {
border: 0.1vw solid white;
}
table#basket {
margin-top: 5vw;
background-color: rgba(0, 0, 0, 0.5);
text-align: center;
border: 0.1vw solid rgb(204, 25, 25);
}
tr#cent>th {
text-align: center;
}
td#total {
text-align: right;
color: rgb(204, 25, 25);
font-size: 2vw;
font-weight: bold;
padding: 0vw 2vw;
}
/*=================================*/
/*CONTACT*/
#content>h1 {
text-align: center;
font-size: 3vw;
}
#content>form>h2 {
font-size: 1.5vw;
color: lightgrey;
}
table#reseaux {
width: 70%;
margin: auto;
}
tr#res>td {
text-align: center;
}
tr#res>td>a>img {
float: none;
}
/*===========================*/
/*QUI SOMMES NOUS*/
#content>h1 {
margin-top: 3vw;
}
#content>h2 {
font-size: 2vw;
color: white;
text-align: left;
margin-top: 5vw;
}
#content>ul>li>h3 {
font-size: 1.5vw;
color: lightgrey;
}
table#equipe {
width: 100%;
}
tr#equ>td {
text-align: center;
}
tr#equ>td>img {
float: none;
width: 20%;
border: 0.2vw solid rgb(204, 25, 25);
}
/*=========================*/
/*====================================*/