From e1d26fda9e78ae5786c9799fc85125252d1075f4 Mon Sep 17 00:00:00 2001 From: Manos Date: Wed, 22 Jul 2020 15:01:53 +0200 Subject: [PATCH] Margin and padding --- css/styles.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/css/styles.css b/css/styles.css index 3bab773..fa08f14 100644 --- a/css/styles.css +++ b/css/styles.css @@ -41,6 +41,10 @@ body { box-sizing: border-box; } +#list:target + .photos .photo:last-child { + margin-bottom: 0; +} + #list:target + .photos .content { position: relative; height: auto; @@ -273,8 +277,8 @@ body { padding: .1em; } - .button { - margin-bottom: .9em !important; + #list:target + .photos .photo { + max-width: 100%; } }