Make WordPress Core

Ticket #56695: 56695.3.patch

File 56695.3.patch, 2.3 KB (added by sabernhardt, 4 months ago)

Pullquote and Quote: inheriting font-weight when block changes weight, font-style when block has special style

  • src/wp-content/themes/twentyeleven/blocks.css

     
    123123        font-size: 16px;
    124124}
    125125
     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;
     136}
     137
    126138/* Audio */
    127139
    128140.wp-block-audio audio {
     
    203215        margin-left: 1.625em;
    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
    208232.wp-block-table {
  • src/wp-content/themes/twentyeleven/editor-blocks.css

     
    302302        font-size: 16px;
    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
    307319.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text,
     
    358370        font-size: 20px;
    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
    363387.editor-styles-wrapper .wp-block-table th,