Skip to content

Commit

Permalink
Outdent navigation, keep a full width main content area
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmaleigh committed Jul 2, 2016
1 parent ed284fe commit eb786c9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/guide_style_guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% include "includes/breadcrumb.html" %}

<div class="grid-row">
<div class="column-one-quarter">
<div class="column-one-quarter outdent-navigation">

<h2 class="heading-small">Layout</h2>
<ul class="list list-underline font-xsmall">
Expand Down Expand Up @@ -95,7 +95,7 @@ <h2 class="heading-small">Alpha and beta banners</h2>
</ul>

</div>
<div class="column-two-thirds">
<div class="column-full">
<h1 class="heading-xlarge no-top-margin">
<span class="heading-secondary">GOV.UK elements</span>
Front-end style guide
Expand Down
6 changes: 6 additions & 0 deletions public/sass/elements-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
}
}

.outdent-navigation {
@include media(tablet) {
margin-left: -25%;
}
}

// Increase spacing above headings
.heading-xlarge {
@include media(tablet) {
Expand Down
4 changes: 4 additions & 0 deletions public/sass/elements/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@
.column-two-thirds {
@include grid-column(2 / 3);
}

.column-full {
@include grid-column(1);
}

0 comments on commit eb786c9

Please sign in to comment.