Improve looks of figcaptions

This commit is contained in:
2024-11-25 14:52:04 +01:00
parent d3681e8b7b
commit 49aeb6e4af
2 changed files with 42 additions and 14 deletions
+19 -1
View File
@@ -186,8 +186,12 @@ figure {
font-size: 1.125rem;
line-height: 1.3;
margin-top: 0.4em;
font-weight: bold;
opacity: 0.8;
vertical-align: middle;
span {
vertical-align: middle;
}
&.left {
text-align: left;
@@ -200,6 +204,20 @@ figure {
&.right {
text-align: right;
}
.figcaption {
&__title {
font-weight: bold;
}
&__attr {
font-size: 0.7em;
svg {
margin-right: 0.3em;
}
}
}
}
&.small {