Skip to content

Commit

Permalink
Merge pull request #12 from B77Mills/tempHeaderChanges
Browse files Browse the repository at this point in the history
add background on header overlay on scroll up
  • Loading branch information
B77Mills authored Jul 17, 2018
2 parents 3d53ad6 + 691cc35 commit 568dac8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/PageWrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ const PageWrapper = props => (
<style jsx global>{`
nav.fixed-top {
transition: top 0.1s ease-in-out;
transition: background-color 0.1s ease-in-out;
background-color: transparent;
}
.fixed-top.nav-down {
background-color: rgba(0,0,0,0.75);
}
.fixed-top.nav-up {
top: -71px;
}
Expand Down

0 comments on commit 568dac8

Please sign in to comment.