From 68e3310c024d7fceb84a5028e955ad163de6bd45 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 3 Jun 2024 10:29:14 +0000 Subject: [PATCH] =?UTF-8?q?Bundled=20Themes:=20Removes=20blank=20CSS=20lin?= =?UTF-8?q?es.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This removes blank CSS lines across multiple themes. Included are Twenty Ten, Twenty Eleven, Twenty Twelve, Twenty Fourteen, Twenty Seventeen, Twenty Nineteen and Twenty Twenty-One. Props ravipatel, ravikumarup, sabernhardt, viralsampat, shailu25, poena, swisspidy, snehapatil02. Fixes #59493. Built from https://develop.svn.wordpress.org/trunk@58290 git-svn-id: http://core.svn.wordpress.org/trunk@57750 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyeleven/colors/dark.css | 24 +------------------ wp-content/themes/twentyeleven/style.css | 13 ---------- .../themes/twentyfourteen/css/blocks.css | 3 --- .../site/header/_site-featured-image.scss | 4 ++-- .../themes/twentynineteen/style-editor.css | 4 ---- .../themes/twentynineteen/style-editor.scss | 1 - .../themes/twentynineteen/style-rtl.css | 7 ++---- wp-content/themes/twentynineteen/style.css | 7 ++---- .../twentyseventeen/assets/css/blocks.css | 1 - wp-content/themes/twentyten/style.css | 17 ------------- wp-content/themes/twentytwelve/css/blocks.css | 7 ------ .../themes/twentytwentyone/assets/css/ie.css | 12 ---------- .../sass/03-generic/vertical-margins.scss | 2 +- .../sass/05-blocks/media-text/_style.scss | 5 +--- .../sass/05-blocks/preformatted/_editor.scss | 1 - .../themes/twentytwentyone/style-rtl.css | 12 ---------- wp-content/themes/twentytwentyone/style.css | 12 ---------- wp-includes/version.php | 2 +- 18 files changed, 10 insertions(+), 124 deletions(-) diff --git a/wp-content/themes/twentyeleven/colors/dark.css b/wp-content/themes/twentyeleven/colors/dark.css index b6d70e6154..2d74a17c5f 100644 --- a/wp-content/themes/twentyeleven/colors/dark.css +++ b/wp-content/themes/twentyeleven/colors/dark.css @@ -46,10 +46,6 @@ input#s { background-color: #ddd; } -/* Links */ -a { -} - /* =Header ----------------------------------------------- */ @@ -60,10 +56,6 @@ a { #site-title a { color: #eee; } -#site-title a:hover, -#site-title a:focus, -#site-title a:active { -} #site-description { color: #858585; } @@ -99,10 +91,6 @@ a { .entry-title a { color: #ddd; } -.entry-title a:hover, -.entry-title a:focus, -.entry-title a:active { -} .entry-meta { color: #999; } @@ -124,8 +112,6 @@ a { .comment-content td { border-color: #222; } -.page-link { -} .page-link a { background: #242424; color: #bbb; @@ -362,8 +348,6 @@ section.recent-posts .other-recent-posts .entry-title { section.recent-posts .other-recent-posts a[rel="bookmark"] { color: #ccc; } -section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { -} section.recent-posts .other-recent-posts .comments-link a, section.recent-posts .other-recent-posts .comments-link > span { border-color: #959595; @@ -373,8 +357,6 @@ section.recent-posts .other-recent-posts .comments-link > span { border-color: #444; color: #777; } -section.recent-posts .other-recent-posts .comments-link a:hover { -} /* =Attachments @@ -596,10 +578,6 @@ li.bypostauthor a.comment-reply-link:active { background: none !important; } - /* Comments */ - .commentlist > li.comment { - } - /* Post author highlighting */ .commentlist > li.bypostauthor { color: #333; @@ -620,4 +598,4 @@ li.bypostauthor a.comment-reply-link:active { .commentlist .children > li.bypostauthor > article .comment-meta { color: #959595; } -} \ No newline at end of file +} diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css index 45d0e38c35..4cdcf1cccd 100644 --- a/wp-content/themes/twentyeleven/style.css +++ b/wp-content/themes/twentyeleven/style.css @@ -1674,8 +1674,6 @@ section.recent-posts .other-recent-posts a[rel="bookmark"]:after { color: transparent; font-size: 11px; } -section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { -} section.recent-posts .other-recent-posts .comments-link a, section.recent-posts .other-recent-posts .comments-link > span { border-bottom: 2px solid #999; @@ -1906,9 +1904,6 @@ section.ephemera ol, line-height: 2.76333em; text-transform: uppercase; } -section.ephemera .entry-title .comments-link a:hover, -.widget_twentyeleven_ephemera .entry-title .comments-link a:hover { -} section.ephemera .entry-title a span { color: #29628d; } @@ -2094,10 +2089,6 @@ section.ephemera .entry-title a span { .comment-meta a { font-weight: bold; } -.comment-meta a:focus, -.comment-meta a:active, -.comment-meta a:hover { -} .commentlist .avatar { -moz-border-radius: 3px; border-radius: 3px; @@ -2156,10 +2147,6 @@ a.comment-reply-link > span { .commentlist > li.bypostauthor .comment-meta { color: #575757; } -.commentlist > li.bypostauthor .comment-meta a:focus, -.commentlist > li.bypostauthor .comment-meta a:active, -.commentlist > li.bypostauthor .comment-meta a:hover { -} .commentlist > li.bypostauthor:before { content: url(images/comment-arrow-bypostauthor.png); } diff --git a/wp-content/themes/twentyfourteen/css/blocks.css b/wp-content/themes/twentyfourteen/css/blocks.css index d13b29b7ce..2832228465 100644 --- a/wp-content/themes/twentyfourteen/css/blocks.css +++ b/wp-content/themes/twentyfourteen/css/blocks.css @@ -377,9 +377,6 @@ p.has-drop-cap:not(:focus)::first-letter { color: #41a62a; } -.wp-block-latest-comments__comment-excerpt p:last-child { -} - .wp-block-latest-comments__comment-date { text-transform: uppercase; } diff --git a/wp-content/themes/twentynineteen/sass/site/header/_site-featured-image.scss b/wp-content/themes/twentynineteen/sass/site/header/_site-featured-image.scss index 5e67aa2428..b46df6311d 100644 --- a/wp-content/themes/twentynineteen/sass/site/header/_site-featured-image.scss +++ b/wp-content/themes/twentynineteen/sass/site/header/_site-featured-image.scss @@ -68,7 +68,6 @@ /* Entry header */ .site-featured-image { - /* First layer: grayscale. */ .post-thumbnail img { height: auto; left: 50%; @@ -90,8 +89,9 @@ width: 100%; } - /* When image filters are active, make it grayscale to colorize it blue. */ .image-filters-enabled & { + /* First layer: grayscale. */ + /* When image filters are active, make it grayscale to colorize it blue. */ filter: grayscale(100%); } } diff --git a/wp-content/themes/twentynineteen/style-editor.css b/wp-content/themes/twentynineteen/style-editor.css index ac0b00892f..3a38846343 100644 --- a/wp-content/themes/twentynineteen/style-editor.css +++ b/wp-content/themes/twentynineteen/style-editor.css @@ -1449,10 +1449,6 @@ ul.wp-block-archives li ul, margin-inline-start: 0; } -.wp-block-freeform { - /* Add style for galleries in classic-editor block */ -} - .wp-block-freeform blockquote { border-left: 2px solid #0073aa; } diff --git a/wp-content/themes/twentynineteen/style-editor.scss b/wp-content/themes/twentynineteen/style-editor.scss index 72903b8950..508dda9566 100644 --- a/wp-content/themes/twentynineteen/style-editor.scss +++ b/wp-content/themes/twentynineteen/style-editor.scss @@ -852,7 +852,6 @@ ul.wp-block-archives, .wp-block-freeform { - /* Add style for galleries in classic-editor block */ blockquote { border-left: 2px solid $color__link; diff --git a/wp-content/themes/twentynineteen/style-rtl.css b/wp-content/themes/twentynineteen/style-rtl.css index 411998ad60..45464ae0a6 100644 --- a/wp-content/themes/twentynineteen/style-rtl.css +++ b/wp-content/themes/twentynineteen/style-rtl.css @@ -3959,10 +3959,6 @@ body.page .main-navigation { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)); } -.site-header.featured-image .site-featured-image { - /* First layer: grayscale. */ -} - .site-header.featured-image .site-featured-image .post-thumbnail img { height: auto; right: 50%; @@ -3974,7 +3970,6 @@ body.page .main-navigation { transform: translateX(50%) translateY(-50%); width: auto; z-index: 1; - /* When image filters are active, make it grayscale to colorize it blue. */ } @supports (object-fit: cover) { @@ -3989,6 +3984,8 @@ body.page .main-navigation { } .image-filters-enabled .site-header.featured-image .site-featured-image .post-thumbnail img { + /* First layer: grayscale. */ + /* When image filters are active, make it grayscale to colorize it blue. */ filter: grayscale(100%); } diff --git a/wp-content/themes/twentynineteen/style.css b/wp-content/themes/twentynineteen/style.css index 89e7299d26..907ad811d1 100644 --- a/wp-content/themes/twentynineteen/style.css +++ b/wp-content/themes/twentynineteen/style.css @@ -3965,10 +3965,6 @@ body.page .main-navigation { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)); } -.site-header.featured-image .site-featured-image { - /* First layer: grayscale. */ -} - .site-header.featured-image .site-featured-image .post-thumbnail img { height: auto; left: 50%; @@ -3980,7 +3976,6 @@ body.page .main-navigation { transform: translateX(-50%) translateY(-50%); width: auto; z-index: 1; - /* When image filters are active, make it grayscale to colorize it blue. */ } @supports (object-fit: cover) { @@ -3995,6 +3990,8 @@ body.page .main-navigation { } .image-filters-enabled .site-header.featured-image .site-featured-image .post-thumbnail img { + /* First layer: grayscale. */ + /* When image filters are active, make it grayscale to colorize it blue. */ filter: grayscale(100%); } diff --git a/wp-content/themes/twentyseventeen/assets/css/blocks.css b/wp-content/themes/twentyseventeen/assets/css/blocks.css index c0cf300d6d..0dfb276742 100644 --- a/wp-content/themes/twentyseventeen/assets/css/blocks.css +++ b/wp-content/themes/twentyseventeen/assets/css/blocks.css @@ -335,7 +335,6 @@ p.has-drop-cap:not(:focus)::first-letter { .wp-block-latest-comments a { -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1); - } .wp-block-latest-comments .wp-block-latest-comments__comment { diff --git a/wp-content/themes/twentyten/style.css b/wp-content/themes/twentyten/style.css index 0c6d1bd979..03095aa72a 100644 --- a/wp-content/themes/twentyten/style.css +++ b/wp-content/themes/twentyten/style.css @@ -999,8 +999,6 @@ h3#comments-title { top: 4px; left: 0; } -.comment-author { -} .comment-author cite { color: #000; font-style: normal; @@ -1022,10 +1020,6 @@ h3#comments-title { .comment-meta a:hover { color: #ff4b33; } -.commentlist .even { -} -.commentlist .bypostauthor { -} .reply { font-size: 12px; padding: 0 0 24px 0; @@ -1203,8 +1197,6 @@ h3#reply-title { #wp-calendar thead { font-size: 11px; } -#wp-calendar thead th { -} #wp-calendar tbody { color: #aaa; } @@ -1291,15 +1283,6 @@ h3#reply-title { list-style: square; } -#primary { -} -#secondary { -} - -/* Footer widget areas */ -#footer-widget-area { -} - /* =Footer -------------------------------------------------------------- */ diff --git a/wp-content/themes/twentytwelve/css/blocks.css b/wp-content/themes/twentytwelve/css/blocks.css index 9941ed9283..ca828eef4a 100644 --- a/wp-content/themes/twentytwelve/css/blocks.css +++ b/wp-content/themes/twentytwelve/css/blocks.css @@ -73,13 +73,6 @@ p.has-drop-cap:not(:focus)::first-letter { padding-top: 0.75em; } -[class^="wp-block-"].alignleft, -[class^="wp-block-"] .alignleft, -[class^="wp-block-"].alignright, -[class^="wp-block-"] .alignright { - -} - /* Gallery */ .wp-block-gallery { diff --git a/wp-content/themes/twentytwentyone/assets/css/ie.css b/wp-content/themes/twentytwentyone/assets/css/ie.css index 41b208c704..8a7a9904e8 100644 --- a/wp-content/themes/twentytwentyone/assets/css/ie.css +++ b/wp-content/themes/twentytwentyone/assets/css/ie.css @@ -1042,11 +1042,6 @@ template, * .entry-content children specific controls * - Adds special margin overrides for alignment utility classes */ -.entry-content > * { - - /* Reset alignleft and alignright margins after alignfull */ -} - .entry-content > *.alignleft, .entry-content > *.alignright, .entry-content > *.alignleft:first-child + *, @@ -2820,13 +2815,6 @@ dd { padding-left: 50px; } -.wp-block-media-text { - - /** - * Block Options - */ -} - .wp-block-media-text.alignfull { margin-top: 0; margin-bottom: 0; diff --git a/wp-content/themes/twentytwentyone/assets/sass/03-generic/vertical-margins.scss b/wp-content/themes/twentytwentyone/assets/sass/03-generic/vertical-margins.scss index e6746a37f0..6326abe983 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/03-generic/vertical-margins.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/03-generic/vertical-margins.scss @@ -165,7 +165,7 @@ margin-bottom: 0; } - /* Reset alignleft and alignright margins after alignfull */ + // Reset alignleft and alignright margins after alignfull &.alignfull + .alignleft, &.alignfull + .alignright { margin-top: var(--global--spacing-vertical); diff --git a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/media-text/_style.scss b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/media-text/_style.scss index 7879886f32..4c7aa8c845 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/media-text/_style.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/media-text/_style.scss @@ -35,10 +35,7 @@ } } - /** - * Block Options - */ - + // Block Options &.is-stacked-on-mobile .wp-block-media-text__content { @include media(mobile) { padding-top: var(--global--spacing-vertical); diff --git a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/preformatted/_editor.scss b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/preformatted/_editor.scss index 83c2654007..5c26b4c51a 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/preformatted/_editor.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/preformatted/_editor.scss @@ -2,5 +2,4 @@ pre.wp-block-preformatted { overflow-x: auto; white-space: pre !important; font-size: var(--global--font-size-xs); - } diff --git a/wp-content/themes/twentytwentyone/style-rtl.css b/wp-content/themes/twentytwentyone/style-rtl.css index ae7b0f89be..47bda7ddab 100644 --- a/wp-content/themes/twentytwentyone/style-rtl.css +++ b/wp-content/themes/twentytwentyone/style-rtl.css @@ -927,11 +927,6 @@ template { * .entry-content children specific controls * - Adds special margin overrides for alignment utility classes */ -.entry-content > * { - - /* Reset alignleft and alignright margins after alignfull */ -} - .entry-content > *.alignleft, .entry-content > *.alignright, .entry-content > *.alignleft:first-child + *, @@ -2653,13 +2648,6 @@ dd { padding-right: calc(2 * var(--global--spacing-horizontal)); } -.wp-block-media-text { - - /** - * Block Options - */ -} - .wp-block-media-text.alignfull { margin-top: 0; margin-bottom: 0; diff --git a/wp-content/themes/twentytwentyone/style.css b/wp-content/themes/twentytwentyone/style.css index 3378196988..18e057722c 100644 --- a/wp-content/themes/twentytwentyone/style.css +++ b/wp-content/themes/twentytwentyone/style.css @@ -935,11 +935,6 @@ template { * .entry-content children specific controls * - Adds special margin overrides for alignment utility classes */ -.entry-content > * { - - /* Reset alignleft and alignright margins after alignfull */ -} - .entry-content > *.alignleft, .entry-content > *.alignright, .entry-content > *.alignleft:first-child + *, @@ -2663,13 +2658,6 @@ dd { padding-left: calc(2 * var(--global--spacing-horizontal)); } -.wp-block-media-text { - - /** - * Block Options - */ -} - .wp-block-media-text.alignfull { margin-top: 0; margin-bottom: 0; diff --git a/wp-includes/version.php b/wp-includes/version.php index 464818b1e7..01caa6e29e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58289'; +$wp_version = '6.6-alpha-58290'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.