center images within figures

This commit is contained in:
ray 2020-02-14 20:56:45 +00:00
parent 65d631e4e4
commit d86b1d6253
1 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,12 @@
figure { figure {
margin: 0; margin: 0;
padding: 0; padding: 0;
> img {
display: block;
margin-left: auto;
margin-right: auto;
}
} }
figcaption p { figcaption p {
text-align: center; text-align: center;