From c512ab0b9d881e01a553ed615b11207d572b9c01 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Wed, 4 Jul 2018 15:54:06 +0200 Subject: [PATCH] Added margins to images in
. --- themes/default/mdEmbeds.css | 2 +- themes/default/theme.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/default/mdEmbeds.css b/themes/default/mdEmbeds.css index 9cc76fa..e0a9bff 100644 --- a/themes/default/mdEmbeds.css +++ b/themes/default/mdEmbeds.css @@ -32,7 +32,7 @@ div.objTile { display: inline-block; width: 200px; border: 1px solid #D6D6 transition: background .4s, box-shadow .4s; } div.objTile > div { position: relative; padding: .5em .5em 1.5em .5em; } div.objTile h4 { margin: 0; padding: 0 .5em; text-align: center; } -div.objTile img { max-width: 198px; } +div.objTile img { max-width: 198px; margin: 0; } div.objTile:hover { background: #F2F2F2; box-shadow: 1px 1px 3px #D6D6D6, -1px -1px 3px #D6D6D6; } div.objTile > div > div { color: #888; font-size: .8em; } diff --git a/themes/default/theme.css b/themes/default/theme.css index 732a024..b07f0b0 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -132,6 +132,7 @@ body > nav > ul > li a:hover { background: #000; color: #FFF; } */ main { padding: 1em 0 1em 0; text-align: justify; } +main img { margin: 1em; } /************ * Main footer.