Twenty Twenty-One: Combine duplicate CSS rules.

Use the postcss-merge-rules package when building TT1 stylesheets to reduce duplicate code in production CSS.

Props SergeyBiryukov, ryelle, Shaharyar10, shital-patel, mukesh27, poena.
Fixes #53605.


Built from https://develop.svn.wordpress.org/trunk@52238


git-svn-id: http://core.svn.wordpress.org/trunk@51830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2021-11-24 03:35:03 +00:00
parent a930237618
commit d8bbb335cb
6 changed files with 306 additions and 1208 deletions

View File

@ -147,11 +147,7 @@ blockquote p {
line-height: 1.7; line-height: 1.7;
} }
blockquote cite { blockquote cite,
font-weight: normal;
letter-spacing: normal;
}
blockquote footer { blockquote footer {
font-weight: normal; font-weight: normal;
letter-spacing: normal; letter-spacing: normal;
@ -162,33 +158,16 @@ blockquote.alignright {
padding-left: inherit; padding-left: inherit;
} }
blockquote.alignleft p { blockquote.alignleft p,
font-size: 1.125rem;
max-width: inherit;
width: inherit;
}
blockquote.alignright p { blockquote.alignright p {
font-size: 1.125rem; font-size: 1.125rem;
max-width: inherit; max-width: inherit;
width: inherit; width: inherit;
} }
blockquote.alignleft cite { blockquote.alignleft cite,
font-size: 1rem; blockquote.alignleft footer,
letter-spacing: normal; blockquote.alignright cite,
}
blockquote.alignleft footer {
font-size: 1rem;
letter-spacing: normal;
}
blockquote.alignright cite {
font-size: 1rem;
letter-spacing: normal;
}
blockquote.alignright footer { blockquote.alignright footer {
font-size: 1rem; font-size: 1rem;
letter-spacing: normal; letter-spacing: normal;
@ -206,18 +185,8 @@ blockquote:before {
left: -12px; left: -12px;
} }
blockquote .wp-block-quote__citation { blockquote .wp-block-quote__citation,
color: #28303d; blockquote cite,
font-size: 1rem;
font-style: normal;
}
blockquote cite {
color: #28303d;
font-size: 1rem;
font-style: normal;
}
blockquote footer { blockquote footer {
color: #28303d; color: #28303d;
font-size: 1rem; font-size: 1rem;
@ -236,16 +205,14 @@ blockquote footer {
img { img {
height: auto; height: auto;
max-width: 100%;
vertical-align: middle; vertical-align: middle;
} }
/* Classic editor images */ /* Classic editor images */
.entry-content img {
max-width: 100%;
}
/* Make sure embeds and iframes fit their containers. */ /* Make sure embeds and iframes fit their containers. */
img,
.entry-content img,
embed, embed,
iframe, iframe,
object, object,
@ -254,33 +221,9 @@ video {
} }
/* Media captions */ /* Media captions */
figcaption { figcaption,
color: currentColor; .wp-caption,
font-size: 1rem; .wp-caption-text,
line-height: 1.7;
margin-top: 10px;
margin-bottom: 20px;
text-align: center;
}
.wp-caption {
color: currentColor;
font-size: 1rem;
line-height: 1.7;
margin-top: 10px;
margin-bottom: 20px;
text-align: center;
}
.wp-caption-text {
color: currentColor;
font-size: 1rem;
line-height: 1.7;
margin-top: 10px;
margin-bottom: 20px;
text-align: center;
}
.wp-block-embed figcaption { .wp-block-embed figcaption {
color: currentColor; color: currentColor;
font-size: 1rem; font-size: 1rem;
@ -580,13 +523,7 @@ a:hover {
color: currentColor; color: currentColor;
} }
.wp-block-cover { .wp-block-cover,
background-color: #000;
min-height: 450px;
margin-top: inherit;
margin-bottom: inherit;
}
.wp-block-cover-image { .wp-block-cover-image {
background-color: #000; background-color: #000;
min-height: 450px; min-height: 450px;
@ -629,10 +566,7 @@ a:hover {
.wp-block-cover-image .wp-block-cover__inner-container, .wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover-image .wp-block-cover-image-text, .wp-block-cover-image .wp-block-cover-image-text,
.wp-block-cover-image .wp-block-cover-text, .wp-block-cover-image .wp-block-cover-text,
.wp-block-cover-image .block-editor-block-list__block { .wp-block-cover-image .block-editor-block-list__block,
color: currentColor;
}
.wp-block-cover .wp-block-cover__inner-container a, .wp-block-cover .wp-block-cover__inner-container a,
.wp-block-cover .wp-block-cover-image-text a, .wp-block-cover .wp-block-cover-image-text a,
.wp-block-cover .wp-block-cover-text a, .wp-block-cover .wp-block-cover-text a,
@ -644,34 +578,13 @@ a:hover {
color: currentColor; color: currentColor;
} }
.wp-block-cover .wp-block-cover__inner-container .has-link-color a { .wp-block-cover .wp-block-cover__inner-container .has-link-color a,
color: #28303d; .wp-block-cover .wp-block-cover-image-text .has-link-color a,
} .wp-block-cover .wp-block-cover-text .has-link-color a,
.wp-block-cover .block-editor-block-list__block .has-link-color a,
.wp-block-cover .wp-block-cover-image-text .has-link-color a { .wp-block-cover-image .wp-block-cover__inner-container .has-link-color a,
color: #28303d; .wp-block-cover-image .wp-block-cover-image-text .has-link-color a,
} .wp-block-cover-image .wp-block-cover-text .has-link-color a,
.wp-block-cover .wp-block-cover-text .has-link-color a {
color: #28303d;
}
.wp-block-cover .block-editor-block-list__block .has-link-color a {
color: #28303d;
}
.wp-block-cover-image .wp-block-cover__inner-container .has-link-color a {
color: #28303d;
}
.wp-block-cover-image .wp-block-cover-image-text .has-link-color a {
color: #28303d;
}
.wp-block-cover-image .wp-block-cover-text .has-link-color a {
color: #28303d;
}
.wp-block-cover-image .block-editor-block-list__block .has-link-color a { .wp-block-cover-image .block-editor-block-list__block .has-link-color a {
color: #28303d; color: #28303d;
} }
@ -753,10 +666,7 @@ a:hover {
text-align: right; text-align: right;
} }
.wp-block-cover.is-style-twentytwentyone-border { .wp-block-cover.is-style-twentytwentyone-border,
border: 3px solid #28303d;
}
.wp-block-cover-image.is-style-twentytwentyone-border { .wp-block-cover-image.is-style-twentytwentyone-border {
border: 3px solid #28303d; border: 3px solid #28303d;
} }
@ -1019,182 +929,46 @@ a:hover {
width: 100%; width: 100%;
} }
.wp-block-heading h1 { .wp-block-heading h1,
clear: both; h1,
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; .h1,
font-weight: normal; .wp-block-heading h2,
} h2,
.h2,
h1 { .wp-block-heading h3,
clear: both; h3,
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; .h3,
font-weight: normal; .wp-block-heading h4,
} h4,
.h4,
.h1 { .wp-block-heading h5,
clear: both; h5,
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; .h5,
font-weight: normal; .wp-block-heading h6,
} h6,
.wp-block-heading h2 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h2 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.h2 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h3 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h3 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.h3 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h4 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h4 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.h4 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h5 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h5 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.h5 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h6 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h6 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.h6 { .h6 {
clear: both; clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal; font-weight: normal;
} }
.wp-block-heading h1 strong { .wp-block-heading h1 strong,
font-weight: 600; h1 strong,
} .h1 strong,
.wp-block-heading h2 strong,
h1 strong { h2 strong,
font-weight: 600; .h2 strong,
} .wp-block-heading h3 strong,
h3 strong,
.h1 strong { .h3 strong,
font-weight: 600; .wp-block-heading h4 strong,
} h4 strong,
.h4 strong,
.wp-block-heading h2 strong { .wp-block-heading h5 strong,
font-weight: 600; h5 strong,
} .h5 strong,
.wp-block-heading h6 strong,
h2 strong { h6 strong,
font-weight: 600;
}
.h2 strong {
font-weight: 600;
}
.wp-block-heading h3 strong {
font-weight: 600;
}
h3 strong {
font-weight: 600;
}
.h3 strong {
font-weight: 600;
}
.wp-block-heading h4 strong {
font-weight: 600;
}
h4 strong {
font-weight: 600;
}
.h4 strong {
font-weight: 600;
}
.wp-block-heading h5 strong {
font-weight: 600;
}
h5 strong {
font-weight: 600;
}
.h5 strong {
font-weight: 600;
}
.wp-block-heading h6 strong {
font-weight: 600;
}
h6 strong {
font-weight: 600;
}
.h6 strong { .h6 strong {
font-weight: 600; font-weight: 600;
} }
@ -1388,20 +1162,8 @@ h3 {
} }
} }
.wp-block-heading h4 { .wp-block-heading h4,
font-size: 1.5rem; h4,
font-weight: 600;
letter-spacing: normal;
line-height: 1.3;
}
h4 {
font-size: 1.5rem;
font-weight: 600;
letter-spacing: normal;
line-height: 1.3;
}
.h4 { .h4 {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 600; font-weight: 600;
@ -1409,20 +1171,8 @@ h4 {
line-height: 1.3; line-height: 1.3;
} }
.wp-block-heading h5 { .wp-block-heading h5,
font-size: 1.125rem; h5,
font-weight: 600;
letter-spacing: 0.05em;
line-height: 1.3;
}
h5 {
font-size: 1.125rem;
font-weight: 600;
letter-spacing: 0.05em;
line-height: 1.3;
}
.h5 { .h5 {
font-size: 1.125rem; font-size: 1.125rem;
font-weight: 600; font-weight: 600;
@ -1430,20 +1180,8 @@ h5 {
line-height: 1.3; line-height: 1.3;
} }
.wp-block-heading h6 { .wp-block-heading h6,
font-size: 1rem; h6,
font-weight: 600;
letter-spacing: 0.05em;
line-height: 1.3;
}
h6 {
font-size: 1rem;
font-weight: 600;
letter-spacing: 0.05em;
line-height: 1.3;
}
.h6 { .h6 {
font-size: 1rem; font-size: 1rem;
font-weight: 600; font-weight: 600;
@ -1468,10 +1206,7 @@ h6 {
} }
/* Block Styles */ /* Block Styles */
.wp-block-image.is-style-twentytwentyone-border img { .wp-block-image.is-style-twentytwentyone-border img,
border: 3px solid #28303d;
}
.wp-block-image.is-style-twentytwentyone-image-frame img { .wp-block-image.is-style-twentytwentyone-image-frame img {
border: 3px solid #28303d; border: 3px solid #28303d;
} }
@ -1480,10 +1215,7 @@ h6 {
padding: 20px; padding: 20px;
} }
.wp-block-latest-comments { .wp-block-latest-comments,
padding-left: 0;
}
.wp-block-latest-posts { .wp-block-latest-posts {
padding-left: 0; padding-left: 0;
} }
@ -1559,13 +1291,7 @@ h6 {
color: currentColor; color: currentColor;
} }
.wp-block-latest-posts .wp-block-latest-posts__post-excerpt { .wp-block-latest-posts .wp-block-latest-posts__post-excerpt,
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.125rem;
line-height: 1.7;
margin-top: 20px;
}
.wp-block-latest-posts .wp-block-latest-posts__post-full-content { .wp-block-latest-posts .wp-block-latest-posts__post-full-content {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.125rem; font-size: 1.125rem;
@ -1693,12 +1419,7 @@ h6 {
display: block; display: block;
} }
ul { ul,
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 30px 0;
padding-left: 50px;
}
ol { ol {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 30px 0; margin: 30px 0;
@ -1842,18 +1563,8 @@ pre.wp-block-preformatted {
color: currentColor; color: currentColor;
} }
.wp-block-pullquote .wp-block-pullquote__citation { .wp-block-pullquote .wp-block-pullquote__citation,
font-size: 1rem; .wp-block-pullquote cite,
font-style: normal;
text-transform: none;
}
.wp-block-pullquote cite {
font-size: 1rem;
font-style: normal;
text-transform: none;
}
.wp-block-pullquote footer { .wp-block-pullquote footer {
font-size: 1rem; font-size: 1rem;
font-style: normal; font-style: normal;
@ -1883,12 +1594,7 @@ pre.wp-block-preformatted {
text-align: left; text-align: left;
} }
.wp-block-pullquote.is-style-solid-color.alignleft blockquote { .wp-block-pullquote.is-style-solid-color.alignleft blockquote,
padding-left: 20px;
padding-right: 20px;
max-width: inherit;
}
.wp-block-pullquote.is-style-solid-color.alignright blockquote { .wp-block-pullquote.is-style-solid-color.alignright blockquote {
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
@ -2002,14 +1708,7 @@ pre.wp-block-preformatted {
display: none; display: none;
} }
.wp-block-quote.is-large { .wp-block-quote.is-large,
padding-left: 0;
/* Resetting margins to match _block-container.scss */
margin-top: 30px;
margin-bottom: 30px;
}
.wp-block-quote.is-style-large { .wp-block-quote.is-style-large {
padding-left: 0; padding-left: 0;
@ -2100,10 +1799,7 @@ pre.wp-block-preformatted {
} }
@media only screen and (max-width: 481px) { @media only screen and (max-width: 481px) {
.wp-block-quote.is-large { .wp-block-quote.is-large,
padding-left: 25px;
}
.wp-block-quote.is-style-large { .wp-block-quote.is-style-large {
padding-left: 25px; padding-left: 25px;
} }
@ -2113,11 +1809,7 @@ pre.wp-block-preformatted {
left: 0; left: 0;
} }
.wp-block-quote.is-large.has-text-align-right { .wp-block-quote.is-large.has-text-align-right,
padding-left: 0;
padding-right: 25px;
}
.wp-block-quote.is-style-large.has-text-align-right { .wp-block-quote.is-style-large.has-text-align-right {
padding-left: 0; padding-left: 0;
padding-right: 25px; padding-right: 25px;
@ -2250,13 +1942,7 @@ pre.wp-block-preformatted {
color: currentColor; color: currentColor;
} }
.wp-block-rss .wp-block-rss__item-excerpt { .wp-block-rss .wp-block-rss__item-excerpt,
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.125rem;
line-height: 1.7;
margin-top: 20px;
}
.wp-block-rss .wp-block-rss__item-full-content { .wp-block-rss .wp-block-rss__item-full-content {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.125rem; font-size: 1.125rem;
@ -2299,17 +1985,7 @@ pre.wp-block-preformatted {
margin-bottom: 10px; margin-bottom: 10px;
} }
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper { .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
border: 3px solid #39414d;
border-radius: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.125rem;
line-height: 1.7;
max-width: inherit;
margin-right: -3px;
padding: 10px;
}
.wp-block-search .wp-block-search__input { .wp-block-search .wp-block-search__input {
border: 3px solid #39414d; border: 3px solid #39414d;
border-radius: 0; border-radius: 0;
@ -2321,18 +1997,12 @@ pre.wp-block-preformatted {
padding: 10px; padding: 10px;
} }
.is-dark-theme .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper { .is-dark-theme .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
background: rgba(255, 255, 255, 0.9);
}
.is-dark-theme .wp-block-search .wp-block-search__input { .is-dark-theme .wp-block-search .wp-block-search__input {
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
} }
.has-background .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper { .has-background .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
border-color: #28303d !important;
}
.has-background .wp-block-search .wp-block-search__input { .has-background .wp-block-search .wp-block-search__input {
border-color: #28303d !important; border-color: #28303d !important;
} }
@ -2438,10 +2108,7 @@ pre.wp-block-preformatted {
color: #28303d; color: #28303d;
} }
.is-dark-theme .wp-block-search.wp-block-search__button-inside.wp-block-search__text-button .wp-block-search__button { .is-dark-theme .wp-block-search.wp-block-search__button-inside.wp-block-search__text-button .wp-block-search__button,
color: #28303d;
}
.is-dark-theme .wp-block-search.wp-block-search__button-inside.wp-block-search__icon-button .wp-block-search__button { .is-dark-theme .wp-block-search.wp-block-search__button-inside.wp-block-search__icon-button .wp-block-search__button {
color: #28303d; color: #28303d;
} }
@ -2468,12 +2135,7 @@ pre.wp-block-preformatted {
justify-content: center; justify-content: center;
} }
.wp-block-separator { .wp-block-separator,
border-bottom: 1px solid #28303d;
clear: both;
opacity: 1;
}
hr { hr {
border-bottom: 1px solid #28303d; border-bottom: 1px solid #28303d;
clear: both; clear: both;
@ -2535,10 +2197,7 @@ hr:not(.is-style-dots) {
max-width: inherit; max-width: inherit;
} }
.wp-block-separator.is-style-twentytwentyone-separator-thick { .wp-block-separator.is-style-twentytwentyone-separator-thick,
border-bottom-width: 3px;
}
hr.is-style-twentytwentyone-separator-thick { hr.is-style-twentytwentyone-separator-thick {
border-bottom-width: 3px; border-bottom-width: 3px;
} }
@ -2601,74 +2260,32 @@ table tfoot,
text-align: center; text-align: center;
} }
table th { table th,
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.wp-block-table th { .wp-block-table th {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
} }
table td { table td,
padding: 10px; table th,
} .wp-block-table td,
table th {
padding: 10px;
}
.wp-block-table td {
padding: 10px;
}
.wp-block-table th { .wp-block-table th {
padding: 10px; padding: 10px;
} }
table.is-style-regular .has-background { table.is-style-regular .has-background,
color: #28303d; table.is-style-stripes .has-background,
} table.is-style-stripes .has-background thead tr,
table.is-style-stripes .has-background tfoot tr,
table.is-style-stripes .has-background { table.is-style-stripes .has-background tbody tr,
color: #28303d; .wp-block-table.is-style-regular .has-background,
} .wp-block-table.is-style-stripes .has-background,
.wp-block-table.is-style-stripes .has-background thead tr,
table.is-style-stripes .has-background thead tr { .wp-block-table.is-style-stripes .has-background tfoot tr,
color: #28303d;
}
table.is-style-stripes .has-background tfoot tr {
color: #28303d;
}
table.is-style-stripes .has-background tbody tr {
color: #28303d;
}
.wp-block-table.is-style-regular .has-background {
color: #28303d;
}
.wp-block-table.is-style-stripes .has-background {
color: #28303d;
}
.wp-block-table.is-style-stripes .has-background thead tr {
color: #28303d;
}
.wp-block-table.is-style-stripes .has-background tfoot tr {
color: #28303d;
}
.wp-block-table.is-style-stripes .has-background tbody tr { .wp-block-table.is-style-stripes .has-background tbody tr {
color: #28303d; color: #28303d;
} }
table.is-style-stripes { table.is-style-stripes,
border-color: #f0f0f0;
}
.wp-block-table.is-style-stripes { .wp-block-table.is-style-stripes {
border-color: #f0f0f0; border-color: #f0f0f0;
} }
@ -3065,20 +2682,23 @@ pre.wp-block-verse {
} }
html { html {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
line-height: 1.7; line-height: 1.7;
} }
html,
body { body {
color: #28303d;
background-color: #d1e4dd;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
body {
background-color: #d1e4dd;
font-size: 1.25rem; font-size: 1.25rem;
font-weight: normal; font-weight: normal;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
body,
.wp-block a { .wp-block a {
color: #28303d; color: #28303d;
} }
@ -3092,10 +2712,7 @@ body {
text-decoration: none; text-decoration: none;
} }
.has-background .has-link-color a { .has-background .has-link-color a,
color: #28303d;
}
.has-background.has-link-color a { .has-background.has-link-color a {
color: #28303d; color: #28303d;
} }

File diff suppressed because it is too large Load Diff

View File

@ -1300,6 +1300,18 @@
"quick-lru": "^4.0.1" "quick-lru": "^4.0.1"
} }
}, },
"caniuse-api": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",
"integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==",
"dev": true,
"requires": {
"browserslist": "^4.0.0",
"caniuse-lite": "^1.0.0",
"lodash.memoize": "^4.1.2",
"lodash.uniq": "^4.5.0"
}
},
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001164", "version": "1.0.30001164",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001164.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001164.tgz",
@ -1461,6 +1473,12 @@
"integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
"dev": true "dev": true
}, },
"cssnano-utils": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-2.0.1.tgz",
"integrity": "sha512-i8vLRZTnEH9ubIyfdZCAdIdgnHAUeQeByEeQ2I7oTilvP9oHO6RScpeq3GsFUVqeB8uZgOQ9pw8utofNn32hhQ==",
"dev": true
},
"damerau-levenshtein": { "damerau-levenshtein": {
"version": "1.0.7", "version": "1.0.7",
"resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.7.tgz", "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.7.tgz",
@ -3130,6 +3148,12 @@
"integrity": "sha1-Cwih3PaDl8OXhVwyOXg4Mt90A9E=", "integrity": "sha1-Cwih3PaDl8OXhVwyOXg4Mt90A9E=",
"dev": true "dev": true
}, },
"lodash.memoize": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",
"integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=",
"dev": true
},
"lodash.merge": { "lodash.merge": {
"version": "4.6.2", "version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
@ -3154,6 +3178,12 @@
"integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=",
"dev": true "dev": true
}, },
"lodash.uniq": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
"integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=",
"dev": true
},
"log-symbols": { "log-symbols": {
"version": "4.1.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz",
@ -4624,6 +4654,30 @@
"integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=", "integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=",
"dev": true "dev": true
}, },
"postcss-merge-rules": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.0.3.tgz",
"integrity": "sha512-cEKTMEbWazVa5NXd8deLdCnXl+6cYG7m2am+1HzqH0EnTdy8fRysatkaXb2dEnR+fdaDxTvuZ5zoBdv6efF6hg==",
"dev": true,
"requires": {
"browserslist": "^4.16.6",
"caniuse-api": "^3.0.0",
"cssnano-utils": "^2.0.1",
"postcss-selector-parser": "^6.0.5"
},
"dependencies": {
"postcss-selector-parser": {
"version": "6.0.6",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz",
"integrity": "sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==",
"dev": true,
"requires": {
"cssesc": "^3.0.0",
"util-deprecate": "^1.0.2"
}
}
}
},
"postcss-nested": { "postcss-nested": {
"version": "5.0.6", "version": "5.0.6",
"resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-5.0.6.tgz", "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-5.0.6.tgz",

View File

@ -28,6 +28,7 @@
"postcss-custom-media": "^8.0.0", "postcss-custom-media": "^8.0.0",
"postcss-discard-duplicates": "^5.0.1", "postcss-discard-duplicates": "^5.0.1",
"postcss-focus-within": "^5.0.1", "postcss-focus-within": "^5.0.1",
"postcss-merge-rules": "^5.0.3",
"postcss-nested": "^5.0.6", "postcss-nested": "^5.0.6",
"rtlcss": "^3.5.0", "rtlcss": "^3.5.0",
"sass": "^1.43.4", "sass": "^1.43.4",

View File

@ -8,6 +8,7 @@ module.exports = {
require('postcss-calc')({ require('postcss-calc')({
precision: 0 precision: 0
}), }),
require('postcss-discard-duplicates') require('postcss-discard-duplicates'),
require('postcss-merge-rules')
] ]
}; };

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-alpha-52237'; $wp_version = '5.9-alpha-52238';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.