feat: coverCaption

This commit is contained in:
Mirus
2024-08-23 12:29:28 +03:00
parent e1866ffa63
commit 9795a7535f
6 changed files with 93 additions and 65 deletions

View File

@@ -134,3 +134,15 @@ h1:hover a, h2:hover a, h3:hover a, h4:hover a {
.footnotes {
color: color-mix(in srgb, var(--accent), transparent 50%);
}
figure:has(.post-cover) {
margin: 20px;
& > .post-cover {
margin: 0;
}
& > figcaption {
margin-top: 0;
}
}