mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Bundled Themes: Removes blank CSS lines.
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
This commit is contained in:
parent
d7372c79fc
commit
68e3310c02
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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%);
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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%);
|
||||
}
|
||||
|
||||
|
@ -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%);
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
-------------------------------------------------------------- */
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -2,5 +2,4 @@ pre.wp-block-preformatted {
|
||||
overflow-x: auto;
|
||||
white-space: pre !important;
|
||||
font-size: var(--global--font-size-xs);
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user