You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
1.7 KiB
113 lines
1.7 KiB
3 years ago
|
body{
|
||
|
z-index: 1;
|
||
|
background-color: #e5e5e5;
|
||
|
margin: 20px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
nav{
|
||
|
width: 80%;
|
||
|
margin-left: 10%;
|
||
|
background-color: #84878C; /*couleur nav entière*/
|
||
|
border-radius: 20px;
|
||
|
}
|
||
|
|
||
|
nav > ul{
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
padding: 0px;
|
||
|
width: 60%;
|
||
|
}
|
||
|
|
||
|
nav > ul::after{
|
||
|
content: "";
|
||
|
display: block;
|
||
|
clear: both;
|
||
|
}
|
||
|
|
||
|
nav > ul > li{
|
||
|
width: 25%;
|
||
|
float: left;
|
||
|
position: relative;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
nav> ul > li > a{
|
||
|
font-size: 100%;
|
||
|
padding-top: 10px;
|
||
|
padding-bottom: 10px;
|
||
|
color: #eee;
|
||
|
}
|
||
|
|
||
|
nav li{
|
||
|
list-style-type: none;
|
||
|
}
|
||
|
|
||
|
nav a{
|
||
|
display: inline-block;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
.menu:hover{
|
||
|
background-color: #59184E;
|
||
|
border-radius: 10px;
|
||
|
}
|
||
|
|
||
|
.menu:hover > a{
|
||
|
color: #fff; /*texte quand on passe la souris un bouton du menu*/
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.logo{
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.champ{
|
||
|
background-color: inherit;
|
||
|
position: relative;
|
||
|
text-align: center;
|
||
|
color: #454444;
|
||
|
display: block;
|
||
|
margin: 10px auto;
|
||
|
border: 4px solid #4e4d4d;
|
||
|
padding: 40px 40px;
|
||
|
width: 60%;
|
||
|
border-radius: 80px;
|
||
|
transition: 0.25s;
|
||
|
}
|
||
|
|
||
|
.champ:focus, .champ:hover{
|
||
|
border-color: #ac2a8d;
|
||
|
background-color: #dddddd;
|
||
|
}
|
||
|
|
||
|
.champ input{
|
||
|
border: none;
|
||
|
outline: none;
|
||
|
font-size: 3em;
|
||
|
color: #aaa;
|
||
|
width: 100%;
|
||
|
text-align: inherit;
|
||
|
background-color: inherit;
|
||
|
}
|
||
|
|
||
|
.submit{
|
||
|
background-color: inherit;
|
||
|
position: relative;
|
||
|
text-align: center;
|
||
|
color: #454444;
|
||
|
display: block;
|
||
|
margin: 10px auto;
|
||
|
border: 4px solid #4e4d4d;
|
||
|
padding: 10px 10px;
|
||
|
width: 200px;
|
||
|
border-radius: 30px;
|
||
|
transition: 0.25s;
|
||
|
}
|
||
|
|
||
|
.submit:hover{
|
||
|
width: 250px;
|
||
|
background-color: #82E6AC;
|
||
|
border-color: #2ecc71;
|
||
|
}
|