Template:Chapters/WMde/Donate-appeal

/* Hide some stock page elements */ display: none; } /* Pitch */ height: 236px; background-image: url; background-position: top; background-repeat: no-repeat; background-color: #1e1e1e; border: 1px solid gray; border-bottom-width: 0; } width: 50%; font-size: 1.75em; line-height: 1.5em; color: white; margin-top: 16px; margin- : 24px; } width: 50%; font-size: 1em; line-height: 1.5em; color: white; margin-top: 16px; margin- : 24px; } /* Appeal */ background-color: #f3f3f3; border: 1px solid silver; border-right-width: 0; padding: 24px; padding-top: 16px; } font-size: 1.6em; line-height: 1.125em; padding-bottom: 0.5em; padding-top: 0.125em; } padding: 0.2em 0em; font-size: 1.125em; margin-bottom: 1em; } /* Donate */ width: 300px; background-color: #a9d9a3; border: 1px solid #5eac58; padding: 24px; padding-top: 16px; } font-size: 1.6em; line-height: 1.125em; padding-bottom: 0.5em; padding-top: 0.125em; border-color: #5eac58; } font-size: 1.25em; 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%; }  /* 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' ); }
 * 1) firstHeading, #contentSub, #siteSub {
 * 1) pitch {
 * 1) pitch-head {
 * 1) pitch-body {
 * 1) appeal {
 * 1) appeal-head {
 * 1) appeal-body {
 * 1) donate {
 * 1) donate-head {
 * 1) donate-body {