Making WordPress.org

Changeset 13144


Ignore:
Timestamp:
01/23/2024 10:35:20 PM (14 months ago)
Author:
coffee2code
Message:

Make home theme: Prevent 404 page message from exceeding container width.

Props kharisblank, coffee2code.
Fixes #6658.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/404.php

    r2225 r13144  
    77
    88        <h2 class="section-title"><?php _e( 'Not Found', 'make-wporg' ); ?></h2>
    9         <article style="width:100%">
     9        <article>
    1010            <p><?php _e( 'Are you looking to contribute to WordPress? Check out the <a href="//make.wordpress.org/">many ways to get involved</a>.', 'make-wporg' ); ?></p>
    1111        </article>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/style.css

    r12640 r13144  
    197197    -o-transition-property: background, box-shadow;
    198198    transition-property: background, box-shadow;
     199}
     200
     201.error404 section.get-involved article {
     202    box-sizing: border-box;
     203    width: calc( 100% - 20px );
    199204}
    200205
     
    299304        width: calc( 100% / 2 - 60px );
    300305    }
     306
     307    .error404 section.get-involved article {
     308        width: calc( 100% - 20px );
     309    }
    301310}
    302311
     
    328337    }
    329338
     339    .error404 section.get-involved article {
     340        width: calc( 100% - 20px );
     341    }
    330342}
    331343
Note: See TracChangeset for help on using the changeset viewer.