]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyfifteen/css/editor-style.css
WordPress 4.2
[autoinstalls/wordpress.git] / wp-content / themes / twentyfifteen / css / editor-style.css
index c9ea518d35193f13f53e299f4baa2a00dcdbba8f..ab1b75a573c29fd18f3c4e74860f3613d532ea2a 100644 (file)
@@ -15,6 +15,7 @@ Description: Used to style the TinyMCE editor.
  * 6.0 - Galleries
  * 7.0 - Audio / Video
  * 8.0 - RTL
+ * 9.0 - Media Queries
  */
 
 
@@ -300,10 +301,6 @@ img {
        vertical-align: middle;
 }
 
-a img {
-       display: block;
-}
-
 figure {
        margin: 0;
 }
@@ -479,3 +476,18 @@ body.rtl {
 .rtl table caption {
        text-align: right;
 }
+
+
+/**
+ * 9.0 Media Queries
+ */
+
+@media screen and (max-width: 740px) {
+       body, img, .wp-caption {
+               max-width: 100%;
+       }
+
+       img, .wp-caption {
+               width: auto !important;
+       }
+}