Make WordPress Core

Ticket #25946: 25946.5.diff

File 25946.5.diff, 4.8 KB (added by iamtakashi, 12 years ago)
  • wp-content/themes/twentyfourteen/functions.php

     
    399399        if ( is_active_sidebar( 'sidebar-3' ) )
    400400                $classes[] = 'footer-widgets';
    401401
    402         if ( is_singular() )
     402        if ( is_singular() && ! is_front_page() )
    403403                $classes[] = 'singular';
    404404
    405405        if ( is_front_page() && 'slider' == get_theme_mod( 'featured_content_layout' ) )
  • wp-content/themes/twentyfourteen/rtl.css

     
    162162
    163163.page-links > .page-links-title {
    164164        padding-right: 0;
    165         padding-left: 9px;
     165        padding-left: 7px;
    166166}
    167167
    168 .more-link .meta-nav,
    169 .post-format-archive-link .meta-nav {
    170         right: 0;
    171         left: auto;
    172 }
    173168
    174 .more-link:hover .meta-nav,
    175 .post-format-archive-link:hover .meta-nav {
    176         right: 5px;
    177         left: auto;
    178 }
    179 
    180 
    181169/**
    182170 * 6.5 Gallery
    183171 * -----------------------------------------------------------------------------
  • wp-content/themes/twentyfourteen/style.css

     
    10001000 */
    10011001
    10021002.content-area {
    1003         padding-top: 24px;
     1003        padding-top: 48px;
    10041004}
    10051005
    10061006.hentry {
     
    13631363.page-links > .page-links-title {
    13641364        height: auto;
    13651365        margin: 0;
    1366         padding-right: 9px;
     1366        padding-right: 7px;
    13671367        width: auto;
    13681368}
    13691369
    1370 /* More link */
    13711370
    1372 .post-format-archive-link {
    1373         font-size: 14px;
    1374         text-transform: uppercase;
    1375         white-space: pre;
    1376 }
    1377 
    1378 .more-link .meta-nav,
    1379 .post-format-archive-link .meta-nav {
    1380         position: relative;
    1381         left: 0;
    1382 }
    1383 
    1384 .more-link:hover .meta-nav,
    1385 .post-format-archive-link:hover .meta-nav {
    1386         left: 5px;
    1387 }
    1388 
    1389 
    13901371/**
    13911372 * 6.5 Gallery
    13921373 * -----------------------------------------------------------------------------
     
    17531734 * -----------------------------------------------------------------------------
    17541735 */
    17551736
    1756 .singular .hentry.has-post-thumbnail {
    1757         margin-top: -24px;
     1737.singular .site-content .hentry.has-post-thumbnail {
     1738        margin-top: -48px;
    17581739}
    17591740
    17601741
     
    17711752
    17721753.comment-reply-title,
    17731754.comments-title {
    1774         font-size: 16px;
    1775         font-weight: 900;
    1776         line-height: 1.5;
     1755        font: 900 16px/1.5 Lato, sans-serif;
    17771756        margin: 0;
    17781757        text-transform: uppercase;
    17791758}
     
    18291808}
    18301809
    18311810.comment-list > li:first-child > article,
    1832 .comment-list > li:first-child > .pingback,
    1833 .comment-list > li:first-child > .trackback {
     1811.comment-list > .pingback:first-child,
     1812.comment-list > .trackback:first-child {
    18341813        border-top: 0
    18351814}
    18361815
     
    19611940
    19621941.comment-reply-title small a {
    19631942        color: #2b2b2b;
     1943        display: inline-block;
    19641944        float: right;
    19651945        height: 24px;
    19661946        overflow: hidden;
     
    23652345
    23662346.widget_twentyfourteen_ephemera .post-format-archive-link {
    23672347        font-weight: 700;
     2348        text-transform: uppercase;
    23682349}
    23692350
    23702351/* List Style Widgets*/
     
    24122393
    24132394/* RSS Widget */
    24142395
    2415 .widget_rss .rsswidget img {
     2396.rsswidget img {
    24162397        margin-top: -4px;
    24172398}
    24182399
    2419 .widget_rss .rss-date {
     2400.rssSummary {
     2401        margin: 9px 0;
     2402}
     2403
     2404.rss-date {
    24202405        display: block;
    24212406}
    24222407
     
    31313116        .error404 .page-header {
    31323117                margin-bottom: 24px;
    31333118        }
    3134 
    3135         .featured-content {
    3136                 margin-bottom: 48px;
    3137         }
    31383119}
    31393120
    31403121@media screen and (min-width: 594px) {
     
    31633144
    31643145        .content-area {
    31653146                float: left;
    3166                 padding-top: 48px;
    31673147                width: 100%;
    31683148        }
    31693149
     
    31883168                padding-left: 30px;
    31893169        }
    31903170
    3191         .singular .hentry.has-post-thumbnail {
     3171        .singular .site-content .hentry.has-post-thumbnail {
    31923172                margin-top: 0
    31933173        }
    31943174
     
    31963176                margin-right: 0;
    31973177        }
    31983178
    3199         .full-width .site-content .has-post-thumbnail .entry-header {
    3200                 margin-top: -48px;
    3201         }
    3202 
     3179        .full-width .site-content .has-post-thumbnail .entry-header,
    32033180        .full-width.singular .site-content .hentry.has-post-thumbnail {
    32043181                margin-top: -48px;
    32053182        }
     
    32173194                width: 33.33333333%;
    32183195        }
    32193196
    3220         .featured-content {
    3221                 margin-bottom: 24px;
    3222         }
    3223 
    32243197        .grid .featured-content .hentry {
    32253198                float: left;
    32263199                width: 50%;
     
    37013674        .footer-sidebar .widget .widget-title,
    37023675        .primary-sidebar .widget .widget-title {
    37033676                font-size: 11px;
    3704                 font-weight: 700;
     3677                font-weight: 900;
    37053678                line-height: 1.6363636363;
    37063679                margin-bottom: 18px;
    37073680        }
     
    37403713                padding: 0;
    37413714        }
    37423715
     3716        .footer-sidebar .widget_recent_entries li,
     3717        .primary-sidebar .widget_recent_entries li {
     3718                margin-bottom: 18px;
     3719        }
     3720
    37433721        #supplementary {
    37443722                padding: 0;
    37453723        }
     
    40334011                color: #fff;
    40344012        }
    40354013
    4036         .singular .hentry.has-post-thumbnail {
     4014        .singular .site-content .hentry.has-post-thumbnail {
    40374015                margin-top: 0;
    40384016        }
    40394017