css: fix figcaption, abandon baseline grid

Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
Naman Sood 2021-06-19 08:07:30 -04:00
parent 90fc188eb2
commit 29ed1d8e54

View file

@ -228,24 +228,16 @@ article {
} }
figure { figure {
height: 20*$ls;
padding-bottom: 2*$ls;
margin: 2*$ls 0 0; margin: 2*$ls 0 0;
img { img {
height: 100%;
width: 100%; width: 100%;
display: block; display: block;
object-fit: contain;
}
img.fill {
object-fit: cover;
} }
figcaption { figcaption {
height: 2*$ls; margin: $ls 0;
line-height: 2*$ls; line-height: $ls;
text-align: center; text-align: center;
font-style: italic; font-style: italic;
color: var(--fadeColor); color: var(--fadeColor);