From 4849e98d53ade291f62518e223835a91f00b512f Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Fri, 5 Sep 2025 16:22:03 +0200 Subject: [PATCH 1/6] Remove twentyfifteen conditional styles --- .../themes/twentyfifteen/css/ie.css | 954 ------------------ .../themes/twentyfifteen/css/ie7.css | 89 -- .../themes/twentyfifteen/functions.php | 8 - 3 files changed, 1051 deletions(-) delete mode 100644 src/wp-content/themes/twentyfifteen/css/ie.css delete mode 100644 src/wp-content/themes/twentyfifteen/css/ie7.css diff --git a/src/wp-content/themes/twentyfifteen/css/ie.css b/src/wp-content/themes/twentyfifteen/css/ie.css deleted file mode 100644 index f9f74bb55cf0d..0000000000000 --- a/src/wp-content/themes/twentyfifteen/css/ie.css +++ /dev/null @@ -1,954 +0,0 @@ -/* -Theme Name: Twenty Fifteen -Description: Global Styles for older IE versions (previous to IE9). -*/ - -body, -button, -input, -select, -textarea { - font-size: 19px; - line-height: 1.6842; -} - -button, -input { - line-height: normal; -} - -p, -address, -pre, -hr, -ul, -ol, -dl, -dd, -table { - margin-bottom: 1.6842em; -} - -ul, -ol { - margin-left: 0; -} - -li > ul, -li > ol, -blockquote > ul, -blockquote > ol { - margin-left: 1.3333em; -} - -blockquote { - border-color: inherit; - border-style: solid; - border-width: 0 0 0 4px; - font-size: 22px; - line-height: 1.8182; - margin-bottom: 1.8182em; - margin-left: -1.0909em; - padding-left: 0.9091em; -} - -blockquote > blockquote { - margin-left: 0; -} - -blockquote p { - margin-bottom: 1.8182em; -} - -blockquote cite, -blockquote small { - font-size: 19px; - line-height: 1.6842; -} - -pre { - line-height: 1.2632; -} - -.entry-content img, -.entry-summary img, -.page-content img, -.comment-content img, -.widget img { - max-width: 660px; -} - -img.size-full, -img.size-large, -img.header-image, -img.wp-post-image, -img[class*="align"], -img[class*="wp-image-"], -img[class*="attachment-"] { - height: auto; - width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ -} - -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -.post-password-form input[type="submit"], -.widecolumn #submit, -.widecolumn .mu_register input[type="submit"] { - font-size: 16px; - padding: 0.8125em 1.625em; -} - -input[type="text"], -input[type="email"], -input[type="url"], -input[type="password"], -input[type="search"], -textarea { - padding: 0.5278em; -} - -.main-navigation { - font-size: 16px; - line-height: 1.5; - margin: 9.0909%; -} - -.main-navigation ul ul { - border-bottom: 0; - border-top: 0; - margin-left: 1em; -} - -.main-navigation a { - padding: 0.75em 0; -} - -.main-navigation .menu-item-has-children > a { - padding-right: 48px; -} - -.main-navigation .menu-item-description { - font-size: 13px; - line-height: 1.8462; - margin-top: 0; -} - -.social-navigation { - margin: 9.0909%; - max-width: 660px; - padding-top: 0; -} - -.social-navigation ul { - margin-bottom: -1.2632em; -} - -.social-navigation a { - width: 2.5263em; - height: 2.5263em; -} - -.secondary-toggle { - margin-top: -32px; - right: 7.6897%; - width: 64px; - height: 64px; -} - -.secondary-toggle:before { - line-height: 64px; -} - -.post-password-form label, -.post-navigation .meta-nav, -.comment-navigation, -.image-navigation, -.author-heading, -.author-bio, -.entry-footer, -.page-links a, -.page-links span, -.comment-metadata, -.pingback .edit-link, -.comment-list .reply, -.comment-notes, -.comment-awaiting-moderation, -.logged-in-as, -.comment-form label, -.form-allowed-tags, -.site-info, -.wp-caption-text, -.gallery-caption, -.entry-caption, -.widecolumn label, -.widecolumn .mu_register label { - font-size: 16px; -} - -.post-navigation .post-title { - font-size: 24px; - line-height: 1.1667; -} - -.pagination .nav-links { - min-height: 3.3684em; -} - -.pagination .page-numbers { - line-height: 3.3684em; - padding: 0 0.8421em; -} - -.pagination .prev, -.pagination .next { - padding: 0; - width: 64px; - height: 64px; -} - -.pagination .prev:before, -.pagination .next:before { - line-height: 64px; - width: 64px; - height: 64px; -} - -.image-navigation a { - display: block; - margin-bottom: 2em; -} - -.image-navigation .nav-previous, -.comment-navigation .nav-previous { - float: left; - width: 50%; -} -.image-navigation .nav-next, -.comment-navigation .nav-next { - float: right; - text-align: right; - width: 50%; -} - -.image-navigation .nav-previous a:before, -.image-navigation .nav-next a:after, -.comment-navigation .nav-previous a:before, -.comment-navigation .nav-next a:after { - font-size: 24px; - top: -1px; -} - -blockquote.alignleft, -.wp-caption.alignleft, -img.alignleft { - margin: 0.4211em 1.6842em 1.6842em 0; -} - -blockquote.alignright, -.wp-caption.alignright, -img.alignright { - margin: 0.4211em 0 1.6842em 1.6842em; -} - -blockquote.aligncenter, -.wp-caption.aligncenter, -img.aligncenter { - margin-top: 0.4211em; - margin-bottom: 1.6842em; -} - -.site-header { - border-top: 1px solid transparent; - border-bottom: 1px solid transparent; - padding: 0; -} - -.secondary { - background-color: #fff; - margin: 0 auto; - max-width: 807px; - padding: 0; -} - -.site-main { - padding: 7.6923% 0; -} - -.site-content { - margin: 0 auto; - max-width: 954px; -} - -.site-branding { - background-color: inherit; - margin: 0 auto; - max-width: 954px; - padding: 0; -} - -.site-title { - font-size: 32px; - line-height: 1.25; - margin: 7.6897% 7.6897% 0; -} - -.site-description { - background-color: inherit; - display: block; - filter: alpha(opacity=70); - font-size: 16px; - margin: 0.5em 7.6897% 7.6897%; -} - -.sidebar { - position: static !important; -} - -.widget-area { - clear: both; - margin: 9.0909% 9.0909% 0; - max-width: 660px; -} - -.widget { - font-size: 16px; - margin: 0 0 11.1111%; -} - -.widget p, -.widget address, -.widget hr, -.widget ul, -.widget ol, -.widget dl, -.widget dd, -.widget table, -.widget pre { - margin-bottom: 1.5em; -} - -.widget li > ul, -.widget li > ol { - margin-bottom: 0; -} - -.widget blockquote { - font-size: 19px; - line-height: 1.6842; - margin-bottom: 1.6842em; - margin-left: -1.2632em; - padding-left: 1.0526em; -} - -.widget blockquote > blockquote { - margin-left: 0; -} - -.widget blockquote p { - margin-bottom: 1.6842em; -} - -.widget blockquote cite, -.widget blockquote small { - font-size: 16px; - line-height: 1.5; -} - -.widget pre { - line-height: 1.5; - padding: 0.75em; -} - -.widget button, -.widget input, -.widget select, -.widget textarea { - line-height: 1.5; -} - -.widget button, -.widget input { - line-height: normal; -} - -.widget button, -.widget input[type="button"], -.widget input[type="reset"], -.widget input[type="submit"] { - font-size: 16px; - padding: 0.8125em 1.625em; -} - -.widget input[type="text"], -.widget input[type="email"], -.widget input[type="url"], -.widget input[type="password"], -.widget input[type="search"], -.widget textarea { - padding: 0.75em; -} - -.widget-title { - margin: 0 0 1.5em; -} - -.widget_calendar td, -.widget_calendar th { - line-height: 2.9375; -} - -.widget_calendar caption { - margin: 0 0 1.5em; -} - -.widget_archive li, -.widget_categories li, -.widget_links li, -.widget_meta li, -.widget_nav_menu li, -.widget_pages li, -.widget_recent_comments li, -.widget_recent_entries li { - padding: 0.7188em 0; -} - -.widget_categories .children, -.widget_nav_menu .sub-menu, -.widget_pages .children { - margin: 0.7188em 0 0 1em; - padding-top: 0.7188em; -} - -.widget_rss li { - margin-bottom: 1.5em; -} - -.widget_rss .rss-date, -.widget_rss cite { - font-size: 13px; - line-height: 1.8462; -} - -.widget .wp-caption-text, -.widget .gallery-caption { - line-height: 1.5; - padding: 0.5em 0; -} - -.hentry, -.page-header, -.page-content { - margin: 0 7.6923%; -} - -.hentry + .hentry, -.page-header + .hentry, -.page-header + .page-content { - margin-top: 7.6923%; -} - -.post-thumbnail { - margin-bottom: 2.9474em; -} - -.entry-header { - padding: 0 9.0909%; -} - -.entry-title, -.widecolumn h2 { - font-size: 39px; - line-height: 1.2308; - margin-bottom: 1.2308em; -} - -.entry-content, -.entry-summary { - padding: 0 9.0909% 9.0909%; -} - -.entry-content h1, -.entry-summary h1, -.page-content h1, -.comment-content h1 { - font-size: 39px; - line-height: 1.2308; - margin-top: 1.641em; - margin-bottom: 0.8205em; -} - -.entry-content h2, -.entry-summary h2, -.page-content h2, -.comment-content h2 { - font-size: 32px; - line-height: 1.25; - margin-top: 2em; - margin-bottom: 1em; -} - -.entry-content h3, -.entry-summary h3, -.page-content h3, -.comment-content h3 { - font-size: 27px; - line-height: 1.1852; - margin-top: 2.3704em; - margin-bottom: 1.1852em; -} - -.entry-content h4, -.entry-summary h4, -.page-content h4, -.comment-content h4 { - font-size: 22px; - line-height: 1.4545; - margin-top: 2.9091em; - margin-bottom: 1.4545em; -} - -.entry-content h5, -.entry-summary h5, -.page-content h5, -.comment-content h5 { - font-size: 20px; - line-height: 1.4; - margin-top: 2.8em; - margin-bottom: 1.4em; -} - -.entry-content h6, -.entry-summary h6, -.page-content h6, -.comment-content h6 { - font-size: 19px; - line-height: 1.2632; - margin-top: 3.3684em; - margin-bottom: 1.6842em; -} - -.entry-content .more-link:after { - font-size: 24px; - top: 3px; -} - -.author-info { - margin: 0 9.0909%; - padding: 9.0909% 0; -} - -.author-info .avatar { - margin: 0 1.6842em 1.6842em 0; - width: 56px; - height: 56px; -} - -.author-link:after { - font-size: 24px; - top: 0; -} - -.entry-footer { - padding: 4.5454% 9.0909%; -} - -.posted-on:before, -.byline:before, -.cat-links:before, -.tags-links:before, -.comments-link:before, -.entry-format:before, -.edit-link:before, -.full-size-link:before { - top: 4px; -} - -.updated { - display: none; -} - -.updated.published { - display: inline; -} - -.page-header { - border-color: inherit; - border-style: solid; - border-width: 0 0 0 7px; - padding: 3.8461% 7.6923%; -} - -.page-title, -.taxonomy-description { - margin-left: -7px; -} - -.taxonomy-description { - padding-top: 0.4211em; -} - -.page-title, -.comments-title, -.comment-reply-title, -.post-navigation .post-title { - font-size: 27px; - line-height: 1.1852; -} - -.page-content { - padding: 7.6923%; -} - -.page-links { - margin-bottom: 1.4736em; -} - -.page-links a, -.page-links > span { - margin: 0 0.25em 0.25em 0; -} - -.format-aside .entry-title, -.format-image .entry-title, -.format-video .entry-title, -.format-quote .entry-title, -.format-gallery .entry-title, -.format-status .entry-title, -.format-link .entry-title, -.format-audio .entry-title, -.format-chat .entry-title { - font-size: 22px; - line-height: 1.4545; - margin-bottom: 32px; -} - -.format-link .entry-title a:after { - top: 0.125em; -} - -.comments-title { - margin-bottom: 1.4545em; -} - -.comment-list article, -.comment-list .pingback, -.comment-list .trackback { - padding: 1.6842em 0; -} - -.comment-list + .comment-respond, -.comment-navigation + .comment-respond { - padding-top: 1.6842em; -} - -.comment-list .children > li { - padding-left: 1.4737em; -} - -.comment-meta { - position: relative; -} - -.comment-author { - margin-bottom: 0; - padding-left: 4.6315em; -} - -.comment-author .avatar { - margin: 0; - position: absolute; - top: 3px; - left: 0; - width: 56px; - height: 56px; -} - -.comment-metadata { - line-height: 2; - padding-left: 5.5em; -} - -.comment-metadata .edit-link:before, -.pingback .edit-link:before { - top: 8px; -} - -.bypostauthor > article .fn:after { - top: 8px; - left: 6px; -} - -.comment-content ul, -.comment-content ol { - margin: 0 0 1.6842em 0; -} - -.comment-content li > ul, -.comment-content li > ol, -.comment-content blockquote > ul, -.comment-content blockquote > ol { - margin-left: 1.3333em; -} - -.comment-list .reply a { - padding: 0.4375em 0.875em; -} - -.comment-form, -.no-comments { - padding-top: 1.6842em; -} - -.comment-reply-title small a:before { - top: -1px; -} - -.comment-list .reply { - margin-top: 0; -} - -.site-footer { - border-top: 1px solid transparent; - border-bottom: 1px solid transparent; - margin: 0 auto; - max-width: 806px; - padding: 0; -} - -.site-info { - margin: 4.5454% 9.0909%; -} - -.post-navigation { - border-top: 0; - margin: 7.6923% 7.6923% 0; -} - -.post-navigation a { - padding: 4.5454% 9.0909%; -} - -.pagination { - border-top: 0; - margin: 7.6923% 7.6923% 0; - padding: 0; -} - -.pagination .page-numbers { - display: inline-block; -} - -.pagination .meta-nav { - display: none; -} - -.image-navigation { - padding: 0 9.0909%; -} - -.comments-area { - border-top: 0; - margin: 7.6923% 7.6923% 0; -} - -embed, -iframe, -object, -video { - margin-bottom: 1.6842em; -} - -.wp-audio-shortcode, -.wp-video, -.wp-playlist.wp-audio-playlist { - font-size: 19px; - margin-bottom: 1.6842em; -} - -.wp-caption, -.gallery { - margin-bottom: 1.6842em; -} - -.wp-caption-text, -.gallery-caption { - padding: 0.5em 0; -} - -.widecolumn { - margin: 7.6923%; -} - -.widecolumn .mu_alert { - margin-bottom: 1.6842em; -} - -.widecolumn p { - margin: 1.6842em 0; -} - -.widecolumn p + h2 { - margin-top: 1.641em; -} - -.widecolumn #key, -.widecolumn .mu_register #blog_title, -.widecolumn .mu_register #user_email, -.widecolumn .mu_register #blogname, -.widecolumn .mu_register #user_name { - font-size: 19px; -} - -.widecolumn .mu_register #blog_title, -.widecolumn .mu_register #user_email, -.widecolumn .mu_register #user_name { - margin: 0 0 0.421em; -} - - -/** - * RTL - */ - -.rtl ul, -.rtl ol { - margin-right: 0; - margin-left: auto; -} - -.rtl li > ul, -.rtl li > ol, -.rtl blockquote > ul, -.rtl blockquote > ol { - margin-right: 1.3333em; - margin-left: auto; -} - -.rtl blockquote { - border-width: 0 4px 0 0; - margin-right: -1.0909em; - margin-left: auto; - padding-right: 0.9091em; - padding-left: 0; -} - -.rtl blockquote > blockquote { - margin-right: 0; - margin-left: auto; -} - -.rtl .main-navigation ul ul { - margin-right: 1em; - margin-left: auto; -} - -.rtl .main-navigation .menu-item-has-children > a { - padding-right: 0; - padding-left: 48px; -} - -.rtl .secondary-toggle { - right: auto; - left: 7.6897%; -} - -.rtl .image-navigation .nav-previous, -.rtl .comment-navigation .nav-previous { - float: right; -} - -.rtl .image-navigation .nav-next, -.rtl .comment-navigation .nav-next { - float: left; - text-align: left; -} - -.rtl blockquote.alignright, -.rtl .wp-caption.alignright, -.rtl img.alignright { - margin: 0.4211em 0 1.6842em 1.6842em; -} - -.rtl blockquote.alignleft, -.rtl .wp-caption.alignleft, -.rtl img.alignleft { - margin: 0.4211em 1.6842em 1.6842em 0; -} - -.rtl .widget blockquote { - margin-right: -1.2632em; - margin-left: auto; - padding-right: 1.0526em; - padding-left: 0; -} - -.rtl .widget blockquote > blockquote { - margin-right: 0; - margin-left: auto; -} - -.rtl .widget_categories .children, -.rtl .widget_nav_menu .sub-menu, -.rtl .widget_pages .children { - margin: 0.7188em 1em 0 0; -} - -.rtl .page-links a, -.rtl .page-links > span { - margin: 0 0 0.25em 0.25em; -} - -.rtl .author-info .avatar { - margin: 0 0 1.6842em 1.6842em; -} - -.rtl .page-header { - border-width: 0 7px 0 0; -} - -.rtl .page-title, -.rtl .taxonomy-description { - margin-right: -7px; - margin-left: auto; -} - -.rtl .comment-list .children > li { - padding-right: 1.4737em; - padding-left: 0; -} - -.rtl .comment-author { - padding-right: 4.6315em; - padding-left: 0; -} - -.rtl .comment-author .avatar { - right: 0; - left: auto; -} - -.rtl .comment-content ul, -.rtl .comment-content ol { - margin-right: 0; - margin-left: auto; -} - -.rtl .comment-content li > ul, -.rtl .comment-content li > ol, -.rtl .comment-content blockquote > ul, -.rtl .comment-content blockquote > ol { - margin-right: 1.3333em; - margin-left: auto; -} - -.rtl .comment-metadata { - padding-right: 5.5em; - padding-left: 0; -} - -.rtl .bypostauthor > article .fn:after { - right: 6px; - left: auto; -} diff --git a/src/wp-content/themes/twentyfifteen/css/ie7.css b/src/wp-content/themes/twentyfifteen/css/ie7.css deleted file mode 100644 index 6f8cd43b7d46a..0000000000000 --- a/src/wp-content/themes/twentyfifteen/css/ie7.css +++ /dev/null @@ -1,89 +0,0 @@ -/* -Theme Name: Twenty Fifteen -Description: IE7 specific style. -*/ - -.screen-reader-text { - clip: rect(1px 1px 1px 1px); -} - -.secondary-toggle { - color: #333; - font-size: 16px; - line-height: 60px; - width: auto; -} - -.pagination .prev, -.pagination .next { - font-size: 16px; - font-weight: 700; - line-height: 64px; - padding: 0 19px; - width: auto; -} - -.image-navigation, -.comment-navigation { - width: 662px; -} - -.post-navigation { - text-align: left; -} - -.site-main { - text-align: center; -} - -.hentry { - margin-bottom: 7.6923%; - text-align: left; - width: 808px; -} - -.page-header { - margin-bottom: 7.6923%; - text-align: left; -} - -.comments-area { - text-align: left; -} - -.comment-list, -.comment-navigation { - margin-bottom: 1.6471em; -} - -.gallery-columns-2 .gallery-item { - max-width: 48%; -} - -.gallery-columns-3 .gallery-item { - max-width: 31%; -} - -.gallery-columns-4 .gallery-item { - max-width: 22%; -} - -.gallery-columns-5 .gallery-item { - max-width: 17%; -} - -.gallery-columns-6 .gallery-item { - max-width: 13.5%; -} - -.gallery-columns-7 .gallery-item { - max-width: 11%; -} - -.gallery-columns-8 .gallery-item { - max-width: 9.5%; -} - -.gallery-columns-9 .gallery-item { - max-width: 8%; -} diff --git a/src/wp-content/themes/twentyfifteen/functions.php b/src/wp-content/themes/twentyfifteen/functions.php index 71b42e6c6e151..6e78d893382d1 100644 --- a/src/wp-content/themes/twentyfifteen/functions.php +++ b/src/wp-content/themes/twentyfifteen/functions.php @@ -435,14 +435,6 @@ function twentyfifteen_scripts() { // Theme block stylesheet. wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20240715' ); - // Register the Internet Explorer specific stylesheet. - wp_register_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20220908' ); - wp_style_add_data( 'twentyfifteen-ie', 'conditional', 'lt IE 9' ); - - // Register the Internet Explorer 7 specific stylesheet. - wp_register_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), '20141210' ); - wp_style_add_data( 'twentyfifteen-ie7', 'conditional', 'lt IE 8' ); - // Skip-link fix is no longer enqueued by default. wp_register_script( 'twentyfifteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20230526', array( 'in_footer' => true ) ); From e03d32a63a430582343f7de920ca970e7e8a09ef Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Fri, 5 Sep 2025 16:23:02 +0200 Subject: [PATCH 2/6] Remove twentytwelve conditional styles --- src/wp-content/themes/twentytwelve/css/ie.css | 273 ------------------ .../themes/twentytwelve/functions.php | 4 - 2 files changed, 277 deletions(-) delete mode 100644 src/wp-content/themes/twentytwelve/css/ie.css diff --git a/src/wp-content/themes/twentytwelve/css/ie.css b/src/wp-content/themes/twentytwelve/css/ie.css deleted file mode 100644 index 134647da1287e..0000000000000 --- a/src/wp-content/themes/twentytwelve/css/ie.css +++ /dev/null @@ -1,273 +0,0 @@ -/* -Styles for older IE versions (previous to IE9). -*/ - -body { - background-color: #e6e6e6; -} -body.custom-background-empty { - background-color: #fff; -} -body.custom-background-empty .site, -body.custom-background-white .site { - box-shadow: none; - margin-bottom: 0; - margin-top: 0; - padding: 0; -} -.assistive-text, -.site .screen-reader-text { - clip: rect(1px 1px 1px 1px); -} -.full-width .site-content { - float: none; - width: 100%; -} -img.size-full, -img.size-large, -img.header-image, -img.wp-post-image, -img[class*="align"], -img[class*="wp-image-"], -img[class*="attachment-"] { - width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ -} -.author-avatar { - float: left; - margin-top: 8px; - margin-top: 0.571428571rem; -} -.author-description { - float: right; - width: 80%; -} -.site { - box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3); - margin: 48px auto; - max-width: 960px; - overflow: hidden; - padding: 0 40px; -} -.site-content { - float: left; - width: 65.104166667%; -} -body.template-front-page .site-content, -body.attachment .site-content, -body.full-width .site-content { - width: 100%; -} -.widget-area { - float: right; - width: 26.041666667%; -} -.site-header h1, -.site-header h2 { - text-align: left; -} -.site-header h1 { - font-size: 26px; - line-height: 1.846153846; -} -.main-navigation ul.nav-menu, -.main-navigation div.nav-menu > ul { - border-bottom: 1px solid #ededed; - border-top: 1px solid #ededed; - display: inline-block !important; - text-align: left; - width: 100%; -} -.main-navigation ul { - margin: 0; - text-indent: 0; -} -.main-navigation li a, -.main-navigation li { - display: inline-block; - text-decoration: none; -} -.ie7 .main-navigation li a, -.ie7 .main-navigation li { - display: inline; -} -.main-navigation li a { - border-bottom: 0; - color: #6a6a6a; - line-height: 3.692307692; - text-transform: uppercase; -} -.main-navigation li a:hover { - color: #000; -} -.main-navigation li { - margin: 0 40px 0 0; - position: relative; -} -.main-navigation li ul { - margin: 0; - padding: 0; - position: absolute; - top: 100%; - z-index: 99999; - height: 1px; - width: 1px; - overflow: hidden; - clip: rect(1px, 1px, 1px, 1px); -} -.ie7 .main-navigation li ul { - clip: inherit; - display: none; - left: 0; - overflow: visible; -} -.main-navigation li ul ul, -.ie7 .main-navigation li ul ul { - top: 0; - left: 100%; -} -.main-navigation ul li:hover > ul, -.main-navigation ul li:focus > ul, -.main-navigation .focus > ul { - border-left: 0; - clip: inherit; - overflow: inherit; - height: inherit; - width: inherit; -} -.ie7 .main-navigation ul li:hover > ul, -.ie7 .main-navigation ul li:focus > ul { - display: block; -} -.main-navigation li ul li a { - background: #efefef; - border-bottom: 1px solid #ededed; - display: block; - font-size: 11px; - line-height: 2.181818182; - padding: 8px 10px; - width: 180px; -} -.main-navigation li ul li a:hover { - background: #e3e3e3; - color: #444; -} -.main-navigation .current-menu-item > a, -.main-navigation .current-menu-ancestor > a, -.main-navigation .current_page_item > a, -.main-navigation .current_page_ancestor > a { - color: #636363; - font-weight: bold; -} -.main-navigation .menu-toggle { - display: none; -} -.entry-header .entry-title { - font-size: 22px; -} -#respond form input[type="text"] { - width: 46.333333333%; -} -#respond form textarea.blog-textarea { - width: 79.666666667%; -} -.template-front-page .site-content, -.template-front-page article { - overflow: hidden; -} -.template-front-page.has-post-thumbnail article { - float: left; - width: 47.916666667%; -} -.entry-page-image { - float: right; - margin-bottom: 0; - width: 47.916666667%; -} -/* IE Front Page Template Widget fix */ -.template-front-page .widget-area { - clear: both; -} -.template-front-page .widget { - width: 100% !important; - border: none; -} -.template-front-page .widget-area .widget, -.template-front-page .first.front-widgets, -.template-front-page.two-sidebars .widget-area .front-widgets { - float: left; - margin-bottom: 24px; - width: 51.875%; -} -.template-front-page .second.front-widgets, -.template-front-page .widget-area .widget:nth-child(odd) { - clear: right; -} -.template-front-page .first.front-widgets, -.template-front-page .second.front-widgets, -.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets { - float: right; - margin: 0 0 24px; - width: 39.0625%; -} -.template-front-page.two-sidebars .widget, -.template-front-page.two-sidebars .widget:nth-child(even) { - float: none; - width: auto; -} -/* add input font for ul { - text-align: right; -} -.rtl .main-navigation ul li ul li, -.rtl .main-navigation ul li ul li ul li { - margin-left: 40px; - margin-right: auto; -} -.rtl .main-navigation li ul ul { - position: absolute; - bottom: 0; - right: 100%; - z-index: 1; -} -.ie7 .rtl .main-navigation li ul ul { - position: absolute; - bottom: 0; - right: 100%; - z-index: 1; -} -.ie7 .rtl .main-navigation ul li { - z-index: 99; -} -.ie7 .rtl .main-navigation li ul { - position: absolute; - bottom: 100%; - right: 0; - z-index: 1; -} -.ie7 .rtl .main-navigation li { - margin-right: auto; - margin-left: 40px; -} -.ie7 .rtl .main-navigation li ul ul ul { - position: relative; - z-index: 1; -} \ No newline at end of file diff --git a/src/wp-content/themes/twentytwelve/functions.php b/src/wp-content/themes/twentytwelve/functions.php index 676e6c955fd21..f420bd95032cb 100644 --- a/src/wp-content/themes/twentytwelve/functions.php +++ b/src/wp-content/themes/twentytwelve/functions.php @@ -216,10 +216,6 @@ function twentytwelve_scripts_styles() { // Theme block stylesheet. wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20240812' ); - - // Loads the Internet Explorer specific stylesheet. - wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20240722' ); - $wp_styles->add_data( 'twentytwelve-ie', 'conditional', 'lt IE 9' ); } add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' ); From 18269d1f3345428697fac2bc92277626974ad831 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Fri, 5 Sep 2025 16:24:59 +0200 Subject: [PATCH 3/6] Remove twentysixteen conditional scripts and styles --- .../themes/twentysixteen/css/ie.css | 48 --- .../themes/twentysixteen/css/ie7.css | 176 ---------- .../themes/twentysixteen/css/ie8.css | 222 ------------ .../themes/twentysixteen/functions.php | 16 - .../themes/twentysixteen/js/html5.js | 326 ------------------ 5 files changed, 788 deletions(-) delete mode 100644 src/wp-content/themes/twentysixteen/css/ie.css delete mode 100644 src/wp-content/themes/twentysixteen/css/ie7.css delete mode 100644 src/wp-content/themes/twentysixteen/css/ie8.css delete mode 100644 src/wp-content/themes/twentysixteen/js/html5.js diff --git a/src/wp-content/themes/twentysixteen/css/ie.css b/src/wp-content/themes/twentysixteen/css/ie.css deleted file mode 100644 index 6aa093a2cbb96..0000000000000 --- a/src/wp-content/themes/twentysixteen/css/ie.css +++ /dev/null @@ -1,48 +0,0 @@ -/* -Theme Name: Twenty Sixteen -Description: Global Styles for older IE versions (previous to IE10). -*/ - -.site-header-main:before, -.site-header-main:after, -.site-footer:before, -.site-footer:after { - content: ""; - display: table; -} - -.site-header-main:after, -.site-footer:after { - clear: both; -} - -@media screen and (min-width: 56.875em) { - .site-branding, - .site-info { - float: left; - } - - .site-header-menu, - .site-footer .social-navigation { - float: right; - } - - .site-footer .social-navigation { - margin-left: 7px; - } - - .rtl .site-branding, - .rtl .site-info { - float: right; - } - - .rtl .site-header-menu, - .rtl .site-footer .social-navigation { - float: left; - } - - .rtl .site-footer .social-navigation { - margin-right: 7px; - margin-left: 0; - } -} diff --git a/src/wp-content/themes/twentysixteen/css/ie7.css b/src/wp-content/themes/twentysixteen/css/ie7.css deleted file mode 100644 index 6f9ec28aad985..0000000000000 --- a/src/wp-content/themes/twentysixteen/css/ie7.css +++ /dev/null @@ -1,176 +0,0 @@ -/* -Theme Name: Twenty Sixteen -Description: IE7 specific style. -*/ - -.site-inner { - max-width: 656px; -} - -.post-navigation, -.pagination, -.image-navigation, -.entry-header, -.entry-summary, -.entry-content, -.entry-footer, -.page-header, -.page-content, -.post-thumbnail, -.content-bottom-widgets, -.comments-area { - margin-right: 28px; - margin-left: 28px; - max-width: 100%; -} - -.site-header, -.sidebar, -.site-footer, -.widecolumn { - padding-right: 28px; - padding-left: 28px; -} - -.search-submit { - height: auto; - margin-top: 28px; - padding: 15px 0 8px; - position: relative; - width: auto; -} - -.search-submit .screen-reader-text { - height: auto; - position: relative !important; - width: auto; -} - -.image-navigation .nav-previous, -.image-navigation .nav-next, -.comment-navigation .nav-previous, -.comment-navigation .nav-next { - *display: inline; - zoom: 1; -} - -.image-navigation .nav-previous + .nav-next, -.comment-navigation .nav-previous + .nav-next { - margin-left: 14px; -} - -.pagination .nav-links { - padding: 0; -} - -.pagination .page-numbers { - line-height: 1; - margin: -4px 14px 0; - padding: 18px 0; -} - -.pagination .prev, -.pagination .next { - display: inline-block; - font-size: 16px; - font-weight: 700; - height: auto; - left: 0; - line-height: 1; - margin: 0; - padding: 18px 14px; - position: relative; - right: 0; - text-transform: none; - width: auto; -} - -.dropdown-toggle { - display: none; -} - -.main-navigation ul ul { - display: block; -} - -.social-navigation { - margin-top: 1.75em; -} - -.social-navigation a { - height: auto; - padding: 3px 7px; - width: auto; -} - -.social-navigation .screen-reader-text { - height: auto; - position: relative !important; - width: auto; -} - -.site-header-main { - overflow : hidden; - zoom : 1; -} - -.entry-footer > span { - margin-right: 14px; -} - -.site-info .site-title { - font-size: 13px; - margin-right: 14px; -} - -.gallery-item { - max-width: 30%; -} - -.gallery-columns-1 .gallery-item { - max-width: 100%; -} - -.gallery-columns-2 .gallery-item { - max-width: 46%; -} - -.gallery-columns-4 .gallery-item { - max-width: 22%; -} - -.gallery-columns-5 .gallery-item { - max-width: 17%; -} - -.gallery-columns-6 .gallery-item { - max-width: 13.5%; -} - -.gallery-columns-7 .gallery-item { - max-width: 11%; -} - -.gallery-columns-8 .gallery-item { - max-width: 9.5%; -} - -.gallery-columns-9 .gallery-item { - max-width: 8%; -} - -.rtl .image-navigation .nav-previous + .nav-next, -.rtl .comment-navigation .nav-previous + .nav-next { - margin-right: 14px; - margin-left: 0; -} - -.rtl .entry-footer > span { - margin-right: 14px; - margin-left: 0; -} - -.rtl .site-info .site-title { - margin-right: 0; - margin-left: 14px; -} diff --git a/src/wp-content/themes/twentysixteen/css/ie8.css b/src/wp-content/themes/twentysixteen/css/ie8.css deleted file mode 100644 index 1b07fe8938602..0000000000000 --- a/src/wp-content/themes/twentysixteen/css/ie8.css +++ /dev/null @@ -1,222 +0,0 @@ -/* -Theme Name: Twenty Sixteen -Description: IE8 specific style. -*/ - -code { - background-color: transparent; - padding: 0; -} - -.entry-content a, -.entry-summary a, -.taxonomy-description a, -.logged-in-as a, -.comment-content a, -.pingback .comment-body > a, -.textwidget a, -.entry-footer a:hover, -.site-info a:hover { - text-decoration: underline; -} - -.entry-content a:hover, -.entry-content a:focus, -.entry-summary a:hover, -.entry-summary a:focus, -.taxonomy-description a:hover, -.taxonomy-description a:focus, -.logged-in-as a:hover, -.logged-in-as a:focus, -.comment-content a:hover, -.comment-content a:focus, -.pingback .comment-body > a:hover, -.pingback .comment-body > a:focus, -.textwidget a:hover, -.textwidget a:focus, -.entry-content .wp-audio-shortcode a, -.entry-content .wp-playlist a, -.page-links a { - text-decoration: none; -} - -.site { - margin: 21px; -} - -.site-inner { - max-width: 710px; -} - -.site-header { - padding-top: 3.9375em; - padding-bottom: 3.9375em; -} - -.site-branding { - float: left; - margin-top: 1.3125em; - margin-bottom: 1.3125em; -} - -.site-title { - font-size: 28px; - line-height: 1.25; -} - -.site-description { - display: block; -} - -.menu-toggle { - float: right; - font-size: 16px; - margin: 1.3125em 0; - padding: 0.8125em 0.875em 0.6875em; -} - -.site-header-menu { - clear: both; - margin: 0; - padding: 1.3125em 0; -} - -.site-header .main-navigation + .social-navigation { - margin-top: 2.625em; -} - -.header-image { - margin: 1.3125em 0; -} - -.site-main { - margin-bottom: 5.25em; -} - -.post-navigation { - margin-bottom: 5.25em; -} - -.post-navigation .post-title { - font-size: 28px; - line-height: 1.25; -} - -.pagination { - margin: 0 7.6923% 4.421052632em; -} - -.pagination .nav-links:before, -.pagination .nav-links:after { - display: none; -} - -/* restore screen-reader-text */ -.pagination .current .screen-reader-text { - position: absolute !important; -} - -.pagination .page-numbers { - display: inline-block; - font-weight: 400; -} - -.image-navigation .nav-previous, -.image-navigation .nav-next, -.comment-navigation .nav-previous, -.comment-navigation .nav-next { - display: inline-block; -} - -.image-navigation .nav-previous + .nav-next:before, -.comment-navigation .nav-previous + .nav-next:before { - content: "\002f"; - display: inline-block; - filter: alpha(opacity=70); - padding: 0 0.538461538em; -} - -.site-main > article { - margin-bottom: 5.25em; -} - -.entry-title { - font-size: 33px; - line-height: 1.2727272727; - margin-bottom: 0.8484848485em; -} - -.entry-content blockquote.alignleft, -.entry-content blockquote.alignright { - border-width: 4px 0 0 0; - padding: 0.9473684211em 0 0; - width: 50%; -} - -.entry-footer > span:after { - content: "\002f"; - display: inline-block; - filter: alpha(opacity=70); - padding: 0 0.538461538em; -} - -.updated { - display: none; -} - -.updated.published { - display: inline; -} - -.comment-author { - margin-bottom: 0; -} - -.comment-author .avatar { - height: 42px; - position: relative; - top: 0.25em; - width: 42px; -} - -.comment-list .children > li { - padding-left: 1.75em; -} - -.comment-list + .comment-respond, -.comment-navigation + .comment-respond { - padding-top: 3.5em; -} - -.comment-reply-link { - margin-top: 0; -} - -.comments-area, -.widget, -.content-bottom-widgets .widget-area { - margin-bottom: 5.25em; -} - -.sidebar, -.widecolumn { - margin-bottom: 5.25em; -} - -.site-footer .main-navigation, -.site-footer .social-navigation { - display: none; -} - -.rtl .site-branding { - float: right; -} - -.rtl .menu-toggle { - float: left; -} - -.rtl .comment-list .children > li { - padding-right: 1.75em; - padding-left: 0; -} diff --git a/src/wp-content/themes/twentysixteen/functions.php b/src/wp-content/themes/twentysixteen/functions.php index 49b3f2cb9ad01..4c47acc06e8f4 100644 --- a/src/wp-content/themes/twentysixteen/functions.php +++ b/src/wp-content/themes/twentysixteen/functions.php @@ -396,22 +396,6 @@ function twentysixteen_scripts() { // Theme block stylesheet. wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20240817' ); - // Load the Internet Explorer specific stylesheet. - wp_enqueue_style( 'twentysixteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentysixteen-style' ), '20170530' ); - wp_style_add_data( 'twentysixteen-ie', 'conditional', 'lt IE 10' ); - - // Load the Internet Explorer 8 specific stylesheet. - wp_enqueue_style( 'twentysixteen-ie8', get_template_directory_uri() . '/css/ie8.css', array( 'twentysixteen-style' ), '20170530' ); - wp_style_add_data( 'twentysixteen-ie8', 'conditional', 'lt IE 9' ); - - // Load the Internet Explorer 7 specific stylesheet. - wp_enqueue_style( 'twentysixteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentysixteen-style' ), '20170530' ); - wp_style_add_data( 'twentysixteen-ie7', 'conditional', 'lt IE 8' ); - - // Load the html5 shiv. - wp_enqueue_script( 'twentysixteen-html5', get_template_directory_uri() . '/js/html5.js', array(), '3.7.3' ); - wp_script_add_data( 'twentysixteen-html5', 'conditional', 'lt IE 9' ); - // Skip-link fix is no longer enqueued by default. wp_register_script( 'twentysixteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20230526', array( 'in_footer' => true ) ); diff --git a/src/wp-content/themes/twentysixteen/js/html5.js b/src/wp-content/themes/twentysixteen/js/html5.js deleted file mode 100644 index 9c1f049556e95..0000000000000 --- a/src/wp-content/themes/twentysixteen/js/html5.js +++ /dev/null @@ -1,326 +0,0 @@ -/** -* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -;(function(window, document) { -/*jshint evil:true */ - /** version */ - var version = '3.7.3'; - - /** Preset options */ - var options = window.html5 || {}; - - /** Used to skip problem elements */ - var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i; - - /** Not all elements can be cloned in IE **/ - var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i; - - /** Detect whether the browser supports default html5 styles */ - var supportsHtml5Styles; - - /** Name of the expando, to work with multiple documents or to re-shiv one document */ - var expando = '_html5shiv'; - - /** The id for the the documents expando */ - var expanID = 0; - - /** Cached data for each document */ - var expandoData = {}; - - /** Detect whether the browser supports unknown elements */ - var supportsUnknownElements; - - (function() { - try { - var a = document.createElement('a'); - a.innerHTML = ''; - //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles - supportsHtml5Styles = ('hidden' in a); - - supportsUnknownElements = a.childNodes.length == 1 || (function() { - // assign a false positive if unable to shiv - (document.createElement)('a'); - var frag = document.createDocumentFragment(); - return ( - typeof frag.cloneNode == 'undefined' || - typeof frag.createDocumentFragment == 'undefined' || - typeof frag.createElement == 'undefined' - ); - }()); - } catch(e) { - // assign a false positive if detection fails => unable to shiv - supportsHtml5Styles = true; - supportsUnknownElements = true; - } - - }()); - - /*--------------------------------------------------------------------------*/ - - /** - * Creates a style sheet with the given CSS text and adds it to the document. - * @private - * @param {Document} ownerDocument The document. - * @param {String} cssText The CSS text. - * @returns {StyleSheet} The style element. - */ - function addStyleSheet(ownerDocument, cssText) { - var p = ownerDocument.createElement('p'), - parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement; - - p.innerHTML = 'x'; - return parent.insertBefore(p.lastChild, parent.firstChild); - } - - /** - * Returns the value of `html5.elements` as an array. - * @private - * @returns {Array} An array of shived element node names. - */ - function getElements() { - var elements = html5.elements; - return typeof elements == 'string' ? elements.split(' ') : elements; - } - - /** - * Extends the built-in list of html5 elements - * @memberOf html5 - * @param {String|Array} newElements whitespace separated list or array of new element names to shiv - * @param {Document} ownerDocument The context document. - */ - function addElements(newElements, ownerDocument) { - var elements = html5.elements; - if(typeof elements != 'string'){ - elements = elements.join(' '); - } - if(typeof newElements != 'string'){ - newElements = newElements.join(' '); - } - html5.elements = elements +' '+ newElements; - shivDocument(ownerDocument); - } - - /** - * Returns the data associated to the given document - * @private - * @param {Document} ownerDocument The document. - * @returns {Object} An object of data. - */ - function getExpandoData(ownerDocument) { - var data = expandoData[ownerDocument[expando]]; - if (!data) { - data = {}; - expanID++; - ownerDocument[expando] = expanID; - expandoData[expanID] = data; - } - return data; - } - - /** - * returns a shived element for the given nodeName and document - * @memberOf html5 - * @param {String} nodeName name of the element - * @param {Document|DocumentFragment} ownerDocument The context document. - * @returns {Object} The shived element. - */ - function createElement(nodeName, ownerDocument, data){ - if (!ownerDocument) { - ownerDocument = document; - } - if(supportsUnknownElements){ - return ownerDocument.createElement(nodeName); - } - if (!data) { - data = getExpandoData(ownerDocument); - } - var node; - - if (data.cache[nodeName]) { - node = data.cache[nodeName].cloneNode(); - } else if (saveClones.test(nodeName)) { - node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode(); - } else { - node = data.createElem(nodeName); - } - - // Avoid adding some elements to fragments in IE < 9 because - // * Attributes like `name` or `type` cannot be set/changed once an element - // is inserted into a document/fragment - // * Link elements with `src` attributes that are inaccessible, as with - // a 403 response, will cause the tab/window to crash - // * Script elements appended to fragments will execute when their `src` - // or `text` property is set - return node.canHaveChildren && !reSkip.test(nodeName) && !node.tagUrn ? data.frag.appendChild(node) : node; - } - - /** - * returns a shived DocumentFragment for the given document - * @memberOf html5 - * @param {Document} ownerDocument The context document. - * @returns {Object} The shived DocumentFragment. - */ - function createDocumentFragment(ownerDocument, data){ - if (!ownerDocument) { - ownerDocument = document; - } - if(supportsUnknownElements){ - return ownerDocument.createDocumentFragment(); - } - data = data || getExpandoData(ownerDocument); - var clone = data.frag.cloneNode(), - i = 0, - elems = getElements(), - l = elems.length; - for(;i Date: Fri, 5 Sep 2025 16:26:18 +0200 Subject: [PATCH 4/6] Remove twentyfourteen conditional styles --- .../themes/twentyfourteen/css/ie.css | 1335 ----------------- .../themes/twentyfourteen/functions.php | 4 - 2 files changed, 1339 deletions(-) delete mode 100644 src/wp-content/themes/twentyfourteen/css/ie.css diff --git a/src/wp-content/themes/twentyfourteen/css/ie.css b/src/wp-content/themes/twentyfourteen/css/ie.css deleted file mode 100644 index 82142d2e278b9..0000000000000 --- a/src/wp-content/themes/twentyfourteen/css/ie.css +++ /dev/null @@ -1,1335 +0,0 @@ -/** - * Global Styles for older IE versions (previous to IE9). - */ - -pre, -fieldset, -table, -th, -td, -input, -textarea { - border: 1px solid #e5e5e5; -} - -hr { - background-color: #e5e5e5; -} - -button, -input, -select, -textarea { - vertical-align: middle; -} - - -input:focus, -textarea:focus { - border: 1px solid #b2b2b2; -} - -.site-title { - max-width: 71%; -} - -.site-content blockquote.alignleft, -.site-content blockquote.alignright { - border-top: 1px solid #e5e5e5; - border-bottom: 1px solid #e5e5e5; -} - -.post-thumbnail, -a.post-thumbnail:hover { - background: transparent; -} - -.list-view .site-content .hentry { - border-top: 1px solid #e5e5e5; - padding-top: 48px; -} - -.gallery-caption { - background: #000; - filter: alpha(opacity=0); -} - -.gallery-item:hover .gallery-caption { - filter: alpha(opacity=70); -} - -.nav-links { - border-top: 1px solid #e5e5e5; -} - -.post-navigation a, -.image-navigation .previous-image, -.image-navigation .next-image, -.contributor { - border-bottom: 1px solid #e5e5e5; -} - -.contributor-avatar, -.comment-author .avatar { - border: 1px solid #e5e5e5; -} - -.comment-list article, -.comment-list .pingback, -.comment-list .trackback { - border-top: 1px solid #e5e5e5; -} - -.comment-list .reply { - margin-top: 0; -} - -#secondary { - color: #b3b3b3; -} - -.widget abbr[title] { - border-color: #b3b3b3; -} - -.widget pre, -.widget fieldset, -.widget table, -.widget th, -.widget td, -.widget input, -.widget textarea { - border-color: #4d4d4d; -} - -.widget blockquote, -.widget .wp-caption, -.widget_twentyfourteen_ephemera .entry-meta a { - color: #b3b3b3; -} - -.widget del { - color: #666; -} - -.widget hr { - background-color: #4d4d4d; -} - -.widget input, -.widget textarea { - background-color: #1a1a1a; -} - -.widget input:focus, -.widget textarea:focus { - border-color: #262626; -} - -.widget_calendar thead th { - background-color: #1a1a1a; -} - -.widget_twentyfourteen_ephemera > ol > li { - border-bottom: 1px solid #4d4d4d; -} - -.widget_archive li, -.widget_categories li, -.widget_links li, -.widget_meta li, -.widget_nav_menu li, -.widget_pages li, -.widget_recent_comments li, -.widget_recent_entries li, -.widget_categories li ul, -.widget_nav_menu li ul, -.widget_pages li ul { - border-top: 1px solid #4d4d4d; -} - -.content-sidebar .widget pre, -.content-sidebar .widget fieldset, -.content-sidebar .widget table, -.content-sidebar .widget th, -.content-sidebar .widget td, -.content-sidebar .widget input, -.content-sidebar .widget textarea, -.content-sidebar .widget_archive li, -.content-sidebar .widget_categories li, -.content-sidebar .widget_links li, -.content-sidebar .widget_meta li, -.content-sidebar .widget_nav_menu li, -.content-sidebar .widget_pages li, -.content-sidebar .widget_recent_comments li, -.content-sidebar .widget_recent_entries li, -.content-sidebar .widget_categories li ul, -.content-sidebar .widget_nav_menu li ul, -.content-sidebar .widget_pages li ul { - border-color: #e5e5e5; -} - -.content-sidebar .widget hr { - background-color: #e5e5e5; -} - -.content-sidebar .widget input:focus, -.content-sidebar .widget textarea:focus { - border: 1px solid #b2b2b2; -} - -.content-sidebar .widget_calendar thead th { - background-color: #fafafa; -} - -.content-sidebar .widget_twentyfourteen_ephemera > ol > li { - border-bottom: 1px solid #e5e5e5; -} - -.site-footer, -.site-info, -.site-info a { - color: #b3b3b3; -} - -#supplementary + .site-info { - border-top: 1px solid #4d4d4d; -} - -.featured-content { - background: #000; -} - - -/** - * Internet Explorer 8 - */ - -.ie8 img.size-full, -.ie8 img.size-large, -.ie8 img.header-image, -.ie8 img.wp-post-image, -.ie8 img[class*="align"], -.ie8 img[class*="wp-image-"], -.ie8 img[class*="attachment-"] { - height: auto; - width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ -} - -.ie8 .full-size-link:before, -.ie8 .parent-post-link:before, -.ie8 .site-content span + .byline:before, -.ie8 .site-content span + .comments-link:before, -.ie8 .site-content span + .edit-link:before, -.ie8 .site-content span + .entry-date:before { - content: ""; -} - -.ie8 .attachment span.entry-date:before, -.ie8 .entry-content .edit-link a:before, -.ie8 .entry-meta .edit-link a:before, -.ie8 .site-content .byline a:before, -.ie8 .site-content .comments-link a:before, -.ie8 .site-content .entry-date a:before, -.ie8 .site-content .featured-post:before, -.ie8 .site-content .full-size-link a:before, -.ie8 .site-content .parent-post-link a:before, -.ie8 .site-content .post-format a:before { - display: inline-block; - font: normal 16px/1 Genericons; - text-decoration: inherit; - vertical-align: text-bottom; -} - -.ie8 .site-content .entry-meta > span { - margin-right: 10px; -} - -.ie8 .site-content .format-video .post-format a:before { - content: "\f104"; -} - -.ie8 .site-content .format-audio .post-format a:before { - content: "\f109"; -} - -.ie8 .site-content .format-image .post-format a:before { - content: "\f473"; - position: relative; - top: 1px; -} - -.ie8 .site-content .format-quote .post-format a:before { - content: "\f106"; - margin-right: 2px; -} - -.ie8 .site-content .format-gallery .post-format a:before { - content: "\f103"; - margin-right: 4px; -} - -.ie8 .site-content .format-aside .post-format a:before { - content: "\f101"; - margin-right: 2px; -} - -.ie8 .site-content .format-link .post-format a:before { - content: "\f107"; - position: relative; - top: 1px; -} - -.ie8 .site-content .featured-post:before { - content: "\f308"; - margin-right: 3px; - position: relative; - top: 1px; -} - -.ie8 .site-content .entry-date a:before, -.ie8 .attachment .site-content span.entry-date:before { - content: "\f303"; - margin-right: 1px; - position: relative; - top: 1px; -} - -.ie8 .site-content .byline a:before { - content: "\f304"; -} - -.ie8 .site-content .comments-link a:before { - content: "\f300"; - margin-right: 2px; -} - -.ie8 .entry-content .edit-link a:before, -.ie8 .entry-meta .edit-link a:before { - content: "\f411"; -} - -.ie8 .site-content .full-size-link a:before { - content: "\f402"; - margin-right: 1px; -} - -.ie8 .site-content .parent-post-link a:before { - content: "\f301"; -} - -.ie8 .main-content { - float: left; -} - -.ie8 .content-area { - float: left; - padding-top: 72px; - width: 100%; -} - -.ie8 .site-content { - margin-right: 29.04761904%; - margin-left: 17.61904761%; -} - -.ie8 .search-box-wrapper, -.ie8 .featured-content { - padding-left: 17.61904761%; -} - -.ie8 .header-main { - padding: 0 0 0 30px; -} - -.ie8 .search-toggle { - margin-right: 0; -} - -.ie8 .search-box .search-field { - width: 324px; -} - -.ie8 .site-navigation li .current_page_item > a, -.ie8 .site-navigation li .current_page_ancestor > a, -.ie8 .site-navigation li .current-menu-item > a, -.ie8 .site-navigation li .current-menu-ancestor > a { - background-color: #000; -} - -.ie8 .primary-navigation { - float: right; - font-size: 11px; - margin: 0 1px 0 -10px; - padding: 0; - text-transform: uppercase; -} - -.ie8 .primary-navigation .menu-toggle { - display: none; - padding: 0; -} - -.ie8 .primary-navigation .nav-menu { - border-bottom: 0; - display: block; -} - -.ie8 .primary-navigation.toggled-on { - border-bottom: 0; - margin: 0; - padding: 0; -} - -.ie8 .primary-navigation li { - border: 0; - display: inline-block; - height: 48px; - line-height: 48px; - position: relative; -} - -.ie8 .primary-navigation a { - display: inline-block; - padding: 0 10px; - white-space: nowrap; -} - -.ie8 .primary-navigation ul ul { - background-color: #24890d; - float: left; - margin: 0; - position: absolute; - top: 48px; - left: -999em; - z-index: 99999; -} - -.ie8 .primary-navigation li li { - border: 0; - display: block; - height: auto; - line-height: 1.0909090909; -} - -.ie8 .primary-navigation ul ul ul { - left: -999em; - top: 0; -} - -.ie8 .primary-navigation ul ul a { - padding: 18px 12px; - white-space: normal; - width: 176px; -} - -.ie8 .primary-navigation li:hover > a, -.ie8 .primary-navigation li.focus > a { - background-color: #24890d; - color: #fff; -} - -.ie8 .primary-navigation ul ul a:hover, -.ie8 .primary-navigation ul ul li.focus > a { - background-color: #41a62a; -} - -.ie8 .primary-navigation ul li:hover > ul, -.ie8 .primary-navigation ul li.focus > ul { - left: auto; -} - -.ie8 .primary-navigation ul ul li:hover > ul, -.ie8 .primary-navigation ul ul li.focus > ul { - left: 100%; -} - -.ie8 .archive-header, -.ie8 .page-header { - margin: 0 auto 60px; - padding: 0 10px; -} - -.ie8 .site-content .has-post-thumbnail .entry-header { - margin-top: -48px; -} - -.ie8 .archive-header, -.ie8 .comments-area, -.ie8 .image-navigation, -.ie8 .page-header, -.ie8 .page-content, -.ie8 .post-navigation, -.ie8 .site-content .entry-header, -.ie8 .site-content .entry-content, -.ie8 .site-content .entry-summary, -.ie8 .site-content footer.entry-meta { - margin-right: 54px; - padding-right: 30px; - padding-left: 30px; -} - -.ie8 .list-view .site-content .hentry:first-child, -.ie8 .list-view .site-content .hentry.has-post-thumbnail { - border-top: 0; - padding-top: 0; -} - -.ie8 .comment-list .trackback, -.ie8 .comment-list .pingback, -.ie8 .comment-list article { - margin-bottom: 36px; - padding-top: 36px; -} - -.ie8 .comment-author .avatar { - height: 34px; - top: 2px; - width: 34px; -} - -.ie8 .comment-author, -.ie8 .comment-awaiting-moderation, -.ie8 .comment-content, -.ie8 .comment-list .reply, -.ie8 .comment-metadata { - padding-left: 50px; -} - -.ie8 .comment-list .children { - margin-left: 20px; -} - -.ie8 .full-width .site-content { - margin-right: 0; -} - -.ie8 .full-width .archive-header, -.ie8 .full-width .comments-area, -.ie8 .full-width .image-navigation, -.ie8 .full-width .page-header, -.ie8 .full-width .page-content, -.ie8 .full-width .post-navigation, -.ie8 .full-width .site-content .entry-header, -.ie8 .full-width .site-content .entry-content, -.ie8 .full-width .site-content .entry-summary, -.ie8 .full-width .site-content footer.entry-meta { - padding-right: 30px; - padding-left: 30px; - margin-right: auto; -} - -.ie8 .full-width .hentry.has-post-thumbnail:first-child { - margin-top: -72px; -} - - -.ie8 .singular .site-content .hentry.has-post-thumbnail { - margin-top: 0; -} - -.ie8 .error404 .page-header { - margin-bottom: 24px; -} - -.ie8 .contributor-avatar { - margin-left: -168px; -} - -.ie8 .contributor-summary { - float: left; -} - -.ie8 .site:before { - background-color: #000; - content: ""; - display: block; - height: 100%; - min-height: 100%; - position: absolute; - top: 0; - left: 0; - width: 17.61904761%; - z-index: 2; -} - -.ie8 #secondary { - border: 0; - clear: none; - color: #b3b3b3; - float: left; - margin: 0 0 0 -100%; - min-height: 100vh; - padding: 0 30px; - width: 12.85714285%; -} - -.ie8 .site-description { - display: block; - margin: -3px 0 21px; -} - -.ie8 .secondary-navigation { - font-size: 11px; - margin: 0 -30px 48px; - width: calc(100% + 60px); -} - -.ie8 .secondary-navigation li { - border-top: 1px solid #4d4d4d; - position: relative; -} - -.ie8 .secondary-navigation a { - padding: 10px 30px; -} - -.ie8 .secondary-navigation ul ul { - background-color: #24890d; - position: absolute; - top: 0; - left: -999em; - width: 222px; - z-index: 99999; -} - -.ie8 .secondary-navigation li li { - border-top: 0; -} - -.ie8 .secondary-navigation li:hover > a, -.ie8 .secondary-navigation li.focus > a { - background-color: #24890d; - color: #fff; -} - -.ie8 .secondary-navigation ul ul a:hover, -.ie8 .secondary-navigation ul ul li.focus > a { - background-color: #41a62a; -} - -.ie8 .secondary-navigation ul li:hover > ul, -.ie8 .secondary-navigation ul li.focus > ul { - left: 202px; -} - -.ie8 .content-sidebar { - border: 0; - float: right; - margin-left: -29.04761904%; - padding: 72px 30px 24px; - width: 29.04761904%; -} - -.ie8 #supplementary { - padding: 0; -} - -.ie8 .footer-sidebar { - font-size: 12px; - line-height: 1.5; -} - -.ie8 .footer-sidebar .widget, -.ie8 .primary-sidebar .widget { - font-size: 12px; - line-height: 1.5; -} - -.ie8 .footer-sidebar .widget { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - padding: 0 30px; - width: 25%; -} - -.ie8 .footer-sidebar .widget h1, -.ie8 .primary-sidebar .widget h1 { - font-size: 20px; - line-height: 1.2; -} - -.ie8 .footer-sidebar .widget h2, -.ie8 .primary-sidebar .widget h2 { - font-size: 18px; - line-height: 1.3333333333; -} - -.ie8 .footer-sidebar .widget h3, -.ie8 .primary-sidebar .widget h3 { - font-size: 16px; - line-height: 1.5; -} - -.ie8 .footer-sidebar .widget h4, -.ie8 .primary-sidebar .widget h4 { - font-size: 14px; - line-height: 1.7142857142; -} - -.ie8 .footer-sidebar .widget h5, -.ie8 .primary-sidebar .widget h5 { - font-size: 12px; - line-height: 2; -} - -.ie8 .footer-sidebar .widget h6, -.ie8 .primary-sidebar .widget h6 { - font-size: 11px; - line-height: 2.1818181818; -} - -.ie8 .footer-sidebar .widget code, -.ie8 .footer-sidebar .widget kbd, -.ie8 .footer-sidebar .widget tt, -.ie8 .footer-sidebar .widget var, -.ie8 .footer-sidebar .widget samp, -.ie8 .footer-sidebar .widget pre, -.ie8 .primary-sidebar .widget code, -.ie8 .primary-sidebar .widget kbd, -.ie8 .primary-sidebar .widget tt, -.ie8 .primary-sidebar .widget var, -.ie8 .primary-sidebar .widget samp, -.ie8 .primary-sidebar .widget pre { - font-size: 11px; - line-height: 1.6363636363; -} - -.ie8 .footer-sidebar .widget blockquote, -.ie8 .primary-sidebar .widget blockquote { - font-size: 14px; - line-height: 1.2857142857; -} - -.ie8 .footer-sidebar .widget blockquote cite, -.ie8 .primary-sidebar .widget blockquote cite { - font-size: 12px; - line-height: 1.5; -} - -.ie8 .footer-sidebar .widget input, -.ie8 .footer-sidebar .widget textarea, -.ie8 .primary-sidebar .widget input, -.ie8 .primary-sidebar .widget textarea { - font-size: 12px; - padding: 3px 2px 4px 4px; -} - -.ie8 .footer-sidebar .widget input[type="button"], -.ie8 .footer-sidebar .widget input[type="reset"], -.ie8 .footer-sidebar .widget input[type="submit"], -.ie8 .primary-sidebar .widget input[type="button"], -.ie8 .primary-sidebar .widget input[type="reset"], -.ie8 .primary-sidebar .widget input[type="submit"] { - padding: 5px 15px 4px; -} - -.ie8 .footer-sidebar .widget .widget-title, -.ie8 .primary-sidebar .widget .widget-title { - font-size: 11px; - font-weight: 700; - line-height: 1.6363636363; - margin-bottom: 18px; -} - -.ie8 .footer-sidebar .widget_twentyfourteen_ephemera .entry-title, -.ie8 .footer-sidebar .widget_twentyfourteen_ephemera .entry-meta, -.ie8 .footer-sidebar .widget_twentyfourteen_ephemera .wp-caption-text, -.ie8 .footer-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link, -.ie8 .footer-sidebar .widget_twentyfourteen_ephemera .entry-content table, -.ie8 .primary-sidebar .widget_twentyfourteen_ephemera .entry-title, -.ie8 .primary-sidebar .widget_twentyfourteen_ephemera .entry-meta, -.ie8 .primary-sidebar .widget_twentyfourteen_ephemera .wp-caption-text, -.ie8 .primary-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link, -.ie8 .primary-sidebar .widget_twentyfourteen_ephemera .entry-content table { - font-size: 11px; - line-height: 1.6363636363; -} - -.ie8 .footer-sidebar .widget_archive li, -.ie8 .footer-sidebar .widget_categories li, -.ie8 .footer-sidebar .widget_links li, -.ie8 .footer-sidebar .widget_meta li, -.ie8 .footer-sidebar .widget_nav_menu li, -.ie8 .footer-sidebar .widget_pages li, -.ie8 .footer-sidebar .widget_recent_comments li, -.ie8 .footer-sidebar .widget_recent_entries li, -.ie8 .primary-sidebar .widget_archive li, -.ie8 .primary-sidebar .widget_categories li, -.ie8 .primary-sidebar .widget_links li, -.ie8 .primary-sidebar .widget_meta li, -.ie8 .primary-sidebar .widget_nav_menu li, -.ie8 .primary-sidebar .widget_pages li, -.ie8 .primary-sidebar .widget_recent_comments li, -.ie8 .primary-sidebar .widget_recent_entries li { - border-top: 0; - padding: 0 0 6px; -} - -.ie8 .footer-sidebar .widget_categories li ul, -.ie8 .footer-sidebar .widget_nav_menu li ul, -.ie8 .footer-sidebar .widget_pages li ul, -.ie8 .primary-sidebar .widget_categories li ul, -.ie8 .primary-sidebar .widget_nav_menu li ul, -.ie8 .primary-sidebar .widget_pages li ul { - border-top: 0; - margin-top: 0; -} - -.ie8 .grid .featured-content .entry-header { - border-color: #000; - border-style: solid; - border-width: 12px 10px; - height: 96px; - padding: 0; -} - -.ie8 .featured-content { - padding-left: 17.61904761%; -} - -.ie8 .grid .featured-content .hentry { - float: left; - width: 33.3333333%; -} - -.ie8 .grid .featured-content .hentry:nth-child( 3n+1 ) { - clear: both; -} - -.ie8 .grid .featured-content .entry-header { - height: 120px; -} - -.ie8 .slider .featured-content .entry-title { - font-size: 33px; - line-height: 1.0909090909; -} - -.ie8 .slider .featured-content .entry-header { - min-height: inherit; - padding: 24px 30px 48px; - position: absolute; - left: 0; - bottom: 0; - width: 50%; - z-index: 3; -} - -.ie8 .slider-control-paging { - background: transparent; - margin-top: -48px; - padding-left: 24px; - width: 50%; -} - -.ie8 .slider-control-paging li { - margin: 12px 12px 12px 0; -} - -.ie8 .slider-control-paging a { - height: 24px; - width: 24px; -} - -.ie8 .slider-control-paging a:before { - top: 6px; - left: 6px; -} - -.ie8 .slider-direction-nav { - clear: none; - float: right; - margin-top: -48px; - width: 98px; -} - -.ie8 .slider-direction-nav li:first-child { - padding: 0 1px 0 0; -} - -.ie8 .slider-direction-nav li { - border: 0; - padding: 0 0 0 1px; -} - -.ie8 .slider-direction-nav a { - height: 48px; -} - -.ie8 .slider-direction-nav a:before { - line-height: 48px; -} - - -/** - * Internet Explorer 7 - */ - -.ie7 audio, -.ie7 canvas, -.ie7 video { - display: inline; - zoom: 1; -} - -.ie7 button, -.ie7 input, -.ie7 select, -.ie7 textarea { - vertical-align: middle; -} - -.ie7 button, -.ie7 input[type="button"], -.ie7 input[type="reset"], -.ie7 input[type="submit"] { - overflow: visible; -} - -.ie7 .screen-reader-text { - clip: rect(1px 1px 1px 1px); -} - -.ie7 .site, -.ie7 .site-header { - max-width: 100%; -} - -.ie7 .search-toggle { - line-height: 45px; - margin-right: 190px; - padding: 0 20px; - text-transform: uppercase; - width: auto; -} - -.ie7 .search-toggle .screen-reader-text { - color: #fff; - position: relative; /* Override inherited `absolute` value set in style.css. */ -} - -.ie7 .search-box { - height: 24px; - padding: 12px 0; -} - -.ie7 .search-box .search-field { - margin: 0 10px; - width: 33%; -} - -.ie7 .site-navigation li { - border-top: 1px solid #4d4d4d; -} - -.ie7 .primary-navigation .nav-menu, -.ie7 .secondary-navigation { - border-bottom: 1px solid #4d4d4d; -} - -.ie7 .secondary-navigation { - margin: 48px auto; - max-width: 474px -} - -.ie7 .content-area { - padding-top: 48px; -} - -.ie7 .hentry { - max-width: 100%; -} - -.ie7 .menu-toggle { - color: #fff; - font-weight: 400; - font-size: 16px; - line-height: 45px; - text-transform: uppercase; - width: 200px; -} - -.ie7 .post-thumbnail img { - display: block; - margin: 0 auto; -} - -.ie7 .entry-meta .tag-links a { - margin-left: 0; -} - -.ie7 .content-sidebar { - padding: 48px 10px; -} - -.ie7 .singular .hentry.has-post-thumbnail { - margin-top: -48px; -} - -.ie7 .entry-meta > span, -.ie7 .widget_twentyfourteen_ephemera .entry-title { - margin-right: 20px; -} - -.ie7 #secondary { - border-bottom: 1px solid #4d4d4d; -} - -.ie7 .content-sidebar { - border-top: 1px solid #e5e5e5; - border-bottom: 1px solid #e5e5e5; -} - -.ie7 .widget { - margin: 0 auto 48px; - max-width: 474px; -} - -.ie7 .content-sidebar .widget_twentyfourteen_ephemera .widget-title { - padding-top: 7px; -} - -.ie7 .slider .featured-content .hentry { - display: block; -} - -.ie7 .featured-content .entry-header { - min-height: 0; -} - -.ie7 .slider-control-paging a { - line-height: 40px; - text-indent: 0; -} - -.ie7 .slider-control-paging .slider-active { - color: #41a62a; -} - -.ie7 .slider-direction-nav { - border-top: 2px solid #fff; -} - -.ie7 .slider-direction-nav li { - border: 0; - width: 49%; -} - -.ie7 .slider-direction-nav a { - font-size: 16px; - line-height: 45px; - text-transform: uppercase; -} - -.ie7 .slider-direction-nav a:hover { - background-color: #000; - color: #41a62a; -} - -.ie7 .search-toggle { - line-height: 45px; - margin-right: 190px; -} - -.ie7 .featured-content .post-thumbnail, -.ie7 .slider .featured-content .post-thumbnail { - padding-top: 0; -} - -.ie7 .featured-content .post-thumbnail img { - position: relative; -} - -.ie7 .featured-content .entry-header { - width: auto; -} - -.ie7 .grid .featured-content .hentry { - float: left; - margin: 0 auto; - max-width: 672px; - width: 33.333333%; -} - -.ie7 .slider .featured-content .entry-header { - margin: 0 auto; - max-width: 1038px; -} - -.ie7 .slider-control-paging { - float: none; - margin: -24px auto 0; - max-width: 1038px; - width: auto; -} - - -/** - * RTL for Internet Explorer 8 & 7 - */ - -.rtl .attachment a, -.rtl .gallery a, -.rtl .wp-caption a, -.rtl .widget_twentyfourteen_ephemera .entry-content a { - display: inline; -} - - -/** - * RTL overrides for Internet Explorer 8 - */ - -.ie8 .rtl .site-content .entry-meta > span { - margin-right: auto; - margin-left: 10px; -} - -.ie8 .rtl .site-content .format-quote .post-format a:before { - margin-right: auto; - margin-left: 2px; -} - -.ie8 .rtl .site-content .format-gallery .post-format a:before { - margin-right: auto; - margin-left: 4px; -} - -.ie8 .rtl .site-content .format-aside .post-format a:before { - margin-right: auto; - margin-left: 2px; -} - -.ie8 .rtl .site-content .featured-post:before { - margin-right: auto; - margin-left: 3px; -} - -.ie8 .rtl .site-content .entry-date a:before, -.ie8 .rtl .attachment .site-content span.entry-date:before { - margin-right: auto; - margin-left: 1px; -} - -.ie8 .rtl .site-content .comments-link a:before { - margin-right: auto; - margin-left: 2px; -} - -.ie8 .rtl .site-content .full-size-link a:before { - margin-right: auto; - margin-left: 1px; -} - -.ie8 .rtl .main-content { - float: right; -} - -.ie8 .rtl .content-area { - float: right; -} - -.ie8 .rtl .site-content { - margin-right: 17.61904761%; - margin-left: 29.04761904%; -} - -.ie8 .rtl .search-box-wrapper, -.ie8 .rtl .featured-content { - padding-right: 17.61904761%; - padding-left: 0; -} - -.ie8 .rtl .header-main { - padding: 0 30px 0 0; -} - -.ie8 .rtl .search-toggle { - margin-right: auto; - margin-left: 0; -} - -.ie8 .rtl .primary-navigation { - float: left; - margin: 0 -10px 0 1px; -} - -.ie8 .rtl .primary-navigation ul ul { - float: right; - right: -999em; - left: auto; -} - -.ie8 .rtl .primary-navigation ul ul ul { - right: -999em; - left: auto; -} - -.ie8 .rtl .primary-navigation ul li:hover > ul, -.ie8 .rtl .primary-navigation ul li.focus > ul { - right: auto; - left: auto; -} - -.ie8 .rtl .primary-navigation ul ul li:hover > ul, -.ie8 .rtl .primary-navigation ul ul li.focus > ul { - right: 100%; - left: auto; -} - -.ie8 .rtl .entry-meta .tag-links a:before { - right: -8px; -} - -.ie8 .rtl .archive-header, -.ie8 .rtl .comments-area, -.ie8 .rtl .image-navigation, -.ie8 .rtl .page-header, -.ie8 .rtl .page-content, -.ie8 .rtl .post-navigation, -.ie8 .rtl .site-content .entry-header, -.ie8 .rtl .site-content .entry-content, -.ie8 .rtl .site-content .entry-summary, -.ie8 .rtl .site-content footer.entry-meta { - margin-right: auto; - margin-left: 54px; -} - -.ie8 .rtl .comment-author, -.ie8 .rtl .comment-awaiting-moderation, -.ie8 .rtl .comment-content, -.ie8 .rtl .comment-list .reply, -.ie8 .rtl .comment-metadata { - padding-right: 50px; - padding-left: 0; -} - -.ie8 .rtl .comment-list .children { - margin-right: 20px; - margin-left: auto; -} - - -.ie8 .rtl.full-width .site-content { - margin-left: 0; -} - -.ie8 .rtl.full-width .archive-header, -.ie8 .rtl.full-width .comments-area, -.ie8 .rtl.full-width .image-navigation, -.ie8 .rtl.full-width .page-header, -.ie8 .rtl.full-width .page-content, -.ie8 .rtl.full-width .post-navigation, -.ie8 .rtl.full-width .site-content .entry-header, -.ie8 .rtl.full-width .site-content .entry-content, -.ie8 .rtl.full-width .site-content .entry-summary, -.ie8 .rtl.full-width .site-content footer.entry-meta { - margin-left: auto; -} - -.ie8 .rtl .contributor-avatar { - margin-right: -168px; - margin-left: auto; -} - -.ie8 .rtl .contributor-summary { - float: right; -} - -.ie8 .rtl .site:before { - right: 0; - left: auto; -} - -.ie8 .rtl #secondary { - float: right; - margin: 0 -100% 0 0; -} - -.ie8 .rtl .secondary-navigation ul ul { - right: -999em; - left: auto; -} - -.ie8 .rtl .secondary-navigation ul li:hover > ul, -.ie8 .rtl .secondary-navigation ul li.focus > ul { - right: 202px; - left: auto; -} - -.ie8 .rtl .content-sidebar { - float: left; - margin-right: -29.04761904%; - margin-left: auto; -} - -.ie8 .rtl .footer-sidebar .widget { - float: right; -} - -.ie8 .rtl .featured-content { - padding-right: 17.61904761%; - padding-left: 0; -} - -.ie8 .rtl.grid .featured-content .hentry { - float: right; -} - -.ie8 .rtl.slider .featured-content .entry-header { - right: 0; - left: auto; -} - -.ie8 .rtl .slider-control-paging { - padding-right: 24px; - padding-left: 0; -} - -.ie8 .rtl .slider-control-paging li { - margin: 12px 0 12px 12px; -} - -.ie8 .rtl .slider-control-paging a:before { - right: 6px; - left: auto; -} - -.ie8 .rtl .slider-direction-nav { - float: left; -} - -.ie8 .rtl .slider-direction-nav li { - padding: 0 1px 0 0; -} - -.ie8 .rtl .slider-direction-nav li:first-child { - padding: 0 0 0 1px; -} - - -/** - * RTL overrides for Internet Explorer 7 - */ - -.ie7 .rtl.grid .featured-content .hentry { - float: right; -} - -.ie7 .rtl .slider-control-paging { - float: none; - margin: -24px auto 0; -} - -.ie7 .rtl .entry-meta .tag-links a { - margin-right: 0; - margin-left: auto; -} - -.ie7 .rtl .search-toggle { - margin-right: auto; - margin-left: 190px; -} \ No newline at end of file diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index 992b7b1dceeeb..5be7bb0aa3162 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/wp-content/themes/twentyfourteen/functions.php @@ -350,10 +350,6 @@ function twentyfourteen_scripts() { // Theme block stylesheet. wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), '20250715' ); - // Load the Internet Explorer specific stylesheet. - wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20140711' ); - wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' ); - if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } From a97f1562fabeff32b37df385709cbd2be30fefc9 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Fri, 5 Sep 2025 16:27:03 +0200 Subject: [PATCH 5/6] Remove twentythirteen conditional styles --- .../themes/twentythirteen/css/ie.css | 288 ------------------ .../themes/twentythirteen/functions.php | 4 - 2 files changed, 292 deletions(-) delete mode 100644 src/wp-content/themes/twentythirteen/css/ie.css diff --git a/src/wp-content/themes/twentythirteen/css/ie.css b/src/wp-content/themes/twentythirteen/css/ie.css deleted file mode 100644 index da48acd3cad4d..0000000000000 --- a/src/wp-content/themes/twentythirteen/css/ie.css +++ /dev/null @@ -1,288 +0,0 @@ -/* -Styles for older IE versions (previous to IE9). -*/ - - - -.genericon:before:hover, -.menu-toggle:after:hover, -.date a:before:hover, -.entry-meta .author a:before:hover, -.format-audio .entry-content:before:hover, -.comments-link a:before:hover, -.tags-links a:first-child:before:hover, -.categories-links a:first-child:before:hover, -.edit-link > a:before:hover, -.attachment-meta:before:hover, -.attachment-meta a:before:hover, -.comment-awaiting-moderation:before:hover, -.comment-reply-link:before:hover, -.comment-reply-title small a:before:hover, -.bypostauthor > .comment-body .fn:before:hover { - text-decoration: none; -} - -.nav-menu .sub-menu ul, -.nav-menu .children ul { - left: 100%; -} - -.site-header .home-link { - max-width: 1040px; -} - -.site-header .search-form [type="search"], -.site-header .search-form [type="text"] { - padding-top: 6px; -} - -img.alignright { - margin-right: 0; -} - -img.alignleft { - margin-left: 0; -} - -.site-main .sidebar-inner { - width: 1040px; -} - -.site-main .widget-area { - margin-right: 60px; -} - -.format-image .entry-content .size-full { - margin: 0; - max-width: 604px; -} - -.gallery-columns-1 .gallery-item, -.gallery-columns-2 .gallery-item, -.gallery-columns-3 .gallery-item { - max-width: none; -} - -.gallery img { - width: auto; -} - -.gallery-caption { - background: #000; - filter: alpha(opacity=0); -} - -.gallery-item:hover .gallery-caption { - filter: alpha(opacity=70); -} - -.comment { - clear: both; -} - -.comment-meta, -.comment-content, -.comment-list .reply { - width: 480px; -} - -.depth-2 .comment-meta, -.depth-2 .comment-content, -.comment-list .depth-2 .reply { - width: 460px; -} - -.depth-3 .comment-meta, -.depth-3 .comment-content, -.comment-list .depth-3 .reply { - width: 440px; -} - -.depth-4 .comment-meta, -.depth-4 .comment-content, -.comment-list .depth-4 .reply { - width: 420px; -} - -.depth-5 .comment-meta, -.depth-5 .comment-content, -.comment-list .depth-5 .reply { - width: 400px; -} - -.comment-meta { - margin-bottom: 0; -} - -.widget { - background: #f7f5e7; -} - -.site-footer .widget { - background: none; -} - -/* Internet Explorer 8 */ -.ie8 .site { - border: 0; -} - -.ie8 img.size-full, -.ie8 img.size-large { - height: auto; - width: auto; -} - -.ie8 .sidebar .entry-header, -.ie8 .sidebar .entry-content, -.ie8 .sidebar .entry-summary, -.ie8 .sidebar .entry-meta { - max-width: 724px; -} - -.ie8 .author-info { - margin-left: 0; -} - -.ie8 .paging-navigation .nav-previous .meta-nav { - padding: 5px 0 8px; - width: 40px; -} - -.ie8 .paging-navigation .nav-next { - line-height: 1; -} - -.ie8 .format-status .entry-content:before, -.ie8 .format-status .entry-meta:before { - content: none; -} - -.ie8 .site-main .widget-area { - margin-right: 0; -} - -/* Internet Explorer 7 */ -.ie7 audio, -.ie7 canvas, -.ie7 video { - display: inline; - zoom: 1; -} - -.ie7 legend { - margin-left: -7px; -} - -.ie7 button, -.ie7 input, -.ie7 select, -.ie7 textarea { - vertical-align: middle; -} - -.ie7 button, -.ie7 input[type="button"], -.ie7 input[type="reset"], -.ie7 input[type="submit"] { - overflow: visible; -} - -.ie7 input[type="checkbox"], -.ie7 input[type="radio"] { - height: 13px; - width: 13px; -} - -.ie7 .screen-reader-text { - clip: rect(1px 1px 1px 1px); -} - -.ie7 .site-header { - position: relative; - z-index: 1; -} - -.ie7 .main-navigation { - max-width: 930px; - padding-right: 150px; -} - -.ie7 .nav-menu li a, -.ie7 .nav-menu li { - display: block; - float: left; -} - -.ie7 .nav-menu ul { - top: 40px; -} - -.ie7 .nav-menu .sub-menu, -.ie7 .nav-menu .children { - display: none; - overflow: visible; -} - -.ie7 ul.nav-menu li:hover > ul, -.ie7 .nav-menu ul li:hover > ul { - display: block; -} - -.ie7 .site-header .search-form [type="search"], -.ie7 .site-header .search-form [type="text"] { - background-color: #fff; - border: 2px solid #c3c0ab; - cursor: text; - height: 28px; - outline: 0; - width: 150px; -} - -.ie7 .entry-header, -.ie7 .entry-content, -.ie7 .entry-summary, -.ie7 .entry-meta { - width: 604px; -} - -.ie7 .format-status .entry-content, -.ie7 .format-status .entry-meta { - padding-left: 60px; -} - -.ie7 .sidebar .format-status .entry-content, -.ie7 .sidebar .format-status .entry-meta { - padding-left: 60px; -} - -.ie7 .sidebar .post-navigation .nav-links, -.ie7 .sidebar .paging-navigation .nav-links { - width: 604px; -} - -.ie7 .paging-navigation .meta-nav { - padding: 0 0 10px; - vertical-align: middle; - width: 40px; -} - -.ie7 .comments-title, -.ie7 .comment-list, -.ie7 .comment-reply-title, -.ie7 .comment-respond .comment-form { - width: 604px; -} - -.ie7 .site-footer .widget-area { - max-width: none; - left: auto; -} - -/* RTL for Internet Explorer 7 & 8 */ -.rtl .format-audio .entry-content:before, -.rtl .comment-reply-link:before, -.rtl .comment-reply-login:before { - -ms-filter: "FlipH"; - filter: FlipH; -} diff --git a/src/wp-content/themes/twentythirteen/functions.php b/src/wp-content/themes/twentythirteen/functions.php index a4f7e7f41afc2..c797bbe44c618 100644 --- a/src/wp-content/themes/twentythirteen/functions.php +++ b/src/wp-content/themes/twentythirteen/functions.php @@ -348,10 +348,6 @@ function twentythirteen_scripts_styles() { // Theme block stylesheet. wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '20240520' ); - - // Registers the Internet Explorer specific stylesheet. - wp_register_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '20150214' ); - wp_style_add_data( 'twentythirteen-ie', 'conditional', 'lt IE 9' ); } add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' ); From f64bd246665deb581446a20317a7ca67cfb0b29a Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Fri, 5 Sep 2025 16:28:58 +0200 Subject: [PATCH 6/6] Remove twentyseventeen conditional scripts and styles --- .../themes/twentyseventeen/assets/css/ie8.css | 225 ------------ .../themes/twentyseventeen/assets/css/ie9.css | 43 --- .../themes/twentyseventeen/assets/js/html5.js | 326 ------------------ .../themes/twentyseventeen/functions.php | 14 - 4 files changed, 608 deletions(-) delete mode 100644 src/wp-content/themes/twentyseventeen/assets/css/ie8.css delete mode 100644 src/wp-content/themes/twentyseventeen/assets/css/ie9.css delete mode 100644 src/wp-content/themes/twentyseventeen/assets/js/html5.js diff --git a/src/wp-content/themes/twentyseventeen/assets/css/ie8.css b/src/wp-content/themes/twentyseventeen/assets/css/ie8.css deleted file mode 100644 index bf45c26cb88b2..0000000000000 --- a/src/wp-content/themes/twentyseventeen/assets/css/ie8.css +++ /dev/null @@ -1,225 +0,0 @@ -/* -Theme Name: Twenty Seventeen -Description: IE8 specific style. -*/ - -body { - font-size: 16px; -} - -h1 { - font-size: 30px; - font-size: 1.875rem; -} - -h2, -.page .panel-content .recent-posts .entry-title { - font-size: 26px; - font-size: 1.625rem; -} - -h3 { - font-size: 22px; - font-size: 1.375rem; -} - -h4 { - font-size: 18px; - font-size: 1.125rem; -} - -h5 { - font-size: 13px; - font-size: 0.8125rem; -} - -h6 { - font-size: 16px; - font-size: 1rem; -} - -img { - width: inherit; /* Make images fill their parent's space. */ -} - -/* Fixes linked images */ -.entry-content a img, -.widget a img { - filter: progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=5, Color=#ffffff); -} - -/* Layout */ - -.site-content { - padding: 6.5em 0 0; -} - -/* Site Branding */ - -.custom-header { - overflow: hidden; -} - -.has-header-image.twentyseventeen-front-page .custom-header, -.has-header-image.home.blog .custom-header { - display: block; -} - -.custom-header-media { - background-position: bottom center; -} - -.site-branding { - padding: 45px 0; -} - -.has-header-image.twentyseventeen-front-page .site-branding, -.has-header-image.home.blog .site-branding { - bottom: 0; - display: block; - left: 0; - height: auto; - padding-top: 0; - position: absolute; - width: 100%; -} - -.has-header-image .custom-header-media img { - left: 0; - top: 0; -} - -.site-title { - font-size: 36px; - font-weight: 700; -} - -.site-description { - font-size: 16px; -} - -/* Main Navigation */ - -.navigation-top { - background: #fff; - position: relative; - z-index: 10; -} - -.menu-toggle { - width: 150px; -} - -.main-navigation ul#top-menu { - margin-bottom: -1px; - padding: 0; -} - -.no-svg .dropdown-toggle { - padding: 0.25em 0 0; -} - -.no-svg .dropdown-toggle.toggled-on { - padding: 0.75em 0 0; -} - -.dropdown-toggle .svg-fallback.icon-angle-down { - -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=1.2246467991473532e-16, M21=-1.2246467991473532e-16, M22=-1, SizingMethod='auto expand')"; -} - -.dropdown-toggle.toggled-on .svg-fallback.icon-angle-down { - -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=0, M22=1, SizingMethod='auto expand')"; -} - -/* Front Page */ - -.twentyseventeen-front-page.has-header-image .custom-header, -.blog.home.has-header-image .custom-header, -.panel-image { - height: 800px; - max-height: 800px; - padding-top: 0; -} - -.twentyseventeen-front-page .custom-header-media, -.blog.home .custom-header-media { - background-position: center center; -} - -.twentyseventeen-front-page.has-header-image .site-branding, -.home.blog.has-header-image .site-branding { - bottom: 20px; - position: absolute; - width: 100%; -} - -.page .panel-content .entry-title, -.page-title, -.page .entry-title { - font-size: 14px; - font-size: 0.875rem; - font-weight: 700; - letter-spacing: 0.14em; - text-transform: uppercase; -} - -/* Posts */ - -.blog .site-main > article, -.archive .site-main > article, -.search .site-main > article { - padding-bottom: 4em; -} - -time.updated { - display: none; -} - -time.published { - display: inline-block; -} - -.blog .entry-title { - padding-top: 0; -} - -.single-post .entry-title, -.page .entry-title, -.entry-meta + .entry-title { - font-size: 26px; - font-weight: 400; - letter-spacing: normal; - padding-top: 0; - text-transform: none; -} - -.entry-footer .cat-links, -.entry-footer .tags-links { - padding-left: 0; -} - -.comment-author .avatar { - z-index: -1; -} - -ol.children .children { - padding-left: 2em; -} - -/* RTL Styles */ - -.rtl .has-header-image.twentyseventeen-front-page .site-branding, -.rtl .has-header-image.home.blog .site-branding { - left: auto; - right: 0; -} - -.rtl .entry-footer .cat-links, -.rtl .entry-footer .tags-links { - padding-right: 0; -} - -.rtl ol.children .children { - padding-left: 0; - padding-right: 2em; -} diff --git a/src/wp-content/themes/twentyseventeen/assets/css/ie9.css b/src/wp-content/themes/twentyseventeen/assets/css/ie9.css deleted file mode 100644 index 9f8f7664da110..0000000000000 --- a/src/wp-content/themes/twentyseventeen/assets/css/ie9.css +++ /dev/null @@ -1,43 +0,0 @@ -/* -Theme Name: Twenty Seventeen -Description: IE9 specific styles. -*/ - -.has-header-image.twentyseventeen-front-page .custom-header, -.has-header-video.twentyseventeen-front-page .custom-header, -.has-header-image.home.blog .custom-header, -.has-header-video.home.blog .custom-header { - height: 300px; -} - -.has-header-image .custom-header-media img, -.has-header-video .custom-header-media video, -.has-header-video .custom-header-media iframe { - min-width: 100%; -} - -@media screen and (min-width: 30em) { - - .has-header-image.twentyseventeen-front-page .custom-header, - .has-header-video.twentyseventeen-front-page .custom-header, - .has-header-image.home.blog .custom-header, - .has-header-video.home.blog .custom-header, - .twentyseventeen-front-page.has-header-image .custom-header-media, - .home.blog.has-header-image .custom-header-media, - .panel-image { - height: 700px; - } -} - -@media screen and (min-width: 48em) { - - .has-header-image.twentyseventeen-front-page .custom-header, - .has-header-video.twentyseventeen-front-page .custom-header, - .has-header-image.home.blog .custom-header, - .has-header-video.home.blog .custom-header, - .twentyseventeen-front-page.has-header-image .custom-header-media, - .home.blog.has-header-image .custom-header-media, - .panel-image { - height: 1000px; - } -} diff --git a/src/wp-content/themes/twentyseventeen/assets/js/html5.js b/src/wp-content/themes/twentyseventeen/assets/js/html5.js deleted file mode 100644 index 45ea723dd5820..0000000000000 --- a/src/wp-content/themes/twentyseventeen/assets/js/html5.js +++ /dev/null @@ -1,326 +0,0 @@ -/** -* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -;(function(window, document) { -/*jshint evil:true */ - /** version */ - var version = '3.7.3'; - - /** Preset options */ - var options = window.html5 || {}; - - /** Used to skip problem elements */ - var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i; - - /** Not all elements can be cloned in IE **/ - var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i; - - /** Detect whether the browser supports default html5 styles */ - var supportsHtml5Styles; - - /** Name of the expando, to work with multiple documents or to re-shiv one document */ - var expando = '_html5shiv'; - - /** The id for the the documents expando */ - var expanID = 0; - - /** Cached data for each document */ - var expandoData = {}; - - /** Detect whether the browser supports unknown elements */ - var supportsUnknownElements; - - (function() { - try { - var a = document.createElement('a'); - a.innerHTML = ''; - //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles - supportsHtml5Styles = ('hidden' in a); - - supportsUnknownElements = a.childNodes.length == 1 || (function() { - // assign a false positive if unable to shiv - (document.createElement)('a'); - var frag = document.createDocumentFragment(); - return ( - typeof frag.cloneNode == 'undefined' || - typeof frag.createDocumentFragment == 'undefined' || - typeof frag.createElement == 'undefined' - ); - }()); - } catch(e) { - // assign a false positive if detection fails => unable to shiv - supportsHtml5Styles = true; - supportsUnknownElements = true; - } - - }()); - - /*--------------------------------------------------------------------------*/ - - /** - * Creates a style sheet with the given CSS text and adds it to the document. - * @private - * @param {Document} ownerDocument The document. - * @param {String} cssText The CSS text. - * @returns {StyleSheet} The style element. - */ - function addStyleSheet(ownerDocument, cssText) { - var p = ownerDocument.createElement('p'), - parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement; - - p.innerHTML = 'x'; - return parent.insertBefore(p.lastChild, parent.firstChild); - } - - /** - * Returns the value of `html5.elements` as an array. - * @private - * @returns {Array} An array of shived element node names. - */ - function getElements() { - var elements = html5.elements; - return typeof elements == 'string' ? elements.split(' ') : elements; - } - - /** - * Extends the built-in list of html5 elements - * @memberOf html5 - * @param {String|Array} newElements whitespace separated list or array of new element names to shiv - * @param {Document} ownerDocument The context document. - */ - function addElements(newElements, ownerDocument) { - var elements = html5.elements; - if(typeof elements != 'string'){ - elements = elements.join(' '); - } - if(typeof newElements != 'string'){ - newElements = newElements.join(' '); - } - html5.elements = elements +' '+ newElements; - shivDocument(ownerDocument); - } - - /** - * Returns the data associated to the given document - * @private - * @param {Document} ownerDocument The document. - * @returns {Object} An object of data. - */ - function getExpandoData(ownerDocument) { - var data = expandoData[ownerDocument[expando]]; - if (!data) { - data = {}; - expanID++; - ownerDocument[expando] = expanID; - expandoData[expanID] = data; - } - return data; - } - - /** - * returns a shived element for the given nodeName and document - * @memberOf html5 - * @param {String} nodeName name of the element - * @param {Document|DocumentFragment} ownerDocument The context document. - * @returns {Object} The shived element. - */ - function createElement(nodeName, ownerDocument, data){ - if (!ownerDocument) { - ownerDocument = document; - } - if(supportsUnknownElements){ - return ownerDocument.createElement(nodeName); - } - if (!data) { - data = getExpandoData(ownerDocument); - } - var node; - - if (data.cache[nodeName]) { - node = data.cache[nodeName].cloneNode(); - } else if (saveClones.test(nodeName)) { - node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode(); - } else { - node = data.createElem(nodeName); - } - - // Avoid adding some elements to fragments in IE < 9 because - // * Attributes like `name` or `type` cannot be set/changed once an element - // is inserted into a document/fragment - // * Link elements with `src` attributes that are inaccessible, as with - // a 403 response, will cause the tab/window to crash - // * Script elements appended to fragments will execute when their `src` - // or `text` property is set - return node.canHaveChildren && !reSkip.test(nodeName) && !node.tagUrn ? data.frag.appendChild(node) : node; - } - - /** - * returns a shived DocumentFragment for the given document - * @memberOf html5 - * @param {Document} ownerDocument The context document. - * @returns {Object} The shived DocumentFragment. - */ - function createDocumentFragment(ownerDocument, data){ - if (!ownerDocument) { - ownerDocument = document; - } - if(supportsUnknownElements){ - return ownerDocument.createDocumentFragment(); - } - data = data || getExpandoData(ownerDocument); - var clone = data.frag.cloneNode(), - i = 0, - elems = getElements(), - l = elems.length; - for(;i true ) );