Template:2009/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 silver; } 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-top-width: 0; padding: 24px; padding-top: 16px; } font-size: 2em; line-height: 1.25em; padding-bottom: 0.5em; padding-top: 0.125em; } font-size: 1.125em; margin-bottom: 1em; } /* Same button CSS from most of the notices */ .donate-button { float: ; height: 28px; 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: 12px; height: 28px; } .donate-button-end { float: left; background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/button-glossy.png); background-position: right bottom; width: 12px; height: 28px; } .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; }  /* Configuration */ var medium = ' '; /* 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 var targets = String( ' ' ).split(','); var base = 'http://wikimediafoundation.org/wiki/'; var url = base + targets;
 * 1) firstHeading, #contentSub, #siteSub {
 * 1) pitch {
 * 1) pitch-head {
 * 1) pitch-body {
 * 1) appeal {
 * 1) appeal-head {
 * 1) appeal-body {

window.location = url + '?utm_medium=' + medium + '\x26utm_campaign=' + get( 'utm_campaign' ) + '\x26utm_source=' + get( 'utm_source' ); }



