Make WordPress Core

Changeset 61662


Ignore:
Timestamp:
02/17/2026 05:04:52 PM (6 weeks ago)
Author:
joedolson
Message:

Login and Registration: Update CSS for multisite user actions.

Update the front-end CSS used for multisite user activation and signup. Modify both styles to help prevent conflicts with existing theme styles and provide more consistent margins, paddings, widths, and font sizes.

Props joedolson, sabernhardt, rishabhwp, r1k0, johnjamesjacoby.
Fixes #63861.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-activate.php

    r61651 r61662  
    102102    ?>
    103103    <style>
    104         .wp-activate-container { width: 90%; margin: 0 auto; }
    105         .wp-activate-container form { margin-top: 2em; }
    106         #submit, #key { width: 100%; font-size: 24px; box-sizing: border-box; }
    107         #key { direction: ltr; }
    108         #language { margin-top: 0.5em; }
    109         .wp-activate-container .error { background: #f66; color: #333; }
    110         span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; }
     104        .wp-activate-container { width: 90%; margin: 0 auto; text-align: start; padding: 24px; box-sizing: border-box; }
     105        .wp-activate-container form { margin: 24px 0; }
     106        .wp-activate-container p { font-size: 18px; }
     107        #key, #submit { font-size: 24px; box-sizing: border-box; margin: 5px 0; }
     108        #key { width: 100%; direction: ltr; }
     109        #submit { width: auto; }
     110        span.h3 { font-weight: 600; }
    111111    </style>
    112112    <?php
  • trunk/src/wp-signup.php

    r61651 r61662  
    6565    ?>
    6666    <style>
    67         .mu_register { width: 90%; margin: 0 auto; }
    68         .mu_register form { margin-top: 2em; }
     67        .mu_register { width: 90%; margin: 0 auto; text-align: start; padding: 24px; box-sizing: border-box; }
     68        .mu_register p { font-size: 18px; }
     69        .mu_register form { margin: 24px 0; }
    6970        .mu_register fieldset,
    7071            .mu_register legend { margin: 0; padding: 0; border: none; }
Note: See TracChangeset for help on using the changeset viewer.