Adapt signup form numbers to new Vector typography
authorS Page <spage@wikimedia.org>
Wed, 2 Apr 2014 23:25:22 +0000 (16:25 -0700)
committerMattflaschen <mflaschen@wikimedia.org>
Thu, 3 Apr 2014 00:32:07 +0000 (00:32 +0000)
The .mw-number-text CSS was less specific than Vector's typography
styling of 'div#content h3'.  Match Vector's serif font stack.

Bug: 63450
Change-Id: I23041c356ad4356dcf085479721cb950a89b33d0

resources/mediawiki.special/mediawiki.special.userlogin.signup.css

index 1564712..0998d4c 100644 (file)
@@ -36,13 +36,16 @@ div.mw-createacct-benefits-container h2 {
        background: url(images/icon-contributors.png) no-repeat left center;
 }
 
-/* Special font for numbers in benefits*/
-div.mw-number-text h3 {
+/*
+ * Special font for numbers in benefits, same as Vector's @content-heading-font-family.
+ * Needs an ID so that it's more specific than Vector's div#content h3.
+ */
+#bodyContent div.mw-number-text h3 {
        top: 0;
        margin: 0;
        padding: 0;
        color: #252525;
-       font-family: 'Georgia', serif;
+       font-family: "Linux Libertine", Georgia, Times, serif;
        font-weight: normal;
        font-size: 2.2em;
        line-height: 1.2;