Thành viên:Trần Nguyễn Minh Huy/Donate-appeal
Giao diện
<html> <style type="text/css"> /* Hide some stock page elements */
- firstHeading, #contentSub, #siteSub {
display: none; } /* Pitch */
- pitch {
height: 82px;
}
- pitch-head {
width: 50%; font-size: 1.75em; line-height: 1.5em; color: white; margin-top: 16px; margin-</html>left<html>: 24px;
}
- pitch-body {
width: 50%; font-size: 1em; line-height: 1.5em; color: white; margin-top: 16px; margin-</html>left<html>: 24px;
} /* Appeal */
- appeal {
background-color: #f3f3f3; border: 1px solid silver; border-right-width: 0; padding: 24px; padding-top: 16px;
}
- appeal-head {
font-size: 1.5em; line-height: 1.125em; padding-bottom: 0.5em; padding-top: 0.125em;
}
- appeal-body {
padding: 0.2em 0em; font-size: 1.125em; margin-bottom: 1em;
} /* Donate */
- donate {
width: 300px; background-color: #a9d9a3; border: 1px solid #5eac58; padding: 24px; padding-top: 16px;
}
- donate-head {
font-size: 1.5em; line-height: 1.125em; padding-bottom: 0.5em; padding-top: 0.125em; border-color: #5eac58;
}
- donate-body {
font-size: 1.25em; margin-bottom: 1em;
}
.donate-body-small {
font-size: .75em; margin-bottom:1em;
}
/* Same button CSS from most of the notices */ .donate-button {
float: left; height: 30px; text-align: center; background-color: transparent; cursor: pointer;
} .donate-button-start {
float: left; background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/button-glossy.png); background-position: left top; width: 13px; height: 30px;
} .donate-button-end {
float: left; background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/button-glossy.png); background-position: right bottom; width: 13px; height: 30px;
} .donate-button-label {
float: left; background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/button-glossy.png); background-position: center center; background-repeat: repeat-x; font-family: sans-serif; font-size: 1em; font-weight: bold; color: white; line-height: 28px; height: 28px; white-space: nowrap;
} input.button-navyblue, select#input_currency_code {
font-size: 95%;
} </style> <script type="text/javascript"> /* Configuration */ var medium = 'jimmy_letter'; /* Functions */ // Sends user to the donation page function goToDonationPage() {
// Extracts the value of a given URL parameter from the current window location function get( name ) { var v = ( new RegExp( '[\\?\x26]' + name.replace( /\[|\]/g, '\\\$1' ) + '=([^\x26#]*)' ) ).exec( window.location.href ); return v == null ? : v[1]; } // Change the window's location using configuration and parameters window.location = 'http://wikimediafoundation.org/wiki/Support_Wikipedia2' + '?utm_medium=' + medium + '\x26utm_campaign=' + get( 'utm_campaign' ) + '\x26utm_source=' + get( 'utm_source' );
}
</script></html>
{{{appeal-title}}}{{{appeal-text}}}
|
{{{donate-now-title}}}{{{donate-now-content}}}
|