mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
scroll-to-top : onhover show change
This commit is contained in:
parent
96d11d0505
commit
01a575de59
@ -38,10 +38,15 @@
|
|||||||
width: 42px;
|
width: 42px;
|
||||||
height: 42px;
|
height: 42px;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
color: var(--primary);
|
color: var(--secondary);
|
||||||
border-radius: 64px;
|
border-radius: 64px;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
fill-opacity: 80%;
|
fill-opacity: 80%;
|
||||||
transition: visibility 0.5s,
|
transition: visibility 0.5s,
|
||||||
opacity 0.8s linear;
|
opacity 0.8s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-link:hover {
|
||||||
|
color: var(--primary);
|
||||||
|
background: var(--code-bg);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user