38 lines
523 B
CSS
38 lines
523 B
CSS
form#micropost_form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 55em;
|
|
|
|
> h2 {
|
|
width: 100%;
|
|
}
|
|
|
|
> trix-toolbar {
|
|
max-width: 95%;
|
|
}
|
|
|
|
> trix-editor {
|
|
width: 95%;
|
|
> ul {
|
|
list-style-type: disc;
|
|
}
|
|
}
|
|
|
|
> input[type=submit] {
|
|
width: 95%;
|
|
}
|
|
}
|
|
|
|
.micropost {
|
|
max-width: 55em;
|
|
margin: 1em auto;
|
|
padding: .5em;
|
|
background-color: var(--inset-background-color);
|
|
border: 1px solid var(--border-color);
|
|
|
|
> .created_at {
|
|
text-align: right;
|
|
font-size: .8em;
|
|
}
|
|
}
|