Skip to content
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.

Commit

Permalink
Update margin-top on header with no link to provide more space, this …
Browse files Browse the repository at this point in the history
…will look more like (padding + margin) on headers with links
  • Loading branch information
ehunter-usgs committed Sep 19, 2016
1 parent 86c0e12 commit f6424a3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/htdocs/css/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,21 @@
> header {
margin: calc($spacing * 3/4) $spacing;

/* leave a top margin of 0.5em */
> a {
margin: 0 -$spacing -calc($spacing * 3/4);
margin: -calc($spacing * 1/4) -$spacing -calc($spacing * 3/4);
}
}

> a {
font-size: 0.88em;
padding: calc($spacing * 2/3) calc($spacing * 1/0.88);
}

/* leave more space for first section header link */
&:first-child > header > a {
margin-top: 0;
}
}
}

Expand Down

0 comments on commit f6424a3

Please sign in to comment.