added style for figcaption

This commit is contained in:
Mohammad Faani Tabrizi
2022-01-28 17:37:15 -05:00
parent 530044033e
commit 3652f4cd28
2 changed files with 16 additions and 2 deletions

View File

@ -231,11 +231,18 @@
max-width: 100%;
}
.post-content img {
.post-content {
border-radius: 4px;
margin: 1rem 0;
}
/* Had to make this change so the images have a smaller bottom margin.
This would allow me to position the caption closer to the image*/
img {
border-radius: 4px;
margin: 1rem 0 0.1rem 0;
}
.post-content img[src*="#center"] {
margin: 1rem auto;
}