WordPress.org

Making WordPress.org

Changeset 4542


Ignore:
Timestamp:
12/16/2016 03:43:26 AM (5 years ago)
Author:
dd32
Message:

Login: Use the .small class in the registration form for more consistent sizing.

See #148

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

Legend:

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

    r4541 r4542  
    5353 */
    5454function wporg_login_replace_css() {
    55     wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161215e' );
     55    wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161215f' );
    5656}
    5757add_action( 'login_init', 'wporg_login_replace_css' );
     
    6969
    7070    wp_enqueue_style( 'wporg-normalize', get_template_directory_uri() . '/stylesheets/normalize.css', 3 );
    71     wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161215e' );
     71    wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161215f' );
    7272}
    7373add_action( 'wp_enqueue_scripts', 'wporg_login_scripts' );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register.php

    r4470 r4542  
    4646        <label for="user_login"><?php _e( 'Username', 'wporg-login' ); ?></label>
    4747        <input type="text" name="user_login" id="user_login" class="input <?php if ( $error_user_login ) echo 'error'; ?>" value="<?php echo esc_attr( $user_login ) ?>" size="20" maxlength="60" />
    48         <small><?php _e( 'Required, Only lower case letters (a-z) and numbers (0-9) are allowed.', 'wporg-login' ); ?></small>
     48        <span class="small"><?php _e( 'Required, Only lower case letters (a-z) and numbers (0-9) are allowed.', 'wporg-login' ); ?></span>
    4949    </p>
    5050    <?php
     
    5757        <label for="user_email"><?php _e( 'Email', 'wporg-login' ); ?></label>
    5858        <input type="email" name="user_email" id="user_email" class="input <?php if ( $error_user_email ) echo 'error'; ?>" value="<?php echo esc_attr( $user_email ) ?>" size="20" maxlength="100" />
    59         <small><?php _e( 'Required, Your password will be emailed here.', 'wporg-login' ); ?></small>
     59        <span class="small"><?php _e( 'Required, Your password will be emailed here.', 'wporg-login' ); ?></span>
    6060    </p>
    6161    <?php
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/stylesheets/login.css

    r4540 r4542  
    153153
    154154.small {
    155     font-size: 0.8em;
     155    font-size: 12px;
    156156    font-weight: normal;
    157157}
Note: See TracChangeset for help on using the changeset viewer.