mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Twenty Fourteen: Correctly reflect text color changes in Pullquote block.
This changeset ensures text color changes on Pullquote block are reflected on both front-end and in the editor. Props umesh84, audrasjb, sabernhardt, bgoewert, ruchirj, amitbarai013, robinwpdeveloper, shamayel007. Fixes #56006. git-svn-id: https://develop.svn.wordpress.org/trunk@55228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1a028ccf8d
commit
21887884e5
@ -187,6 +187,15 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.has-text-color blockquote,
|
||||
.wp-block-pullquote.has-background blockquote,
|
||||
.has-background .wp-block-pullquote blockquote,
|
||||
.wp-block-pullquote.has-text-color cite,
|
||||
.has-background .wp-block-pullquote cite,
|
||||
.has-text-color .wp-block-pullquote__citation {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignleft {
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
@ -364,10 +364,13 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
/* Pullquote */
|
||||
|
||||
.wp-block-pullquote {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-pullquote {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.wp-block-pullquote .wp-block-pullquote__citation {
|
||||
color: #2b2b2b;
|
||||
font-size: 16px;
|
||||
@ -376,6 +379,15 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.has-text-color blockquote,
|
||||
.wp-block-pullquote.has-background blockquote,
|
||||
.has-background .wp-block-pullquote blockquote,
|
||||
.wp-block-pullquote.has-text-color cite,
|
||||
.has-background .wp-block-pullquote cite,
|
||||
.has-text-color .wp-block-pullquote__citation {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
|
||||
.wp-block-pullquote.alignright blockquote > .editor-rich-text p {
|
||||
font-size: 20px;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user