MediaWiki:Gadget-ToTopButton.css

/* To Top Button by User:BrandonXLF on English Wikipedia */ /* Licensed under CC BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0/) /* /* Documentation: https://en.wikipedia.org/wiki/User:BrandonXLF/ToTopButton */ /* Source: https://en.wikipedia.org/wiki/User:BrandonXLF/ToTopButton.css */

.topButtonCircle { height: 3em; width: 3em; border-radius: 100%; box-shadow: 0.05em 0.2em 0.35em 0.05em #b8babd; background: #2273f7; position: fixed; right: 1em; bottom: 1em; display: none; z-index: 999999; cursor: pointer; }

.topButtonCircle:hover { background: #1369f4; }

.topButtonCircle > div { border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12.5px solid #fff; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }

.backtotop { display: none; }