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