<!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>[18050] trunk/wp-content/themes/twentyeleven: Twenty Eleven: Style fixes and showcase improvements; Props matveb</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/18050">18050</a></dd>
<dt>Author</dt> <dd>iandstewart</dd>
<dt>Date</dt> <dd>2011-05-25 21:19:52 +0000 (Wed, 25 May 2011)</dd>
</dl>
<h3>Log Message</h3>
<pre>Twenty Eleven: Style fixes and showcase improvements; Props matveb
* Remove bottom border from last post
* Improve featured posts on the showcase: move slider navigation to the top right; make sure the bottom border shows; make the reading more link thicker
* Positioning fix for image post format meta
* Dark stylesheet improvements
* Ensure search input text is centred vertically</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="#trunkwpcontentthemestwentyelevenstylecss">trunk/wp-content/themes/twentyeleven/style.css</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 (18049 => 18050)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/colors/dark.css        2011-05-25 20:31:40 UTC (rev 18049)
+++ trunk/wp-content/themes/twentyeleven/colors/dark.css        2011-05-25 21:19:52 UTC (rev 18050)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx">         color: #858585;
</span><span class="cx"> }
</span><span class="cx"> #branding #s {
</span><del>-        background-color: #fff;
</del><ins>+        background-color: #ddd;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -69,6 +69,10 @@
</span><span class="cx"> ----------------------------------------------- */
</span><span class="cx">
</span><span class="cx"> #access {
</span><ins>+        background: #333; /* Show a solid color for older browsers */
+        background: -moz-linear-gradient(#383838, #272727);
+        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#383838), to(#272727)); /* older webkit syntax */
+        background: -webkit-linear-gradient(#383838, #272727);
</ins><span class="cx">         border-bottom: 1px solid #222;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyelevenincthemeoptionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/inc/theme-options.php (18049 => 18050)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/inc/theme-options.php        2011-05-25 20:31:40 UTC (rev 18049)
+++ trunk/wp-content/themes/twentyeleven/inc/theme-options.php        2011-05-25 21:19:52 UTC (rev 18050)
</span><span class="lines">@@ -321,7 +321,10 @@
</span><span class="cx">                 }
</span><span class="cx">                 section.recent-posts .other-recent-posts .comments-link a:hover {
</span><span class="cx">                         border-color: <?php echo $link_color; ?>;
</span><del>-                }                
</del><ins>+                }        
+                article.feature-image.small .entry-summary p a:hover {
+                        background: <?php echo $link_color; ?>;
+                }        
</ins><span class="cx">         </style>
</span><span class="cx"> <?php
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyelevenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/style.css (18049 => 18050)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/style.css        2011-05-25 20:31:40 UTC (rev 18049)
+++ trunk/wp-content/themes/twentyeleven/style.css        2011-05-25 21:19:52 UTC (rev 18050)
</span><span class="lines">@@ -593,6 +593,7 @@
</span><span class="cx">         float: right;
</span><span class="cx">         font-size: 14px;
</span><span class="cx">         height: 22px;
</span><ins>+        line-height: 1.2em;
</ins><span class="cx">         padding: 4px 10px 4px 28px;
</span><span class="cx">         -webkit-transition-duration: 400ms;
</span><span class="cx">         -webkit-transition-property: width, background;
</span><span class="lines">@@ -662,6 +663,9 @@
</span><span class="cx">         padding: 0 0 1.625em;
</span><span class="cx">         position: relative;
</span><span class="cx"> }
</span><ins>+.hentry:last-child {
+        border-bottom: none;
+}
</ins><span class="cx"> .blog .sticky .entry-header .entry-meta {
</span><span class="cx">         clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
</span><span class="cx">         clip: rect(1px, 1px, 1px, 1px);
</span><span class="lines">@@ -1078,6 +1082,9 @@
</span><span class="cx">         background: transparent;
</span><span class="cx">         padding: 30px 0;
</span><span class="cx"> }
</span><ins>+.one-column .format-image footer.entry-meta {
+        margin-right: 2px;
+}
</ins><span class="cx">
</span><span class="cx">
</span><span class="cx"> /* =error404
</span><span class="lines">@@ -1182,11 +1189,14 @@
</span><span class="cx">         border-right: 20px solid #bbb;
</span><span class="cx">         float: right;
</span><span class="cx">         height: auto;
</span><del>-        margin: -10px -8.9% 1.625em 0;
</del><ins>+        margin: 0 -8.9% 1.625em 0;
</ins><span class="cx">         max-width: 59%;
</span><span class="cx">         position: relative;
</span><span class="cx">         right: -35px;
</span><span class="cx"> }
</span><ins>+section.featured-post.small {
+        padding-top: 0;
+}
</ins><span class="cx"> section.featured-post .attachment-small-feature:hover {
</span><span class="cx">         border-color: #888;
</span><span class="cx"> }
</span><span class="lines">@@ -1195,6 +1205,9 @@
</span><span class="cx">         margin: 0 0 1.625em;
</span><span class="cx">         width: 45%;
</span><span class="cx"> }
</span><ins>+article.feature-image.small .entry-title {
+        line-height: 1.2em;
+}
</ins><span class="cx"> article.feature-image.small .entry-summary {
</span><span class="cx">         color: #555;
</span><span class="cx">         font-size: 13px;
</span><span class="lines">@@ -1204,22 +1217,23 @@
</span><span class="cx">         color: #eee;
</span><span class="cx">         display: block;
</span><span class="cx">         left: -23.8%;
</span><del>-        padding: 4px 26px 4px 85px;
</del><ins>+        padding: 9px 26px 9px 85px;
</ins><span class="cx">         position: relative;
</span><ins>+        text-decoration: none;
</ins><span class="cx">         top: 20px;
</span><del>-        text-decoration: none;
</del><span class="cx">         width: 180px;
</span><span class="cx"> }
</span><span class="cx"> article.feature-image.small .entry-summary p a:hover {
</span><span class="cx">         background: #1b8be0;
</span><del>-        color: #bfddf3;
</del><ins>+        color: #eee;
+        color: rgba(255,255,255,0.8);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Large featured post */
</span><span class="cx"> section.feature-image.large {
</span><span class="cx">         border: none;
</span><del>-        max-height: 500px;
-        padding: 0 0 0.8125em;
</del><ins>+        max-height: 300px;
+        padding: 0;
</ins><span class="cx">         width: 100%;
</span><span class="cx"> }
</span><span class="cx"> section.feature-image.large .showcase-heading {
</span><span class="lines">@@ -1273,6 +1287,7 @@
</span><span class="cx"> }
</span><span class="cx"> .featured-posts section.featured-post {
</span><span class="cx">         background: #fff;
</span><ins>+        height: 300px;
</ins><span class="cx">         left: 0;
</span><span class="cx">         margin: 0;
</span><span class="cx">         position: absolute;
</span><span class="lines">@@ -1284,10 +1299,10 @@
</span><span class="cx"> }
</span><span class="cx"> .featured-posts section.featured-post {
</span><span class="cx">         -webkit-transition-duration: 200ms;
</span><del>-        -webkit-transition-property: opacity, visibility;
</del><ins>+        -webkit-transition-property: opacity visibility;
</ins><span class="cx">         -webkit-transition-timing-function: ease;
</span><span class="cx">         -moz-transition-duration: 200ms;
</span><del>-        -moz-transition-property: opacity, visibility;
</del><ins>+        -moz-transition-property: opacity visibility;
</ins><span class="cx">         -moz-transition-timing-function: ease;
</span><span class="cx"> }
</span><span class="cx"> .featured-posts section.featured-post {
</span><span class="lines">@@ -1299,8 +1314,8 @@
</span><span class="cx">         visibility: visible;
</span><span class="cx"> }
</span><span class="cx"> #content .feature-slider {
</span><del>-        bottom: 0;
-        left: 8.9%;
</del><ins>+        top: 5px;
+        right: 8.9%;
</ins><span class="cx">         overflow: visible;
</span><span class="cx">         position: absolute;
</span><span class="cx"> }
</span><span class="lines">@@ -2081,8 +2096,11 @@
</span><span class="cx">         .one-column article.feature-image.small .entry-summary {
</span><span class="cx">                 height: auto;
</span><span class="cx">         }
</span><del>-        article.feature-image.small .entry-summary a {
-                left: -9%;
</del><ins>+        article.feature-image.small .entry-summary p a {
+                left: 0;
+                padding-left: 20px;
+                padding-right: 20px;
+                width: auto;
</ins><span class="cx">         }
</span><span class="cx">         /* Remove the margin on singular articles */
</span><span class="cx">         .singular .entry-header,
</span></span></pre>
</div>
</div>
</body>
</html>