MediaWiki:Gadget-scrollUpButton.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Up button: [[File:Scroll top.png]] */
html {
scroll-behavior: smooth;
}
.top-link {
transition: all .25s ease-in-out;
background: url(https://undermine.wiki.gg/images/8/8f/Scroll_top.png) no-repeat;
background-position: 0 -52px;
bottom: 0;
cursor: pointer;
height: 52px;
right: 0;
margin: 0 1.5rem 1.5rem 0;
position: fixed;
width: 52px;
z-index: 10000;
}
.top-link.show {
visibility: visible;
opacity: .5;
}
.top-link.show:hover {
opacity: 1;
}
.top-link.hide {
visibility: hidden;
opacity: 0;
}