This commit is contained in:
2023-02-07 00:25:30 +01:00
parent 6939273d6b
commit 37977c6066
6 changed files with 247 additions and 22 deletions

View File

@ -0,0 +1,90 @@
/* Style inputs, select elements and textareas */
input[type=email], select, textarea{
width: 100%;
padding: 3px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
resize: vertical;
background-color: #f26e0a;
}
input[type=submit] {
background-color: #aa0404;
color: white;
padding: 6px 10px;
border: none;
border-radius: 4px;
cursor: pointer;
width: 50%;
height: 25px;
}
/* Style the label to display next to the inputs */
label
{
padding: 2px 12px 2px 0;
display: inline-block;
}
.flexCenter
{
display: flex;
flex-direction: row;
justify-content: center;
}
.containerForm
{
display: flex;
flex-direction: row;
border-radius: 5px;
background-color: #f6602e;
padding: 20px;
justify-content: center;
width: 400px;
}
.formForm
{
display: flex;
flex-direction: column;
max-width: 600px;
}
/* Floating column for labels: 25% width */
.col-25
{
float: left;
width: 25%;
margin-top: 6px;
}
/* Floating column for inputs: 75% width */
.col-75
{
float: left;
width: 75%;
margin-top: 6px;
}
.rowForm
{
display: flex;
flex-direction: row;
justify-content: space-between;
}
.row
{
display: flex;
flex-direction: column;
}
.textArea
{
height: 100px;
}