Added mobile layout tweaks for in-text images

This commit is contained in:
Said Achmiz 2020-02-11 23:51:56 -05:00
parent 43a09369f2
commit 571fc1749b

View File

@ -564,6 +564,19 @@ article .img.right ~ hr ~ p {
max-width: unset; max-width: unset;
} }
@media only screen and (max-width: 960px) {
article .img.left,
article .img.right {
float: none;
margin: 2em auto 1.5em auto;
}
article .img.left ~ p,
article .img.right ~ p {
float: none;
max-width: unset;
}
}
/*=-----------=*/ /*=-----------=*/
/*= Sections. =*/ /*= Sections. =*/
/*=-----------=*/ /*=-----------=*/