go-top-top button cleanup

This commit is contained in:
Aditya Telange 2021-01-11 21:01:50 +05:30
parent 7a0e1f369c
commit dd83560010
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 1 additions and 4 deletions

View File

@ -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
}

View File

@ -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>