WordPress.org

Make WordPress Core

Ticket #48617: 48617.3.diff

File 48617.3.diff, 1.8 KB (added by samful, 7 months ago)

refreshed with proper /src path and line numbers

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

    diff --git src/wp-content/themes/twentytwenty/style.css src/wp-content/themes/twentytwenty/style.css
    index 128db2a..e3d95b5 100644
    figure.wp-block-table.is-style-stripes { 
    35783578
    35793579/* Alignment Classes ------------------------- */
    35803580
    3581 .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
     3581.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide):not(.alignnone):not(.aligncenter) {
    35823582        max-width: 58rem;
    35833583        width: calc(100% - 4rem);
    35843584}
    35853585
     3586.entry-content figure.alignnone[style*="width"],
     3587.entry-content figure.aligncenter[style*="width"] {
     3588            max-width: calc(100% - 4rem);
     3589        }
     3590
    35863591[class*="__inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    35873592        max-width: 58rem;
    35883593        width: 100%;
    a.to-the-top > * { 
    63066311
    63076312}
    63086313
     6314@media ( min-width: 620px ) {   
     6315    /* Entry Content ------------------------- */
     6316
     6317    /* ALIGNMENT CLASSES */
     6318    body:not(.template-full-width) .entry-content figure.alignnone[style*="width"],
     6319    body:not(.template-full-width) .entry-content figure.aligncenter[style*="width"] {
     6320        max-width: 58rem;
     6321    }
     6322}
     6323
    63096324@media ( min-width: 1240px ) {
    63106325
    63116326
    a.to-the-top > * { 
    64096424                max-width: 25rem;
    64106425        }
    64116426
     6427        body:not(.template-full-width) .entry-content figure.alignnone[style*="width"],
     6428        body:not(.template-full-width) .entry-content figure.aligncenter[style*="width"] {
     6429                max-width: 120rem;
     6430        }
     6431
    64126432        /* Template: Full Width ------------------ */
    64136433
    64146434        body.template-full-width .alignfull:not(.has-background) > .wp-block-group__inner-container > p:not(.has-background-color) {