84 lines
1.4 KiB
CSS
84 lines
1.4 KiB
CSS
.suggest form {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
padding: 1rem 0;
|
|
|
|
label {
|
|
display: block;
|
|
color: var(--fs-color);
|
|
font-family: var(--p-font);
|
|
font-size: .85rem;
|
|
font-weight: 300;
|
|
margin: 1rem .75rem .25rem .25rem;
|
|
text-transform: uppercase;
|
|
|
|
sub {
|
|
display: inline-block;
|
|
font-size: .65rem;
|
|
opacity: .65;
|
|
padding: 0 0 0 .25rem;
|
|
}
|
|
}
|
|
|
|
button,
|
|
textarea,
|
|
input {
|
|
width: 100%;
|
|
color: var(--w-color);
|
|
background: var(--b-color);
|
|
font-family: var(--p-font);
|
|
box-shadow: none;
|
|
}
|
|
|
|
textarea,
|
|
input {
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
padding: .5rem 1rem;
|
|
margin: .25rem 0;
|
|
border: 1px solid var(--i-color);
|
|
|
|
&:focus {
|
|
border-color: var(--s-color);
|
|
outline: .1rem solid var(--s-color);
|
|
}
|
|
|
|
&::placeholder {
|
|
font-family: var(--p-font);
|
|
font-size: 1rem;
|
|
opacity: .4;
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
min-height: 10rem;
|
|
font-family: var(--p-font);
|
|
padding: .75rem;
|
|
resize: vertical;
|
|
}
|
|
|
|
.message {
|
|
grid-column: 1;
|
|
}
|
|
|
|
button {
|
|
grid-column: 1/3;
|
|
font-size: .9rem;
|
|
font-weight: 500;
|
|
padding: .5rem 1rem .6rem 1rem;
|
|
margin: 1.5rem 0 0 0;
|
|
border: 1px solid var(--s-color);
|
|
text-align: center;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
background: var(--sh-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
.suggest form {
|
|
display: block;
|
|
}
|
|
} |