💄 style: set style for figure & figure captions

This commit is contained in:
welpo
2023-02-25 20:06:19 +01:00
parent 2c4b64481c
commit 1496f0cf73
2 changed files with 9 additions and 6 deletions

View File

@@ -6,6 +6,13 @@ figure {
height: auto;
}
figcaption {
font-family: var(--serif-font);
font-size: 0.72rem;
color: var(--text-color-2);
text-align: center;
}
figure img {
max-height: 500px;
}
@@ -17,12 +24,6 @@ img {
height: auto;
}
@media screen and (min-width: 600px) {
figure {
padding: 0 40px;
}
}
figure h4 {
font-size: 1rem;
margin: 0;