mirror of
https://github.com/Damillora/Shian.git
synced 2024-11-25 10:47:32 +00:00
Damillora
2a23ca143f
BREAKING CHANGE: several styles are rewritten completely for performance reasons. please update accordingly.
31 lines
710 B
SCSS
31 lines
710 B
SCSS
.floating-yuriko {
|
|
position: fixed;
|
|
right: 1rem;
|
|
bottom: 1rem;
|
|
margin-bottom: 0px;
|
|
cursor: pointer;
|
|
&__image {
|
|
height: 20vh;
|
|
}
|
|
}
|
|
|
|
.hvr-float {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
-webkit-transform: perspective(1px) translateZ(0);
|
|
transform: perspective(1px) translateZ(0);
|
|
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
|
|
-webkit-transition-duration: 0.3s;
|
|
transition-duration: 0.3s;
|
|
-webkit-transition-property: transform;
|
|
transition-property: transform;
|
|
-webkit-transition-timing-function: ease-out;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
.hvr-float:hover,
|
|
.hvr-float:focus,
|
|
.hvr-float:active {
|
|
-webkit-transform: translateY(-8px);
|
|
transform: translateY(-8px);
|
|
}
|