mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +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
|
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