Skip to content
Snippets Groups Projects
Commit 58c7eece authored by Chris Lawton's avatar Chris Lawton
Browse files

styling the standard page introduction text

parent f2986543
No related branches found
No related tags found
No related merge requests found
...@@ -9,16 +9,15 @@ ...@@ -9,16 +9,15 @@
{% include "navigation/breadcrumbs.html" %} {% include "navigation/breadcrumbs.html" %}
{% endblock %} {% endblock %}
<h1>{{ page.title }}</h1> {% if page.introduction %}
<h5>{{ page.introduction }}</h5> <h4 class="heading heading--introduction">{{ page.introduction }}</h4>
{% endif %}
{% include_block page.body %} {% include_block page.body %}
{% include "includes/share.html" %} {% include "includes/share.html" %}
</section> </section>
{% sidebar %} {% sidebar %}
</div> </div>
{% include "includes/relatedcontent.html" with related_pages=page.related_pages.all %} {% include "includes/relatedcontent.html" with related_pages=page.related_pages.all %}
......
.heading {
&--introduction {
padding: 0 0 2rem;
margin: 2rem 0;
font-weight: $weight--light;
border-bottom: 1px solid $color--mid-grey;
}
}
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
@import 'components/card'; @import 'components/card';
@import 'components/call-to-action'; @import 'components/call-to-action';
@import 'components/form'; @import 'components/form';
@import 'components/heading';
@import 'components/grid'; @import 'components/grid';
@import 'components/icon'; @import 'components/icon';
@import 'components/input'; @import 'components/input';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment