Twenty Thirteen: first pass to add post format visual styles to visual editor. Props celloexpressions and obenland, see #24308 and #24298.

git-svn-id: http://core.svn.wordpress.org/trunk@24308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-05-20 22:18:09 +00:00
parent f35f74f092
commit 908a7b5368

View File

@ -341,4 +341,151 @@ img {
line-height: 1.5;
margin-bottom: 24px;
padding: 0;
}
/**
* Post Formats
* ----------------------------------------------------------------------------
*/
/* Aside */
.post-format-aside {
background-color: #f7f5e7;
}
.post-format-aside blockquote {
font-size: 100%;
font-weight: normal;
}
.post-format-aside cite {
font-size: 100%;
text-transform: none;
}
.post-format-aside cite:before {
content: "\2014";
margin-right: 5px;
}
/* Audio */
.post-format-audio {
background-color: #db572f;
}
.post-format-audio a {
color: #fbfaf3;
}
/* Chat */
.post-format-chat {
background-color: #eadaa6;
}
.post-format-chat a {
color: #722d19;
}
/* Gallery */
.post-format-gallery {
background-color: #fbca3c;
}
.post-format-gallery a {
color: #722d19;
}
/* Image: same as Standard/Defaults */
/* Link */
.post-format-link {
background-color: #f7f5e7;
}
/* Quote */
.post-format-quote {
background-color: #210d10;
color: #f7f5e7;
font-style: italic;
font-weight: 300;
margin: 0;
padding-left: 75px;
}
.post-format-quote.mceContentBody {
font-size: 28px;
}
.post-format-quote:before {
content: '\201C';
font-size: 140px;
font-weight: 400;
line-height: .8;
padding-right: 25px;
position: absolute;
left: -8px;
top: -3px;
}
.post-format-quote blockquote {
margin: 0;
}
.post-format-quote a {
color: #e63f2a;
}
.post-format-quote blockquote small,
.post-format-quote blockquote cite {
display: block;
font-size: 16px;
}
/* Status */
.post-format-status {
background-color: #722d19;
color: #f7f5e7;
font-style: italic;
font-weight: 300;
padding: 0;
padding-left: 35px;
}
.post-format-status.mceContentBody {
font-size: 24px;
}
.post-format-status:before {
background-size: 4px 4px;
background: url(../images/dotted-line.png) repeat-y left bottom;
content: "";
display: block;
height: 100%;
position: absolute;
left: 15px;
top: 0;
width: 1px;
}
.post-format-status p:first-child:before {
background-color: rgba(0, 0, 0, 0.65);
content: "";
height: 3px;
width: 13px;
margin-top: 13px;
position: absolute;
left: 9px;
}
.post-format-status a {
color: #eadaa6;
}
/* Video */
.post-format-video {
background-color: #db572f;
}
.post-format-video a {
color: #fbfaf3;
}