feat: update image shortcode to use captions
This commit is contained in:
parent
28baa94b93
commit
b717907ab8
26 changed files with 89 additions and 53 deletions
|
@ -127,15 +127,19 @@ pre {
|
|||
}
|
||||
|
||||
figure {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-inline: 0;
|
||||
gap: var(--spacing-1);
|
||||
}
|
||||
|
||||
figure figcaption {
|
||||
color: var(--color-fadeText);
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.125rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
picture source,
|
||||
picture img {
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue