<!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>[25735] trunk/src/wp-content/themes/twentyfourteen: Twenty Fourteen: allow pages to have featured images, props iamtakashi.</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/25735">25735</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2013-10-08 21:21:19 +0000 (Tue, 08 Oct 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Twenty Fourteen: allow pages to have featured images, props iamtakashi. Fixes <a href="http://core.trac.wordpress.org/ticket/25325">#25325</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentyfourteencontentasidephp">trunk/src/wp-content/themes/twentyfourteen/content-aside.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteencontentimagephp">trunk/src/wp-content/themes/twentyfourteen/content-image.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteencontentlinkphp">trunk/src/wp-content/themes/twentyfourteen/content-link.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteencontentpagephp">trunk/src/wp-content/themes/twentyfourteen/content-page.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteencontentquotephp">trunk/src/wp-content/themes/twentyfourteen/content-quote.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteencontentvideophp">trunk/src/wp-content/themes/twentyfourteen/content-video.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteencontentphp">trunk/src/wp-content/themes/twentyfourteen/content.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenfunctionsphp">trunk/src/wp-content/themes/twentyfourteen/functions.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteeninctemplatetagsphp">trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenjsthemejs">trunk/src/wp-content/themes/twentyfourteen/js/theme.js</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="trunksrcwpcontentthemestwentyfourteencontentasidephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-aside.php (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-aside.php     2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/content-aside.php        2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -8,6 +8,8 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><ins>+       <?php twentyfourteen_featured_thumbnail(); ?>
+
</ins><span class="cx">   <header class="entry-header">
</span><span class="cx">          <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
</span><span class="cx">          <div class="entry-meta">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteencontentimagephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-image.php (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-image.php     2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/content-image.php        2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -8,6 +8,8 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><ins>+       <?php twentyfourteen_featured_thumbnail(); ?>
+
</ins><span class="cx">   <header class="entry-header">
</span><span class="cx">          <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
</span><span class="cx">          <div class="entry-meta">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteencontentlinkphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-link.php (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-link.php      2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/content-link.php 2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -8,6 +8,8 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><ins>+       <?php twentyfourteen_featured_thumbnail(); ?>
+
</ins><span class="cx">   <header class="entry-header">
</span><span class="cx">          <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
</span><span class="cx">          <div class="entry-meta">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteencontentpagephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-page.php (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-page.php      2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/content-page.php 2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -8,6 +8,8 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><ins>+       <?php twentyfourteen_featured_thumbnail(); ?>
+
</ins><span class="cx">   <?php the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' ); ?>
</span><span class="cx"> 
</span><span class="cx">  <div class="entry-content">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteencontentquotephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-quote.php (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-quote.php     2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/content-quote.php        2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -8,6 +8,8 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><ins>+       <?php twentyfourteen_featured_thumbnail(); ?>
+
</ins><span class="cx">   <header class="entry-header">
</span><span class="cx">          <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
</span><span class="cx">          <div class="entry-meta">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteencontentvideophp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-video.php (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-video.php     2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/content-video.php        2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -8,6 +8,8 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><ins>+       <?php twentyfourteen_featured_thumbnail(); ?>
+
</ins><span class="cx">   <header class="entry-header">
</span><span class="cx">          <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
</span><span class="cx">          <div class="entry-meta">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteencontentphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content.php (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content.php   2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/content.php      2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -3,13 +3,10 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage Twenty_Fourteen
</span><span class="cx">  */
</span><del>-
</del><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyfourteen' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="attachment-featured-thumbnail">
-               <?php the_post_thumbnail( 'featured-thumbnail-large' ); ?>
-       </a>
</del><ins>+        <?php twentyfourteen_featured_thumbnail(); ?>
</ins><span class="cx"> 
</span><span class="cx">  <header class="entry-header">
</span><span class="cx">          <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/functions.php (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/functions.php 2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/functions.php    2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx">  add_theme_support( 'automatic-feed-links' );
</span><span class="cx"> 
</span><span class="cx">  // Enable support for Post Thumbnails.
</span><del>-       add_theme_support( 'post-thumbnails', array( 'post' ) );
</del><ins>+        add_theme_support( 'post-thumbnails' );
</ins><span class="cx"> 
</span><span class="cx">  // Adding several sizes for Post Thumbnails.
</span><span class="cx">  add_image_size( 'featured-thumbnail-large', 672, 0 );
</span><span class="lines">@@ -481,6 +481,23 @@
</span><span class="cx"> add_filter( 'body_class', 'twentyfourteen_body_classes' );
</span><span class="cx"> 
</span><span class="cx"> /**
</span><ins>+ * Extends the default WordPress post classes.
+ *
+ * Adds a post class to denote:
+ * Non-password protected page with a featured image.
+ *
+ * @param array $classes A list of existing post class values.
+ * @return array The filtered post class list.
+ */
+function twentyfourteen_post_classes( $classes ) {
+       if ( ! post_password_required() && has_post_thumbnail() )
+               $classes[] = 'has-featured-image';
+
+       return $classes;
+}
+add_filter( 'post_class', 'twentyfourteen_post_classes' );
+
+/**
</ins><span class="cx">  * Creates a nicely formatted and more specific title element text for output
</span><span class="cx">  * in head of document, based on current view.
</span><span class="cx">  *
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteeninctemplatetagsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php 2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php    2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -143,3 +143,26 @@
</span><span class="cx"> }
</span><span class="cx"> add_action( 'edit_category', 'twentyfourteen_category_transient_flusher' );
</span><span class="cx"> add_action( 'save_post',     'twentyfourteen_category_transient_flusher' );
</span><ins>+
+/**
+ * Displays featured image with appropriate html tag.
+ *
+ * @return void
+ */
+function twentyfourteen_featured_thumbnail() {
+       if ( ! post_password_required() ) :
+               if ( has_post_thumbnail() && is_singular() ) :
+               ?>
+                       <div class="attachment-featured-thumbnail">
+                               <?php the_post_thumbnail( 'featured-thumbnail-large' ); ?>
+                       </div>
+               <?php
+               else :
+               ?>
+                       <a href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>" class="attachment-featured-thumbnail">
+                               <?php the_post_thumbnail( 'featured-thumbnail-large' ); ?>
+                       </a>
+               <?php
+               endif;
+       endif;
+}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenjsthemejs"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/js/theme.js (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/js/theme.js   2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/js/theme.js      2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -128,5 +128,5 @@
</span><span class="cx">                  $( this ).parents().toggleClass( 'a11y-focus' );
</span><span class="cx">          }
</span><span class="cx">  );
</span><del>-       
</del><ins>+
</ins><span class="cx"> } )( jQuery );
</span><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/style.css (25734 => 25735)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/style.css     2013-10-08 20:26:25 UTC (rev 25734)
+++ trunk/src/wp-content/themes/twentyfourteen/style.css        2013-10-08 21:21:19 UTC (rev 25735)
</span><span class="lines">@@ -453,6 +453,8 @@
</span><span class="cx"> /* Clearing */
</span><span class="cx"> .clear:before,
</span><span class="cx"> .clear:after,
</span><ins>+.hentry:before,
+.hentry:after,
</ins><span class="cx"> [class*="content"]:before,
</span><span class="cx"> [class*="content"]:after,
</span><span class="cx"> [class*="site"]:before,
</span><span class="lines">@@ -462,6 +464,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .clear:after,
</span><ins>+.hentry:after,
</ins><span class="cx"> [class*="content"]:after,
</span><span class="cx"> [class*="site"]:after {
</span><span class="cx">  clear: both;
</span><span class="lines">@@ -716,7 +719,7 @@
</span><span class="cx"> }
</span><span class="cx"> .primary-navigation ul li:hover > ul,
</span><span class="cx"> .primary-navigation ul li.a11y-focus > ul {
</span><del>-       left: auto;     
</del><ins>+        left: auto;
</ins><span class="cx"> }
</span><span class="cx"> .primary-navigation ul ul li:hover > ul,
</span><span class="cx"> .primary-navigation ul ul li.a11y-focus > ul {
</span><span class="lines">@@ -817,7 +820,7 @@
</span><span class="cx">  background-image: -webkit-linear-gradient(135deg, #767676 12.5%, #fff 12.5%, #fff 50%, #767676 50%, #767676 62.5%, #fff 62.5%);
</span><span class="cx">  background-image:         linear-gradient(135deg, #767676 12.5%, #fff 12.5%, #fff 50%, #767676 50%, #767676 62.5%, #fff 62.5%);
</span><span class="cx">  background-size: 4px 4px;
</span><del>-       display: block;
</del><ins>+        display: none;
</ins><span class="cx">   float: none;
</span><span class="cx">  margin: 0;
</span><span class="cx">  min-height: 180px;
</span><span class="lines">@@ -826,6 +829,10 @@
</span><span class="cx">  height: auto;
</span><span class="cx">  z-index: 0;
</span><span class="cx"> }
</span><ins>+.has-featured-image .attachment-featured-thumbnail,
+.format-standard .attachment-featured-thumbnail {
+       display: block;
+}
</ins><span class="cx"> .attachment-featured-thumbnail:hover {
</span><span class="cx">  background: #919191;
</span><span class="cx">  background-attachment: fixed;
</span><span class="lines">@@ -833,7 +840,7 @@
</span><span class="cx">  background-image:         linear-gradient(135deg, #919191 12.5%, #fff 12.5%, #fff 50%, #919191 50%, #919191 62.5%, #fff 62.5%);
</span><span class="cx">  background-size: 4px 4px;
</span><span class="cx"> }
</span><del>-.full-width .attachment-featured-thumbnail img {
</del><ins>+.attachment-featured-thumbnail img {
</ins><span class="cx">   display: block;
</span><span class="cx">  margin: 0 auto;
</span><span class="cx"> }
</span><span class="lines">@@ -948,16 +955,23 @@
</span><span class="cx"> /* .content-area specific styles */
</span><span class="cx"> .content-area .entry-header,
</span><span class="cx"> .content-area .entry-content,
</span><del>-.content-area .page-content,
</del><span class="cx"> .content-area .entry-summary,
</span><del>-.content-area .entry-meta {
</del><ins>+.content-area .entry-meta,
+.page-content {
</ins><span class="cx">   margin: 0 auto;
</span><span class="cx">  max-width: 474px;
</span><span class="cx"> }
</span><span class="cx"> .content-area .entry-header {
</span><span class="cx">  background-color: #fff;
</span><del>-       padding: 24px 10px 12px;
</del><ins>+        padding: 0 10px 12px;
</ins><span class="cx"> }
</span><ins>+.content-area .has-featured-image .entry-header,
+.content-area .format-standard .entry-header {
+       padding-top: 24px;
+}
+.content-area .format-standard.post-password-required .entry-header {
+       padding-top: 0;
+}
</ins><span class="cx"> .content-area .entry-title {
</span><span class="cx">  font-size: 33px;
</span><span class="cx">  font-weight: 300;
</span><span class="lines">@@ -971,8 +985,8 @@
</span><span class="cx">  text-transform: uppercase;
</span><span class="cx"> }
</span><span class="cx"> .content-area .entry-content,
</span><del>-.content-area .page-content,
-.content-area .entry-summary {
</del><ins>+.content-area .entry-summary,
+.page-content {
</ins><span class="cx">   background-color: #fff;
</span><span class="cx">  padding: 12px 10px 0;
</span><span class="cx"> }
</span><span class="lines">@@ -981,7 +995,7 @@
</span><span class="cx">  padding: 0 10px;
</span><span class="cx"> }
</span><span class="cx"> .content-area footer.entry-meta {
</span><del>-       margin-bottom: 36px;
</del><ins>+        margin-bottom: 24px;
</ins><span class="cx"> }
</span><span class="cx"> .content-area footer.entry-meta .entry-title {
</span><span class="cx">  font-size: 12px;
</span><span class="lines">@@ -996,13 +1010,6 @@
</span><span class="cx"> footer.entry-meta .entry-title a:hover {
</span><span class="cx">  color: #2b2b2b;
</span><span class="cx"> }
</span><del>-.format-aside,
-.format-quote,
-.format-link,
-.format-image,
-.format-video {
-       border-top: 1px solid rgba(0, 0, 0, 0.1);
-}
</del><span class="cx"> .format-aside .entry-content,
</span><span class="cx"> .format-aside .entry-summary,
</span><span class="cx"> .format-quote .entry-content,
</span><span class="lines">@@ -1011,23 +1018,6 @@
</span><span class="cx"> .format-link.entry-summary {
</span><span class="cx">  padding-top: 0;
</span><span class="cx"> }
</span><del>-
-/* Single specific styles */
-.single .format-aside .entry-header,
-.single .format-quote .entry-header,
-.single .format-link .entry-header,
-.single .format-image .entry-header,
-.single .format-video .entry-header {
-       padding-top: 0;
-}
-.single .format-aside,
-.single .format-quote,
-.single .format-link,
-.single .format-image,
-.single .format-video {
-       border-top: none;
-}
-
</del><span class="cx"> /* Page specific styles */
</span><span class="cx"> .page .entry-content,
</span><span class="cx"> .error404 .page-header,
</span><span class="lines">@@ -1159,7 +1149,7 @@
</span><span class="cx">  font-size: 16px;
</span><span class="cx">  font-weight: 900;
</span><span class="cx">  line-height: 1.5;
</span><del>-       margin-bottom: 24px;
</del><ins>+        margin: 0 0 24px;
</ins><span class="cx"> }
</span><span class="cx"> .taxonomy-description {
</span><span class="cx">  color: #767676;
</span><span class="lines">@@ -1586,7 +1576,7 @@
</span><span class="cx"> }
</span><span class="cx"> .post-navigation,
</span><span class="cx"> .image-navigation {
</span><del>-       margin: 24px auto;
</del><ins>+        margin: 24px auto 48px;
</ins><span class="cx">   max-width: 474px;
</span><span class="cx">  padding: 0 10px;
</span><span class="cx"> }
</span><span class="lines">@@ -1655,7 +1645,7 @@
</span><span class="cx"> ----------------------------------------------- */
</span><span class="cx"> 
</span><span class="cx"> .comments-area {
</span><del>-       margin: 36px auto;
</del><ins>+        margin: 48px auto;
</ins><span class="cx">   max-width: 474px;
</span><span class="cx">  padding: 0 10px;
</span><span class="cx"> }
</span><span class="lines">@@ -2208,13 +2198,6 @@
</span><span class="cx">          margin: 0;
</span><span class="cx">          text-transform: none;
</span><span class="cx">  }
</span><del>-       .list-view .content-area .format-aside,
-       .list-view .content-area .format-quote,
-       .list-view .content-area .format-link,
-       .list-view .content-area .format-image,
-       .list-view .content-area .format-video {
-               border-top: 0;
-       }
</del><span class="cx">   .list-view .content-area .format-aside .entry-title,
</span><span class="cx">  .list-view .content-area .format-quote .entry-title,
</span><span class="cx">  .list-view .content-area .format-link .entry-title {
</span><span class="lines">@@ -2232,7 +2215,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media screen and (min-width: 401px) {
</span><del>-       .attachment-featured-thumbnail:hover img {
</del><ins>+        a.attachment-featured-thumbnail:hover img {
</ins><span class="cx">           opacity: 0.85;
</span><span class="cx">  }
</span><span class="cx">  .content-area span + .entry-date:before,
</span><span class="lines">@@ -2315,21 +2298,26 @@
</span><span class="cx">          margin-bottom: 24px;
</span><span class="cx">          padding: 0 10px;
</span><span class="cx">  }
</span><del>-       .search-results .content-area .type-page {
</del><ins>+        .list-view .content-area .hentry {
</ins><span class="cx">           border-top: 1px solid rgba(0, 0, 0, 0.1);
</span><ins>+               padding-top: 48px;
</ins><span class="cx">   }
</span><del>-       .search-results .content-area .type-page .entry-header {
-               margin-top: 24px;
</del><ins>+        .list-view .content-area .has-featured-image .attachment-featured-thumbnail,
+       .list-view .content-area .format-standard .attachment-featured-thumbnail {
+               margin-top: -49px;
</ins><span class="cx">   }
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media screen and (min-width: 642px) {
</span><span class="cx">  .content-area .entry-header {
</span><del>-               margin-top: -48px;
</del><span class="cx">           padding-right: 30px;
</span><span class="cx">          padding-left: 30px;
</span><span class="cx">  }
</span><del>-       .attachment .content-area .entry-header {
</del><ins>+        .content-area .has-featured-image .entry-header,
+       .content-area .format-standard .entry-header {
+               margin-top: -48px;
+       }
+       .content-area .format-standard.post-password-required .entry-header {
</ins><span class="cx">           margin-top: 0;
</span><span class="cx">  }
</span><span class="cx"> }
</span><span class="lines">@@ -2343,7 +2331,8 @@
</span><span class="cx">  .site-content {
</span><span class="cx">          margin-right: 33.33333333%;
</span><span class="cx">  }
</span><del>-       .content-area .entry-header {
</del><ins>+        .content-area .has-featured-image .entry-header,
+       .content-area .format-standard .entry-header {
</ins><span class="cx">           margin-top: 0;
</span><span class="cx">  }
</span><span class="cx">  .content-area .entry-content,
</span><span class="lines">@@ -2385,6 +2374,10 @@
</span><span class="cx">  .full-width .site-content {
</span><span class="cx">          margin-right: 0;
</span><span class="cx">  }
</span><ins>+       .full-width .content-area .has-featured-image .entry-header,
+       .full-width .content-area .format-standard .entry-header {
+               margin-top: -48px;
+       }
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media screen and (min-width: 770px) {
</span><span class="lines">@@ -2417,8 +2410,8 @@
</span><span class="cx">          margin-left: -168px;
</span><span class="cx">          max-width: 810px;
</span><span class="cx">  }
</span><del>-       .single-attachment .entry-content .attachment {
-               text-align: center;
</del><ins>+        .single-attachment .entry-content .attachment img {
+               margin: 0 auto;
</ins><span class="cx">   }
</span><span class="cx">  .full-width .entry-content blockquote.alignleft,
</span><span class="cx">  .full-width .entry-content blockquote.alignright {
</span><span class="lines">@@ -2434,27 +2427,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media screen and (min-width: 870px) {
</span><del>-       .content-area {
</del><ins>+        .content-area,
+       .content-sidebar,
+       .ephemera {
</ins><span class="cx">           padding-top: 72px;
</span><span class="cx">  }
</span><del>-       .home .content-area {
-               padding-top: 36px;
-       }
-       .content-area .entry-header {
</del><ins>+        .content-area .has-featured-image .entry-header,
+       .content-area .format-standard .entry-header {
</ins><span class="cx">           margin-top: -48px;
</span><span class="cx">  }
</span><del>-       .content-area .format-aside .entry-header,
-       .content-area .format-quote .entry-header,
-       .content-area .format-link .entry-header,
-       .content-area .format-video .entry-header,
-       .content-area .format-image .entry-header {
-               margin-top: 12px;
-       }
-       .single .content-area .format-aside .entry-header,
-       .single .content-area .format-quote .entry-header,
-       .single .content-area .format-link .entry-header,
-       .single .content-area .format-image .entry-header,
-       .single .content-area .format-video .entry-header {
</del><ins>+        .content-area .format-standard.post-password-required .entry-header {
</ins><span class="cx">           margin-top: 0;
</span><span class="cx">  }
</span><span class="cx">  .comments-area article,
</span><span class="lines">@@ -2512,19 +2494,6 @@
</span><span class="cx">  .content-area .entry-header {
</span><span class="cx">          margin-top: 0;
</span><span class="cx">  }
</span><del>-       .content-area .entry-header
-       .content-area .entry-content,
-       .content-area .entry-summary,
-       .content-area footer.entry-meta,
-       .archive-header,
-       .page-header,
-       .page-content,
-       .post-navigation,
-       .image-navigation,
-       .comments-area {
-               padding-right: 0;
-               padding-left: 0;
-       }
</del><span class="cx">   .site-footer {
</span><span class="cx">          padding-left: 27px;
</span><span class="cx">  }
</span><span class="lines">@@ -2610,12 +2579,20 @@
</span><span class="cx">  .featured-content {
</span><span class="cx">          padding-left: 182px;
</span><span class="cx">  }
</span><ins>+       .content-area .has-featured-image .entry-header,
+       .content-area .format-standard .entry-header {
+               margin-top: 0;
+       }
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media screen and (min-width: 1040px) {
</span><del>-       .content-area .entry-header {
</del><ins>+        .content-area .has-featured-image .entry-header,
+       .content-area .format-standard .entry-header {
</ins><span class="cx">           margin-top: -48px;
</span><span class="cx">  }
</span><ins>+       .content-area .format-standard.post-password-required .entry-header {
+               margin-top: 0;
+       }
</ins><span class="cx">   .content-area .entry-header,
</span><span class="cx">  .content-area .entry-content,
</span><span class="cx">  .content-area .entry-summary,
</span><span class="lines">@@ -2629,6 +2606,19 @@
</span><span class="cx">          padding-right: 15px;
</span><span class="cx">          padding-left: 15px;
</span><span class="cx">  }
</span><ins>+       .full-width .content-area .entry-header,
+       .full-width .content-area .entry-content,
+       .full-width .content-area .entry-summary,
+       .full-width .content-area footer.entry-meta,
+       .full-width .archive-header,
+       .full-width .page-header,
+       .full-width .page-content,
+       .full-width .post-navigation,
+       .full-width .image-navigation,
+       .full-width .comments-area {
+               padding-right: 30px;
+               padding-left: 30px;
+       }
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media screen and (min-width: 1080px) {
</span></span></pre>
</div>
</div>

</body>
</html>