Fix spacing of first page headers

This commit customises the margins of the first header on each page so that it
lines up with the navigation.
This commit is contained in:
Chris Hill-Scott
2016-02-03 15:49:28 +00:00
parent 4280c21b23
commit 28f700366c
4 changed files with 16 additions and 7 deletions

View File

@@ -38,3 +38,11 @@ a:visited {
width: 5em;
}
}
.column-main {
> .heading-large {
margin-top: $gutter;
}
}

View File

@@ -8,9 +8,10 @@
{% endblock %}
{% block maincolumn_content %}
<form method="POST" enctype="multipart/form-data">
<h1 class="heading-large">Send text messages</h1>
<h1 class="heading-large">Send text messages</h1>
<form method="POST" enctype="multipart/form-data">
{% if templates %}
<fieldset class='form-group'>

View File

@@ -8,13 +8,13 @@ GOV.UK Notify | API keys and documentation
{% block maincolumn_content %}
<h1 class="heading-large">
Developer documentation
</h1>
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-large">
Developer documentation
</h1>
<h2 class="heading-medium">
How to integrate GOV.UK Notify into your service
</h2>

View File

@@ -5,7 +5,7 @@
<div class="column-one-third">
{% include "main_nav.html" %}
</div>
<div class="column-two-thirds">
<div class="column-two-thirds column-main">
{% include 'flash_messages.html' %}
{% block maincolumn_content %}{% endblock %}
</div>