diff --git a/static/styles/portico-signin.css b/static/styles/portico-signin.css index bea3aabfa20fef..62c936d847538b 100644 --- a/static/styles/portico-signin.css +++ b/static/styles/portico-signin.css @@ -30,10 +30,6 @@ html { margin: 10px; } -.footer { - padding: 20px 0px 10px 0px; -} - .white-box { position: relative; padding: 30px; @@ -146,10 +142,6 @@ html { margin-bottom: 0px; } -.header { - padding: 15px 0px 15px 0px; -} - .header, .header .stripes, .header .darker { diff --git a/static/styles/portico.css b/static/styles/portico.css index e5feec765f1feb..b6ccb3ab16731d 100644 --- a/static/styles/portico.css +++ b/static/styles/portico.css @@ -372,22 +372,32 @@ input.text-error { outline-color: red; } -.header, +.portico-container { + position: relative; +} + +.portico-wrap { + overflow: hidden; + min-height: 100vh; +} + .footer { position: absolute; + bottom: 0; z-index: 100; width: 100%; - background-color: #52c2af; -} - -.footer { background-color: transparent; + padding-top: 15px; } .footer .footer-navigation { margin-left: 0px; } +.header { + padding: 20px 0 15px; +} + .header-main .logo { display: block; text-decoration: none; @@ -569,6 +579,7 @@ a.bottom-signup-button { .portico-page { /* height of the white portico navbar */ min-height: calc(100% - 87px); + padding-bottom: 71px; } .signup-signature { diff --git a/templates/zerver/portico.html b/templates/zerver/portico.html index 0f5c057f97f1a0..a1ce6e35c15a66 100644 --- a/templates/zerver/portico.html +++ b/templates/zerver/portico.html @@ -11,50 +11,53 @@ {% endblock %} {% block content %} -
-
-
-
-
-
- {% if custom_logo_url %} - - {% else %} - - {% endif %} +
+
+
+
+
+
+
+
+ {% if custom_logo_url %} + + {% else %} + + {% endif %} +
+
+ +
- + {% include 'zerver/footer.html' %}
- -
-
- {% block portico_content %} - {% endblock %} -
-
- -{% include 'zerver/footer.html' %} {% endblock %} diff --git a/tools/travis/success-http-headers.txt b/tools/travis/success-http-headers.txt index 2d5e55ba4aa61e..66accf6be8a8ae 100644 --- a/tools/travis/success-http-headers.txt +++ b/tools/travis/success-http-headers.txt @@ -22,10 +22,10 @@ Reusing existing connection to localhost:443. HTTP/1.1 200 OK Server: nginx/1.4.6 (Ubuntu) Content-Type: text/html; charset=utf-8 - Content-Length: 6187 + Content-Length: 6543 Connection: keep-alive Strict-Transport-Security: max-age=15768000 -Length: 6187 (6.0K) [text/html] +Length: 6543 (6.0K) [text/html] Saving to: ‘/tmp/index.html’