<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[18342] trunk/wp-content/themes/twentyeleven: Twenty Eleven RTL update, props yoavf, fixes #17882</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/18342">18342</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2011-06-25 20:24:07 +0000 (Sat, 25 Jun 2011)</dd>
</dl>
<h3>Log Message</h3>
<pre>Twenty Eleven RTL update, props yoavf, fixes <a href="http://trac.wordpress.org/ticket/17882">#17882</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentyelevencolorsdarkcss">trunk/wp-content/themes/twentyeleven/colors/dark.css</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenincthemeoptionsphp">trunk/wp-content/themes/twentyeleven/inc/theme-options.php</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenrtlcss">trunk/wp-content/themes/twentyeleven/rtl.css</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenstylecss">trunk/wp-content/themes/twentyeleven/style.css</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentyelevenimagescommentbubbledarkrtlpng">trunk/wp-content/themes/twentyeleven/images/comment-bubble-dark-rtl.png</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagescommentbubblertlpng">trunk/wp-content/themes/twentyeleven/images/comment-bubble-rtl.png</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentyelevencolorsdarkcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/colors/dark.css (18341 => 18342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/colors/dark.css        2011-06-24 21:58:36 UTC (rev 18341)
+++ trunk/wp-content/themes/twentyeleven/colors/dark.css        2011-06-25 20:24:07 UTC (rev 18342)
</span><span class="lines">@@ -210,6 +210,9 @@
</span><span class="cx">         color: #888;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+.rtl .entry-header .comments-link a {
+        background-image: url(../images/comment-bubble-dark-rtl.png);
+}
</ins><span class="cx"> /* Singular content styles for Posts and Pages */
</span><span class="cx"> .singular .entry-title {
</span><span class="cx">         color: #fff;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyelevenimagescommentbubbledarkrtlpng"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/comment-bubble-dark-rtl.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/comment-bubble-dark-rtl.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkwpcontentthemestwentyelevenimagescommentbubblertlpng"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/comment-bubble-rtl.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/comment-bubble-rtl.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkwpcontentthemestwentyelevenincthemeoptionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/inc/theme-options.php (18341 => 18342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/inc/theme-options.php        2011-06-24 21:58:36 UTC (rev 18341)
+++ trunk/wp-content/themes/twentyeleven/inc/theme-options.php        2011-06-25 20:24:07 UTC (rev 18342)
</span><span class="lines">@@ -165,6 +165,9 @@
</span><span class="cx">                 'theme_layout' => 'content-sidebar',
</span><span class="cx">         );
</span><span class="cx">
</span><ins>+        if ( is_rtl() )
+                 $default_theme_options['theme_layout'] = 'sidebar-content';
+
</ins><span class="cx">         return apply_filters( 'twentyeleven_default_theme_options', $default_theme_options );
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -391,7 +394,12 @@
</span><span class="cx">         else
</span><span class="cx">                 $classes = array( 'one-column' );
</span><span class="cx">
</span><del>-        $classes[] = $current_layout;
</del><ins>+        if ( 'content-sidebar' == $current_layout )
+                $classes[] = 'right-sidebar';
+        elseif ( 'sidebar-content' == $current_layout )
+                $classes[] = 'left-sidebar';
+        else
+                $classes[] = $current_layout;
</ins><span class="cx">
</span><span class="cx">         $classes = apply_filters( 'twentyeleven_layout_classes', $classes, $current_layout );
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyelevenrtlcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/rtl.css (18341 => 18342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/rtl.css        2011-06-24 21:58:36 UTC (rev 18341)
+++ trunk/wp-content/themes/twentyeleven/rtl.css        2011-06-25 20:24:07 UTC (rev 18342)
</span><span class="lines">@@ -9,25 +9,120 @@
</span><span class="cx">
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/* =Global
</del><ins>+/* =Reset reset
</ins><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><del>-body {
-        direction: rtl;
-        unicode-bidi: embed;
-}
</del><span class="cx"> caption, th, td {
</span><span class="cx">         text-align: right;
</span><span class="cx"> }
</span><ins>+
+/* =Structure
+----------------------------------------------- */
+
+body {
+        direction:rtl;
+        unicode-bidi:embed;
+}
+
+/* Showcase */
+.page-template-showcase-php section.recent-posts {
+        float: left;
+        margin: 0 31% 0 0;
+}
+.page-template-showcase-php #main .widget-area {
+        float: right;
+        margin: 0 0 0 -22.15%;
+}
+
+/* One column */
+
+.one-column article.feature-image.small .entry-summary a {
+        left: auto;
+        right: -9%;
+}
+
+/* Simplify the pullquotes and pull styles */
+.one-column.singular .entry-meta .edit-link a {
+        right: 0px;
+        left: auto;
+}
+/* Make sure we have room for our comment avatars */
+.one-column .commentlist > li.comment {
+        margin-left: 0;
+        margin-right: 102px;
+}
+/* Make sure the logo and search form don't collide */
+.one-column #branding #searchform {
+        right: auto;
+        left: 40px;
+}
+/* Talking avatars take up too much room at this size */
+.one-column .commentlist > li.comment {
+        margin-right: 0;
+}
+.one-column .commentlist > li.comment .comment-meta,
+.one-column .commentlist > li.comment .comment-content {
+        margin-right: 0;
+        margin-left: 85px;
+}
+.one-column .commentlist .avatar {
+        right: auto;
+        left: 1.625em;
+}
+.one-column .commentlist .children .avatar {
+        left: auto;
+        right: 2.2em;
+}
+
+/* =Global
+----------------------------------------------- */
+
+/* Text elements */
+p {
+        margin-bottom: 1.625em;
+}
</ins><span class="cx"> ul, ol {
</span><span class="cx">         margin: 0 2.5em 1.625em 0;
</span><span class="cx"> }
</span><ins>+.ltr ul, ol {
+        margin: 0 0 1.625em 2.5em;        
+}
+blockquote {
+        font-family: Arial, sans-serif;
+}
+blockquote em, blockquote i, blockquote cite {
+        font-style: normal;
+}
+
+/* Forms */
</ins><span class="cx"> textarea {
</span><ins>+        padding-left: 0;
</ins><span class="cx">         padding-right: 3px;
</span><del>-        padding-left: 0;
</del><span class="cx"> }
</span><ins>+input#s {
+        background-position: 97% 6px;
+        padding: 4px 28px 4px 10px;
+}
</ins><span class="cx">
</span><ins>+/* Assistive text */
+#access a.assistive-text:active,
+#access a.assistive-text:focus {
+        left: auto;
+        right: 7.6%;
+}
</ins><span class="cx">
</span><ins>+/* =Header
+----------------------------------------------- */
+
+#site-title {
+        margin-right: 0;
+        margin-left: 270px;
+}
+
+#site-description {
+        margin: 0 0 3.65625em 270px;
+}
+
</ins><span class="cx"> /* =Menu
</span><span class="cx"> -------------------------------------------------------------- */
</span><span class="cx">
</span><span class="lines">@@ -37,94 +132,108 @@
</span><span class="cx"> #access ul {
</span><span class="cx">         margin: 0 -0.8125em 0 0;
</span><span class="cx">         padding-right: 0;
</span><del>-        padding-left: 0;
</del><span class="cx"> }
</span><span class="cx"> #access li {
</span><span class="cx">         float: right;
</span><span class="cx"> }
</span><span class="cx"> #access ul ul {
</span><span class="cx">         float: right;
</span><ins>+        left: auto;
</ins><span class="cx">         right: 0;
</span><span class="cx"> }
</span><span class="cx"> #access ul ul ul {
</span><ins>+        left: auto;
</ins><span class="cx">         right: 100%;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Search Form */
</span><span class="cx"> #branding #searchform {
</span><ins>+        right: auto;
</ins><span class="cx">         left: 7.6%;
</span><span class="cx">         text-align: left;
</span><span class="cx"> }
</span><del>-
</del><span class="cx"> #branding #s {
</span><span class="cx">         float: left;
</span><del>-        padding: 4px 28px 4px 10px;
-        width: 8%;
</del><span class="cx"> }
</span><del>-#branding #s:focus {
-        width: 26%;
</del><ins>+#branding .only-search + #access div {
+        padding-right: 0;
+        padding-left: 160px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> /* =Content
</span><span class="cx"> ----------------------------------------------- */
</span><del>-
</del><span class="cx"> .entry-title,
</span><span class="cx"> .entry-header .entry-meta {
</span><ins>+        padding-right: 0;
</ins><span class="cx">         padding-left: 76px;
</span><del>-        padding-right: 0;
</del><span class="cx"> }
</span><span class="cx"> .entry-content td,
</span><span class="cx"> .comment-content td {
</span><span class="cx">         padding: 6px 0 6px 10px;
</span><span class="cx"> }
</span><span class="cx"> .page-link span {
</span><ins>+        margin-right: 0;
</ins><span class="cx">         margin-left: 6px;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span><span class="cx"> .entry-meta .edit-link a {
</span><span class="cx">         float: left;
</span><span class="cx"> }
</span><ins>+/* Images */
</ins><span class="cx">
</span><ins>+.wp-caption .wp-caption-text,
+.gallery-caption {
+        font-family: Arial, sans-serif;
+}
+.wp-caption .wp-caption-text {
+        padding: 10px 40px 5px 0px;
+}
+.wp-caption .wp-caption-text:before {
+        margin-right: 0;
+        margin-left: 5px;
+        left: auto;
+        right: 10px;
+}
+#content .gallery-columns-4 .gallery-item {
+        padding-right:0;
+        padding-left:2%;
+}
+
</ins><span class="cx"> /* Author Info */
</span><span class="cx"> .singular #author-info {
</span><span class="cx">         margin: 2.2em -35.4% 0 -35.6%;
</span><span class="cx"> }
</span><span class="cx"> #author-avatar {
</span><span class="cx">         float: right;
</span><ins>+        margin-right: 0;
</ins><span class="cx">         margin-left: -78px;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span><span class="cx"> #author-description {
</span><span class="cx">         float: right;
</span><ins>+        margin-left: 0;
</ins><span class="cx">         margin-right: 108px;
</span><del>-        margin-left: auto;
</del><span class="cx"> }
</span><del>-
</del><span class="cx"> /* Comments link */
</span><span class="cx"> .entry-header .comments-link a {
</span><ins>+        background-image: url(images/comment-bubble-rtl.png);
+        right: auto;
</ins><span class="cx">         left: 0;
</span><del>-        right: auto;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-/* Singular content styles for Posts and Pages */
</del><ins>+/*
+        Post Formats Headings
+*/
</ins><span class="cx"> .singular .entry-title,
</span><span class="cx"> .singular .entry-header .entry-meta {
</span><span class="cx">         padding-left: 0;
</span><del>-        padding-right: 0;
</del><span class="cx"> }
</span><span class="cx"> .singular .entry-header .entry-meta {
</span><ins>+        left: auto;
</ins><span class="cx">         right: 0;
</span><span class="cx"> }
</span><del>-.singular .pull.alignright {
-        margin: 0 -22.25% 0 1.625em;
-}
-.singular .pull.alignleft {
-        margin: 0 1.625em 0 -22.25%;
-}
</del><span class="cx"> .singular .entry-meta .edit-link a {
</span><ins>+        left: auto;
</ins><span class="cx">         right: 50px;
</span><del>-        left: auto;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -133,8 +242,7 @@
</span><span class="cx">
</span><span class="cx"> .format-gallery .gallery-thumb {
</span><span class="cx">         float: right;
</span><del>-        margin-left: 1.625em;
-        margin-right: auto;
</del><ins>+        margin: .375em 0 0 1.625em;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -147,46 +255,32 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><del>-/* =Quote
------------------------------------------------ */
-
</del><span class="cx"> /* =Image
</span><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><del>-.format-image footer.entry-meta {
-        margin-left: 2px;
-        margin-right: auto;
-}
-.format-image div.entry-meta {
</del><ins>+.indexed.format-image div.entry-meta {
</ins><span class="cx">         float: right;
</span><span class="cx"> }
</span><del>-
-
</del><span class="cx"> /* =error404
</span><del>------------------------------------------------ */
-
</del><ins>+----------------------
+------------------------- */
</ins><span class="cx"> .error404 #main .widget {
</span><span class="cx">         float: right;
</span><ins>+        margin-right: auto;
</ins><span class="cx">         margin-left: 3.7%;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span><del>-
</del><span class="cx"> .error404 #main .widget_archive {
</span><span class="cx">         margin-left: 0;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span><del>-
</del><span class="cx"> .error404 #main .widget_tag_cloud {
</span><span class="cx">         margin-left: 0;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-
</del><span class="cx"> /* =Showcase
</span><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><del>-/* Intro */
</del><span class="cx"> article.intro .edit-link a {
</span><ins>+        right: auto;
</ins><span class="cx">         left: 20px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -197,41 +291,42 @@
</span><span class="cx">
</span><span class="cx"> /* Small featured post */
</span><span class="cx"> section.featured-post .attachment-small-feature {
</span><del>-        border-left: 20px solid #bbb;
</del><span class="cx">         float: left;
</span><del>-        margin: -10px 0 1.625em -8.9%;
-        left: -35px;
-        border-right: none;
</del><ins>+        margin: 0 0 1.625em -8.9%;
+        right: auto;
+        left: -15px;
</ins><span class="cx"> }
</span><span class="cx"> article.feature-image.small {
</span><span class="cx">         float: right;
</span><span class="cx"> }
</span><span class="cx"> article.feature-image.small .entry-summary p a {
</span><ins>+        left:auto;
</ins><span class="cx">         right: -23.8%;
</span><del>-        padding: 4px 85px 4px 26px;
</del><ins>+        padding: 9px 85px 9px 26px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Large featured post */
</span><span class="cx"> section.feature-image.large .hentry {
</span><ins>+        left:auto;
</ins><span class="cx">         right: 9%;
</span><span class="cx">         margin: 1.625em 0 0 9%;
</span><span class="cx"> }
</span><del>-
</del><span class="cx"> /* Featured Slider */
</span><span class="cx"> .featured-posts .showcase-heading {
</span><ins>+        padding-left: 0;
</ins><span class="cx">         padding-right: 8.9%;
</span><del>-        padding-left: 0;
</del><span class="cx"> }
</span><span class="cx"> .featured-posts section.featured-post {
</span><ins>+        left: auto;
</ins><span class="cx">         right: 0;
</span><span class="cx"> }
</span><span class="cx"> #content .feature-slider {
</span><del>-        right: 8.9%;
</del><ins>+        right: auto;
+        left: 8.9%;
</ins><span class="cx"> }
</span><span class="cx"> .feature-slider li {
</span><span class="cx">         float: right;
</span><span class="cx"> }
</span><del>-
</del><span class="cx"> /* Recent Posts */
</span><span class="cx"> section.recent-posts .other-recent-posts a[rel="bookmark"] {
</span><span class="cx">         float: right;
</span><span class="lines">@@ -243,20 +338,9 @@
</span><span class="cx">         text-align: left;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-
-/* =Images
</del><ins>+/* =Attachments
</ins><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><del>-.wp-caption .wp-caption-text {
-        padding: 10px 40px 5px 0px;
-}
-.wp-caption .wp-caption-text:before {
-        margin-left: 5px;
-        right: 10px;
-        margin-right: auto;
-}
-
-
</del><span class="cx"> /* =Navigation
</span><span class="cx"> -------------------------------------------------------------- */
</span><span class="cx">
</span><span class="lines">@@ -270,12 +354,12 @@
</span><span class="cx">
</span><span class="cx"> /* Singular navigation */
</span><span class="cx"> #nav-single {
</span><ins>+        right: auto;
</ins><span class="cx">         left: 0;
</span><del>-        right: auto;
</del><span class="cx"> }
</span><span class="cx"> #nav-single .nav-next {
</span><ins>+        padding-left: 0;
</ins><span class="cx">         padding-right: .5em;
</span><del>-        padding-left: 0;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -283,217 +367,216 @@
</span><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><span class="cx"> .widget ul ul {
</span><ins>+        margin-left: 0;
</ins><span class="cx">         margin-right: 1.5em;
</span><del>-        margin-left: auto;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Twitter */
</span><span class="cx"> .widget_twitter .timesince {
</span><ins>+        margin-right: 0;
</ins><span class="cx">         margin-left: -10px;
</span><span class="cx">         text-align: left;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-
</del><span class="cx"> /* =Comments
</span><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><span class="cx"> .commentlist .children li.comment {
</span><ins>+        border-left: none;
</ins><span class="cx">         border-right: 1px solid #ddd;
</span><del>-        -moz-border-radius: 3px 0 0 3px;
</del><ins>+        -moz-border-radius: 3px 0 0 3px;
</ins><span class="cx">         border-radius: 3px 0 0 3px;
</span><del>-        border-left: none;
</del><span class="cx"> }
</span><span class="cx"> .commentlist .children li.comment .comment-meta {
</span><ins>+        margin-left: 0;
</ins><span class="cx">         margin-right: 50px;
</span><del>-        margin-left: auto;
</del><span class="cx"> }
</span><span class="cx"> .commentlist .avatar {
</span><ins>+        left: auto;
</ins><span class="cx">         right: -102px;
</span><span class="cx"> }
</span><span class="cx"> .commentlist > li:before {
</span><span class="cx">         content: url(images/comment-arrow-rtl.png);
</span><ins>+        left:auto;
</ins><span class="cx">         right: -21px;
</span><span class="cx"> }
</span><del>-.commentlist > li.bypostauthor:before {
-        content: url(images/comment-arrow-bypostauthor-rtl.png);
</del><ins>+.commentlist > li.pingback:before {
+        content: '';
</ins><span class="cx"> }
</span><span class="cx"> .commentlist .children .avatar {
</span><ins>+        left: auto;
</ins><span class="cx">         right: 2.2em;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+/* Post author highlighting */
+.commentlist > li.bypostauthor:before {
+        content: url(images/comment-arrow-bypostauthor-rtl.png);
+}
+
+/* sidebar-page.php comments */
+/* Make sure we have room for our comment avatars */
+.page-template-sidebar-page-php .commentlist > li.comment,
+.page-template-sidebar-page-php.commentlist .pingback {
+        margin-left: 0;
+        margin-right: 102px;
+}
+
</ins><span class="cx"> /* Comment Form */
</span><span class="cx"> #respond .comment-form-author label,
</span><span class="cx"> #respond .comment-form-email label,
</span><span class="cx"> #respond .comment-form-url label,
</span><span class="cx"> #respond .comment-form-comment label {
</span><ins>+        left: auto;
</ins><span class="cx">         right: 4px;
</span><span class="cx"> }
</span><ins>+#respond .comment-form-author label,
+#respond .comment-form-email label,
+#respond .comment-form-url label,
+#respond .comment-form-comment label {
+        -webkit-box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
+        -moz-box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
+        box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
+}
</ins><span class="cx"> #respond .comment-form-author .required,
</span><span class="cx"> #respond .comment-form-email .required {
</span><del>-        right: 68%;
</del><ins>+        left: auto;
+        right: 75%;
</ins><span class="cx"> }
</span><span class="cx"> #respond .form-submit {
</span><span class="cx">         float: left;
</span><span class="cx"> }
</span><span class="cx"> #respond input#submit {
</span><ins>+        left: auto;
</ins><span class="cx">         right: 30px;
</span><span class="cx">         padding: 5px 22px 5px 42px;
</span><span class="cx"> }
</span><span class="cx"> #respond #cancel-comment-reply-link {
</span><ins>+        margin-left: 0;
</ins><span class="cx">         margin-right: 10px;
</span><del>-        margin-left: auto;
</del><span class="cx"> }
</span><span class="cx"> #cancel-comment-reply-link {
</span><ins>+        right: auto;
</ins><span class="cx">         left: 1.625em;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-
</del><span class="cx"> /* =Footer
</span><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><span class="cx"> /* Two Footer Widget Areas */
</span><span class="cx"> #supplementary.two .widget-area {
</span><span class="cx">         float: right;
</span><ins>+        margin-right: 0;
</ins><span class="cx">         margin-left: 3.7%;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span><span class="cx"> #supplementary.two .widget-area + .widget-area {
</span><span class="cx">         margin-left: 0;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Three Footer Widget Areas */
</span><span class="cx"> #supplementary.three .widget-area {
</span><span class="cx">         float: right;
</span><ins>+        margin-right: 0;
</ins><span class="cx">         margin-left: 3.7%;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span><span class="cx"> #supplementary.three .widget-area + .widget-area + .widget-area {
</span><span class="cx">         margin-left: 0;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-/* Simplify the showcase template when small feature */
-        section.featured-post .attachment-small-feature,
-        .one-column section.featured-post .attachment-small-feature {
-        float: right;
</del><ins>+/* Site Generator Line */
+#site-generator .sep {
+        background-position: right center;
</ins><span class="cx"> }
</span><del>-article.feature-image.small {
-        float: left;
-}
-article.feature-image.small .entry-summary a {
-        right: -9%;
-}
</del><span class="cx">
</span><span class="cx">
</span><span class="cx"> /* =Responsive Structure
</span><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><span class="cx"> @media (max-width: 800px) {
</span><del>-
-        /* Three Footer Widget Areas */
-        #supplementary.three .widget-area {
-                float: right;
-                margin-left: 3.7%;
-                margin-right: auto;
-        }
-        #supplementary.three .widget-area + .widget-area + .widget-area {
-                margin-left: 0;
-                margin-right: auto;
-        }
-
</del><span class="cx">         /* Simplify the showcase template when small feature */
</span><del>-                section.featured-post .attachment-small-feature,
-                .one-column section.featured-post .attachment-small-feature {
</del><ins>+        section.featured-post .attachment-small-feature,
+        .one-column section.featured-post .attachment-small-feature {
</ins><span class="cx">                 float: right;
</span><span class="cx">         }
</span><span class="cx">         article.feature-image.small {
</span><span class="cx">                 float: left;
</span><span class="cx">         }
</span><del>-        article.feature-image.small .entry-summary a {
-                right: -9%;
</del><ins>+        article.feature-image.small .entry-summary p a {
+                right: 0;
</ins><span class="cx">         }
</span><del>-
-        /* Make sure the logo and search form don't collide */
-                #branding #searchform {
-                left: 1px;
</del><ins>+        .singular .entry-meta .edit-link a {
+                left: auto;
+                right: 0px;
</ins><span class="cx">         }
</span><del>-}
-
-@media (max-width: 800px) {
-
-        /* Three Footer Widget Areas */
-        #supplementary.three .widget-area {
-                float: right;
-                margin-left: 3.7%;
-                margin-right: auto;
</del><ins>+        /* Make sure we have room for our comment avatars */
+        .commentlist > li.comment,
+        .commentlist .pingback {
+                margin-left: 0;
+                margin-right: 102px;
</ins><span class="cx">         }
</span><del>-        #supplementary.three .widget-area + .widget-area + .widget-area {
</del><ins>+        /* No need to float footer widgets at this size */
+        #colophon #supplementary .widget-area {
</ins><span class="cx">                 margin-left: 0;
</span><del>-                margin-right: auto;
</del><span class="cx">         }
</span><del>-
-        /* Simplify the showcase template when small feature */
-                section.featured-post .attachment-small-feature,
-                .one-column section.featured-post .attachment-small-feature {
-                float: right;
</del><ins>+        /* No need to float 404 widgets at this size */
+        .error404 #main .widget {
+                margin-left: 0;
</ins><span class="cx">         }
</span><del>-        article.feature-image.small {
-                float: left;
</del><ins>+}
+@media (max-width: 650px) {
+        /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */
+        #site-title,
+        #site-description {
+                margin-left: 0;
</ins><span class="cx">         }
</span><del>-        article.feature-image.small .entry-summary a {
-                right: -9%;
-                right: auto;
</del><ins>+        /* Talking avatars take up too much room at this size */
+        .commentlist > li.comment,
+        .commentlist > li.pingback {
+                margin-right: 0 !important;
</ins><span class="cx">         }
</span><del>-
-        /* Make sure the logo and search form don't collide */
-        #branding #searchform {
-        left: 1px;
</del><ins>+        .commentlist .children .avatar {
+                left: auto;
+                right: 2.2em;
</ins><span class="cx">         }
</span><del>-}
-
-@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
-        #primary {
-                float: right;
</del><ins>+        /* Use the available space in the smaller comment form */
+        #respond .comment-form-author .required,
+        #respond .comment-form-email .required {
+         left: auto;
+         right: 95%;
</ins><span class="cx">         }
</span><del>-        .commentlist .avatar {
-                right: 2.2em;
</del><ins>+        #content .gallery-columns-3 .gallery-item {
+                padding-right: 0;
+                padding-left:2%;
</ins><span class="cx">         }
</span><span class="cx"> }
</span><ins>+@media (max-width: 450px) {
+        #content .gallery-columns-2 .gallery-item {
+                padding-right:0;
+                padding-left:4%;
+        }
+}
</ins><span class="cx">
</span><del>-
</del><span class="cx"> /* =Print
</span><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><span class="cx"> @media print {
</span><span class="cx">         #primary {
</span><del>-                float: right;
</del><ins>+         float: right;
</ins><span class="cx">         }
</span><del>-
</del><span class="cx">         /* Comments */
</span><span class="cx">         .commentlist .avatar {
</span><del>-                right: 2.2em;
</del><ins>+         left: auto;
+         right: 2.2em;
</ins><span class="cx">         }
</span><ins>+        .commentlist li.comment .comment-meta {
+         margin-left: 0;
+         margin-right: 50px;
+        }
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-
</del><span class="cx"> /* =IE7
</span><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><del>-#ie7 article.intro {
-        margin-right: -7.6%;
-        margin-left: -7.6%;
-        padding-right: -7.6%;
-        padding-left: -7.6%;
-}
-
-#ie7 section.featured-post {
-        margin-right: -7.6%;
-        margin-left: -7.6%;
-}
-
</del><span class="cx"> #ie7 section.recent-posts {
</span><ins>+        margin-right: 0;
</ins><span class="cx">         margin-left: 7.6%;
</span><del>-        margin-right: auto;
</del><span class="cx"> }
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyelevenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/style.css (18341 => 18342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/style.css        2011-06-24 21:58:36 UTC (rev 18341)
+++ trunk/wp-content/themes/twentyeleven/style.css        2011-06-25 20:24:07 UTC (rev 18342)
</span><span class="lines">@@ -101,7 +101,7 @@
</span><span class="cx">         margin: 0;
</span><span class="cx"> }
</span><span class="cx"> .singular #content,
</span><del>-.sidebar-content.singular #content {
</del><ins>+.left-sidebar.singular #content {
</ins><span class="cx">         margin: 0 7.6%;
</span><span class="cx">         position: relative;
</span><span class="cx">         width: auto;
</span><span class="lines">@@ -126,11 +126,11 @@
</span><span class="cx">
</span><span class="cx"> /* Showcase */
</span><span class="cx"> .page-template-showcase-php #primary,
</span><del>-.sidebar-content.page-template-showcase-php #primary {
</del><ins>+.left-sidebar.page-template-showcase-php #primary {
</ins><span class="cx">         margin: 0;
</span><span class="cx"> }
</span><span class="cx"> .page-template-showcase-php #content,
</span><del>-.sidebar-content.page-template-showcase-php #content {
</del><ins>+.left-sidebar.page-template-showcase-php #content {
</ins><span class="cx">         margin: 0 7.6%;
</span><span class="cx">         width: auto;
</span><span class="cx"> }
</span><span class="lines">@@ -174,16 +174,16 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Right Content */
</span><del>-.sidebar-content #primary {
</del><ins>+.left-sidebar #primary {
</ins><span class="cx">         float: right;
</span><span class="cx">         margin: 0 0 0 -26.4%;
</span><span class="cx">         width: 100%;
</span><span class="cx"> }
</span><del>-.sidebar-content #content {
</del><ins>+.left-sidebar #content {
</ins><span class="cx">         margin: 0 7.6% 0 34%;
</span><span class="cx">         width: 58.4%;
</span><span class="cx"> }
</span><del>-.sidebar-content #secondary {
</del><ins>+.left-sidebar #secondary {
</ins><span class="cx">         float: left;
</span><span class="cx">         margin-left: 7.6%;
</span><span class="cx">         margin-right: 0;
</span><span class="lines">@@ -2043,14 +2043,6 @@
</span><span class="cx">         top: 40px;
</span><span class="cx">         z-index: 1;
</span><span class="cx"> }
</span><del>-.rtl #respond .comment-form-author label,
-.rtl #respond .comment-form-email label,
-.rtl #respond .comment-form-url label,
-.rtl #respond .comment-form-comment label {
-        -webkit-box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
-        -moz-box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
-        box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
-}
</del><span class="cx"> #respond input[type="text"]:focus,
</span><span class="cx"> #respond textarea:focus {
</span><span class="cx">         text-indent: 0;
</span></span></pre>
</div>
</div>
</body>
</html>