crbtc.org/assets/style/pages/suggest/form.css

84 lines
1.4 KiB
CSS
Raw Normal View History

.suggest form {
2023-11-30 07:48:17 +00:00
display: grid;
grid-template-columns: repeat(2, 1fr);
padding: 1rem 0;
label {
display: block;
color: var(--fs-color);
font-family: var(--p-font);
2023-11-30 07:48:17 +00:00
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);
2023-11-30 07:48:17 +00:00
box-shadow: none;
}
textarea,
input {
font-size: 1rem;
font-weight: 400;
padding: .5rem 1rem;
margin: .25rem 0;
border: 1px solid var(--i-color);
2023-11-30 07:48:17 +00:00
&:focus {
border-color: var(--s-color);
outline: .1rem solid var(--s-color);
2023-11-30 07:48:17 +00:00
}
&::placeholder {
font-family: var(--p-font);
2023-11-30 07:48:17 +00:00
font-size: 1rem;
opacity: .4;
}
}
textarea {
min-height: 10rem;
font-family: var(--p-font);
2023-11-30 07:48:17 +00:00
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);
2023-11-30 07:48:17 +00:00
text-align: center;
&:hover {
cursor: pointer;
background: var(--sh-color);
2023-11-30 07:48:17 +00:00
}
}
}
@media only screen and (max-width: 600px) {
.suggest form {
2023-11-30 07:48:17 +00:00
display: block;
}
}