[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [webwml/staging] Change banner



commit 1ead898d41d94f142cad6082dc6e3136deba14e3
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Sat Nov 3 16:21:35 2018 +0100

    Change banner
---
 css/layout.css     | 13 +++++++++++++
 css/layout.min.css | 36 ++++++++++++++++++++++++++++++++++++
 en/banner.wmi      |  2 +-
 en/banner2.wmi     | 16 ++++++++++++++++
 en/index.wml       |  2 +-
 5 files changed, 67 insertions(+), 2 deletions(-)

diff --git a/css/layout.css b/css/layout.css
index 55ae4eae..5aac6576 100644
--- a/css/layout.css
+++ b/css/layout.css
@@ -1493,3 +1493,16 @@ p.blogDate {
 mark {
   background: cyan;
 }
+
+.eoy-background-2 {
+  background-color: #000000;
+  width: 100%;
+  height: 300px;
+	margin-bottom: 35px;
+}
+
+.eoy-message-2 {
+	width: 90%;
+	margin:auto;
+	padding:auto;
+}
diff --git a/css/layout.min.css b/css/layout.min.css
index f45df9d1..dfc549e4 100644
--- a/css/layout.min.css
+++ b/css/layout.min.css
@@ -93,8 +93,44 @@
   font-weight: 600;
   line-height: 17px;
   text-align: center;
+  text-decoration: none;
 }
 
 mark {
   background: cyan;
 }
+
+.eoy-background-2 {
+  background-color: #000000;
+  width: 100%;
+  height: 300px;
+	margin-bottom: 35px;
+  text-align: center;
+}
+
+.green {
+  color: green;
+}
+
+.white {
+  color: white;
+}
+
+.bggreen {
+  background-color: green;
+}
+
+.eoy-message-2 {
+	width: 90%;
+	margin:auto;
+	padding:auto;
+  text-align: center;
+}
+
+.align-center {
+  text-align: center;
+  width: 100%;
+  align-content: center;
+  font-size-adjust: 1;
+  line-height: 3em;
+}
diff --git a/en/banner.wmi b/en/banner.wmi
index bb914cc8..35c13e7c 100644
--- a/en/banner.wmi
+++ b/en/banner.wmi
@@ -4,7 +4,7 @@
     </div>
     <div class="eoy-message">
       <div class="tor-strength-in-num">
-        <p>Tor: strength in numbers</p>
+        <p>Tor: Strength in numbers</p>
       </div>
       <div class="keep-tor-strong-giv">
         <p class="advance-universal-hu">Advance universal <mark>human rights.</mark> Protect the <mark>privacy of millions.</mark> Your financial support will allow people around the world to be more <mark>safe online.</mark></p>
diff --git a/en/banner2.wmi b/en/banner2.wmi
new file mode 100644
index 00000000..3504994b
--- /dev/null
+++ b/en/banner2.wmi
@@ -0,0 +1,16 @@
+<div class="eoy-background-2 align-center">
+  <div class="eoy-wrap align-center">
+    <div class="eoy-message-2 align-center">
+      <div class="tor-strength-in-num green align-center">
+        <p>Tor: Strength in numbers</p>
+      </div>
+      <div class="keep-tor-strong-giv align-center">
+        <p class="advance-universal-hu white align-center">Keep Tor <mark class="bggreen">Strong</mark></p>
+        <span class="give-today-and-mozi white">Give today, and Mozilla will match your donation.</span>
+      </div>
+      <div class="eoy-btn-container align-center">
+        <a class="eoy-btn count-me-in bggreen" href="https://torproject.org/donate/donate-sin-hp1";>Donate now</a>
+      </div>
+    </div>
+  </div>
+</div>
diff --git a/en/index.wml b/en/index.wml
index 68003e49..f99eeed5 100644
--- a/en/index.wml
+++ b/en/index.wml
@@ -1,7 +1,7 @@
 ## translation metadata
 # Revision: $Revision$
 # Translation-Priority: 1-high
-#include "banner.wmi"
+#include "banner2.wmi"
 #include "head.wmi" TITLE="Tor Project | Privacy Online" CHARSET="UTF-8"
 <div id="home">
     <div id="content" class="clearfix">



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits