diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index 6f797f784b..4929be16db 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/wp-content/themes/twentyfourteen/functions.php @@ -399,7 +399,7 @@ function twentyfourteen_body_classes( $classes ) { if ( is_active_sidebar( 'sidebar-3' ) ) $classes[] = 'footer-widgets'; - if ( is_singular() ) + if ( is_singular() && ! is_front_page() ) $classes[] = 'singular'; if ( is_front_page() && 'slider' == get_theme_mod( 'featured_content_layout' ) ) diff --git a/wp-content/themes/twentyfourteen/rtl.css b/wp-content/themes/twentyfourteen/rtl.css index 98f51397f8..474e306977 100644 --- a/wp-content/themes/twentyfourteen/rtl.css +++ b/wp-content/themes/twentyfourteen/rtl.css @@ -13,7 +13,7 @@ See http://codex.wordpress.org/Right_to_Left_Language_Support * 1.0 - Reset * 2.0 - Repeatable Patterns * 4.0 - Header - * 5.0 - Navigations + * 5.0 - Navigation * 6.0 - Content * 6.4 - Entry Content * 6.5 - Galleries @@ -103,7 +103,7 @@ td { /** - * 5.0 Navigations + * 5.0 Navigation * ----------------------------------------------------------------------------- */ @@ -162,19 +162,7 @@ td { .page-links > .page-links-title { padding-right: 0; - padding-left: 9px; -} - -.more-link .meta-nav, -.post-format-archive-link .meta-nav { - right: 0; - left: auto; -} - -.more-link:hover .meta-nav, -.post-format-archive-link:hover .meta-nav { - right: 5px; - left: auto; + padding-left: 7px; } diff --git a/wp-content/themes/twentyfourteen/style.css b/wp-content/themes/twentyfourteen/style.css index 6ba0e25e1c..c24b3f843d 100644 --- a/wp-content/themes/twentyfourteen/style.css +++ b/wp-content/themes/twentyfourteen/style.css @@ -20,7 +20,7 @@ Use it to make something cool, have fun, and share what you've learned with othe * 2.0 - Repeatable Patterns * 3.0 - Basic Structure * 4.0 - Header - * 5.0 - Navigations + * 5.0 - Navigation * 6.0 - Content * 6.1 - Post Thumbnail * 6.2 - Entry Header @@ -901,7 +901,7 @@ span + .edit-link:before, /** - * 5.0 Navigations + * 5.0 Navigation * ----------------------------------------------------------------------------- */ @@ -1000,7 +1000,7 @@ span + .edit-link:before, */ .content-area { - padding-top: 24px; + padding-top: 48px; } .hentry { @@ -1363,29 +1363,10 @@ a.post-thumbnail:hover { .page-links > .page-links-title { height: auto; margin: 0; - padding-right: 9px; + padding-right: 7px; width: auto; } -/* More link */ - -.post-format-archive-link { - font-size: 14px; - text-transform: uppercase; - white-space: pre; -} - -.more-link .meta-nav, -.post-format-archive-link .meta-nav { - position: relative; - left: 0; -} - -.more-link:hover .meta-nav, -.post-format-archive-link:hover .meta-nav { - left: 5px; -} - /** * 6.5 Gallery @@ -1753,8 +1734,8 @@ a.post-thumbnail:hover { * ----------------------------------------------------------------------------- */ -.singular .hentry.has-post-thumbnail { - margin-top: -24px; +.singular .site-content .hentry.has-post-thumbnail { + margin-top: -48px; } @@ -1771,9 +1752,7 @@ a.post-thumbnail:hover { .comment-reply-title, .comments-title { - font-size: 16px; - font-weight: 900; - line-height: 1.5; + font: 900 16px/1.5 Lato, sans-serif; margin: 0; text-transform: uppercase; } @@ -1829,8 +1808,8 @@ a.post-thumbnail:hover { } .comment-list > li:first-child > article, -.comment-list > li:first-child > .pingback, -.comment-list > li:first-child > .trackback { +.comment-list > .pingback:first-child, +.comment-list > .trackback:first-child { border-top: 0 } @@ -1961,6 +1940,7 @@ a.post-thumbnail:hover { .comment-reply-title small a { color: #2b2b2b; + display: inline-block; float: right; height: 24px; overflow: hidden; @@ -2365,6 +2345,7 @@ a.post-thumbnail:hover { .widget_twentyfourteen_ephemera .post-format-archive-link { font-weight: 700; + text-transform: uppercase; } /* List Style Widgets*/ @@ -2412,11 +2393,15 @@ a.post-thumbnail:hover { /* RSS Widget */ -.widget_rss .rsswidget img { +.rsswidget img { margin-top: -4px; } -.widget_rss .rss-date { +.rssSummary { + margin: 9px 0; +} + +.rss-date { display: block; } @@ -3131,10 +3116,6 @@ a.post-thumbnail:hover { .error404 .page-header { margin-bottom: 24px; } - - .featured-content { - margin-bottom: 48px; - } } @media screen and (min-width: 594px) { @@ -3163,7 +3144,6 @@ a.post-thumbnail:hover { .content-area { float: left; - padding-top: 48px; width: 100%; } @@ -3188,7 +3168,7 @@ a.post-thumbnail:hover { padding-left: 30px; } - .singular .hentry.has-post-thumbnail { + .singular .site-content .hentry.has-post-thumbnail { margin-top: 0 } @@ -3196,10 +3176,7 @@ a.post-thumbnail:hover { margin-right: 0; } - .full-width .site-content .has-post-thumbnail .entry-header { - margin-top: -48px; - } - + .full-width .site-content .has-post-thumbnail .entry-header, .full-width.singular .site-content .hentry.has-post-thumbnail { margin-top: -48px; } @@ -3217,10 +3194,6 @@ a.post-thumbnail:hover { width: 33.33333333%; } - .featured-content { - margin-bottom: 24px; - } - .grid .featured-content .hentry { float: left; width: 50%; @@ -3701,7 +3674,7 @@ a.post-thumbnail:hover { .footer-sidebar .widget .widget-title, .primary-sidebar .widget .widget-title { font-size: 11px; - font-weight: 700; + font-weight: 900; line-height: 1.6363636363; margin-bottom: 18px; } @@ -3740,6 +3713,11 @@ a.post-thumbnail:hover { padding: 0; } + .footer-sidebar .widget_recent_entries li, + .primary-sidebar .widget_recent_entries li { + margin-bottom: 18px; + } + #supplementary { padding: 0; } @@ -4033,7 +4011,7 @@ a.post-thumbnail:hover { color: #fff; } - .singular .hentry.has-post-thumbnail { + .singular .site-content .hentry.has-post-thumbnail { margin-top: 0; }