]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentythirteen/css/editor-style.css
WordPress 4.2-scripts
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / css / editor-style.css
index 568418992b4b45e9b1a9aa9f35d2055844ba83a0..2e6218449e5283182d7e001c30594c8fce022662 100644 (file)
@@ -18,6 +18,7 @@ Description: Used to style the TinyMCE editor.
  * 9.0 - Audio/Video
  * 10.0 - Post Formats
  * 11.0 - RTL
+ * 12.0 - Media Queries
  * ----------------------------------------------------------------------------
  */
 
@@ -769,3 +770,18 @@ html .mceContentBody.rtl {
        background: none;
        content: none;
 }
+
+
+/**
+ * 12.0 Media Queries
+ */
+
+@media screen and (max-width: 604px) {
+       body, img, .wp-caption {
+               max-width: 100%;
+       }
+
+       img, .wp-caption {
+               width: auto !important;
+       }
+}