Make WordPress Core

Ticket #61787: 61787.reduce-specificity.diff

File 61787.reduce-specificity.diff, 1.7 KB (added by sabernhardt, 6 months ago)

reduces specificity for three selectors

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

     
    416416        margin: 4rem 0;
    417417}
    418418
    419 .entry-content hr,
     419.entry-content :where(hr:not(.is-style-dots)),
    420420hr.styled-separator {
    421421        background: linear-gradient(to right, currentColor calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), currentColor calc(50% + 16px));
    422422        background-color: transparent !important;
     
    431431        color: #6d6d6d;
    432432}
    433433
    434 .entry-content hr::before,
    435 .entry-content hr::after,
     434:where(.entry-content) hr::before,
     435:where(.entry-content) hr::after,
    436436hr.styled-separator::before,
    437437hr.styled-separator::after {
    438438        background: currentColor;
  • src/wp-content/themes/twentytwenty/style.css

     
    416416        margin: 4rem 0;
    417417}
    418418
    419 .entry-content hr,
     419.entry-content :where(hr:not(.is-style-dots)),
    420420hr.styled-separator {
    421421        background: linear-gradient(to left, currentColor calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), currentColor calc(50% + 16px));
    422422        background-color: transparent !important;
     
    431431        color: #6d6d6d;
    432432}
    433433
    434 .entry-content hr::before,
    435 .entry-content hr::after,
     434:where(.entry-content) hr::before,
     435:where(.entry-content) hr::after,
    436436hr.styled-separator::before,
    437437hr.styled-separator::after {
    438438        background: currentColor;