Browse Source

Added mobile layout tweaks for in-text images

full-screen-logo-homepage
Said Achmiz 5 years ago
parent
commit
571fc1749b
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      assets/css/main.css

+ 13
- 0
assets/css/main.css View File

@@ -564,6 +564,19 @@ article .img.right ~ hr ~ p {
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. =*/
/*=-----------=*/

Loading…
Cancel
Save