Image captions from azaozz. see #6812

git-svn-id: https://develop.svn.wordpress.org/trunk@8239 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-07-02 18:41:11 +00:00
parent 458399dd51
commit 45ac770299
13 changed files with 365 additions and 93 deletions

View File

@@ -1,6 +1,7 @@
/* This file contains the CSS data for the editable area(iframe) of TinyMCE */
.aligncenter {
.aligncenter,
dl.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
@@ -14,6 +15,31 @@
float: right;
}
.wp_caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp_caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp_caption_dd {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
body.mceContentBody {
background: #fff;
color: #000;
@@ -63,3 +89,7 @@ a.mceItemAnchor {
padding-left: 12px;
background: url(img/items.gif) no-repeat bottom left;
}
.mceIEcenter {
text-align: center;
}