<!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>[26249] trunk/src/wp-content/themes/twentyfourteen: Twenty Fourteen: remove singular body class when a page is set to be the front page, and minor style tweaks.</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 { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { 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://core.trac.wordpress.org/changeset/26249">26249</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2013-11-18 19:20:28 +0000 (Mon, 18 Nov 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Twenty Fourteen: remove singular body class when a page is set to be the front page, and minor style tweaks. Props iamtakashi, see <a href="http://core.trac.wordpress.org/ticket/25946">#25946</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentyfourteenfunctionsphp">trunk/src/wp-content/themes/twentyfourteen/functions.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenrtlcss">trunk/src/wp-content/themes/twentyfourteen/rtl.css</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenstylecss">trunk/src/wp-content/themes/twentyfourteen/style.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpcontentthemestwentyfourteenfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/functions.php (26248 => 26249)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/functions.php 2013-11-18 19:03:01 UTC (rev 26248)
+++ trunk/src/wp-content/themes/twentyfourteen/functions.php 2013-11-18 19:20:28 UTC (rev 26249)
</span><span class="lines">@@ -399,7 +399,7 @@
</span><span class="cx"> if ( is_active_sidebar( 'sidebar-3' ) )
</span><span class="cx"> $classes[] = 'footer-widgets';
</span><span class="cx">
</span><del>- if ( is_singular() )
</del><ins>+ if ( is_singular() && ! is_front_page() )
</ins><span class="cx"> $classes[] = 'singular';
</span><span class="cx">
</span><span class="cx"> if ( is_front_page() && 'slider' == get_theme_mod( 'featured_content_layout' ) )
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenrtlcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/rtl.css (26248 => 26249)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/rtl.css 2013-11-18 19:03:01 UTC (rev 26248)
+++ trunk/src/wp-content/themes/twentyfourteen/rtl.css 2013-11-18 19:20:28 UTC (rev 26249)
</span><span class="lines">@@ -13,7 +13,7 @@
</span><span class="cx"> * 1.0 - Reset
</span><span class="cx"> * 2.0 - Repeatable Patterns
</span><span class="cx"> * 4.0 - Header
</span><del>- * 5.0 - Navigations
</del><ins>+ * 5.0 - Navigation
</ins><span class="cx"> * 6.0 - Content
</span><span class="cx"> * 6.4 - Entry Content
</span><span class="cx"> * 6.5 - Galleries
</span><span class="lines">@@ -103,7 +103,7 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> /**
</span><del>- * 5.0 Navigations
</del><ins>+ * 5.0 Navigation
</ins><span class="cx"> * -----------------------------------------------------------------------------
</span><span class="cx"> */
</span><span class="cx">
</span><span class="lines">@@ -162,22 +162,10 @@
</span><span class="cx">
</span><span class="cx"> .page-links > .page-links-title {
</span><span class="cx"> padding-right: 0;
</span><del>- padding-left: 9px;
</del><ins>+ padding-left: 7px;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-.more-link .meta-nav,
-.post-format-archive-link .meta-nav {
- right: 0;
- left: auto;
-}
</del><span class="cx">
</span><del>-.more-link:hover .meta-nav,
-.post-format-archive-link:hover .meta-nav {
- right: 5px;
- left: auto;
-}
-
-
</del><span class="cx"> /**
</span><span class="cx"> * 6.5 Gallery
</span><span class="cx"> * -----------------------------------------------------------------------------
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/style.css (26248 => 26249)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/style.css 2013-11-18 19:03:01 UTC (rev 26248)
+++ trunk/src/wp-content/themes/twentyfourteen/style.css 2013-11-18 19:20:28 UTC (rev 26249)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx"> * 2.0 - Repeatable Patterns
</span><span class="cx"> * 3.0 - Basic Structure
</span><span class="cx"> * 4.0 - Header
</span><del>- * 5.0 - Navigations
</del><ins>+ * 5.0 - Navigation
</ins><span class="cx"> * 6.0 - Content
</span><span class="cx"> * 6.1 - Post Thumbnail
</span><span class="cx"> * 6.2 - Entry Header
</span><span class="lines">@@ -901,7 +901,7 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> /**
</span><del>- * 5.0 Navigations
</del><ins>+ * 5.0 Navigation
</ins><span class="cx"> * -----------------------------------------------------------------------------
</span><span class="cx"> */
</span><span class="cx">
</span><span class="lines">@@ -1000,7 +1000,7 @@
</span><span class="cx"> */
</span><span class="cx">
</span><span class="cx"> .content-area {
</span><del>- padding-top: 24px;
</del><ins>+ padding-top: 48px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .hentry {
</span><span class="lines">@@ -1363,30 +1363,11 @@
</span><span class="cx"> .page-links > .page-links-title {
</span><span class="cx"> height: auto;
</span><span class="cx"> margin: 0;
</span><del>- padding-right: 9px;
</del><ins>+ padding-right: 7px;
</ins><span class="cx"> width: auto;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/* More link */
</del><span class="cx">
</span><del>-.post-format-archive-link {
- font-size: 14px;
- text-transform: uppercase;
- white-space: pre;
-}
-
-.more-link .meta-nav,
-.post-format-archive-link .meta-nav {
- position: relative;
- left: 0;
-}
-
-.more-link:hover .meta-nav,
-.post-format-archive-link:hover .meta-nav {
- left: 5px;
-}
-
-
</del><span class="cx"> /**
</span><span class="cx"> * 6.5 Gallery
</span><span class="cx"> * -----------------------------------------------------------------------------
</span><span class="lines">@@ -1753,8 +1734,8 @@
</span><span class="cx"> * -----------------------------------------------------------------------------
</span><span class="cx"> */
</span><span class="cx">
</span><del>-.singular .hentry.has-post-thumbnail {
- margin-top: -24px;
</del><ins>+.singular .site-content .hentry.has-post-thumbnail {
+ margin-top: -48px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -1771,9 +1752,7 @@
</span><span class="cx">
</span><span class="cx"> .comment-reply-title,
</span><span class="cx"> .comments-title {
</span><del>- font-size: 16px;
- font-weight: 900;
- line-height: 1.5;
</del><ins>+ font: 900 16px/1.5 Lato, sans-serif;
</ins><span class="cx"> margin: 0;
</span><span class="cx"> text-transform: uppercase;
</span><span class="cx"> }
</span><span class="lines">@@ -1829,8 +1808,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .comment-list > li:first-child > article,
</span><del>-.comment-list > li:first-child > .pingback,
-.comment-list > li:first-child > .trackback {
</del><ins>+.comment-list > .pingback:first-child,
+.comment-list > .trackback:first-child {
</ins><span class="cx"> border-top: 0
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1961,6 +1940,7 @@
</span><span class="cx">
</span><span class="cx"> .comment-reply-title small a {
</span><span class="cx"> color: #2b2b2b;
</span><ins>+ display: inline-block;
</ins><span class="cx"> float: right;
</span><span class="cx"> height: 24px;
</span><span class="cx"> overflow: hidden;
</span><span class="lines">@@ -2365,6 +2345,7 @@
</span><span class="cx">
</span><span class="cx"> .widget_twentyfourteen_ephemera .post-format-archive-link {
</span><span class="cx"> font-weight: 700;
</span><ins>+ text-transform: uppercase;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* List Style Widgets*/
</span><span class="lines">@@ -2412,11 +2393,15 @@
</span><span class="cx">
</span><span class="cx"> /* RSS Widget */
</span><span class="cx">
</span><del>-.widget_rss .rsswidget img {
</del><ins>+.rsswidget img {
</ins><span class="cx"> margin-top: -4px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.widget_rss .rss-date {
</del><ins>+.rssSummary {
+ margin: 9px 0;
+}
+
+.rss-date {
</ins><span class="cx"> display: block;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -3131,10 +3116,6 @@
</span><span class="cx"> .error404 .page-header {
</span><span class="cx"> margin-bottom: 24px;
</span><span class="cx"> }
</span><del>-
- .featured-content {
- margin-bottom: 48px;
- }
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> @media screen and (min-width: 594px) {
</span><span class="lines">@@ -3163,7 +3144,6 @@
</span><span class="cx">
</span><span class="cx"> .content-area {
</span><span class="cx"> float: left;
</span><del>- padding-top: 48px;
</del><span class="cx"> width: 100%;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -3188,7 +3168,7 @@
</span><span class="cx"> padding-left: 30px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- .singular .hentry.has-post-thumbnail {
</del><ins>+ .singular .site-content .hentry.has-post-thumbnail {
</ins><span class="cx"> margin-top: 0
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -3196,10 +3176,7 @@
</span><span class="cx"> margin-right: 0;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- .full-width .site-content .has-post-thumbnail .entry-header {
- margin-top: -48px;
- }
-
</del><ins>+ .full-width .site-content .has-post-thumbnail .entry-header,
</ins><span class="cx"> .full-width.singular .site-content .hentry.has-post-thumbnail {
</span><span class="cx"> margin-top: -48px;
</span><span class="cx"> }
</span><span class="lines">@@ -3217,10 +3194,6 @@
</span><span class="cx"> width: 33.33333333%;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- .featured-content {
- margin-bottom: 24px;
- }
-
</del><span class="cx"> .grid .featured-content .hentry {
</span><span class="cx"> float: left;
</span><span class="cx"> width: 50%;
</span><span class="lines">@@ -3701,7 +3674,7 @@
</span><span class="cx"> .footer-sidebar .widget .widget-title,
</span><span class="cx"> .primary-sidebar .widget .widget-title {
</span><span class="cx"> font-size: 11px;
</span><del>- font-weight: 700;
</del><ins>+ font-weight: 900;
</ins><span class="cx"> line-height: 1.6363636363;
</span><span class="cx"> margin-bottom: 18px;
</span><span class="cx"> }
</span><span class="lines">@@ -3740,6 +3713,11 @@
</span><span class="cx"> padding: 0;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+ .footer-sidebar .widget_recent_entries li,
+ .primary-sidebar .widget_recent_entries li {
+ margin-bottom: 18px;
+ }
+
</ins><span class="cx"> #supplementary {
</span><span class="cx"> padding: 0;
</span><span class="cx"> }
</span><span class="lines">@@ -4033,7 +4011,7 @@
</span><span class="cx"> color: #fff;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- .singular .hentry.has-post-thumbnail {
</del><ins>+ .singular .site-content .hentry.has-post-thumbnail {
</ins><span class="cx"> margin-top: 0;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>