Commits

Ian Lewis committed cb3fc49

Updated image styles

Comments (0)

Files changed (1)

static/css/style.css

     margin-left: 2em; 
 }
 
+/* Don't add margins to images on small displays. */
+@media (min-width: 480px) {
+    .content .blog-post .post-content img {
+        margin: 1em;
+    }
+}
+@media (max-width: 480px) {
+    .content .blog-post .post-content img {
+        margin: 1em 0 1em 0;
+    }
+}
+
 .content .blog-post .post-content img {
-    margin: 1em;
 
     padding: 10px;
     border: 1px solid #CCC;