Dwelling/static/dwelling/assets/css/guestbook.js.css

73 lines
1.7 KiB
CSS

::placeholder {
color: #a5a5a5;
font-family: 'Roboto Condensed', Roboto, sans-serif;
font-size: 1.1rem; }
#new-post {
display: grid;
gap: .5rem;
grid-template-areas:
"n e w"
"m m m"
"c c b";
grid-template-columns: 1fr 1fr 1fr;
}
#new-post input[name="name"] { grid-area: n; }
#new-post input[name="email"] { grid-area: e; }
#new-post input[name="website"] { grid-area: w; }
#new-post .chkgrp { grid-area: c; }
#new-post textarea {
grid-area: m;
height: 5.5rem;
max-width: 100%;
min-width: 100%; }
#new-post input[type="submit"] {
background-color: var(--primary-color);
border: none;
color: #f5f5f5;
grid-area: b;
height: 2rem; }
#new-post span .checkbox:not(:last-child) { margin-right: 2rem; }
#new-post input[type="text"],
#new-post textarea,
#posts-pagination input#current-page,
#posts-pagination button {
background-color: var(--background-color);
border: none;
border-bottom: 1px solid var(--primary-color);
color: var(--text-color);
font-family: 'Roboto Condensed', Roboto, sans-serif;
font-size: 1.1rem; }
#posts article:not(:last-child) { margin-bottom: 1rem; }
#posts article header { display: inline; font-size: .8rem; }
#posts article main,
#posts article div.feedback main,
#posts article div.feedback { margin-left: .5rem; }
#posts-pagination input#current-page { width: 1.7rem; }
#posts-pagination button { border: none; }
@media screen and (max-width: 641px) {
#new-post {
gap: 1.5rem;
grid-template-areas:
"n"
"e"
"w"
"m"
"c"
"b";
grid-template-columns: 1fr; }
}