WordPress.org

Make WordPress Core

Ticket #48617: 48617.2.diff

File 48617.2.diff, 1.8 KB (added by samful, 11 months ago)
  • wp-content/themes/twentytwenty/style.css

    diff --git wp-content/themes/twentytwenty/style.css wp-content/themes/twentytwenty/style.css
    index ad794b9..51dcb20 100755
    figure.wp-block-table.is-style-stripes { 
    35693569
    35703570/* Alignment Classes ------------------------- */
    35713571
    3572 .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
     3572.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide):not(.alignnone):not(.aligncenter) {
    35733573        max-width: 58rem;
    35743574        width: calc(100% - 4rem);
    35753575}
    35763576
     3577.entry-content figure.alignnone[style*="width"],
     3578.entry-content figure.aligncenter[style*="width"] {
     3579        max-width: calc(100% - 4rem);
     3580}
     3581
    35773582[class*="__inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    35783583        max-width: 58rem;
    35793584        width: 100%;
    a.to-the-top > * { 
    62886293
    62896294}
    62906295
     6296@media ( min-width: 620px ) {
     6297
     6298
     6299        /* Entry Content ------------------------- */
     6300
     6301        /* ALIGNMENT CLASSES */
     6302        body:not(.template-full-width) .entry-content figure.alignnone[style*="width"],
     6303        body:not(.template-full-width) .entry-content figure.aligncenter[style*="width"] {
     6304                max-width: 58rem;
     6305        }
     6306}
     6307
    62916308@media ( min-width: 1240px ) {
    62926309
    62936310
    a.to-the-top > * { 
    63916408                max-width: 25rem;
    63926409        }
    63936410
     6411        body:not(.template-full-width) .entry-content figure.alignnone[style*="width"],
     6412        body:not(.template-full-width) .entry-content figure.aligncenter[style*="width"] {
     6413            max-width: 120rem;
     6414        }
     6415
    63946416        /* Template: Full Width ------------------ */
    63956417
    63966418        body.template-full-width .alignfull:not(.has-background) > .wp-block-group__inner-container > p:not(.has-background-color) {