From 7b5e02ea897801474acf1f80f7a709fe9a6762f2 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Sun, 24 Dec 2017 23:21:29 -0800 Subject: [PATCH] =?UTF-8?q?tweak=20a=20few=20things=20with=20figures=20?= =?UTF-8?q?=E2=80=A2=20modify=20gallery=20margins=20=E2=80=A2=20make=20sol?= =?UTF-8?q?o=20images=20in=20galleries=20less=20than=20full=20width?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/css/style.scss b/css/style.scss index df03332..984576f 100644 --- a/css/style.scss +++ b/css/style.scss @@ -161,11 +161,10 @@ small { } .figure-gallery { - margin: 0; .gallery-grid { - margin-left: -20px; - margin-right: -20px; + margin-left: -60px; + margin-right: -60px; line-height: 0; display: flex; @@ -180,19 +179,22 @@ small { } @media screen and (max-width: 500px) { - margin-left: -20px; img { height: 160px } } - } .gallery-solo { margin: 0; line-height: 0; + padding: { + left: 10%; + right: 10%; + } + img { height: auto; width: 100%;