Editor: add space around aligned images

Also increase the font size of captions.

Part props jmichaelward.
Fixes #32176.

Built from https://develop.svn.wordpress.org/trunk@33415


git-svn-id: http://core.svn.wordpress.org/trunk@33383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ella Iseulde Van Dorpe 2015-07-25 13:12:25 +00:00
parent 87aaf3bcfe
commit 0433e258b9
2 changed files with 25 additions and 39 deletions

View File

@ -71,45 +71,16 @@ img.emoji {
box-shadow: none !important; box-shadow: none !important;
} }
.aligncenter,
dl.aligncenter,
.html5-captions .wp-caption.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
.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;
}
.mceIEcenter { .mceIEcenter {
text-align: center; text-align: center;
} }
.wp-caption img { .wp-caption {
margin: 0; margin: 0;
padding: 0; }
border: 0 none;
.wp-caption img {
display: block;
} }
div.mceTemp { div.mceTemp {
@ -122,10 +93,25 @@ dl.wp-caption * {
} }
.wp-caption-dd { .wp-caption-dd {
font-size: 11px; font-size: 14px;
line-height: 17px; padding-top: 0.5em;
padding: 0 4px 5px; margin: 0; /* browser reset */
margin: 0; }
.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 */ /* Remove blue highlighting of selected images in WebKit */

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-beta4-33414'; $wp_version = '4.3-beta4-33415';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.