From 33ce689ac56b6c790e6e142000604cebd3878c89 Mon Sep 17 00:00:00 2001 From: kor Date: Wed, 18 Jul 2018 23:35:56 +1200 Subject: [PATCH] Improved image css margin changes. --- asset/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/asset/style.css b/asset/style.css index 9e2797a..5ee6cfe 100644 --- a/asset/style.css +++ b/asset/style.css @@ -176,6 +176,7 @@ body { text-decoration: none; float: left; clear: both; + padding-bottom: var(--size-gutter); } @media screen and (min-width: 886px) { .grid-item--width2 { @@ -183,7 +184,7 @@ body { } } .grid-item-upper-content { - padding: var(--size-gutter) var(--size-gutter) var(--size-gutter) var(--size-gutter); + padding: var(--size-gutter) var(--size-gutter) 0 var(--size-gutter); display: inline-block; width: 100%; } @@ -206,6 +207,7 @@ body { visibility: hidden; } .grid-item-image { + padding-bottom: 0; background: transparent; } .grid-item img { @@ -289,6 +291,7 @@ body { /* LINK, NOTE, QUOTE, TERM, TAGS */ .note, .quote, .term, .tags, .prog { + padding-top: var(--size-item-elem-padding); color: var(--color-content-item-i); font-size: var(--size-font-body); float: left;