]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyfourteen/css/editor-style.css
WordPress 4.2-scripts
[autoinstalls/wordpress.git] / wp-content / themes / twentyfourteen / css / editor-style.css
index 010f35809e87a62e8599f0fb2b4041da9b7046de..b4dd3253f2dd77530b6736506155eef0586f0642 100644 (file)
@@ -17,6 +17,7 @@ Description: Used to style the TinyMCE editor.
  * 8.0 - Galleries
  * 9.0 - Audio/Video
  * 10.0 - RTL
+ * 11.0 - Media Queries
  * ----------------------------------------------------------------------------
  */
 
@@ -719,3 +720,18 @@ html .mceContentBody.rtl {
 .rtl td {
        text-align: right;
 }
+
+
+/**
+ * 11.0 Media Queries
+ */
+
+@media screen and (max-width: 494px) {
+       body, img, .wp-caption {
+               max-width: 100%;
+       }
+
+       img, .wp-caption {
+               width: auto !important;
+       }
+}