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