Make WordPress Core

Changeset 58453


Ignore:
Timestamp:
06/21/2024 02:29:29 PM (11 months ago)
Author:
karmatosed
Message:

Twenty Eleven: Resolves pullquote block ignoring font weight and style settings.

The pullquote block was ignoring font weight and style settings. This now brings in a fix using inherit.

Props nidhidhandhukiya, desrosj, sabernhardt.
Fixes #56695.

Location:
trunk/src/wp-content/themes/twentyeleven
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyeleven/blocks.css

    r58238 r58453  
    122122.wp-block-quote.is-style-large cite {
    123123    font-size: 16px;
     124}
     125
     126.wp-block-quote[style*="font-weight"] blockquote,
     127.wp-block-quote[style*="font-weight"] p,
     128.wp-block-quote[style*="font-weight"] cite {
     129    font-weight: inherit;
     130}
     131
     132.wp-block-quote[style*="font-style"] blockquote,
     133.wp-block-quote[style*="font-style"] p,
     134.wp-block-quote[style*="font-style"] cite {
     135    font-style: inherit;
    124136}
    125137
     
    204216}
    205217
     218.wp-block-pullquote[style*="font-weight"] blockquote,
     219.wp-block-pullquote[style*="font-weight"] p,
     220.wp-block-pullquote[style*="font-weight"] cite {
     221    font-weight: inherit;
     222}
     223
     224.wp-block-pullquote[style*="font-style"] blockquote,
     225.wp-block-pullquote[style*="font-style"] p,
     226.wp-block-pullquote[style*="font-style"] cite {
     227    font-style: inherit;
     228}
     229
    206230/* Table */
    207231
  • trunk/src/wp-content/themes/twentyeleven/editor-blocks.css

    r58238 r58453  
    303303}
    304304
     305.wp-block-quote[style*="font-weight"] blockquote,
     306.wp-block-quote[style*="font-weight"] p,
     307.wp-block-quote[style*="font-weight"] cite {
     308    font-weight: inherit;
     309}
     310
     311.wp-block-quote[style*="font-style"] blockquote,
     312.wp-block-quote[style*="font-style"] p,
     313.wp-block-quote[style*="font-style"] cite {
     314    font-style: inherit;
     315}
     316
    305317/* Cover */
    306318
     
    359371}
    360372
     373.wp-block-pullquote[style*="font-weight"] blockquote,
     374.wp-block-pullquote[style*="font-weight"] p,
     375.wp-block-pullquote[style*="font-weight"] cite {
     376    font-weight: inherit;
     377}
     378
     379.wp-block-pullquote[style*="font-style"] blockquote,
     380.wp-block-pullquote[style*="font-style"] p,
     381.wp-block-pullquote[style*="font-style"] cite {
     382    font-style: inherit;
     383}
     384
    361385/* Table */
    362386
Note: See TracChangeset for help on using the changeset viewer.