<!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>[25802] trunk/src/wp-content/themes/twentyfourteen: Twenty Fourteen: better logic for featured image HTML output, and add fallback message for focusable anchor elements, for accessibility.</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/25802">25802</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2013-10-15 23:23:08 +0000 (Tue, 15 Oct 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Twenty Fourteen: better logic for featured image HTML output, and add fallback message for focusable anchor elements, for accessibility. 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="#trunksrcwpcontentthemestwentyfourteencontentgalleryphp">trunk/src/wp-content/themes/twentyfourteen/content-gallery.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="#trunksrcwpcontentthemestwentyfourteeninccustomizerphp">trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteeninctemplatetagsphp">trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.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="trunksrcwpcontentthemestwentyfourteencontentasidephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-aside.php (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-aside.php     2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/content-aside.php        2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <?php twentyfourteen_featured_thumbnail(); ?>
</del><ins>+        <?php twentyfourteen_post_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="trunksrcwpcontentthemestwentyfourteencontentgalleryphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-gallery.php (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-gallery.php   2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/content-gallery.php      2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -25,12 +25,12 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <?php if( is_single() && $image ) : ?>
-       <div class="attachment-featured-thumbnail">
</del><ins>+        <?php if ( is_single() && $image ) : ?>
+       <div class="featured-thumbnail">
</ins><span class="cx">           <?php echo wp_get_attachment_image( $image, 'featured-thumbnail-large' ); ?>
</span><span class="cx">  </div>
</span><span class="cx">  <?php elseif ( $image ) : ?>
</span><del>-       <a class="attachment-featured-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>">
</del><ins>+        <a class="featured-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>">
</ins><span class="cx">           <?php echo wp_get_attachment_image( $image, 'featured-thumbnail-large' ); ?>
</span><span class="cx">  </a>
</span><span class="cx">  <?php endif; ?>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteencontentimagephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-image.php (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-image.php     2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/content-image.php        2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <?php twentyfourteen_featured_thumbnail(); ?>
</del><ins>+        <?php twentyfourteen_post_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="trunksrcwpcontentthemestwentyfourteencontentlinkphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-link.php (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-link.php      2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/content-link.php 2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <?php twentyfourteen_featured_thumbnail(); ?>
</del><ins>+        <?php twentyfourteen_post_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="trunksrcwpcontentthemestwentyfourteencontentpagephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-page.php (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-page.php      2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/content-page.php 2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -9,10 +9,11 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <?php twentyfourteen_featured_thumbnail(); ?>
</del><ins>+        <?php
+               twentyfourteen_post_thumbnail();
+               the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' );
+       ?>
</ins><span class="cx"> 
</span><del>-       <?php the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' ); ?>
-
</del><span class="cx">   <div class="entry-content">
</span><span class="cx">          <?php
</span><span class="cx">                  the_content();
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteencontentquotephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-quote.php (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-quote.php     2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/content-quote.php        2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <?php twentyfourteen_featured_thumbnail(); ?>
</del><ins>+        <?php twentyfourteen_post_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="trunksrcwpcontentthemestwentyfourteencontentvideophp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content-video.php (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-video.php     2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/content-video.php        2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <?php twentyfourteen_featured_thumbnail(); ?>
</del><ins>+        <?php twentyfourteen_post_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="trunksrcwpcontentthemestwentyfourteencontentphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/content.php (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content.php   2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/content.php      2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -11,7 +11,7 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <?php twentyfourteen_featured_thumbnail(); ?>
</del><ins>+        <?php twentyfourteen_post_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="trunksrcwpcontentthemestwentyfourteeninccustomizerphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php    2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php       2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -18,7 +18,7 @@
</span><span class="cx">  // Add postMessage support for site title and description.
</span><span class="cx">  $wp_customize->get_setting( 'blogname' )->transport        = 'postMessage';
</span><span class="cx">  $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
</span><del>-       
</del><ins>+
</ins><span class="cx">   // Add the custom accent color setting and control.
</span><span class="cx">  $wp_customize->add_setting( 'accent_color', array(
</span><span class="cx">          'default'           => '#24890d',
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteeninctemplatetagsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php 2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php    2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -155,26 +155,31 @@
</span><span class="cx"> add_action( 'save_post',     'twentyfourteen_category_transient_flusher' );
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Display featured image with appropriate HTML tag.
</del><ins>+ * Displays an optional featured image, with an anchor element
+ * when on index views, and a div element when on a single view.
</ins><span class="cx">  *
</span><del>- * @since Twenty Fourteen 1.0
- *
</del><span class="cx">  * @return void
</span><del>- */
-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;
-}
</del><span class="cx">\ No newline at end of file
</span><ins>+*/
+function twentyfourteen_post_thumbnail() {
+       if ( post_password_required() )
+               return;
+
+       if ( is_singular() ) :
+       ?>
+
+       <div class="featured-thumbnail">
+               <?php the_post_thumbnail( 'featured-thumbnail-large' ); ?>
+       </div>
+
+       <?php else : ?>
+
+       <a class="featured-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>">
+       <?php if ( has_post_thumbnail() ) :
+               the_post_thumbnail( 'featured-thumbnail-large' );
+       else : ?>
+               <p class="screen-reader-text"><?php _e( 'No featured image.', 'twentyfourteen' ); ?></p>
+       <?php endif; ?>
+       </a>
+
+       <?php endif; // End is_singular()
+}
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenrtlcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/rtl.css (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/rtl.css       2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/rtl.css  2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -367,7 +367,7 @@
</span><span class="cx"> 
</span><span class="cx"> /* Mobile list style */
</span><span class="cx"> @media screen and (max-width: 400px) {
</span><del>-       .list-view .attachment-featured-thumbnail img {
</del><ins>+        .list-view .featured-thumbnail img {
</ins><span class="cx">           float: right;
</span><span class="cx">          margin: 0 0 3px 10px;
</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 (25801 => 25802)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/style.css     2013-10-15 23:02:28 UTC (rev 25801)
+++ trunk/src/wp-content/themes/twentyfourteen/style.css        2013-10-15 23:23:08 UTC (rev 25802)
</span><span class="lines">@@ -560,7 +560,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .attachment-featured-featured img,
</span><del>-.attachment-featured-thumbnail img {
</del><ins>+.featured-thumbnail img {
</ins><span class="cx">   height: auto;
</span><span class="cx">  max-width: 100%;
</span><span class="cx"> }
</span><span class="lines">@@ -1107,7 +1107,7 @@
</span><span class="cx">  * -----------------------------------------------------------------------------
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>- .attachment-featured-thumbnail {
</del><ins>+ .featured-thumbnail {
</ins><span class="cx">   background: #767676;
</span><span class="cx">  background-attachment: fixed;
</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="lines">@@ -1123,7 +1123,7 @@
</span><span class="cx">  z-index: 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.attachment-featured-thumbnail:hover {
</del><ins>+.featured-thumbnail:hover {
</ins><span class="cx">   background: #919191;
</span><span class="cx">  background-attachment: fixed;
</span><span class="cx">  background-image: -webkit-linear-gradient(135deg, #919191 12.5%, #fff 12.5%, #fff 50%, #919191 50%, #919191 62.5%, #fff 62.5%);
</span><span class="lines">@@ -1131,13 +1131,13 @@
</span><span class="cx">  background-size: 4px 4px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.attachment-featured-thumbnail img {
</del><ins>+.featured-thumbnail img {
</ins><span class="cx">   display: block;
</span><span class="cx">  margin: 0 auto;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.has-featured-image .attachment-featured-thumbnail,
-.format-standard .attachment-featured-thumbnail {
</del><ins>+.has-featured-image .featured-thumbnail,
+.format-standard .featured-thumbnail {
</ins><span class="cx">   display: block;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -2637,14 +2637,14 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> @media screen and (max-width: 400px) {
</span><del>-       .list-view .attachment-featured-thumbnail {
</del><ins>+        .list-view .featured-thumbnail {
</ins><span class="cx">           background: none;
</span><span class="cx">          min-height: 0;
</span><span class="cx">          width: auto;
</span><span class="cx">          z-index: 2;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .list-view .attachment-featured-thumbnail img {
</del><ins>+        .list-view .featured-thumbnail img {
</ins><span class="cx">           float: left;
</span><span class="cx">          margin: 0 10px 3px 0;
</span><span class="cx">          width: 84px;
</span><span class="lines">@@ -2707,7 +2707,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media screen and (min-width: 401px) {
</span><del>-       a.attachment-featured-thumbnail:hover img {
</del><ins>+        a.featured-thumbnail:hover img {
</ins><span class="cx">           opacity: 0.85;
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="lines">@@ -2809,8 +2809,8 @@
</span><span class="cx">          margin: -3px 2px 0 0;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .list-view .site-content .has-featured-image .attachment-featured-thumbnail,
-       .list-view .site-content .format-standard .attachment-featured-thumbnail {
</del><ins>+        .list-view .site-content .has-featured-image .featured-thumbnail,
+       .list-view .site-content .format-standard .featured-thumbnail {
</ins><span class="cx">           margin-top: -49px;
</span><span class="cx">  }
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>