mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
go-top-top button cleanup
This commit is contained in:
parent
7a0e1f369c
commit
dd83560010
@ -28,7 +28,6 @@
|
||||
|
||||
.top-link {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
position: fixed;
|
||||
bottom: 60px;
|
||||
right: 30px;
|
||||
@ -38,8 +37,6 @@
|
||||
height: 42px;
|
||||
padding: 12px;
|
||||
border-radius: 64px;
|
||||
fill: currentColor;
|
||||
fill-opacity: 80%;
|
||||
transition: visibility .5s, opacity .8s linear
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
</footer>
|
||||
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)">
|
||||
<button class="top-link" id="top-link" type="button" accesskey="g">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
|
||||
<path d="M12 6H0l6-6z" />
|
||||
</svg>
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user