Make WordPress Core

Ticket #53158: 53158-3.patch

File 53158-3.patch, 6.9 KB (added by tomjdevisser, 3 years ago)

Added missing rules, making the files match. Also put every rule on a different line following standards.

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

    diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css
    index 488f8226fe..2bb73f9755 100644
    a b hr.wp-block-separator.is-style-dots::before { 
    777777        width: 44px;
    778778}
    779779
    780 .editor-styles-wrapper .wp-block .wp-block-pullquote p {
     780.editor-styles-wrapper .wp-block .wp-block-pullquote p,
     781.editor-styles-wrapper .wp-block-pullquote p {
    781782        font-family: inherit;
    782783        font-size: 28px;
    783784        font-weight: 700;
    hr.wp-block-separator.is-style-dots::before { 
    786787        margin-bottom: 20px;
    787788}
    788789
    789 .editor-styles-wrapper .wp-block .wp-block-pullquote p:last-child {
     790.editor-styles-wrapper .wp-block .wp-block-pullquote p:last-child,
     791.editor-styles-wrapper .wp-block-pullquote p:last-child {
    790792        margin-bottom: 0;
    791793}
    792794
    793 .editor-styles-wrapper .wp-block .wp-block-pullquote p,
     795.editor-styles-wrapper .wp-block .wp-block-pullquote p,
     796.editor-styles-wrapper .wp-block-pullquote p,
    794797.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p,
    795798.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p,
    796799.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p {
    797800        font-size: 28px;
    798801}
    799802
     803.editor-styles-wrapper .wp-block[data-align="wide"] .wp-block-pullquote blockquote p,
     804.editor-styles-wrapper .wp-block[data-align="full"] .wp-block-pullquote blockquote p {
     805        font-size: 48px;
     806}
     807
    800808.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"],
    801809.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] {
    802810        height: auto;
    hr.wp-block-separator.is-style-dots::before { 
    12941302
    12951303        /* BLOCK: PULLQUOTE */
    12961304
    1297         .editor-styles-wrapper .wp-block .wp-block-pullquote p,
     1305        .editor-styles-wrapper .wp-block .wp-block-pullquote p,
     1306        .editor-styles-wrapper .wp-block-pullquote p,
    12981307        .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p,
    12991308        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p,
    13001309        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p {
    hr.wp-block-separator.is-style-dots::before { 
    13261335        }
    13271336
    13281337        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="wide"] blockquote p,
    1329         .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p {
     1338        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p,
     1339        .editor-styles-wrapper .wp-block[data-align="wide"] .wp-block-pullquote p,
     1340        .editor-styles-wrapper .wp-block[data-align="full"] .wp-block-pullquote blockquote p {
    13301341                font-size: 48px;
    13311342                line-height: 1.203125;
    13321343        }
    hr.wp-block-separator.is-style-dots::before { 
    14051416        }
    14061417
    14071418        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="wide"] blockquote p,
    1408         .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p {
     1419        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p,
     1420        .editor-styles-wrapper .wp-block[data-align="wide"] .wp-block-pullquote blockquote p,
     1421        .editor-styles-wrapper .wp-block[data-align="full"] .wp-block-pullquote blockquote p  {
    14091422                font-size: 64px;
    14101423        }
    14111424
  • src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

    diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css
    index 66e662628e..1f0036e99d 100644
    a b hr.wp-block-separator.is-style-dots::before { 
    777777        width: 44px;
    778778}
    779779
    780 .editor-styles-wrapper .wp-block .wp-block-pullquote p {
     780.editor-styles-wrapper .wp-block .wp-block-pullquote p,
     781.editor-styles-wrapper .wp-block-pullquote p {
    781782        font-family: inherit;
    782783        font-size: 28px;
    783784        font-weight: 700;
    hr.wp-block-separator.is-style-dots::before { 
    786787        margin-bottom: 20px;
    787788}
    788789
    789 .editor-styles-wrapper .wp-block .wp-block-pullquote p:last-child {
     790.editor-styles-wrapper .wp-block .wp-block-pullquote p:last-child,
     791.editor-styles-wrapper .wp-block-pullquote p:last-child {
    790792        margin-bottom: 0;
    791793}
    792794
    793 .editor-styles-wrapper .wp-block .wp-block-pullquote p,
     795.editor-styles-wrapper .wp-block .wp-block-pullquote p,
     796.editor-styles-wrapper .wp-block-pullquote p,
    794797.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p,
    795798.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p,
    796799.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p {
    797800        font-size: 28px;
    798801}
    799802
     803.editor-styles-wrapper .wp-block[data-align="wide"] .wp-block-pullquote blockquote p,
     804.editor-styles-wrapper .wp-block[data-align="full"] .wp-block-pullquote blockquote p {
     805        font-size: 48px;
     806}
     807
    800808.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"],
    801809.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] {
    802810        height: auto;
    hr.wp-block-separator.is-style-dots::before { 
    12951303        /* BLOCK: PULLQUOTE */
    12961304
    12971305        .editor-styles-wrapper .wp-block .wp-block-pullquote p,
     1306        .editor-styles-wrapper .wp-block-pullquote p,
    12981307        .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p,
    12991308        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p,
    13001309        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p {
    hr.wp-block-separator.is-style-dots::before { 
    13261335        }
    13271336
    13281337        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="wide"] blockquote p,
    1329         .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p {
     1338        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p,
     1339        .editor-styles-wrapper .wp-block[data-align="wide"] .wp-block-pullquote p,
     1340        .editor-styles-wrapper .wp-block[data-align="full"] .wp-block-pullquote blockquote p {
    13301341                font-size: 48px;
    13311342                line-height: 1.203125;
    13321343        }
    hr.wp-block-separator.is-style-dots::before { 
    14051416        }
    14061417
    14071418        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="wide"] blockquote p,
    1408         .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p {
     1419        .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p,
     1420        .editor-styles-wrapper .wp-block[data-align="wide"] .wp-block-pullquote blockquote p,
     1421        .editor-styles-wrapper .wp-block[data-align="full"] .wp-block-pullquote blockquote p  {
    14091422                font-size: 64px;
    14101423        }
    14111424