跳转到内容

MediaWiki:Vector-2022.css

维基百科,自由的百科全书
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/**
 * Styles here apply to Vector 2022 users
 * Note: [[MediaWiki:Common.css]] is loaded in addition to these styles
 * Please use [[Extension:TemplateStyles]] where possible.
 */

/* T281974#8869238 */
#mw-indicator-coordinates #coordinates {
	right: auto;
	position: relative;
	top: auto;
	line-height: 2;
	float: none;
	font-size: 92%;
}

.mw-indicators .mw-indicators {
	display: flex;
	column-gap: 10px;
}

/* 修复Vector 2022下首页问题 */
.skin-vector-2022 #mp-2012-banner {
	margin: auto !important;
}
@media screen and (min-width: 982px) {
	.skin-vector-2022 #mp-2012-banner {
		margin: auto !important;
	}
}

@media screen {
	html.skin-theme-clientpref-night .navbox a:not(.new):not(.mw-selflink):link,
	html.skin-theme-clientpref-night .infobox a:not(.new):not(.mw-selflink):link {
		color: var(--color-progressive) !important;
	}

	/* T370074 */
	html.skin-theme-clientpref-night .mw-parser-output > figure img {
		background: var(--background-color-disabled-fixed, #c8ccd1);
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .navbox a:not(.new):not(.mw-selflink):link,
	html.skin-theme-clientpref-os .infobox a:not(.new):not(.mw-selflink):link {
		color: var(--color-progressive) !important;
	}
	/* T370074 */
	html.skin-theme-clientpref-os .mw-parser-output > figure img {
		background: var(--background-color-disabled-fixed, #c8ccd1);
	}
}

/* T314254 */
.toc {
	display: table;
	padding: 7px;
}

.toccolours,
.toc {
	background-color: var(--background-color-neutral-subtle, #f8f9fa);
	border: 1px solid var(--border-color-base, #a2a9b1);
	padding: 5px;
	font-size: 95%;
}

table.toc {
	border-collapse: collapse;
}

table.toc td {
	padding: 0;
}

/* Don't display some stuff on the main page */
.action-view.page-Wikipedia_首页 #siteSub {
	display: none !important;
}