From 29ed1d8e542dfea02b2d60331ca76d1f03a499aa Mon Sep 17 00:00:00 2001 From: Naman Sood Date: Sat, 19 Jun 2021 08:07:30 -0400 Subject: [PATCH] css: fix figcaption, abandon baseline grid Signed-off-by: Naman Sood --- styles/main.scss | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/styles/main.scss b/styles/main.scss index 8b9de55..1c2c578 100644 --- a/styles/main.scss +++ b/styles/main.scss @@ -228,24 +228,16 @@ article { } figure { - height: 20*$ls; - padding-bottom: 2*$ls; margin: 2*$ls 0 0; img { - height: 100%; width: 100%; display: block; - object-fit: contain; - } - - img.fill { - object-fit: cover; } figcaption { - height: 2*$ls; - line-height: 2*$ls; + margin: $ls 0; + line-height: $ls; text-align: center; font-style: italic; color: var(--fadeColor);