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

90 lines
1.6 KiB
CSS

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