Template:Styles/endowment.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
ach should be supported
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
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;
background-size: 135px auto !important;
}

#appeal-wrapper {
padding-top: 80px;
}
}


Line 16: Line 12:
}
}
.paymentmethod-cc,
.paymentmethod-cc,
.paymentmethod-pp {
.paymentmethod-pp,
.paymentmethod-applepay,
.paymentmethod-google,
.paymentmethod-venmo,
.paymentmethod-ach {
display: block;
display: block;
}
}
Line 22: Line 22:
.frequency-options {
.frequency-options {
display: none;
display: none;
}

.endowment-wtg a {
display: block;
text-align: center;
height: 50px;
line-height: 50px;
font-weight: 500;
}
}

Latest revision as of 14:55, 22 March 2024

/* 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,
.paymentmethod-applepay,
.paymentmethod-google,
.paymentmethod-venmo,
.paymentmethod-ach {
    display: block;
}

.frequency-options {
    display: none;
}

.endowment-wtg a {
    display: block;
    text-align: center;
	height: 50px;
    line-height: 50px;
    font-weight: 500;
}