mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-03 08:08:41 -04:00
post-cover: add support for adding caption (#17)
* shown only on single page usage => in page-vars front-matter cover: image: '<image path/url>' alt: '<alt text>' caption: '<text>'
This commit is contained in:
parent
3068647f58
commit
35788daad1
2 changed files with 8 additions and 1 deletions
|
@ -88,9 +88,15 @@
|
|||
font-size: 14px;
|
||||
}
|
||||
|
||||
.entry-cover {
|
||||
margin-bottom: var(--gap);
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
.entry-cover img {
|
||||
border-radius: var(--radius);
|
||||
margin-bottom: var(--gap);
|
||||
pointer-events: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue