mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
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:
parent
8933950217
commit
a36d045214
@ -224,6 +224,10 @@
|
||||
border-radius: 4px
|
||||
}
|
||||
|
||||
.post-content img[src*='#center'] {
|
||||
margin: auto
|
||||
}
|
||||
|
||||
.post-content figure > figcaption {
|
||||
color: var(--primary);
|
||||
font-size: 16px;
|
||||
|
Loading…
Reference in New Issue
Block a user