Template:Styles/endowment.css: Difference between revisions

Content deleted Content added
No edit summary
ach should be supported
 
(9 intermediate revisions by the same user not shown)
Line 1:
/* To be used with addStyle parameter. Replaces WMF logo with Endowment logo. */
 
/* Replace WMF logo with Endowment logo. Size and !important needed for mobile. */
@media (-webkit-min-device-pixel-ratio: 2), not all, (min-resolution: 2dppx), (min-resolution: 192dpi) {
html body .mw-wiki-logo {
background-image: url(https:'//upload.wikimedia.org/wikipedia/donate/8/85/Wikimedia_Endowment_2x.png') !important;
background-size: 135px auto !important;
}
}
 
/* Only show Endowment supported payment methods */
@media (-webkit-min-device-pixel-ratio: 1.5), not all, (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
.payment-method-div {
html body .mw-wiki-logo {
display: none;
background-image: url(https://upload.wikimedia.org/wikipedia/donate/4/49/Wikimedia_Endowment_1.5x.png);
}
background-size: 135px auto;
.paymentmethod-cc,
}
.paymentmethod-pp,
.paymentmethod-applepay,
.paymentmethod-google,
.paymentmethod-venmo,
.paymentmethod-ach {
display: block;
}
 
.frequency-options {
html body .mw-wiki-logo {
display: none;
background-image: url(https://upload.wikimedia.org/wikipedia/donate/4/49/Wikimedia_Endowment.png);
}
 
.endowment-wtg a {
display: block;
text-align: center;
height: 50px;
line-height: 50px;
font-weight: 500;
}