]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/skins/wordpress/wp-content.css
WordPress 4.3
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / skins / wordpress / wp-content.css
index dd7b5c48db49161d653ffc76b5eb26b527bd175c..863cbf9fa319f20729a0b1188d6d757f1d2147f1 100644 (file)
@@ -21,6 +21,9 @@ body {
        margin: 9px 10px;
        max-width: 100%;
        -webkit-font-smoothing: antialiased !important;
+       overflow-wrap: break-word;
+       word-wrap: break-word; /* Old syntax */
+       word-break: break-word; /* iOS */
 }
 
 body.rtl {
@@ -71,56 +74,27 @@ img.emoji {
        box-shadow: none !important;
 }
 
-/* DFW mode */
-html.wp-fullscreen,
-html.wp-fullscreen body#tinymce {
-       width: auto;
-       max-width: none;
-       min-height: 0;
-       overflow: hidden;
-       color: #333;
-       background: transparent;
-}
-
-.aligncenter,
-dl.aligncenter,
-.html5-captions .wp-caption.aligncenter {
-       display: block;
-       margin-left: auto;
-       margin-right: auto;
-}
-
-.alignleft {
-       float: left;
+.mceIEcenter {
+       text-align: center;
 }
 
-.alignright {
-       float: right;
+img {
+       height: auto;
+       max-width: 100%;
 }
 
 .wp-caption {
-       border: 1px solid #ddd;
-       text-align: center;
-       background-color: #f3f3f3;
-       padding-top: 4px;
-       margin: 10px 0;
-}
-
-.html5-captions .wp-caption {
-       border: none;
-       background-color: transparent;
-       margin: 0;
-       padding: 0;
+       margin: 0; /* browser reset */
+       max-width: 100%;
 }
 
-.mceIEcenter {
-       text-align: center;
+/* iOS does not obey max-width if width is set. */
+.ios .wp-caption {
+       width: auto !important;
 }
 
 .wp-caption img {
-       margin: 0;
-       padding: 0;
-       border: 0 none;
+       display: block;
 }
 
 div.mceTemp {
@@ -133,10 +107,25 @@ dl.wp-caption * {
 }
 
 .wp-caption-dd {
-       font-size: 11px;
-       line-height: 17px;
-       padding: 0 4px 5px;
-       margin: 0;
+       font-size: 14px;
+       padding-top: 0.5em;
+       margin: 0; /* browser reset */
+}
+
+.aligncenter {
+       display: block;
+       margin-left: auto;
+       margin-right: auto;
+}
+
+.alignleft {
+       float: left;
+       margin: 0.5em 1em 0.5em 0;
+}
+
+.alignright {
+       float: right;
+       margin: 0.5em 0 0.5em 1em;
 }
 
 /* Remove blue highlighting of selected images in WebKit */