跳转到内容

User:RSChiang/common.css

维基百科,自由的百科全书
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/* User style for Mandarin Wikipedia */

.page-Main_Page .number-of-articles a,
.page-Main_Page .mw-body-content #mp-2012-banner-intro .number-of-articles a {
	font-family: system-ui;
	letter-spacing: normal;
	font-variant-numeric: tabular-nums;
}

.page-Main_Page .mw-body-content #mp-2012-banner-logo {
	background: url("/media/wikipedia/commons/8/80/Wikipedia-logo-v2.svg") -118px 8px / 300px auto no-repeat !important;
}

/* Fix toolbar layout */
.vector-menu-content-list,
#left-navigation > nav {
	display: flex;
	align-items: center;
}

.vector-menu-content-list .mw-list-item,
.vector-page-toolbar-container .vector-dropdown {
	float: none;
}

.vector-dropdown-content .vector-menu-content-list {
	flex-direction: column;
	align-items: stretch;
}

/* Fix issues with Mandarin Wikipedia dark mode */
.mw-body-content #mp-2012-banner {
	/* white, #F3F8FB 50%, #E9F2F8 97.083%, #A8D7FC */
	background: linear-gradient(#00000000, #006aaa0c 50%, #0069ae16 97.083%, #008af657) !important;
}

@media (prefers-color-scheme: dark) {
	.skin-theme-clientpref-os .page-Main_Page .mw-parser-output :not(.notheme):not(a) {
	background: transparent !important;
	}
}