... | ... |
@@ -1310,36 +1310,3 @@ p.blogDate { |
1310 | 1310 |
} |
1311 | 1311 |
/* End hide from IE-mac */ |
1312 | 1312 |
|
1313 |
-#donation-banner { |
|
1314 |
- display: block; |
|
1315 |
- height: 200px; |
|
1316 |
- margin: auto; |
|
1317 |
- margin-bottom: 5px; |
|
1318 |
- position: relative; |
|
1319 |
- width: 700px; |
|
1320 |
-} |
|
1321 |
- |
|
1322 |
-#donation-banner > a { |
|
1323 |
- display: block; |
|
1324 |
-} |
|
1325 |
- |
|
1326 |
-#donation-banner > img { |
|
1327 |
- display: block; |
|
1328 |
-} |
|
1329 |
- |
|
1330 |
-#donate-button { |
|
1331 |
- background-color: green; |
|
1332 |
- border-radius: 5px; |
|
1333 |
- bottom: 15px; |
|
1334 |
- color: white; |
|
1335 |
- font-family: sans-serif; |
|
1336 |
- font-size: 20px; |
|
1337 |
- padding: 14px 14px; |
|
1338 |
- position: absolute; |
|
1339 |
- right: 15px; |
|
1340 |
- text-align: center; |
|
1341 |
-} |
|
1342 |
- |
|
1343 |
-#donate-button:hover { |
|
1344 |
- filter: brightness(1.2); |
|
1345 |
-} |
... | ... |
@@ -2,41 +2,8 @@ |
2 | 2 |
# Revision: $Revision$ |
3 | 3 |
# Translation-Priority: 1-high |
4 | 4 |
|
5 |
-<!-- Donation banner for fundraising campaign. --> |
|
6 |
-<div id="donation-banner"> |
|
7 |
- <a href="donate/donate-hpbanner.html.en"> |
|
8 |
- <noscript> |
|
9 |
- <!-- We don't have JavaScript, so show our default champion. --> |
|
10 |
- <img id="donation-banner-image-noscript" src="images/homepage-banner-ss.jpg" /> |
|
11 |
- </noscript> |
|
12 |
- <!-- Placeholder for the champion banner image that will be added |
|
13 |
- by JavaScript. --> |
|
14 |
- <img id="donation-banner-image"" /> |
|
15 |
- </a> |
|
16 |
- <a href="donate/donate-hpbanner.html.en"> |
|
17 |
- <div id="donate-button">Please Donate!</div> |
|
18 |
- </a> |
|
19 |
-</div> |
|
20 |
- |
|
21 | 5 |
#include "head.wmi" TITLE="Tor Project: Anonymity Online" CHARSET="UTF-8" |
22 | 6 |
|
23 |
-<!-- Script for populating the donation banner. --> |
|
24 |
-<script> |
|
25 |
- <!-- Show a different champion at random. --> |
|
26 |
- var alternates = ["cd", "lp", "rd", "rr", "ss"]; |
|
27 |
- var altTexts = { |
|
28 |
- "cd" : '"Privacy and anonymity matter to all of us." -- Cory Doctorow, Novelist, Technology Activist, Co-Editor of Boing Boing', |
|
29 |
- "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', |
|
30 |
- "rd" : '"Please help the strongest privacy tool in the world become more sustainable!" -- Roger Dingledine, Founder, The Tor Project', |
|
31 |
- "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', |
|
32 |
- "ss" : '"Tor is an essential part of the internet freedom infrastructure." -- Shari Steele, Executive Director of the Tor Project', |
|
33 |
- }; |
|
34 |
- var alternate = alternates[Math.floor(Math.random() * alternates.length)]; |
|
35 |
- var image = document.getElementById("donation-banner-image"); |
|
36 |
- image.src = "images/homepage-banner-" + alternate + ".jpg"; |
|
37 |
- image.alt = altTexts[alternate]; |
|
38 |
-</script> |
|
39 |
- |
|
40 | 7 |
<div id="home"> |
41 | 8 |
<div id="content" class="clearfix"> |
42 | 9 |
<div id="maincol"> |