MediaWiki:Vector.css

来自个人维基
2022年9月5日 (一) 09:20的版本

跳转至: 导航搜索

注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。

  • 火狐(Firefox)/Safari:按住“Shift”,同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
  • Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
  • Internet Explorer:按住“Ctrl”,同时单击“刷新”,或按“Ctrl-F5”
  • Opera:在“工具→首选项”中清除缓存
input,
button,
select {
	font-size: 1rem;
}
 
#mw-page-base,
#mw-page-base-master {
	background: linear-gradient(#398, #f6f6f6 50%);
}
body.ns-12 #ca-talk,
body.ns-13 #ca-nstab-help {
	display: none;
}
#footer-places {
	display: none;
}
 
body.ns-14 #mw-subcategories,
body.ns-14 #mw-pages {
	clear: left;
}
body.ns-14 #mw-subcategories h3,
body.ns-14 #mw-pages h3 {
	font-size: .75rem;
	padding: 0;
	clear: left;
	float: left;
	transform: translate(0, 5px);
	line-height: 100%;
	border: .25rem solid transparent;
	border-right-width: .15rem;
	border-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyIiBoZWlnaHQ9IjIiPjxwYXRoIGZpbGw9IiNkZGQiIGQ9Ik0wLDBIMUwyLDEsMSwySDBaIi8+PC9zdmc+)
		0 1 0 0 fill / .5rem / .5rem;
}
body.ns-14 #mw-subcategories h3:empty,
body.ns-14 #mw-subcategories h3:-moz-only-whitespace,
body.ns-14 #mw-pages h3:empty,
body.ns-14 #mw-pages h3:-moz-only-whitespace {
	display: none;
}
body.ns-14 #mw-subcategories li,
body.ns-14 #mw-pages li {
	margin-left: 2rem;
}
 
#p-logo>a {
	background-size: 135px 135px;
}
 
@media screen and (max-width: 600px) {
	#searchform {
		display: none;
	}
}
#searchform input {
 font-size: .75rem;
}
#searchform input[type=submit] {
	background: linear-gradient(#f0f0f0, #e0e0e0);
	border-radius: 3px;
	border: 1px solid #c0c0c0;
	padding: 2px 5px;
}
#wpSave {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: linear-gradient(#4060ff, #3040ff);
	color: white;
	border-radius: 3px;
	border: 2px solid #1c2880;
}
#wpPreview,
#wpDiff {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: linear-gradient(#f0f0f0, #e0e0e0);
	color: black;
	border-radius: 3px;
	border: 2px solid #c0c0c0;
}
 
/* Template:BiliVideo */
.lnnblog-bilivideo {
	width: 48rem;
	height: 27rem;
}