MediaWiki:Gadget-Backtotop.css

来自康健生活

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
  • Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
.page-scroll-controls {
	position: fixed;
	right: 1px;
	bottom: 1.5rem;
	z-index: 100;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.page-scroll-button {
	border: 1px solid #a2a9b1;
	border-radius: 5px;
	background: #000000;
	color: #ffffff;
	font: inherit;
	cursor: pointer;
	box-shadow: 0 2px 6px rgb(0 0 0 / 18%);
	font-size: 12px;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-scroll-button:hover {
	background: #000000;
}

.page-scroll-button:focus-visible {
	outline: 2px solid #36c;
	outline-offset: 2px;
}

.page-scroll-button[hidden] {
	display: none;
}