MediaWiki:Gadget-iwb.css

来自Minecraft Wiki
跳转到导航 跳转到搜索
其他语言中

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
  • Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → 选项),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
.iwb-download-btns {
	align-items: center;
	gap: .5em;
	display: flex;
	flex-direction: column;
}

.iwb-download-btns > a,
.iwb-download-btns > a:visited {
	padding: .5em 1em;
	font-weight: 600;
	text-decoration: none;
	font-size: 1.5em;
	background: #2d64c2;
	color: white;
}

.iwb-download-btns > a:before {
	content: '';
	display: inline-block;
	height: 34px;
	width: 30px;
	background-size: contain;
	position: absolute;
	background-repeat: no-repeat;
}

.iwb-download-btns a.iwb-dl-chrome::before {
  background-image: url('filepath://Chrome.svg');
}

.iwb-download-btns a.iwb-dl-chrome::after {
  content: "Chrome版";
}

.iwb-download-btns a.iwb-dl-edge::before {
  background-image: url('filepath://Edge.svg');
}

.iwb-download-btns a.iwb-dl-edge::after {
  content: "Edge版";
}

.iwb-download-btns a.iwb-dl-ff::before {
  background-image: url('filepath://Firefox.svg');
}

.iwb-download-btns a.iwb-dl-ff::after {
  content: "Firefox版";
}