Soc/app/assets/stylesheets/microposts.css

51 lines
652 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%;
}
}
ul#microposts {
list-style-type: none;
}
.micropost {
margin: 1em auto;
padding: .5em;
background-color: var(--inset-background-color);
> .created_at {
text-align: right;
font-size: .8em;
}
h5 {
display: inline;
}
ul.micropost-tags {
list-style-type: none;
display: inline;
li {
display: inline;
}
}
}