107 lines
1.7 KiB
CSS
107 lines
1.7 KiB
CSS
/* Style inputs, select elements and textareas */
|
|
.contactInput
|
|
input[type=email], select, textarea
|
|
{
|
|
width: 100%;
|
|
padding: 3px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
box-sizing: border-box;
|
|
resize: vertical;
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
.formForm input[type=submit]
|
|
{
|
|
background-color: #aa0404;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
width: auto;
|
|
height: 25px;
|
|
align-self: end;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
/* Style the label to display next to the inputs */
|
|
.flexCenter label
|
|
{
|
|
margin-left: 0;
|
|
padding: 2px 12px 2px 0;
|
|
display: inline-block;
|
|
}
|
|
|
|
.flexCenter
|
|
{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
text-align: left;
|
|
|
|
}
|
|
.containerForm
|
|
{
|
|
display: flex;
|
|
flex-direction: row;
|
|
border-radius: 5px;
|
|
background-color: #f6602e;
|
|
padding: 20px;
|
|
justify-content: center;
|
|
width: 60%;
|
|
border-color: black;
|
|
padding: 10px;
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
}
|
|
|
|
.formForm
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
|
|
/* Floating column for labels: 25% width */
|
|
.col-30
|
|
{
|
|
float: left;
|
|
width: 30%;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* Floating column for inputs: 75% width */
|
|
.col-70
|
|
{
|
|
float: left;
|
|
width: 70%;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.rowForm
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.label
|
|
{
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.row
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|