Skip to content

Commit

Permalink
Center align images in figure elements
Browse files Browse the repository at this point in the history
Fixes #188
  • Loading branch information
lkhrs committed Mar 23, 2024
1 parent 79b079a commit 6970294
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -564,11 +564,17 @@ figure {
overflow-x: auto;
}

figure > img,
figure > picture > img {
display: block;
margin-inline: auto;
}

figcaption {
text-align: center;
font-size: 0.9rem;
color: var(--text-light);
margin-bottom: 1rem;
margin-block: 1rem;
}

blockquote {
Expand Down

0 comments on commit 6970294

Please sign in to comment.