Twenty Fifteen: Fixes pullquote issues with text color and border

Pullquote was not showing the color changes. This uses inherit to do that. It also removes the changes from [58368] as this method is preferred.

Props viralsampat, poena, sabernhardt.
Fixes #59801.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-07-15 16:58:15 +00:00
parent 2f9ff5ebe6
commit 84510fb69b
3 changed files with 8 additions and 16 deletions

View File

@ -320,11 +320,12 @@ p.has-drop-cap:not(:focus)::first-letter {
/* Pullquote */
.wp-block-pullquote {
border: 0;
border: 0 solid;
}
.wp-block-pullquote blockquote {
border: 0;
color: inherit;
margin-left: 0;
margin-right: 0;
padding-left: 0;
@ -332,7 +333,7 @@ p.has-drop-cap:not(:focus)::first-letter {
}
.wp-block-pullquote cite {
color: #333;
color: inherit;
font-family: "Noto Sans", sans-serif;
font-size: 15px;
font-style: normal;
@ -340,11 +341,6 @@ p.has-drop-cap:not(:focus)::first-letter {
text-transform: none;
}
.wp-block-pullquote[class*="-text-color"] blockquote cite,
.wp-block-pullquote[style*="color"] blockquote cite {
color: inherit;
}
@media screen and (min-width: 46.25em) {
.wp-block-pullquote cite {
font-size: 17px;

View File

@ -675,14 +675,15 @@ p.has-drop-cap:not(:focus)::first-letter {
/* Pullquote */
.wp-block-pullquote,
.editor-block-list__block .wp-block-pullquote blockquote {
border: 0;
.editor-styles-wrapper .wp-block-pullquote blockquote {
border: 0 solid;
color: inherit;
margin: 0;
padding-left: 0;
}
.wp-block-pullquote .wp-block-pullquote__citation {
color: #333;
color: inherit;
font-family: "Noto Sans", sans-serif;
font-size: 15px;
font-style: normal;
@ -690,11 +691,6 @@ p.has-drop-cap:not(:focus)::first-letter {
text-transform: none;
}
.wp-block-pullquote[class*="-text-color"] blockquote cite,
.wp-block-pullquote[style*="color"] blockquote cite {
color: inherit;
}
@media screen and (min-width: 46.25em) {
.wp-block-pullquote .wp-block-pullquote__citation {
font-size: 17px;

View File

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