2021-01-17 20:09:57 +00:00
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-01-18 18:59:14 +00:00
|
|
|
.main-section {
|
2021-03-15 16:34:37 +00:00
|
|
|
max-width: 900px;
|
2021-01-17 20:09:57 +00:00
|
|
|
margin: 5px auto;
|
|
|
|
}
|
|
|
|
|
2021-05-10 13:48:35 +00:00
|
|
|
.form__line {
|
2021-01-18 18:59:14 +00:00
|
|
|
display: flex;
|
2021-05-10 13:48:35 +00:00
|
|
|
width: 100%;
|
2021-01-17 20:09:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.form__field {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2021-01-18 18:59:14 +00:00
|
|
|
margin: 4px;
|
2021-05-10 13:48:35 +00:00
|
|
|
flex: 0.5;
|
2021-01-18 18:59:14 +00:00
|
|
|
}
|
2021-01-17 20:09:57 +00:00
|
|
|
|
2021-01-18 18:59:14 +00:00
|
|
|
.form__field .form__label {
|
|
|
|
margin-right: 8px;
|
2021-01-17 20:09:57 +00:00
|
|
|
}
|
|
|
|
|
2021-01-18 18:59:14 +00:00
|
|
|
.form__input,
|
2021-05-10 13:48:35 +00:00
|
|
|
.form__textarea {
|
2021-01-18 18:59:14 +00:00
|
|
|
font-size: 1rem;
|
|
|
|
padding: 4px;
|
2021-03-15 16:34:37 +00:00
|
|
|
border: 2px solid #888888;
|
2021-01-17 20:09:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.form__button {
|
2021-01-18 18:59:14 +00:00
|
|
|
padding: 4px 10px;
|
2021-03-15 16:34:37 +00:00
|
|
|
border: 2px solid #888888;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form__input:focus,
|
2021-05-10 13:48:35 +00:00
|
|
|
.form__textarea:focus,
|
2021-03-15 16:34:37 +00:00
|
|
|
.form__button:focus {
|
|
|
|
outline: 2px solid #5d94ff;
|
|
|
|
}
|
|
|
|
|
2021-05-10 13:48:35 +00:00
|
|
|
.form__textarea {
|
|
|
|
box-sizing: border-box;
|
2021-01-17 20:09:57 +00:00
|
|
|
|
|
|
|
resize: vertical;
|
2021-01-18 18:59:14 +00:00
|
|
|
height: 5rem;
|
2021-01-17 20:09:57 +00:00
|
|
|
|
2021-01-18 18:59:14 +00:00
|
|
|
/* Stretch to form width */
|
|
|
|
width: 100%;
|
2021-01-17 20:09:57 +00:00
|
|
|
}
|
2021-03-15 16:37:54 +00:00
|
|
|
|
2021-05-10 13:48:35 +00:00
|
|
|
.form__translation {
|
|
|
|
resize: none;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 560px) {
|
|
|
|
.form__line {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form__translation {
|
|
|
|
height: 10rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-15 16:37:54 +00:00
|
|
|
@media screen and (prefers-color-scheme: dark) {
|
|
|
|
body {
|
|
|
|
background-color: #212529;
|
|
|
|
color: #f8f9fa;
|
|
|
|
}
|
|
|
|
|
2021-05-10 17:09:50 +00:00
|
|
|
a:visited {
|
|
|
|
color: #9759f6;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #599bf6;
|
|
|
|
}
|
|
|
|
|
2021-03-15 16:37:54 +00:00
|
|
|
.form__input,
|
|
|
|
.form__button,
|
2021-05-10 13:48:35 +00:00
|
|
|
.form__textarea {
|
2021-03-15 16:37:54 +00:00
|
|
|
background-color: #131618;
|
|
|
|
border-color: #495057;
|
|
|
|
color: #f8f9fa;
|
|
|
|
}
|
|
|
|
}
|