2019-09-21 12:39:28 +00:00
|
|
|
/* vim: set ts=2 sw=2 tw=80 et: */
|
|
|
|
|
|
|
|
input, textarea {
|
2019-09-22 14:09:08 +00:00
|
|
|
border: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
input::placeholder, textarea::placeholder {
|
|
|
|
color: #ccc;
|
2019-09-21 12:39:28 +00:00
|
|
|
}
|
|
|
|
|
2019-09-22 20:35:24 +00:00
|
|
|
.fieldset {
|
2019-09-22 14:09:08 +00:00
|
|
|
display: grid;
|
2019-09-22 20:35:24 +00:00
|
|
|
grid-template-columns: 7rem 1fr;
|
2019-09-22 14:09:08 +00:00
|
|
|
grid-gap: 1rem;
|
2019-09-21 12:39:28 +00:00
|
|
|
border: none;
|
2019-09-22 20:35:24 +00:00
|
|
|
margin: .5rem auto;
|
|
|
|
padding: .5rem;
|
2019-09-22 14:09:08 +00:00
|
|
|
background: #eee;
|
|
|
|
border-radius: .5rem;
|
2019-09-22 20:35:24 +00:00
|
|
|
max-width: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
form .fieldset {
|
|
|
|
text-align: left;
|
2019-09-22 14:09:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
2019-09-22 20:35:24 +00:00
|
|
|
.fieldset {
|
2019-09-22 14:09:08 +00:00
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-gap: .5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-22 20:35:24 +00:00
|
|
|
.fieldset h3 {
|
|
|
|
grid-column: 1 / 3;
|
2019-09-21 12:39:28 +00:00
|
|
|
}
|
|
|
|
|
2019-09-22 20:35:24 +00:00
|
|
|
.fieldset label {
|
2019-09-22 14:09:08 +00:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: .9rem;
|
2019-09-21 12:39:28 +00:00
|
|
|
}
|
|
|
|
|
2019-09-22 20:35:24 +00:00
|
|
|
.fieldset label::after {
|
2019-09-22 14:09:08 +00:00
|
|
|
content: ":";
|
|
|
|
}
|
|
|
|
|
2019-09-22 20:35:24 +00:00
|
|
|
.fieldset input, .fieldset textarea {
|
2019-09-22 14:09:08 +00:00
|
|
|
padding: .5rem;
|
|
|
|
font-family: 'Fira Sans', sans-serif;
|
|
|
|
font-size: .85rem;
|
|
|
|
border-radius: .5rem;
|
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
|
2019-09-22 20:35:24 +00:00
|
|
|
.fieldset textarea[name="address"] {
|
2019-09-21 12:39:28 +00:00
|
|
|
height: 4em;
|
|
|
|
}
|
2019-09-22 14:09:08 +00:00
|
|
|
|
2019-09-22 20:35:24 +00:00
|
|
|
.fieldset input[type="checkbox"] {
|
2019-09-22 14:09:08 +00:00
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
max-width: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
form button {
|
|
|
|
color: #333;
|
|
|
|
background: #ccc;
|
|
|
|
font-size: 1em;
|
|
|
|
padding: .5rem 1rem;
|
|
|
|
border-radius: .5rem;
|
|
|
|
outline: none;
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.range-10 {
|
|
|
|
display: grid;
|
|
|
|
justify-items: center;
|
|
|
|
grid-template-columns: repeat(20, 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
.range-10 div {
|
|
|
|
grid-column: span 2;
|
|
|
|
font-size: .9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.range-10 input[type="range"] {
|
|
|
|
grid-column: 2 / 20;
|
|
|
|
justify-self: stretch;
|
|
|
|
margin: 0 -10px;
|
|
|
|
}
|
|
|
|
|