Bundled Themes: Ensure that pull quotes are able to use the correct font

size.

Pull quote bodies weren't inheriting the correct styling from the block 
editor. This ensure that will happen. 

Props nidhidhandhukiya, poena, varjodesigns, jivygraphics, whyisjake.
Fixes #57854.



git-svn-id: https://develop.svn.wordpress.org/trunk@56451 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jake Spurlock 2023-08-24 16:14:54 +00:00
parent 1db31132eb
commit 179ac0ccd2
11 changed files with 81 additions and 58 deletions

View File

@ -1507,6 +1507,11 @@ pre.wp-block-preformatted {
color: currentColor;
border-color: currentColor;
position: relative;
font-weight: 700;
font-style: normal;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
letter-spacing: normal;
line-height: 1.3;
}
.wp-block-pullquote blockquote::before {
@ -1521,20 +1526,14 @@ pre.wp-block-preformatted {
}
.wp-block-pullquote p {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 2rem;
font-style: normal;
font-weight: 700;
letter-spacing: normal;
line-height: 1.3;
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
letter-spacing: inherit;
line-height: inherit;
margin: 0;
}
@media only screen and (min-width: 652px) {
.wp-block-pullquote p {
font-size: 2rem;
}
}
.wp-block-pullquote a {
color: currentColor;

File diff suppressed because one or more lines are too long

View File

@ -3655,6 +3655,11 @@ pre.wp-block-preformatted {
color: currentColor;
border-color: currentColor;
position: relative;
font-weight: 700;
font-style: normal;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
letter-spacing: normal;
line-height: 1.3;
/**
* Block Options
@ -3673,20 +3678,14 @@ pre.wp-block-preformatted {
}
.wp-block-pullquote p {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 2rem;
font-style: normal;
font-weight: 700;
letter-spacing: normal;
line-height: 1.3;
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
letter-spacing: inherit;
line-height: inherit;
margin: 0;
}
@media only screen and (min-width: 652px) {
.wp-block-pullquote p {
font-size: 2rem;
}
}
.wp-block-pullquote a {
color: currentColor;

File diff suppressed because one or more lines are too long

View File

@ -1419,6 +1419,11 @@ pre.wp-block-preformatted {
color: currentColor;
border-color: currentColor;
position: relative;
font-weight: 700;
font-style: var(--pullquote--font-style);
font-family: var(--pullquote--font-family);
letter-spacing: var(--pullquote--letter-spacing);
line-height: var(--pullquote--line-height);
}
.wp-block-pullquote blockquote::before {
@ -1433,12 +1438,12 @@ pre.wp-block-preformatted {
}
.wp-block-pullquote p {
font-family: var(--pullquote--font-family);
font-size: var(--pullquote--font-size);
font-style: var(--pullquote--font-style);
font-weight: 700;
letter-spacing: var(--pullquote--letter-spacing);
line-height: var(--pullquote--line-height);
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
letter-spacing: inherit;
line-height: inherit;
margin: 0;
}

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,11 @@
color: currentColor;
border-color: currentColor;
position: relative;
font-weight: 700;
font-style: var(--pullquote--font-style);
font-family: var(--pullquote--font-family);
letter-spacing: var(--pullquote--letter-spacing);
line-height: var(--pullquote--line-height);
blockquote::before {
color: currentColor;
@ -20,12 +25,12 @@
}
p {
font-family: var(--pullquote--font-family);
font-size: var(--pullquote--font-size);
font-style: var(--pullquote--font-style);
font-weight: 700;
letter-spacing: var(--pullquote--letter-spacing);
line-height: var(--pullquote--line-height);
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
letter-spacing: inherit;
line-height: inherit;
margin: 0;
}

View File

@ -7,6 +7,11 @@
color: currentColor;
border-color: currentColor;
position: relative;
font-weight: 700;
font-style: var(--pullquote--font-style);
font-family: var(--pullquote--font-family);
letter-spacing: var(--pullquote--letter-spacing);
line-height: var(--pullquote--line-height);
blockquote::before {
color: currentColor;
@ -20,12 +25,12 @@
}
p {
font-family: var(--pullquote--font-family);
font-size: var(--pullquote--font-size);
font-style: var(--pullquote--font-style);
font-weight: 700;
letter-spacing: var(--pullquote--letter-spacing);
line-height: var(--pullquote--line-height);
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
letter-spacing: inherit;
line-height: inherit;
margin: 0;
}

View File

@ -2814,6 +2814,11 @@ pre.wp-block-preformatted {
color: currentColor;
border-color: currentColor;
position: relative;
font-weight: 700;
font-style: var(--pullquote--font-style);
font-family: var(--pullquote--font-family);
letter-spacing: var(--pullquote--letter-spacing);
line-height: var(--pullquote--line-height);
/**
* Block Options
@ -2832,12 +2837,12 @@ pre.wp-block-preformatted {
}
.wp-block-pullquote p {
font-family: var(--pullquote--font-family);
font-size: var(--pullquote--font-size);
font-style: var(--pullquote--font-style);
font-weight: 700;
letter-spacing: var(--pullquote--letter-spacing);
line-height: var(--pullquote--line-height);
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
letter-spacing: inherit;
line-height: inherit;
margin: 0;
}

View File

@ -2824,6 +2824,11 @@ pre.wp-block-preformatted {
color: currentColor;
border-color: currentColor;
position: relative;
font-weight: 700;
font-style: var(--pullquote--font-style);
font-family: var(--pullquote--font-family);
letter-spacing: var(--pullquote--letter-spacing);
line-height: var(--pullquote--line-height);
/**
* Block Options
@ -2842,12 +2847,12 @@ pre.wp-block-preformatted {
}
.wp-block-pullquote p {
font-family: var(--pullquote--font-family);
font-size: var(--pullquote--font-size);
font-style: var(--pullquote--font-style);
font-weight: 700;
letter-spacing: var(--pullquote--letter-spacing);
line-height: var(--pullquote--line-height);
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
letter-spacing: inherit;
line-height: inherit;
margin: 0;
}

File diff suppressed because one or more lines are too long