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

171 lines
2.8 KiB
CSS
Raw Normal View History

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;
background-color: #bbb;
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-11-23 13:44:49 +01:00
}
2019-12-11 21:33:44 +01:00
.header{
background-color: white;
width: 100%;
z-index: 3;
overflow: auto;
box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.1);
2019-11-23 13:44:49 +01:00
}
2019-12-11 21:33:44 +01:00
.header ul{
margin: 0;
padding : 0;
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-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-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
/*============================================*/