Visually align headings inside grid rows

When the first heading on the page is inside a grid row, it doesn’t
vertically align properly with the navigation. This is because it
isn’t targeted by the selector that does this for pages without
an initial grid row.

This commit:
- adds an extra selector to target these headings
- makes the ‘add new thing’ buttons maintain their alignment with
  the page heading
This commit is contained in:
Chris Hill-Scott
2016-03-29 16:15:15 +01:00
parent 8a55e61dac
commit d537da330e
2 changed files with 9 additions and 1 deletions

View File

@@ -26,7 +26,7 @@
.align-with-heading {
display: block;
text-align: center;
margin-top: 45px;
margin-top: 35px;
padding-left: 2px;
padding-right: 2px;
}

View File

@@ -60,6 +60,14 @@ a {
margin-top: $gutter;
}
> .grid-row {
.heading-large {
margin-top: $gutter;
}
}
}
.highlight {