commit 9e154145ce6cb507819414457296a7c5cfe5c528 Author: hiro hiro@torproject.org Date: Wed Oct 14 15:15:49 2020 +0200
Update banner and eoy css --- assets/scss/_eoy.scss | 2 +- assets/static/css/bootstrap.css | 2 +- assets/static/css/images/home/png/tape-purple.png | Bin 9194 -> 2612 bytes assets/static/css/images/home/png/tape.png | Bin 6539 -> 2711 bytes templates/banner.html | 10 +++++----- 5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/assets/scss/_eoy.scss b/assets/scss/_eoy.scss index 03ec9cd..ee1baba 100644 --- a/assets/scss/_eoy.scss +++ b/assets/scss/_eoy.scss @@ -66,7 +66,7 @@ .rectangle { background-image: url('./images/home/png/tape.png'); color: black; - padding: 20px; + padding: 10px; font-size: 2em; font-family: "TerminalGrotesque", sans-serif; text-decoration: none; diff --git a/assets/static/css/bootstrap.css b/assets/static/css/bootstrap.css index 3298feb..9937846 100644 --- a/assets/static/css/bootstrap.css +++ b/assets/static/css/bootstrap.css @@ -8112,7 +8112,7 @@ a.side-nav.active { .rectangle { background-image: url("./images/home/png/tape.png"); color: black; - padding: 20px; + padding: 10px; font-size: 2em; font-family: "TerminalGrotesque", sans-serif; text-decoration: none; diff --git a/assets/static/css/images/home/png/tape-purple.png b/assets/static/css/images/home/png/tape-purple.png index 80621e9..567b7cb 100644 Binary files a/assets/static/css/images/home/png/tape-purple.png and b/assets/static/css/images/home/png/tape-purple.png differ diff --git a/assets/static/css/images/home/png/tape.png b/assets/static/css/images/home/png/tape.png index 9928930..ba36981 100644 Binary files a/assets/static/css/images/home/png/tape.png and b/assets/static/css/images/home/png/tape.png differ diff --git a/templates/banner.html b/templates/banner.html index 0eb65ca..ef6ff21 100644 --- a/templates/banner.html +++ b/templates/banner.html @@ -6,24 +6,24 @@ <div class="eoy-banner row col-md-12" id="banner-header" role="contentinfo"> <div class="col-lg-3 col-md-2"></div> <div class="col-lg-6 col-md-8"> - <div class="col-12 p-5 {{ locale.direction }}"> + <div class="col-12 p-2 {{ locale.direction }}"> <div class="row"> <h4 class="tracking-surveillan">{{ _('Use a Mask, Use Tor.') }}</h4><br> </div> <div class="row"> {% if locale.direction == 'text-right' %} - <div class="col-6 order-1"> + <div class="col-8 order-1"> {% else %} - <div class="col-6 order-0"> + <div class="col-8 order-0"> {% endif %} <h2 class="take-back-the-intern"> {{ _('Resist the surveillance pandemic.') }} </h2> </div> {% if locale.direction == 'text-right' %} - <div class="col-6 order-0"> + <div class="col-4 order-0"> {% else %} - <div class="col-6 order-1"> + <div class="col-4 order-1"> {% endif %} </div> </div>