Template:Styles/endowment.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Undo revision 34552 by Pcoombe (talk)
Tag: Undo
No edit summary
Line 1: Line 1:
/* To be used with addStyle parameter. Replaces WMF logo with Endowment logo. */
/* To be used with addStyle parameter. */


/* Replace WMF logo with Endowment logo. Size and !important needed for mobile. */
html body .mw-wiki-logo {
html body .mw-wiki-logo {
background-image: url('//upload.wikimedia.org/wikipedia/donate/8/85/Wikimedia_Endowment_2x.png') !important;
background-image: url('//upload.wikimedia.org/wikipedia/donate/8/85/Wikimedia_Endowment_2x.png') !important;
background-size: 135px auto !important; /* Needed for mobile */
background-size: 135px auto !important;
}

/* Only show Endowment supported payment methods */
.payment-method-div {
display: none;
}
.paymentmethod-cc,
.paymentmethod-pp {
display: block;
}
}

Revision as of 13:25, 10 May 2019

/* To be used with addStyle parameter. */

/* Replace WMF logo with Endowment logo. Size and !important needed for mobile. */
html body .mw-wiki-logo {
    background-image: url('//upload.wikimedia.org/wikipedia/donate/8/85/Wikimedia_Endowment_2x.png') !important;
    background-size: 135px auto !important;
}

/* Only show Endowment supported payment methods */
.payment-method-div {
    display: none;
}
.paymentmethod-cc,
.paymentmethod-pp {
    display: block;
}