Improve smallimg smartfloat feature spacing and clear on hr and heading

This commit is contained in:
Joe Hutchinson
2019-01-16 10:47:07 -05:00
parent 87e672cb24
commit ec90e1d47c

View File

@@ -285,8 +285,7 @@ strong {
.small-img { .small-img {
width: unset; width: unset;
max-width: 100%; max-width: 100%;
margin-right: auto; margin: 1.5em auto;
margin-left: auto;
} }
.muted-text { .muted-text {
color: #7A7B7C; color: #7A7B7C;
@@ -301,6 +300,7 @@ strong {
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
margin: 1.5em 0 0.7em 0; margin: 1.5em 0 0.7em 0;
clear: both;
} }
img { img {
display: block; display: block;
@@ -338,6 +338,7 @@ hr {
border: 0; border: 0;
border-bottom: thin solid #D1D1D1; border-bottom: thin solid #D1D1D1;
margin: 3em 0; margin: 3em 0;
clear: both;
} }
a { a {
color: #3A3B3C; color: #3A3B3C;
@@ -436,11 +437,11 @@ footer {
} }
.smartfloat-right { .smartfloat-right {
float: right; float: right;
margin-left: 1em; margin: 0em 0em 1em 1em;
} }
.smartfloat-left { .smartfloat-left {
float: left; float: left;
margin-right: 1em; margin: 0em 1em 1em 0em;
} }
code { code {
border-radius: 0.2rem; border-radius: 0.2rem;