1
0
dwelling-home/web/assets/css/guestbook_admin.css

59 lines
1.1 KiB
CSS
Raw Normal View History

2023-02-06 02:00:20 +04:00
::placeholder { color: var(--primary-color); }
small { font-size: .8rem; }
form {
display: grid;
gap: .5rem;
grid-template-areas:
2023-05-10 01:02:17 +04:00
"h h"
2023-02-06 02:00:20 +04:00
"m m"
"e d";
grid-template-columns: 1fr 1fr;
width: 100%; }
2023-05-10 01:02:17 +04:00
form header { grid-area: 'h'; }
2023-02-06 02:00:20 +04:00
textarea {
background-color: var(--background-color);
border: none;
border-bottom: 1px solid var(--primary-color);
color: var(--text-color);
font: inherit;
grid-area: m;
height: 5.5rem;
max-width: 100%;
min-width: 100%; }
textarea:focus {
outline-color: var(--primary-color);
outline-style: solid;
outline-width: 1px; }
button {
background-color: var(--primary-color);
border: none;
color: #f5f5f5;
font: inherit;
grid-area: b;
height: 2rem; }
button:hover {
background-color: var(--secondary-color);
cursor: pointer; }
button[name="edit-entry"],
button[name="edit-reply"],
button[name="reply"] { grid-area: e; }
button[name="delete-entry"],
button[name="delete-reply"] { grid-area: d;}
article:not(:last-child) { margin-bottom: 1rem; }
article header {
display: inline;
font-size: .85rem; }
article > *,
article div.reply > * { margin-left: .5rem; }