mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-12 22:25:43 -04:00
scroll-to-top : onhover show change
This commit is contained in:
parent
96d11d0505
commit
01a575de59
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue