style: modified keep-style css
This commit is contained in:
parent
0b99f48e7d
commit
68838af9d0
|
@ -2,7 +2,10 @@ $keep-container-border-radius = 5px;
|
||||||
|
|
||||||
hover-style(isTransform, scaleX, scaleY) {
|
hover-style(isTransform, scaleX, scaleY) {
|
||||||
box-shadow: 2px 2px 5px var(--shadow-color);
|
box-shadow: 2px 2px 5px var(--shadow-color);
|
||||||
|
|
||||||
|
if (isTransform) {
|
||||||
transition-t("transform", "0", "0.2", "linear");
|
transition-t("transform", "0", "0.2", "linear");
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
if (hexo-config('style.hover.scale') && isTransform) {
|
if (hexo-config('style.hover.scale') && isTransform) {
|
||||||
|
|
Loading…
Reference in New Issue