style du formulaire

This commit is contained in:
Pontoporeia
2022-12-21 16:52:57 +01:00
parent ca6d019c36
commit 94630ebef4
2 changed files with 144 additions and 105 deletions

View File

@@ -5,10 +5,17 @@
body {
background-color: white;
/* overflow-x: hidden; */
/* width: 100%; */
}
/* PARAMÈTRE DE BASE DE BOUTTON */
.button {
margin: 0;
width: auto;
padding: 0.8rem;
background-color: white;
}
/* ENTÊTE */
header {
z-index: 10000;
@@ -44,46 +51,73 @@
width: 100vw;
left: 0;
background-color: white;
background: linear-gradient(0deg, rgba(2,0,36,0) 0%, rgba(255,255,255,1) 40%);
background: linear-gradient(0deg, rgba(2, 0, 36, 0) 0%, rgba(255, 255, 255, 1) 40%);
}
.menu-content{
.menu-content {
display: flex;
flex-direction: row;
justify-content: center;
/* align-items: flex; */
/* margin-top: 8vh; */
padding: 2rem;
gap: 1rem;
/* align-self: flex-start; */
}
.boutton {
margin: 0;
width: auto;
padding: 0.8rem;
text-align: center;
text-decoration: none;
font-size: 0.8rem;
font-family: police1;
transition-duration: 0.4s;
cursor: pointer;
border-radius: 16px;
background-color: white;
}
.boutton1 {
header .button {
background-color: none;
color: rgb(193, 4, 252);
border: 1px solid rgb(193, 4, 252);
text-align: center;
text-decoration: none;
font-size: 0.8rem;
transition-duration: 0.4s;
cursor: pointer;
border-radius: 16px;
}
.boutton1:hover {
header input {
font-family: police1;
}
header .button:hover {
background-color: rgb(193, 4, 252);
color: white;
}
/* FORMULAIRE */
form label {
font-family: police1;
font-size: 1rem;
}
form input{
position: relative;
border-color: #c104fc;
border-radius: 5px;
border-style: solid;
margin: 1rem;
padding: 0.5rem;
width: auto;
overflow:visible;
}
form select{
position: relative;
border-color: #c104fc;
border-radius: 5px;
border-style: solid;
margin: 1rem;
padding: 0.5rem;
background-color: white;
}
#enter input{
font-family: police1;
font-size: 1rem;
font-weight: bold;
padding: 1.2rem;
border-radius: 16px;
}
/* CONTENUS DE LA PAGE */
#page_content {
position: relative;
@@ -96,7 +130,7 @@
}
/* GRILLE */
.grid-section{
.grid-section {
position: relative;
/* display: block; */
/* position: fixed; */
@@ -122,4 +156,9 @@
grid-column: 5 / 5;
grid-row: 1 / 12;
background-color: #4da870;
}
form .boutton {
position: inherit;
margin: 0;
}