Difference between revisions 23800 and 23801 on donatewiki

__NOTOC__ {{DISPLAYTITLE:{{{appeal-title|Donate}}} }}
<html>
<style type="text/css">
/* Hide some stock page elements */
#firstHeading, #contentSub, #siteSub {
display: none;
}
/* Pitch */
#pitch {
 height: 236px;
 background-image: url(</html>{{#ifeq:{{{dir}}}|rtl|<html>http://upload.wikimedia.org/wikipedia/foundation/9/9a/Jimmy_Appeal_2009-flipped.jpg</html>|<html>http://upload.wikimedia.org/wikipedia/foundation/d/dc/Jimmy_Appeal_2009.jpg</html>}}<html>);
 background-position: </html>{{#ifeq:{{{dir}}}|rtl|left|right}}<html> top;
 background-repeat: no-repeat;
 background-color: #1e1e1e;
 border: 1px solid gray;
 border-bottom-width: 0;
}
#pitch-head {
 width: 50%;
 font-size: 1.75em;
 line-height: 1.5em;
 color: white;
 margin-top: 16px;
 margin-</html>{{#ifeq:{{{dir}}}|rtl|right|left}}<html>: 24px;
}
#pitch-body {
 width: 50%;
 font-size: 1em;
 line-height: 1.5em;
 color: white;
 margin-top: 16px;
 margin-</html>{{#ifeq:{{{dir}}}|rtl|right|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>{{#ifeq:{{{masthead}}}|true|<div id="pitch">
 <div id="pitch-head">{{{picture-text}}}</div>
 <div id="pitch-body">{{{picture-text-attrib}}}</div>
</div>}}<table width="100%" cellspacing="0" cellpadding="0" border="0">
 <tr>
  <td id="appeal" valign="top">
   <h2 id="appeal-head">{{{appeal-title}}}</h2>
   <div id="appeal-body" class="plainlinks">{{{appeal-text}}}</div>
  </td>
  <td id="donate" valign="top">
    <h2 id="donate-head">{{{donate-now-title}}}</h2>
    <div id="donate-body">{{{donate-now-content}}}</div>
  </td>
 </tr>
</table>