Improved image css margin changes.

This commit is contained in:
kor 2018-07-18 23:35:56 +12:00
parent bfa2faacaa
commit 33ce689ac5

5
asset/style.css vendored
View File

@ -176,6 +176,7 @@ body {
text-decoration: none; text-decoration: none;
float: left; float: left;
clear: both; clear: both;
padding-bottom: var(--size-gutter);
} }
@media screen and (min-width: 886px) { @media screen and (min-width: 886px) {
.grid-item--width2 { .grid-item--width2 {
@ -183,7 +184,7 @@ body {
} }
} }
.grid-item-upper-content { .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; display: inline-block;
width: 100%; width: 100%;
} }
@ -206,6 +207,7 @@ body {
visibility: hidden; visibility: hidden;
} }
.grid-item-image { .grid-item-image {
padding-bottom: 0;
background: transparent; background: transparent;
} }
.grid-item img { .grid-item img {
@ -289,6 +291,7 @@ body {
/* LINK, NOTE, QUOTE, TERM, TAGS */ /* LINK, NOTE, QUOTE, TERM, TAGS */
.note, .quote, .term, .tags, .prog { .note, .quote, .term, .tags, .prog {
padding-top: var(--size-item-elem-padding);
color: var(--color-content-item-i); color: var(--color-content-item-i);
font-size: var(--size-font-body); font-size: var(--size-font-body);
float: left; float: left;