diff --git wp-content/themes/twentyfourteen/functions.php wp-content/themes/twentyfourteen/functions.php
index 5b8c6c4..73e2137 100644
|
|
|
function twentyfourteen_body_classes( $classes ) { |
| 402 | 402 | if ( is_singular() ) |
| 403 | 403 | $classes[] = 'singular'; |
| 404 | 404 | |
| | 405 | if ( twentyfourteen_has_featured_posts() ) |
| | 406 | $classes[] = 'has-featured-content'; |
| | 407 | |
| 405 | 408 | if ( is_front_page() && 'slider' == get_theme_mod( 'featured_content_layout' ) ) |
| 406 | 409 | $classes[] = 'slider'; |
| 407 | 410 | elseif ( is_front_page() ) |
diff --git wp-content/themes/twentyfourteen/style.css wp-content/themes/twentyfourteen/style.css
index d7021a3..5067bf1 100644
|
|
|
a.post-thumbnail:hover { |
| 1756 | 1756 | margin-top: -24px; |
| 1757 | 1757 | } |
| 1758 | 1758 | |
| | 1759 | .singular .featured-content .hentry.has-post-thumbnail { |
| | 1760 | margin-top: 0; |
| | 1761 | } |
| | 1762 | |
| 1759 | 1763 | |
| 1760 | 1764 | /** |
| 1761 | 1765 | * 6.14 Comments |
| … |
… |
a.post-thumbnail:hover { |
| 3102 | 3106 | .featured-content { |
| 3103 | 3107 | margin-bottom: 48px; |
| 3104 | 3108 | } |
| | 3109 | |
| | 3110 | .singular.has-featured-content .hentry.has-post-thumbnail { |
| | 3111 | margin-top: -72px; |
| | 3112 | } |
| | 3113 | |
| | 3114 | .singular .featured-content .hentry.has-post-thumbnail { |
| | 3115 | margin-top: 0; |
| | 3116 | } |
| 3105 | 3117 | } |
| 3106 | 3118 | |
| 3107 | 3119 | @media screen and (min-width: 594px) { |
| … |
… |
a.post-thumbnail:hover { |
| 3171 | 3183 | margin-top: -48px; |
| 3172 | 3184 | } |
| 3173 | 3185 | |
| | 3186 | .full-width.singular.has-featured-content .hentry.has-post-thumbnail { |
| | 3187 | margin-top: -72px; |
| | 3188 | } |
| | 3189 | |
| | 3190 | .full-width.singular .featured-content .hentry.has-post-thumbnail { |
| | 3191 | margin-top: 0; |
| | 3192 | } |
| | 3193 | |
| 3174 | 3194 | #secondary, |
| 3175 | 3195 | #supplementary { |
| 3176 | 3196 | padding: 0 30px; |
| … |
… |
a.post-thumbnail:hover { |
| 3462 | 3482 | margin-top: -72px; |
| 3463 | 3483 | } |
| 3464 | 3484 | |
| | 3485 | .full-width.singular .featured-content .hentry.has-post-thumbnail { |
| | 3486 | margin-top: 0; |
| | 3487 | } |
| | 3488 | |
| 3465 | 3489 | .featured-content { |
| 3466 | 3490 | margin-bottom: 0 |
| 3467 | 3491 | } |