Changeset 4540
- Timestamp:
- 12/15/2016 07:54:20 AM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php
r4539 r4540 53 53 */ 54 54 function wporg_login_replace_css() { 55 wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161215 c' );55 wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161215d' ); 56 56 } 57 57 add_action( 'login_init', 'wporg_login_replace_css' ); … … 69 69 70 70 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' ), '20161215 c' );71 wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161215d' ); 72 72 } 73 73 add_action( 'wp_enqueue_scripts', 'wporg_login_scripts' ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/stylesheets/login.css
r4539 r4540 11 11 -webkit-align-items:center; 12 12 align-items:center; 13 } 14 15 /* Don't use Flex alignments for the registration pages, doesn't play nice with content that exceeds the window height */ 16 body.route-register, 17 body.route-register-profile, 18 body.route-register-confirm { 19 display: block; 20 margin-top: 100px; 13 21 } 14 22 … … 305 313 } 306 314 307 308 body.route-register,309 body.route-register-profile,310 body.route-register-confirm {311 padding-top: 105px;312 height: auto;313 }314 315 315 body.route-register input.input, 316 316 body.route-register-profile input.input, … … 384 384 } 385 385 386 /* Clearfix for the forms, allows for non-flex-mode #login div to stretch over the submit button */ 387 form:before, 388 form:after { 389 content: ""; 390 display: table; 391 border-collapse: collapse; 392 } 393 form:after { 394 clear: both; 395 } 396 form { 397 min-height: 0; /* clearfix IE7 support */ 398 } 399 386 400 @media (max-width:375px) { 387 401 body, html { … … 417 431 } 418 432 } 433 434 /* Disable flex display on smaller screens, as it cuts off the centered content */ 435 @media (max-height: 550px) { 436 body.login { 437 display: block; 438 margin-top: 100px; 439 } 440 }
Note: See TracChangeset
for help on using the changeset viewer.