59 lines
1.1 KiB
CSS
Executable File
59 lines
1.1 KiB
CSS
Executable File
::placeholder { color: var(--primary-color); }
|
|
|
|
small { font-size: .8rem; }
|
|
|
|
form {
|
|
display: grid;
|
|
gap: .5rem;
|
|
grid-template-areas:
|
|
"h h"
|
|
"m m"
|
|
"e d";
|
|
grid-template-columns: 1fr 1fr;
|
|
width: 100%; }
|
|
|
|
form header { grid-area: h; }
|
|
|
|
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; } |