From 0b58010a28588057e64622e479e2a215e1ce865d Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Mon, 15 Jul 2013 16:52:14 +0000 Subject: [PATCH] Twenty Thirteen: CSS fixes for visual post editor styles. Props celloexpressions and obenland, see #24308. git-svn-id: https://develop.svn.wordpress.org/trunk@24706 602fd350-edb4-49c9-b593-d223f7449a82 --- .../twentythirteen/css/editor-style.css | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/wp-content/themes/twentythirteen/css/editor-style.css b/wp-content/themes/twentythirteen/css/editor-style.css index 77b87704d6..1cd590774a 100644 --- a/wp-content/themes/twentythirteen/css/editor-style.css +++ b/wp-content/themes/twentythirteen/css/editor-style.css @@ -394,7 +394,6 @@ img { /* Audio */ .post-format-audio { background-color: #db572f; - padding-left: 120px; } .post-format-audio a { @@ -404,17 +403,15 @@ img { .post-format-audio:before { background: url(../images/dotted-line.png) repeat-y 85px 0; background-size: 4px 4px; - -webkit-font-smoothing: antialiased; + content: "\f109"; + display: block; + float: left; font-family: Genericons; font-size: 64px; - content: "\f109"; - float: left; - width: 120px; - display: block; + -webkit-font-smoothing: antialiased; height: 100%; - position: absolute; - left: 0; - top: 4px; + line-height: 1; + width: 120px; } /* Chat */ @@ -507,10 +504,10 @@ img { background-size: 4px 4px; content: ""; display: block; + float: left; height: 100%; - position: absolute; - left: 15px; - top: 0; + position: relative; + left: -30px; width: 1px; } @@ -565,4 +562,11 @@ html .mceContentBody.rtl { .rtl blockquote blockquote { margin-left: 0; margin-right: 24px; -} \ No newline at end of file +} + +.rtl.post-format-audio:before, +.rtl.post-format-status:before, +.rtl.post-format-status > p:first-child:before { + background: none; + content: none; +}