Add alt and caption support to feature images (#812)

* Add alt and caption support to feature images

* Add feature image alt support to post card

* Remove three-curlies
This commit is contained in:
Sodbileg Gansukh
2021-07-05 10:59:21 +08:00
committed by GitHub
parent 21bdffbd8a
commit e49664eca4
6 changed files with 16 additions and 7 deletions

View File

@ -1042,7 +1042,7 @@ except for when immediately preceeded by a heading */
/* Captions */
.kg-card figcaption {
figcaption {
padding: 1.5rem 1.5rem 0;
text-align: center;
color: rgba(0,0,0,0.5);
@ -1050,9 +1050,12 @@ except for when immediately preceeded by a heading */
font-size: 1.3rem;
line-height: 1.4em;
}
.kg-card figcaption strong {
figcaption strong {
color: rgba(0,0,0,0.8);
}
figcaption a {
color: var(--ghost-accent-color);
}
/* Highly specific styles for traditional Instagram embeds */