Skip to content

Commit

Permalink
Merge pull request eduardoboucas#311 from fri-sch/fully_hide_avatar_s…
Browse files Browse the repository at this point in the history
…crolled

Fully remove the avatar image when scrolling down
  • Loading branch information
halogenica authored Nov 13, 2019
2 parents ae37202 + 5ed88b6 commit 44d3bbe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,11 @@ img {

.navbar-custom .avatar-container {
opacity: 1;
visibility: visible;
position: absolute;
-webkit-transition: opacity 0.5s ease-in-out;
-moz-transition: opacity 0.5s ease-in-out;
transition: opacity 0.5s ease-in-out;
-webkit-transition: visibility 0.5s, opacity 0.5s ease-in-out;
-moz-transition: visibility 0.5s, opacity 0.5s ease-in-out;
transition: visibility 0.5s, opacity 0.5s ease-in-out;
left: 50%;
width: 50px;
margin-top: -25px;
Expand All @@ -220,6 +221,7 @@ img {

.navbar-custom.top-nav-short .avatar-container{
opacity: 0;
visibility: hidden;
}

.navbar-custom.top-nav-expanded .avatar-container {
Expand Down

0 comments on commit 44d3bbe

Please sign in to comment.