mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-05-01 19:26:43 +02:00
Remove hover animation on profile image
This commit is contained in:
parent
519b8ad152
commit
824906fb64
1 changed files with 2 additions and 9 deletions
|
@ -14,14 +14,6 @@
|
|||
min-height: 700px;
|
||||
}
|
||||
|
||||
&:hover .profile .profileImage {
|
||||
transform: translate(4px, -4px);
|
||||
}
|
||||
|
||||
&:hover .profile .profileImageDummy {
|
||||
transform: translate(-3px, 3px);
|
||||
}
|
||||
|
||||
.profile {
|
||||
position: relative;
|
||||
left: 50%;
|
||||
|
@ -101,7 +93,6 @@
|
|||
background-color: #1c1c1c;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
transform: translate(0, 0);
|
||||
transition: transform .25s;
|
||||
}
|
||||
|
||||
|
@ -109,12 +100,14 @@
|
|||
z-index: 20;
|
||||
/*box-shadow: -5px 7px 10px -6px rgba(127,127,127,.4);*/
|
||||
box-shadow: -1px 11px 33px -10px #e5502b4b;
|
||||
transform: translate(4px, -4px);
|
||||
}
|
||||
|
||||
.profileImageDummy {
|
||||
z-index: 10;
|
||||
background: $accentColor;
|
||||
opacity: .2;
|
||||
transform: translate(-3px, 3px);
|
||||
/*box-shadow: 0 0 10px -10px var(--accent-color);
|
||||
background: transparent;*/
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue