Merge pull request #311 from fri-sch/fully_hide_avatar_scrolled

Fully remove the avatar image when scrolling down
This commit is contained in:
Michael Romero 2019-11-12 16:39:10 -08:00 committed by GitHub
commit 44d3bbe811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -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;
@ -220,6 +221,7 @@ img {
.navbar-custom.top-nav-short .avatar-container{
opacity: 0;
visibility: hidden;
}
.navbar-custom.top-nav-expanded .avatar-container {