X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f5fcdc7994bb67cce809bc4777944ae8b7fad4a4..refs/tags/wordpress-4.3:/wp-includes/js/tinymce/skins/wordpress/wp-content.css diff --git a/wp-includes/js/tinymce/skins/wordpress/wp-content.css b/wp-includes/js/tinymce/skins/wordpress/wp-content.css index dd7b5c48..863cbf9f 100644 --- a/wp-includes/js/tinymce/skins/wordpress/wp-content.css +++ b/wp-includes/js/tinymce/skins/wordpress/wp-content.css @@ -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 */