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

86 lines
1.7 KiB
CSS
Raw Normal View History

2021-02-10 01:01:50 +04:00
::placeholder { color: var(--primary-color); }
button.refresh:disabled {
color: gray;
cursor: progress; }
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
span.checkboxes { grid-area: c; }
2021-02-10 01:01:50 +04:00
span.checkbox:not(:last-child) { margin-right: 2rem; }
2021-02-10 01:01:50 +04:00
span.captcha {
display: flex;
flex-basis: 100%;
grid-area: a;
justify-content: space-evenly; align-items: center; column-gap: .5rem; }
2021-02-10 01:01:50 +04:00
span.captcha img {
height: 40px;
width: 160px; }
2022-06-25 03:25:59 +04:00
span.captcha input[type="text"] { width: 4.5rem; text-align: center; height: 27px; }
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
input[type="submit"]:hover { background-color: var(--secondary-color); }
2021-02-10 01:01:50 +04:00
article:not(:last-child) { margin-bottom: 1rem; }
2021-02-10 01:01:50 +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;
grid-template-areas:
"n"
"w"
"m"
"c"
"a"
"s";
grid-template-columns: 1fr; } }