Dwelling/homepage/static/assets/css/guestbook.css

90 lines
1.6 KiB
CSS
Raw Permalink Normal View History

2021-02-10 01:01:50 +04:00
::placeholder { color: var(--primary-color); }
2022-10-26 01:52:16 +04:00
small { font-size: .8rem; }
form {
display: grid;
gap: .5rem;
grid-template-areas:
"n w w"
"m m m"
"c a s";
grid-template-columns: 1fr 1fr 1fr; }
2021-02-10 01:01:50 +04:00
:is(input, textarea):focus {
outline-color: var(--primary-color);
outline-style: solid;
outline-width: 1px; }
2021-02-10 01:01:50 +04:00
input[name="name"] { grid-area: n; }
2021-02-10 01:01:50 +04:00
input[name="website"] { grid-area: w; }
2021-02-10 01:01:50 +04:00
textarea {
grid-area: m;
height: 5.5rem;
max-width: 100%;
min-width: 100%; }
2021-02-10 01:01:50 +04:00
input[type="text"],
textarea {
background-color: var(--background-color);
border: none;
border-bottom: 1px solid var(--primary-color);
color: var(--text-color);
font: inherit; }
2021-02-10 01:01:50 +04:00
2022-10-26 01:52:16 +04:00
.checkboxes { grid-area: c; }
label { padding-left: .5rem; }
2021-02-10 01:01:50 +04:00
2022-10-26 01:52:16 +04:00
button.refresh:disabled {
color: gray;
cursor: progress; }
2021-02-10 01:01:50 +04:00
2022-10-26 01:52:16 +04:00
.captcha {
align-items: center;
column-gap: .5rem;
display: flex;
grid-area: a;
2022-10-26 01:52:16 +04:00
justify-content: space-evenly; }
2021-02-10 01:01:50 +04:00
2022-10-26 01:52:16 +04:00
.captcha img {
height: 40px;
width: 160px; }
2022-06-25 03:25:59 +04:00
2022-10-26 01:52:16 +04:00
.captcha input[type="text"] {
height: 27px;
text-align: center;
width: 4.5rem; }
2022-06-25 03:25:59 +04:00
input[type="submit"] {
background-color: var(--primary-color);
border: none;
color: #f5f5f5;
font: inherit;
grid-area: s;
height: 2rem; }
2022-06-25 03:25:59 +04:00
2022-10-26 01:52:16 +04:00
input[type="submit"]:hover {
background-color: var(--secondary-color);
cursor: pointer; }
2021-02-10 01:01:50 +04:00
article:not(:last-child) { margin-bottom: 1rem; }
2021-02-10 01:01:50 +04:00
2022-10-26 01:52:16 +04:00
article header {
display: inline;
font-size: .85rem; }
2021-02-10 01:01:50 +04:00
article > *,
article div.reply > * { margin-left: .5rem; }
article p.quote { font-style: italic; }
2021-02-10 01:01:50 +04:00
#pagination a:not(:first-child) { margin-left: .5rem; }
@media screen and (max-width: 641px) {
form {
gap: 1.5rem;
2022-10-26 01:52:16 +04:00
display: flex;
flex-direction: column; } }