Skip to content

Commit

Permalink
Twenty Fifteen: Fixes pullquote issues with text color and border
Browse files Browse the repository at this point in the history
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.


git-svn-id: https://develop.svn.wordpress.org/trunk@58724 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
karmatosed committed Jul 15, 2024
1 parent 5e6e9a4 commit 068eef9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
10 changes: 3 additions & 7 deletions src/wp-content/themes/twentyfifteen/css/blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -320,31 +320,27 @@ 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;
padding-right: 0;
}

.wp-block-pullquote cite {
color: #333;
color: inherit;
font-family: "Noto Sans", sans-serif;
font-size: 15px;
font-style: normal;
line-height: 1.6;
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;
Expand Down
12 changes: 4 additions & 8 deletions src/wp-content/themes/twentyfifteen/css/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -675,26 +675,22 @@ 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;
line-height: 1.6;
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;
Expand Down

0 comments on commit 068eef9

Please sign in to comment.