You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
1.6 KiB
CSS
116 lines
1.6 KiB
CSS
*{
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: "Arial";
|
|
font-size: 1em;
|
|
}
|
|
|
|
body{
|
|
background-image: url("wallpaper.jpg");
|
|
background-attachment: fixed;
|
|
padding-top: 5%;
|
|
padding-bottom: 5%;
|
|
}
|
|
|
|
#formulaireMail{
|
|
margin-top: 50vh;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
#formulaire{
|
|
transform: translate(-50%);
|
|
}
|
|
|
|
#formulaire, #formulaireMail{
|
|
background-color: white;
|
|
margin-left: 50vw;
|
|
border-radius: 10px;
|
|
padding: 4em;
|
|
width: 40%;
|
|
}
|
|
|
|
#enregistrer{
|
|
margin-top: 1em;
|
|
text-align: center;
|
|
}
|
|
|
|
h1{
|
|
text-align: center;
|
|
}
|
|
|
|
form{
|
|
margin-top: 3em;
|
|
}
|
|
|
|
.form{
|
|
width: 55%;
|
|
box-sizing: border-box;
|
|
border: 1px solid grey;
|
|
margin-bottom: 0.7em;
|
|
}
|
|
|
|
.button{
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
padding: 8px;
|
|
color: white;
|
|
background-color: rgb(65, 154, 28);
|
|
border-radius: 5em;
|
|
border: none;
|
|
}
|
|
|
|
.button:hover{
|
|
background-color: rgb(48, 112, 20);
|
|
border-color: rgb(48, 112, 20);
|
|
}
|
|
|
|
.button:disabled{
|
|
cursor: not-allowed;
|
|
background-color: grey;
|
|
}
|
|
|
|
#submit{
|
|
margin-top: 1em;
|
|
margin-left: 50%;
|
|
transform: translate(-50%);
|
|
}
|
|
|
|
.line{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
}
|
|
|
|
#error{
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.error{
|
|
color: red;
|
|
text-align: center;
|
|
}
|
|
|
|
label{
|
|
font-size: 1.1em;
|
|
word-break: break-all;
|
|
box-sizing: border-box;
|
|
display: block;
|
|
width: 43%;
|
|
}
|
|
|
|
input{
|
|
margin-left: 2%;
|
|
font-size: 1em;
|
|
}
|
|
|
|
h1{
|
|
font-size: 2em;
|
|
}
|
|
|
|
button{
|
|
color: forestgreen;
|
|
border-color: forestgreen;
|
|
border-radius: 5em;
|
|
}
|