1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
| *{
padding: 0;
margin: 0;
text-decoration: none;
list-style: none;
}
body{
font-family: 'Comfortaa', cursive;
}
header{
height: 100vh;
width: 100vw;
background-image: url(img/wallhaven-x8ye3z_1920x1080.png);
background-size: cover;
}
/*Début de la Navbar*/
.navbar{
padding: 7px;
display: flex;
justify-content: space-between;
width: 100%;
box-sizing: border-box;
align-items: center;
background-color: #181818;
opacity: 0.8;
position: absolute;
}
.navbar a{
color: rgba(184, 184, 186, 1.0);
}
.center .navlinks {
display: flex;
}
.center .navlinks li{
margin: 0 7px;
}
.Right ul{
display: flex;
}
.Right ul li{
margin: 0 7px;
}
/* Fin de la Navbar */
/* Début searchbox */
.box {
transform: translate(-50,50%);
background: #b8b8ba;
border-radius: 20px;
height: 20px;
padding: 0px;
}
.box:hover > .searchInput {
width: 240px;
padding: 0 8px;
}
.box:hover > .searchButton {
background: white;
color : #181818;
}
.searchButton {
color: #b8b8ba;
float: right;
width: 0px;
height: 0px;
border-radius: 50%;
background: #181818;
display: flex;
justify-content: center;
align-items: center;
transition: 0.4s;
}
.searchInput {
border:none;
background: none;
outline:none;
float:left;
padding: 0;
color: #181818;
font-size: 16px;
transition: 0.4s;
line-height: 0px;
width: 0px;
} |
Partager