center images, captions, and tweets w/ clever wrapper

This commit is contained in:
vintro 2024-01-17 23:20:50 -05:00
parent d992480dcb
commit ff33b4a670
No known key found for this signature in database

View File

@ -1,3 +1,22 @@
@use "./base.scss"; @use "./base.scss";
// put your custom CSS here! // put your custom CSS here!
// captions!
img + em {
display: block;
text-align: center;
font-size: 0.9em;
}
// center all images by default
img {
display: block;
margin-left: auto;
margin-right: auto;
}
.tweet-wrapper {
display: flex;
justify-content: center;
}