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

483 lines
7.6 KiB
CSS
Raw Normal View History

2019-12-13 13:48:52 +01:00
html{
scroll-behavior: smooth;
}
body{
2019-11-23 13:44:49 +01:00
margin: 0;
2019-12-11 21:33:44 +01:00
font-family: Arial, Helvetica, sans-serif;
2019-12-13 17:13:30 +01:00
background: linear-gradient(to left, rgb(4, 64, 141), rgb(70, 1, 87));
2019-12-13 13:03:48 +01:00
2019-11-23 15:49:48 +01:00
}
2019-11-23 13:44:49 +01:00
/*NAVBAR*/
2019-12-11 21:33:44 +01:00
a{
color: black;
2019-12-12 11:55:42 +01:00
text-decoration: none;
2019-11-23 13:44:49 +01:00
}
2019-12-11 21:33:44 +01:00
.header{
background-color: white;
width: 100%;
z-index: 3;
2019-12-13 13:48:52 +01:00
overflow: auto;
position: fixed;
2019-11-23 13:44:49 +01:00
}
2019-12-11 21:33:44 +01:00
.header ul{
margin: 0;
padding : 0;
2019-12-13 13:48:52 +01:00
list-style: none;
2019-12-11 21:33:44 +01:00
overflow: hidden;
background-color: white;
2019-12-04 09:54:26 +01:00
}
2019-12-11 21:33:44 +01:00
.header ul a{
display: block;
2019-12-11 21:33:44 +01:00
padding: 20px;
border-right: 1px solid #aaa;
text-decoration: none;
}
2019-12-11 21:33:44 +01:00
.header ul a:hover{
background-color: #ddd;
2019-11-20 11:09:01 +01:00
}
2019-12-13 13:03:48 +01:00
.header ul input{
display: block;
font-size: 20px;
padding: 0.1vw;
margin-left: 3%;
border: none;
border-bottom: 0.2vw solid grey;
margin-top: 0;
}
.header ul input:focus{
border-bottom: 0.2vw solid rgb(20, 178, 231);
background-color: rgba(0,0,0,0.1);
transition-duration: 0.2s;
}
2019-12-11 21:33:44 +01:00
.header .logo {
2019-11-23 13:44:49 +01:00
float: left;
display: block;
2019-12-11 21:33:44 +01:00
font-size: 2em;
text-decoration : none;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
padding: 10px 20px;
2019-11-23 13:44:49 +01:00
}
2019-12-11 21:33:44 +01:00
.header .menu {
clear: both;
max-height: 0;
transition: max-height 0.3s ease-out;
2019-11-23 13:44:49 +01:00
}
2019-12-11 21:33:44 +01:00
.header .menu-icon{
padding: 28px 20px;
position: relative;
2019-11-23 13:44:49 +01:00
float: right;
2019-12-11 21:33:44 +01:00
cursor: pointer;
2019-11-23 13:44:49 +01:00
}
2019-12-11 21:33:44 +01:00
.header .menu-icon .nav-icon{
background: #333;
2019-11-23 15:49:48 +01:00
display: block;
2019-12-11 21:33:44 +01:00
height: 2px;
width: 18px;
position: relative;
transition: background 0.2s ease-out;
2019-11-23 13:44:49 +01:00
}
2019-11-27 10:36:44 +01:00
2019-12-11 21:33:44 +01:00
.header .menu-icon .nav-icon:before{
background: #333;
content:"";
display: block;
height: 100%;
position: absolute;
2019-11-27 10:36:44 +01:00
width: 100%;
2019-12-11 21:33:44 +01:00
top: 5px;
transition: all 0.2s ease-out;
2019-11-20 11:09:01 +01:00
}
2019-12-11 21:33:44 +01:00
.header .menu-icon .nav-icon:after{
background: #333;
content:"";
display: block;
height: 100%;
position: absolute;
2019-11-27 10:36:44 +01:00
width: 100%;
2019-12-11 21:33:44 +01:00
transition: all 0.2s ease-out;
top: -5px;
2019-11-20 11:09:01 +01:00
}
2019-12-11 21:33:44 +01:00
.header .menu-btn{
display: none;
2019-11-20 11:09:01 +01:00
}
2019-12-11 21:33:44 +01:00
.header .menu-btn:checked ~ .menu{
max-height: 240px;
2019-11-20 11:09:01 +01:00
}
2019-12-11 21:33:44 +01:00
.header .menu-btn:checked ~ .menu-icon .nav-icon{
background-color: transparent;
2019-11-20 11:09:01 +01:00
}
2019-12-11 21:33:44 +01:00
.header .menu-btn:checked ~ .menu-icon .nav-icon:before{
transform: rotate(-45deg);
top: 0;
2019-11-23 15:49:48 +01:00
}
2019-12-11 21:33:44 +01:00
.header .menu-btn:checked ~ .menu-icon .nav-icon:after{
transform: rotate(45deg);
top: 0;
2019-11-20 11:09:01 +01:00
}
2019-11-27 10:36:44 +01:00
2019-12-13 13:03:48 +01:00
/*======================================== 1990 652*/
2019-11-27 10:36:44 +01:00
2019-11-20 11:09:01 +01:00
/*Slide des promotions*/
div#slider {
2019-11-27 10:36:44 +01:00
width: 100%;
2019-11-20 11:09:01 +01:00
max-width: 1920px;
margin: auto;
}
div#slider figure {
position: relative;
width: 500%;
margin: 0;
padding: 0;
font-size: 0;
text-align: left;
}
2019-11-27 10:36:44 +01:00
2019-11-20 11:09:01 +01:00
div#slider figure img {
width: 20%;
height: auto;
float: left;
}
2019-11-27 10:36:44 +01:00
2019-11-20 11:09:01 +01:00
div#slider {
width: 100%;
max-width: 1920px;
overflow: hidden
}
@keyframes slidy {
2019-12-11 21:33:44 +01:00
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%;}
2019-11-20 11:09:01 +01:00
}
2019-11-27 10:36:44 +01:00
2019-11-20 11:09:01 +01:00
div#slider figure {
position: relative;
width: 500%;
margin: 0;
padding: 0;
font-size: 0;
left: 0;
text-align: left;
animation: 16s slidy infinite;
}
2019-12-12 07:45:52 +01:00
/*============================================*/
2019-12-12 11:55:42 +01:00
/* TOUT NOS PRODUITS*/
2019-12-12 11:10:56 +01:00
.flex-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: stretch;
2019-12-13 13:03:48 +01:00
background-color: rgb(234, 234, 234);
2019-12-12 11:10:56 +01:00
}
.flex-container>div {
box-shadow: 0.3vw 0.3vw 2px grey;
2019-12-12 11:55:42 +01:00
width: 40%;
2019-12-12 11:10:56 +01:00
margin: 1vw;
text-align: center;
font-size: 30px;
}
2019-12-12 11:55:42 +01:00
.flex-container>div>a>img{
width: 50%;
2019-12-12 11:10:56 +01:00
}
2019-12-12 11:55:42 +01:00
.flex-container>div>a>p{
2019-12-13 13:48:52 +01:00
font-size: 40px;
2019-12-12 11:10:56 +01:00
}
2019-12-13 13:48:52 +01:00
.flex-container .ok:hover a>img{
width: 100%;
transition-duration: 0.5s;
2019-12-12 11:55:42 +01:00
}
2019-12-13 13:48:52 +01:00
.title{
2019-12-13 13:03:48 +01:00
padding: 5vw 1vw;
2019-12-13 17:13:30 +01:00
background-color: rgba(255, 255, 255, 0.377);
2019-12-13 13:03:48 +01:00
}
2019-12-13 13:48:52 +01:00
.title>h1{
2019-12-12 11:55:42 +01:00
font-size: 60px;
text-align: center;
2019-12-13 13:03:48 +01:00
color: rgb(0, 0, 0);
2019-12-12 11:55:42 +01:00
}
.spec{
text-align: left;
2019-12-13 13:03:48 +01:00
font-size: 25px;
2019-12-12 11:55:42 +01:00
background-color: rgba(255, 255, 255, 0.651);
color: black;
2019-12-13 13:03:48 +01:00
width: 100%;
2019-12-12 11:55:42 +01:00
}
.rupt{
2019-12-13 13:03:48 +01:00
text-align: center;
2019-12-12 11:55:42 +01:00
float: right;
2019-12-13 13:03:48 +01:00
z-index: 3;
background-color: rgba(0, 0, 0, 0.829);
color: red;
width : 100%;
font-size: 25px;
}
.out{
opacity: 0.4;
}
.top{
2019-12-13 17:13:30 +01:00
padding: 3vw 1vw;
2019-12-13 13:03:48 +01:00
}
.top>h1{
2019-12-12 11:55:42 +01:00
color: white;
2019-12-13 13:03:48 +01:00
font-size: 60px;
text-align: center;
}
.top>h2{
font-size: 50px;
color: rgb(204, 204, 204);
text-align: center;
2019-12-12 11:55:42 +01:00
}
2019-12-13 13:48:52 +01:00
/*============================================*/
/* QUI SOMMES NOUS ?*/
.content {
background-color: rgb(234, 234, 234);
padding: 1vw;
}
#nous table{
width: 100%;
margin-top: 2%;
}
#nous img{
display: block;
margin: auto;
border-radius: 1vw;
width: 30%;
margin-bottom: 3%;
}
#nous h2{
font-size: 40px;
padding-top: 2vw;
margin: 0;
}
#nous h3{
color: rgb(53, 53, 53);
}
#nous td{
text-align: center;
}
#nous ul {
list-style-type: none;
}
2019-12-13 17:13:30 +01:00
/* CONTACT */
#contact input{
width: 30%;
display: block;
margin: auto;
font-size: 20px;
background-color: transparent;
border: none;
border-bottom: 0.2vw solid grey;
padding: 0.5vw;
}
#contact input:focus{
background-color: rgba(0,0,0,0.1);
border-bottom : 0.2vw solid rgb(16, 133, 172);
transition-duration: 0.3s;
}
#contact input:valid{
border-bottom : 0.2vw solid rgb(24, 216, 40);
transition-duration: 0.3s;
}
#contact input[type=submit]{
border: 0.2vw solid grey;
width: 10%;
}
#contact input[type=submit]:hover{
background-color: grey;
color: white;
transition-duration: 0.3s;
}
#contact h2{
text-align: center;
}
/* FOOTER */
2019-12-16 09:52:03 +01:00
footer {
2019-12-13 17:13:30 +01:00
background-color: #ddd;
width: 100%;
padding: 1vw;
}
2019-12-16 09:52:03 +01:00
footer table{
2019-12-13 17:13:30 +01:00
width: 100%;
}
2019-12-16 09:52:03 +01:00
footer tr{
2019-12-13 17:13:30 +01:00
line-height: 10vh;
}
2019-12-16 09:52:03 +01:00
footer th{
2019-12-13 17:13:30 +01:00
text-align: left;
font-size: 40px;
border-bottom: 0.2vw solid grey;
}
2019-12-16 09:52:03 +01:00
footer td{
2019-12-13 17:13:30 +01:00
font-size: 30px;
color: grey;
}
2019-12-16 09:52:03 +01:00
footer h1{
2019-12-13 17:13:30 +01:00
text-align: center;
font-size: 40px;
margin-bottom: 5vh;
}
2019-12-16 09:52:03 +01:00
footer table#reseaux img{
2019-12-13 17:13:30 +01:00
width: 20%;
display: block;
margin: auto;
}
table#basket{
background-color: rgba(255, 255, 255, 0.5);
text-align: center;
width: 100%;
border: 0.2vw solid rgb(0, 0, 0);
border-collapse: collapse;
2019-12-16 09:52:03 +01:00
2019-12-13 17:13:30 +01:00
}
table#basket th{
border: 0.1vw solid grey;
font-size: 30px;
}
table#basket tr{
line-height: 5vh;
font-size: 20px;
}
table#basket td{
border: 0.1vw solid grey;
}
table#basket td#total{
text-align: right;
font-size: 30px;
color: black;
padding-right: 2vw;
}
table#basket input{
text-align: center;
font-size: 20px;
width: 10%;
padding: 0.3vw;
}
/*LIVRAISON*/
#livraison table{
width: 100%;
}
#livraison input{
width: 50%;
display: block;
margin: auto;
font-size: 20px;
background-color: transparent;
border: none;
border-bottom: 0.2vw solid grey;
padding: 0.5vw;
margin-top: 0.5vh;
margin-bottom: 1.5vh;
}
#livraison h1{
text-align: left;
font-size: 30px;
}
#livraison td{
font-size: 20px;
color: rgb(0, 0, 0);
text-align: center;
}
#livraison h2{
font-size: 20px;
text-align : center;
margin-top: 3vh;
}
#livraison input:focus{
background-color: rgba(0,0,0,0.1);
border-bottom : 0.2vw solid rgb(16, 133, 172);
transition-duration: 0.3s;
}
#livraison input:valid{
border-bottom : 0.2vw solid rgb(24, 216, 40);
transition-duration: 0.3s;
}
#livraison input[type=submit]{
border: 0.2vw solid grey;
width: 10%;
display: block;
margin: auto;
}
#livraison input[type=submit]:hover{
background-color: grey;
color: white;
transition-duration: 0.3s;
}