WordPress.org

Make WordPress Core

Changeset 47440


Ignore:
Timestamp:
03/10/2020 11:02:09 AM (6 months ago)
Author:
SergeyBiryukov
Message:

Bundled Themes: Twenty Twenty content font CSS selector is too important - updated.

This adds more selectors for headings, tables, addresses, cite, figcaption, file and caption blocks to make the font-family match as before [47133].

Props alexandreb3, ianbelanger.
Reviewed by SergeyBiryukov.
Merges [47439] to the 5.4 branch.
Fixes #49318.

Location:
branches/5.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/5.4

  • branches/5.4/src/wp-content/themes/twentytwenty/style-rtl.css

    r47405 r47440  
    35123512}
    35133513
     3514.entry-content h1,
     3515.entry-content h2,
     3516.entry-content h3,
     3517.entry-content h4,
     3518.entry-content h5,
     3519.entry-content h6,
    35143520.entry-content cite,
    35153521.entry-content figcaption,
    3516 .entry-content .wp-caption-text {
     3522.entry-content table,
     3523.entry-content address,
     3524.entry-content .wp-caption-text,
     3525.entry-content .wp-block-file {
    35173526    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    35183527}
     
    35203529@supports ( font-variation-settings: normal ) {
    35213530
     3531    .entry-content h1,
     3532    .entry-content h2,
     3533    .entry-content h3,
     3534    .entry-content h4,
     3535    .entry-content h5,
     3536    .entry-content h6,
    35223537    .entry-content cite,
    35233538    .entry-content figcaption,
    3524     .entry-content .wp-caption-text {
     3539    .entry-content table,
     3540    .entry-content address,
     3541    .entry-content .wp-caption-text,
     3542    .entry-content .wp-block-file {
    35253543        font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    35263544    }
  • branches/5.4/src/wp-content/themes/twentytwenty/style.css

    r47405 r47440  
    35343534}
    35353535
     3536.entry-content h1,
     3537.entry-content h2,
     3538.entry-content h3,
     3539.entry-content h4,
     3540.entry-content h5,
     3541.entry-content h6,
    35363542.entry-content cite,
    35373543.entry-content figcaption,
    3538 .entry-content .wp-caption-text {
     3544.entry-content table,
     3545.entry-content address,
     3546.entry-content .wp-caption-text,
     3547.entry-content .wp-block-file {
    35393548    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    35403549}
     
    35423551@supports ( font-variation-settings: normal ) {
    35433552
     3553    .entry-content h1,
     3554    .entry-content h2,
     3555    .entry-content h3,
     3556    .entry-content h4,
     3557    .entry-content h5,
     3558    .entry-content h6,
    35443559    .entry-content cite,
    35453560    .entry-content figcaption,
    3546     .entry-content .wp-caption-text {
     3561    .entry-content table,
     3562    .entry-content address,
     3563    .entry-content .wp-caption-text,
     3564    .entry-content .wp-block-file {
    35473565        font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    35483566    }
Note: See TracChangeset for help on using the changeset viewer.