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

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 and solocommand committed Nov 8, 2018
1 parent 6784165 commit 607b774
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/web/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 607b774

Please sign in to comment.