欢迎来到奇葩栖息地!欢迎加入Discord服务器:XfrfHCzfbW欢迎加入QQ频道:r01m9y3iz6请先至特殊:参数设置验证邮箱后再进行编辑。特殊:参数设置挑选自己想要使用的小工具!不会编辑?请至这里学习Wikitext语法。

MediaWiki:Mobile.css:修订间差异

来自奇葩栖息地
添加的内容 删除的内容
无编辑摘要
(// Edit via InPageEdit)
 
(未显示2个用户的6个中间版本)
第1行: 第1行:
/* 这里放置的CSS将影响使用移动版网站的用户 */
/* 这里放置的CSS将影响使用移动版网站的用户 */
.header-container.header-chrome {
background-color: #55c3dc;
}
.mw-wiki-logo, .mw-wiki-logo.fallback {
.mw-wiki-logo, .mw-wiki-logo.fallback {
display: block;
display: block;
background-size: 100%;
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;
}

/* 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 */


#siteNotice,
.siteNoticeScroll {
#localNotice {
width: 100%;
height: 25px;
margin-bottom: 2px;
line-height: 25px;
text-align: center;
font-size: 95%;
overflow: hidden
margin: 0.5em auto 1.5em;
}
}


#localNotice p {
.siteNoticeScroll li {
height: 25px;
margin-left: 1em;
list-style: none;
margin-right: 1em;
text-align: center
}
}



2021年12月12日 (日) 05:55的最新版本

/* 这里放置的CSS将影响使用移动版网站的用户 */
.mw-wiki-logo, .mw-wiki-logo.fallback {
	display: block;
	background-size: 100%;
}

#siteNotice,
#localNotice {
    margin-bottom: 2px;
    text-align: center;
    font-size: 95%;
    margin: 0.5em auto 1.5em;
}

#localNotice p {
    margin-left: 1em;
    margin-right: 1em;
}

/* 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%;
}