]> 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 1d66b73c593820d2bedc92b38111620719e64a6d..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
  * ----------------------------------------------------------------------------
  */
 
@@ -336,7 +337,8 @@ blockquote.alignright p {
  * ----------------------------------------------------------------------------
  */
 
-.mceItemTable {
+.mceItemTable,
+.mce-item-table {
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-width: 1px 0 0 1px;
        border-collapse: separate;
@@ -348,7 +350,9 @@ blockquote.alignright p {
 }
 
 .mceItemTable th,
-.mceItemTable caption {
+.mceItemTable caption,
+.mce-item-table th,
+.mce-item-table caption {
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-width: 0 1px 1px 0;
        font-weight: 700;
@@ -358,7 +362,8 @@ blockquote.alignright p {
        vertical-align: baseline;
 }
 
-.mceItemTable td {
+.mceItemTable td,
+.mce-item-table td {
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-width: 0 1px 1px 0;
        font-family: Lato, sans-serif;
@@ -715,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;
+       }
+}