diff --git a/assets/scss/_tpo.scss b/assets/scss/_tpo.scss index 6e2e451..aabb7c1 100644 --- a/assets/scss/_tpo.scss +++ b/assets/scss/_tpo.scss @@ -44,6 +44,15 @@ footer .border{ border-bottom: 1px solid rgba(255,255,255,0.3) !important; } +.footer .onion-pattern { + direction: rtl; + max-height: 280px; +} + +.footer .download-section { + max-width: 36rem; +} + main{ padding-bottom: 5em; } @@ -54,14 +63,6 @@ main{ background-size: cover; } -.onion-bg{ - background: url("../images/circle-pattern.png"); - background-color: rgba(0, 0, 0, 0); - background-position-x: -85%; - background-repeat: no-repeat; - background-size: 65%; -} - .btn-shadow { box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.20000000298023224); opacity: 0.8; @@ -129,8 +130,11 @@ main{ font-size: 1.3rem; } .window-bg, - .onion-bg { - background: none; + .footer .onion-pattern { + display: none !important; + } + .footer .download-section { + margin: 3rem auto 0 !important; } .hero > p{ font-size: 2.5rem; diff --git a/templates/footer.html b/templates/footer.html index a73fa23..1aaf95b 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -6,22 +6,22 @@ {% if this.path != '/download' %} -
{{ _('Download Tor Browser to experience real private browsing without tracking, surveillance, or censorship.') }}
- {% set download = site.get('/download') %} - {% if download == None %} - - {% else %} - - {% endif %} - - {{ _("Download Tor Browser") }} - -{{ _('Download Tor Browser to experience real private browsing without tracking, surveillance, or censorship.') }}
+ {%- set download = site.get('/download') -%} + {% if download == None -%} + + {% else %} + + {% endif -%} + {{ _("Download Tor Browser") }} +