mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-24 22:59:21 -05: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
|
border-radius: 4px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-content img[src*='#center'] {
|
||||||
|
margin: auto
|
||||||
|
}
|
||||||
|
|
||||||
.post-content figure > figcaption {
|
.post-content figure > figcaption {
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
Loading…
Reference in New Issue
Block a user