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.
102 lines
1.7 KiB
102 lines
1.7 KiB
body {
|
|
background-color: #fcfafc;
|
|
color: #330033;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
header {
|
|
text-align: center;
|
|
margin: 3% 0;
|
|
}
|
|
header a{
|
|
color: #330033;
|
|
text-decoration: none;
|
|
text-transform: capitalize;
|
|
margin: 0 5%;
|
|
}
|
|
#title {
|
|
color: #fcfafc;
|
|
background-color: #663366;
|
|
text-align: center;
|
|
padding: 4% 0;
|
|
}
|
|
div#form {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
background-color: rgba(0,0,0, 0.3);
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
#formswitch:checked ~ div#form {
|
|
display: block;
|
|
}
|
|
#popup {
|
|
background-color: white;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translate(-50%,-50%);
|
|
left: 50%;
|
|
padding: 30px;
|
|
border-radius: 15px;
|
|
}
|
|
form span{
|
|
margin-left: 95%;
|
|
}
|
|
form h4 {
|
|
text-align: center;
|
|
text-decoration: underline;
|
|
}
|
|
hr {
|
|
margin: 3% 0;
|
|
background-color: black;
|
|
height: 1.5px;
|
|
border: none;
|
|
}
|
|
form .choix {
|
|
display: none;
|
|
}
|
|
#sport:checked ~ div.choix {
|
|
display: inline-block;
|
|
}
|
|
#culture:checked ~ div.choix {
|
|
display: inline-block;
|
|
}
|
|
input#mail {
|
|
width: 100%;
|
|
margin: 2% 0;
|
|
border: solid black 1px;
|
|
border-radius: 5px;
|
|
padding: 1% 0.8%;
|
|
}
|
|
form button {
|
|
border: solid 1px;
|
|
border-radius: 10px;
|
|
background-color: black;
|
|
color: white;
|
|
padding: 2.5% 12%;
|
|
margin-left: 13%;
|
|
}
|
|
form button:hover {
|
|
background-color: white;
|
|
color: black;
|
|
transition: color 1s;
|
|
border: solid black 1px;
|
|
}
|
|
footer {
|
|
background-color: grey;
|
|
padding: 5%;
|
|
text-align: center;
|
|
}
|
|
footer a {
|
|
color: #660066;
|
|
text-decoration: none;
|
|
}
|
|
footer a:hover {
|
|
color: #eeaaee;
|
|
text-decoration: underline;
|
|
transition: color 0.5s;
|
|
}
|
|
footer a, span {
|
|
margin: 0 7%;
|
|
} |