From ec90e1d47c3723f6aa26b62320671f4c94fa2f92 Mon Sep 17 00:00:00 2001 From: Joe Hutchinson Date: Wed, 16 Jan 2019 10:47:07 -0500 Subject: [PATCH] Improve smallimg smartfloat feature spacing and clear on hr and heading --- static/css/style.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 4a747b0..28f2cf5 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -285,8 +285,7 @@ strong { .small-img { width: unset; max-width: 100%; - margin-right: auto; - margin-left: auto; + margin: 1.5em auto; } .muted-text { color: #7A7B7C; @@ -301,6 +300,7 @@ strong { } h1, h2, h3, h4, h5, h6 { margin: 1.5em 0 0.7em 0; + clear: both; } img { display: block; @@ -338,6 +338,7 @@ hr { border: 0; border-bottom: thin solid #D1D1D1; margin: 3em 0; + clear: both; } a { color: #3A3B3C; @@ -436,11 +437,11 @@ footer { } .smartfloat-right { float: right; - margin-left: 1em; + margin: 0em 0em 1em 1em; } .smartfloat-left { float: left; - margin-right: 1em; + margin: 0em 1em 1em 0em; } code { border-radius: 0.2rem;