post-single(css): add image center align tag (#145)

usage in markdown =>
![name](path/to/image.png#center)

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
This commit is contained in:
pacientes 2020-12-23 20:04:01 +09:00 committed by GitHub
parent 8933950217
commit a36d045214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,6 +224,10 @@
border-radius: 4px
}
.post-content img[src*='#center'] {
margin: auto
}
.post-content figure > figcaption {
color: var(--primary);
font-size: 16px;