/for/*: Add ".small" version of why-page hero.

This adds a small version that has 130px less padding than the
original header.
This commit is contained in:
Brock Whittaker 2017-10-03 16:25:43 -07:00 committed by Tim Abbott
parent 057f9bafb0
commit 8d3ebd8b47
2 changed files with 5 additions and 1 deletions

View File

@ -1778,6 +1778,10 @@ nav ul li.active::after {
color: #fff; color: #fff;
} }
.portico-landing.why-page .hero.small-hero {
padding: 120px 50px 30px 50px;
}
.portico-landing.why-page .hero h1 { .portico-landing.why-page .hero h1 {
margin: 0px 0px 20px 0px; margin: 0px 0px 20px 0px;

View File

@ -19,7 +19,7 @@
{% include 'zerver/landing_nav.html' %} {% include 'zerver/landing_nav.html' %}
<div class="portico-landing why-page"> <div class="portico-landing why-page">
<div class="hero"> <div class="hero small-hero">
<h1 class="center">{% trans %}Privacy policy{% endtrans %}</h1> <h1 class="center">{% trans %}Privacy policy{% endtrans %}</h1>
</div> </div>
<div class="main"> <div class="main">