Merge remote-tracking branch 'arthuredelstein/18003'

This commit is contained in:
Sebastian Hahn 2016-01-31 07:52:14 +01:00
commit 37ab2496e8
7 changed files with 0 additions and 66 deletions

View File

@ -1310,36 +1310,3 @@ p.blogDate {
}
/* End hide from IE-mac */
#donation-banner {
display: block;
height: 200px;
margin: auto;
margin-bottom: 5px;
position: relative;
width: 700px;
}
#donation-banner > a {
display: block;
}
#donation-banner > img {
display: block;
}
#donate-button {
background-color: green;
border-radius: 5px;
bottom: 15px;
color: white;
font-family: sans-serif;
font-size: 20px;
padding: 14px 14px;
position: absolute;
right: 15px;
text-align: center;
}
#donate-button:hover {
filter: brightness(1.2);
}

View File

@ -2,41 +2,8 @@
# Revision: $Revision$
# Translation-Priority: 1-high
<!-- Donation banner for fundraising campaign. -->
<div id="donation-banner">
<a href="donate/donate-hpbanner.html.en">
<noscript>
<!-- We don't have JavaScript, so show our default champion. -->
<img id="donation-banner-image-noscript" src="images/homepage-banner-ss.jpg" />
</noscript>
<!-- Placeholder for the champion banner image that will be added
by JavaScript. -->
<img id="donation-banner-image"" />
</a>
<a href="donate/donate-hpbanner.html.en">
<div id="donate-button">Please Donate!</div>
</a>
</div>
#include "head.wmi" TITLE="Tor Project: Anonymity Online" CHARSET="UTF-8"
<!-- Script for populating the donation banner. -->
<script>
<!-- Show a different champion at random. -->
var alternates = ["cd", "lp", "rd", "rr", "ss"];
var altTexts = {
"cd" : '"Privacy and anonymity matter to all of us." -- Cory Doctorow, Novelist, Technology Activist, Co-Editor of Boing Boing',
"lp" : '"Edward Snowden would not have been able to contact me without Tor and other free software encryption projects. Tor is an essential tool, and it needs our support." -- Laura Poitras, Oscar-winning Documentary Filmmaker, Citizenfour',
"rd" : '"Please help the strongest privacy tool in the world become more sustainable!" -- Roger Dingledine, Founder, The Tor Project',
"rr" : '"The internet cannot heal itself in the face of tyrants. Tor is the salve that heals that wound; Tor is what allows us to route around Tyranny." -- Rabbi Rob Thomas, Director of The Tor Project',
"ss" : '"Tor is an essential part of the internet freedom infrastructure." -- Shari Steele, Executive Director of the Tor Project',
};
var alternate = alternates[Math.floor(Math.random() * alternates.length)];
var image = document.getElementById("donation-banner-image");
image.src = "images/homepage-banner-" + alternate + ".jpg";
image.alt = altTexts[alternate];
</script>
<div id="home">
<div id="content" class="clearfix">
<div id="maincol">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB