[tor-commits] [bridgedb] 34/66: Fix header placement and font size

gitolite role git at cupani.torproject.org
Wed Jul 27 18:32:39 UTC 2022


This is an automated email from the git hooks/post-receive script.

meskio pushed a commit to branch main
in repository bridgedb.

commit 64f8fa487cf6f8b8628191fcd12979fea2b80926
Author: kez <kez at torproject.org>
AuthorDate: Wed Jun 8 12:50:42 2022 -0700

    Fix header placement and font size
---
 frontend/content/bridges/contents.lr |  4 +---
 frontend/content/captcha/contents.lr |  4 +---
 frontend/content/contents.lr         |  4 +---
 frontend/content/howto/contents.lr   |  4 +---
 frontend/content/options/contents.lr |  4 +---
 frontend/templates/homepage.html     | 11 +++++++----
 6 files changed, 12 insertions(+), 19 deletions(-)

diff --git a/frontend/content/bridges/contents.lr b/frontend/content/bridges/contents.lr
index 3a7e3ff..e3b347e 100644
--- a/frontend/content/bridges/contents.lr
+++ b/frontend/content/bridges/contents.lr
@@ -1,4 +1,4 @@
-section: home
+section: Bridges
 ---
 section_id: home
 ---
@@ -8,8 +8,6 @@ _template: bridges.html
 ---
 title: BridgeDB
 ---
-subtitle: Bridges
----
 path_bar: Get Bridges!
 ---
 html: hero-bridge-lines.html
diff --git a/frontend/content/captcha/contents.lr b/frontend/content/captcha/contents.lr
index bcca9f0..2fcfada 100644
--- a/frontend/content/captcha/contents.lr
+++ b/frontend/content/captcha/contents.lr
@@ -1,4 +1,4 @@
-section: home
+section: Bridges
 ---
 section_id: home
 ---
@@ -8,8 +8,6 @@ _template: bridges.html
 ---
 title: BridgeDB
 ---
-subtitle: Bridges
----
 path_bar: Get Bridges!
 ---
 html: hero-captcha.html
diff --git a/frontend/content/contents.lr b/frontend/content/contents.lr
index 7fdf83e..dfdc73c 100644
--- a/frontend/content/contents.lr
+++ b/frontend/content/contents.lr
@@ -1,4 +1,4 @@
-section: home
+section: Bridges
 ---
 section_id: home
 ---
@@ -8,8 +8,6 @@ _template: jumbotron.html
 ---
 title: Get Bridges for Tor
 ---
-subtitle: Bridges
----
 html: home.html
 ---
 intro:
diff --git a/frontend/content/howto/contents.lr b/frontend/content/howto/contents.lr
index c8bd80c..e2f6785 100644
--- a/frontend/content/howto/contents.lr
+++ b/frontend/content/howto/contents.lr
@@ -1,4 +1,4 @@
-section: home
+section: Bridges
 ---
 section_id: home
 ---
@@ -8,8 +8,6 @@ _template: bridges.html
 ---
 title: BridgeDB
 ---
-subtitle: Bridges
----
 path_bar: Get Bridges!
 ---
 html: hero-howto.html
diff --git a/frontend/content/options/contents.lr b/frontend/content/options/contents.lr
index f5bf9fc..b7ed9ed 100644
--- a/frontend/content/options/contents.lr
+++ b/frontend/content/options/contents.lr
@@ -1,4 +1,4 @@
-section: home
+section: Bridges
 ---
 section_id: home
 ---
@@ -8,8 +8,6 @@ _template: options.html
 ---
 title: BridgeDB
 ---
-subtitle: Bridges
----
 path_bar: Get Bridges!
 ---
 html:
diff --git a/frontend/templates/homepage.html b/frontend/templates/homepage.html
index 090fa6b..291afe6 100644
--- a/frontend/templates/homepage.html
+++ b/frontend/templates/homepage.html
@@ -2,14 +2,17 @@
 <div class="page">
   <div class="container-fluid bg-primary">
     <div class="row flex-xl-nowrap {{ bag('alternatives', this.alt, 'order') }}">
-      <div class="container bg-primary py-5">
+      <div class="container bg-primary pt-5 mt-3">
         <div class="row">
-          <div class="col-12 content-center pt-5">
+          <div class="col-12 content-center">
             <div class="row">
-              <h6 class="mx-auto text-white pt-3">{{ this.subtitle }}</h6>
+              <h6 class="mx-auto text-white pt-3">{{ this.section }}</h6>
             </div>
             <div class="row">
-              <h2 class="mx-auto display-2 text-center text-white">{{ this.title }}</h2>
+              <h2 class="mx-auto display-3 text-center text-white">{{ this.title }}</h2>
+            </div>
+            <div class="row pb-5">
+                <h4 class="mx-auto text-white {% if not this.subtitle %}invisible" aria-hidden="true{% endif %}">{{ this.subtitle or 'This text is here for spacing' }}</h4>
             </div>
           </div>
         </div>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list