Remove unneeded h3s around Create Account links
authorkaldari <rkaldari@wikimedia.org>
Thu, 30 Jan 2014 01:36:41 +0000 (17:36 -0800)
committerkaldari <kaldari@gmail.com>
Fri, 31 Jan 2014 19:23:05 +0000 (11:23 -0800)
Also adjust related CSS styles

Bug: 60605
Change-Id: I87a16a8ee6d4968a0e2110c1ecdf0be9c99d8128

includes/templates/Userlogin.php
resources/mediawiki.special/mediawiki.special.userlogin.login.css

index e5d8a1c..8ed15c0 100644 (file)
@@ -160,11 +160,11 @@ class UserloginTemplate extends BaseTemplate {
                        <?php if ( $this->haveData( 'createOrLoginHref' ) ) { ?>
                                <?php if ( $this->data['loggedin'] ) { ?>
                                        <div id="mw-createaccount-another">
-                                               <h3 id="mw-userloginlink"><a href="<?php $this->text( 'createOrLoginHref' ); ?>" id="mw-createaccount-join" tabindex="7"  class="mw-ui-button"><?php $this->msg( 'userlogin-createanother' ); ?></a></h3>
+                                               <a href="<?php $this->text( 'createOrLoginHref' ); ?>" id="mw-createaccount-join" tabindex="7"  class="mw-ui-button"><?php $this->msg( 'userlogin-createanother' ); ?></a>
                                        </div>
                                <?php } else { ?>
                                        <div id="mw-createaccount-cta">
-                                               <h3 id="mw-userloginlink"><?php $this->msg( 'userlogin-noaccount' ); ?><a href="<?php $this->text( 'createOrLoginHref' ); ?>" id="mw-createaccount-join" tabindex="7"  class="mw-ui-button mw-ui-progressive"><?php $this->msg( 'userlogin-joinproject' ); ?></a></h3>
+                                               <?php $this->msg( 'userlogin-noaccount' ); ?><a href="<?php $this->text( 'createOrLoginHref' ); ?>" id="mw-createaccount-join" tabindex="7"  class="mw-ui-button mw-ui-progressive"><?php $this->msg( 'userlogin-joinproject' ); ?></a>
                                        </div>
                                <?php } ?>
                        <?php } ?>
index 85730f5..dc44c84 100644 (file)
@@ -5,19 +5,16 @@
        /* @embed */
        background: url(images/glyph-people-large.png) no-repeat 50%;
        margin: 0 auto;
+       padding-top: 4em;
 }
 
-#mw-createaccount-cta h3,
-#mw-createaccount-another h3 {
+#mw-createaccount-cta,
+#mw-createaccount-another {
        font-size: 0.9em;
        font-weight: normal;
        text-align: center;
 }
 
-#mw-createaccount-cta h3 {
-       padding-top: 4em;
-}
-
 #mw-createaccount-join {
        margin-left: 0.75em;
        /* Separate from background image */