Skip to content

Commit

Permalink
Merge pull request #761 from alphagov/govspeak-header-margins
Browse files Browse the repository at this point in the history
Change govspeak header margin styling.
  • Loading branch information
fofr committed Mar 30, 2016
2 parents da3179a + 5e75223 commit c2903a4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,23 @@
}
}
}

.stat-headline:first-child {
margin-top: $gutter;

@include media(tablet) {
margin-top: ($gutter * 2) + $gutter-two-thirds;
}
}

h2,
h3 {
margin-top: $gutter;

@include media(tablet) {
margin-top: ($gutter * 2) + $gutter-two-thirds;
}
}
}

.sticky-element {
Expand Down
8 changes: 7 additions & 1 deletion app/assets/stylesheets/govuk-component/_govspeak.scss
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,13 @@
}

.stat-headline {
margin-bottom: $gutter;
margin-bottom: $gutter-half;
margin-top: $gutter-half;

@include media(tablet) {
margin-bottom: $gutter-two-thirds;
margin-top: $gutter-two-thirds;
}

p {
@include bold-19;
Expand Down

0 comments on commit c2903a4

Please sign in to comment.