[tor-commits] [webwml/staging] add icon to titles of other ways section

nima at torproject.org nima at torproject.org
Sat Dec 26 06:27:17 UTC 2015


commit 0b71608bdc194dfaa2084558e32e75b18d80f0bc
Author: MehrabKamrani <mk.zizou at gmail.com>
Date:   Sat Dec 26 02:46:08 2015 +0800

    add icon to titles of other ways section
---
 css/donate-style.css |   11 +++++++++++
 donate/en/donate.wml |   15 ++++++++++++---
 images/bank48.png    |  Bin 0 -> 1719 bytes
 images/bitcoin.png   |  Bin 0 -> 2000 bytes
 images/pantheon1.png |  Bin 0 -> 1464 bytes
 5 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/css/donate-style.css b/css/donate-style.css
index 0f5fdfd..cb6908e 100644
--- a/css/donate-style.css
+++ b/css/donate-style.css
@@ -262,6 +262,17 @@ blockquote footer{
     margin-bottom: -99999px;
     padding-bottom: 99999px;
 }
+.other-ways-title{
+	margin: 10px 0;
+}
+.other-ways-title > h3{
+	display: inline;
+}
+.other-ways-icon{
+	background: transparent;
+	margin-top: -10px;
+	margin-right: 5px;
+}
 .bitcoin{
 	padding-top: 10px;
 	padding-left: 30px;
diff --git a/donate/en/donate.wml b/donate/en/donate.wml
index 044764f..dc6081b 100644
--- a/donate/en/donate.wml
+++ b/donate/en/donate.wml
@@ -125,7 +125,10 @@
               <!-- BEGIN BITCOIN -->
               <div class="col-sm-6 bitcoin">
                 <a id="bitcoin"></a>
-                <h4><strong>Bitcoins</strong></h4>
+                <div class="other-ways-title">
+                  <img class="img-thumbnail other-ways-icon" src="../images/bitcoin.png" width="40" height="40">
+                  <h3><strong>Bitcoins</strong></h3>
+                </div>
                 <p>In order to comply with US 501(c)(3) non-profit regulations, our Bitcoin transaction limit is currently $10,000 USD per day.
                   If you wish to avoid transaction limits, please consider a direct Bitcoin donation to
                   <a href="https://www.torservers.net/donate.html#cryptocurrencies">Torservers.net</a>,
@@ -207,7 +210,10 @@
 
                 <!-- BEGIN CHECK -->
                 <a id="cash"></a>
-                <h4><strong>Check or Money Order</strong></h4>
+                <div class="other-ways-title">
+                  <img class="img-thumbnail other-ways-icon" src="../images/bank48.png" width="40" height="40">
+                  <h3><strong>Check or Money Order</strong></h3>
+                </div>
                 <p>You can send checks or money orders to:</p>
                 <p>The Tor Project, Inc<br>
                   7 Temple Street, Suite A<br>
@@ -217,7 +223,10 @@
 
                 <!-- BEGIN TRANSFER -->
                 <a id="eubanks"></a>
-                <h4 style="margin-top:20px;"><strong>European Bank Transfer</strong></h4>
+                <div style="margin-top:30px;" class="other-ways-title">
+                  <img class="img-thumbnail other-ways-icon" src="../images/pantheon1.png" width="40" height="40">
+                  <h3><strong>European Bank Transfer</strong></h3>
+                </div>
                 <p>For European bank transfers, we have an arrangement with
                   the Renewable Freedom Foundation to provide
                   <a href="http://www.solicitorsjournal.com/news/private-client/charities/gifts-foreign-charities-are-tax-deductible-ecj-rules">tax-deductible</a>
diff --git a/images/bank48.png b/images/bank48.png
new file mode 100644
index 0000000..b488403
Binary files /dev/null and b/images/bank48.png differ
diff --git a/images/bitcoin.png b/images/bitcoin.png
new file mode 100644
index 0000000..497e514
Binary files /dev/null and b/images/bitcoin.png differ
diff --git a/images/pantheon1.png b/images/pantheon1.png
new file mode 100644
index 0000000..361a233
Binary files /dev/null and b/images/pantheon1.png differ



More information about the tor-commits mailing list