跳转到内容

MediaWiki:Mobile.css

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/* 这里放置的CSS将影响使用移动版网站的用户 */
.mw-wiki-logo, .mw-wiki-logo.fallback {
	display: block;
	background-size: 100%;
}
.pre-content:lang(zh) h1,
.content:lang(zh) h1,
.content:lang(zh) h2,
blockquote:lang(zh),
.pre-content:lang(zh-hans) h1,
.content:lang(zh-hans) h1,
.content:lang(zh-hans) h2,
blockquote:lang(zh-hans) {
	font-family: 'Linux Libertine', 'Georgia', 'Times', 'Noto Serif SC', serif;
}
.pre-content:lang(zh-hant) h1,
.content:lang(zh-hant) h1,
.content:lang(zh-hant) h2,
blockquote:lang(zh-hant) {
	font-family: 'Linux Libertine', 'Georgia', 'Times', 'Noto Serif TC', serif;
}
/* Element animator */
#siteNotice .animated > *:not(.animated-active),
#bodyContent .animated > *:not(.animated-active),
#bodyContent .animated > .animated-subframe > *:not(.animated-active) {
	display: none;
}
#bodyContent span.animated,
#bodyContent span.animated.animated-visible > *,
#bodyContent span.animated.animated-visible > .animated-subframe > * {
	display: inline-block;
}
#bodyContent div.animated.animated-visible > *,
#bodyContent div.animated.animated-visible > .animated-subframe > * {
	display: block;
}

/* From wjghj.cn under CC BY-NC-SA 4.0 */

.siteNoticeScroll {
  width: 100%;
  height: 25px;
  line-height: 25px;
  overflow: hidden
}

.siteNoticeScroll li {
  height: 25px;
  list-style: none;
  text-align: center
}

/* Turn a list into a tree view style (See [[.minecraft]]) */
.treeview {
	margin-top: 0.3em;
}

.treeview .treeview-header {
	padding-left: 3px;
	font-weight: bold;
}
.treeview .treeview-header:last-child {
	border-color: #636363 !important;
	border-left-style: dotted;
}
.treeview .treeview-header:not(:last-child)::before {
	content: none;
}
.treeview .treeview-header:last-child::before {
	border-bottom: 0;
}

.treeview ul,
.treeview li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
}

.treeview li li {
	position: relative;
	padding-left: 13px;
	margin-left: 7px;
	border-left: 1px solid #636363;
}
.treeview li li::before {
	content: "";
	position: absolute;
	top: 0;
	left: -1px;
	width: 11px;
	height: 11px;
	border-bottom: 1px solid #636363;
}

.treeview li li:last-child:not(.treeview-continue) {
	border-color: transparent;
}
.treeview li li:last-child:not(.treeview-continue)::before {
	border-left: 1px solid #636363;
	width: 10px;
}

.nbttree-inherited {
	background-color: #E6E6FA;
}

/* [[Template:Hatnote]] */
.dablink {
	padding-left: 0.5em;
}

/* remove useless white bar on the right sides of tables */
.content table.wikitable {
	width: fit-content !important;
	max-width: 100%;
}

/* Fix dumb default styling */
.content code,
.content pre {
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	color: black;
}
.content code {
	border-radius: 2px;
}
@media all and (max-width: 768px) {
	.gallerybox .thumb > div {
		margin: 15px !important;
		width: auto !important;
	}
}

.mw-parser-output .infobox .nowrap {
	white-space: normal !important;
}

/* Navbar styling when nested in infobox */
.infobox .navbar {
	font-size: 100%;
}
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。