Twenty Fourteen: Adds base font size to pullquote block.

The pullquote block needed the base font size adding back in. This also adds in support for appearance settings for weight and style in addition to the original ticket. This fixes a previous commit which changed the default font size of pullquote blocks, quote blocks and blockquotes.

Props sabernhardt.
Fixes #61034.

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


git-svn-id: http://core.svn.wordpress.org/trunk@57518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-04-29 12:17:10 +00:00
parent a93698699b
commit 5638ddb0ae
5 changed files with 28 additions and 3 deletions

View File

@ -184,6 +184,18 @@ p.has-drop-cap:not(:focus)::first-letter {
margin: 0;
}
:where(.wp-block-pullquote[class*="-font-size"], .wp-block-pullquote[style*="font-size"]) blockquote {
font-size: inherit;
}
:where(.wp-block-pullquote[style*="font-style"]) blockquote {
font-style: inherit;
}
:where(.wp-block-pullquote[style*="font-weight"]) blockquote {
font-weight: inherit;
}
.wp-block-pullquote cite {
color: #2b2b2b;
font-size: 16px;

View File

@ -371,6 +371,19 @@ p.has-drop-cap:not(:focus)::first-letter {
border: 0;
}
.wp-block-pullquote[class*="-font-size"] blockquote,
.wp-block-pullquote[style*="font-size"] blockquote {
font-size: inherit;
}
.wp-block-pullquote[style*="font-style"] blockquote {
font-style: inherit;
}
.wp-block-pullquote[style*="font-weight"] blockquote {
font-weight: inherit;
}
.wp-block-pullquote .wp-block-pullquote__citation {
color: #2b2b2b;
font-size: 16px;

View File

@ -175,7 +175,7 @@ q:after {
blockquote {
color: #767676;
font-size: inherit;
font-size: 19px;
font-style: italic;
font-weight: 300;
line-height: 1.2631578947;

View File

@ -256,7 +256,7 @@ q:after {
blockquote {
color: #767676;
font-size: inherit;
font-size: 19px;
font-style: italic;
font-weight: 300;
line-height: 1.2631578947;

View File

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