Ticket #25946: 25946.5.diff
File 25946.5.diff, 4.8 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentyfourteen/functions.php
399 399 if ( is_active_sidebar( 'sidebar-3' ) ) 400 400 $classes[] = 'footer-widgets'; 401 401 402 if ( is_singular() )402 if ( is_singular() && ! is_front_page() ) 403 403 $classes[] = 'singular'; 404 404 405 405 if ( is_front_page() && 'slider' == get_theme_mod( 'featured_content_layout' ) ) -
wp-content/themes/twentyfourteen/rtl.css
162 162 163 163 .page-links > .page-links-title { 164 164 padding-right: 0; 165 padding-left: 9px;165 padding-left: 7px; 166 166 } 167 167 168 .more-link .meta-nav,169 .post-format-archive-link .meta-nav {170 right: 0;171 left: auto;172 }173 168 174 .more-link:hover .meta-nav,175 .post-format-archive-link:hover .meta-nav {176 right: 5px;177 left: auto;178 }179 180 181 169 /** 182 170 * 6.5 Gallery 183 171 * ----------------------------------------------------------------------------- -
wp-content/themes/twentyfourteen/style.css
1000 1000 */ 1001 1001 1002 1002 .content-area { 1003 padding-top: 24px;1003 padding-top: 48px; 1004 1004 } 1005 1005 1006 1006 .hentry { … … 1363 1363 .page-links > .page-links-title { 1364 1364 height: auto; 1365 1365 margin: 0; 1366 padding-right: 9px;1366 padding-right: 7px; 1367 1367 width: auto; 1368 1368 } 1369 1369 1370 /* More link */1371 1370 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 1390 1371 /** 1391 1372 * 6.5 Gallery 1392 1373 * ----------------------------------------------------------------------------- … … 1753 1734 * ----------------------------------------------------------------------------- 1754 1735 */ 1755 1736 1756 .singular . hentry.has-post-thumbnail {1757 margin-top: - 24px;1737 .singular .site-content .hentry.has-post-thumbnail { 1738 margin-top: -48px; 1758 1739 } 1759 1740 1760 1741 … … 1771 1752 1772 1753 .comment-reply-title, 1773 1754 .comments-title { 1774 font-size: 16px; 1775 font-weight: 900; 1776 line-height: 1.5; 1755 font: 900 16px/1.5 Lato, sans-serif; 1777 1756 margin: 0; 1778 1757 text-transform: uppercase; 1779 1758 } … … 1829 1808 } 1830 1809 1831 1810 .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 { 1834 1813 border-top: 0 1835 1814 } 1836 1815 … … 1961 1940 1962 1941 .comment-reply-title small a { 1963 1942 color: #2b2b2b; 1943 display: inline-block; 1964 1944 float: right; 1965 1945 height: 24px; 1966 1946 overflow: hidden; … … 2365 2345 2366 2346 .widget_twentyfourteen_ephemera .post-format-archive-link { 2367 2347 font-weight: 700; 2348 text-transform: uppercase; 2368 2349 } 2369 2350 2370 2351 /* List Style Widgets*/ … … 2412 2393 2413 2394 /* RSS Widget */ 2414 2395 2415 . widget_rss .rsswidget img {2396 .rsswidget img { 2416 2397 margin-top: -4px; 2417 2398 } 2418 2399 2419 .widget_rss .rss-date { 2400 .rssSummary { 2401 margin: 9px 0; 2402 } 2403 2404 .rss-date { 2420 2405 display: block; 2421 2406 } 2422 2407 … … 3131 3116 .error404 .page-header { 3132 3117 margin-bottom: 24px; 3133 3118 } 3134 3135 .featured-content {3136 margin-bottom: 48px;3137 }3138 3119 } 3139 3120 3140 3121 @media screen and (min-width: 594px) { … … 3163 3144 3164 3145 .content-area { 3165 3146 float: left; 3166 padding-top: 48px;3167 3147 width: 100%; 3168 3148 } 3169 3149 … … 3188 3168 padding-left: 30px; 3189 3169 } 3190 3170 3191 .singular . hentry.has-post-thumbnail {3171 .singular .site-content .hentry.has-post-thumbnail { 3192 3172 margin-top: 0 3193 3173 } 3194 3174 … … 3196 3176 margin-right: 0; 3197 3177 } 3198 3178 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, 3203 3180 .full-width.singular .site-content .hentry.has-post-thumbnail { 3204 3181 margin-top: -48px; 3205 3182 } … … 3217 3194 width: 33.33333333%; 3218 3195 } 3219 3196 3220 .featured-content {3221 margin-bottom: 24px;3222 }3223 3224 3197 .grid .featured-content .hentry { 3225 3198 float: left; 3226 3199 width: 50%; … … 3701 3674 .footer-sidebar .widget .widget-title, 3702 3675 .primary-sidebar .widget .widget-title { 3703 3676 font-size: 11px; 3704 font-weight: 700;3677 font-weight: 900; 3705 3678 line-height: 1.6363636363; 3706 3679 margin-bottom: 18px; 3707 3680 } … … 3740 3713 padding: 0; 3741 3714 } 3742 3715 3716 .footer-sidebar .widget_recent_entries li, 3717 .primary-sidebar .widget_recent_entries li { 3718 margin-bottom: 18px; 3719 } 3720 3743 3721 #supplementary { 3744 3722 padding: 0; 3745 3723 } … … 4033 4011 color: #fff; 4034 4012 } 4035 4013 4036 .singular . hentry.has-post-thumbnail {4014 .singular .site-content .hentry.has-post-thumbnail { 4037 4015 margin-top: 0; 4038 4016 } 4039 4017