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

[tor-commits] [webwml/staging] Fix font-size and line eight for banner



commit af8580b89aa2ccbd3042475ab9a16904e15cda8f
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Mon Nov 5 13:32:30 2018 +0100

    Fix font-size and line eight for banner
---
 css/layout.css     | 33 ++++++++++++++++++++++++++++-----
 css/layout.min.css |  4 ++--
 2 files changed, 30 insertions(+), 7 deletions(-)

diff --git a/css/layout.css b/css/layout.css
index 5aac6576..e15fcaf9 100644
--- a/css/layout.css
+++ b/css/layout.css
@@ -1399,7 +1399,7 @@ p.blogDate {
   background-color: #F8F9FA;
   width: 100%;
   height: 300px;
-	margin-bottom: 35px;
+  margin-bottom: 35px;
 }
 
 .eoy-wrap {
@@ -1417,7 +1417,7 @@ p.blogDate {
 }
 
 .eoy-message {
-	width: 55%;
+  width: 55%;
   float: right;
 	padding-left: 35px;
 }
@@ -1449,7 +1449,7 @@ p.blogDate {
   text-align: left;
 }
 
-.tor-strength-in-num > p.title {
+.tor-strength-in-num > p {
 	text-transform: uppercase;
 }
 
@@ -1477,8 +1477,8 @@ p.blogDate {
   width: 120px;
   height: 35px;
 	padding: 10px;
-	padding-left: 20px;
-	padding-right: 20px;
+  padding-left: 20px;
+  padding-right: 20px;
 }
 
 .count-me-in {
@@ -1488,6 +1488,7 @@ p.blogDate {
   font-weight: 600;
   line-height: 17px;
   text-align: center;
+  text-decoration: none;
 }
 
 mark {
@@ -1499,10 +1500,32 @@ mark {
   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: 0.7;
+  line-height: 1.5em;
 }
diff --git a/css/layout.min.css b/css/layout.min.css
index dfc549e4..70e710c9 100644
--- a/css/layout.min.css
+++ b/css/layout.min.css
@@ -131,6 +131,6 @@ mark {
   text-align: center;
   width: 100%;
   align-content: center;
-  font-size-adjust: 1;
-  line-height: 3em;
+  font-size-adjust: 0.7;
+  line-height: 1.5em;
 }

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