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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
  • Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
/* === TYZX black curtain: BEGIN === */
.tyzx-black-curtain {
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	background-color: #000;
	color: #000;
	cursor: pointer;
	box-shadow: inset 0 0 0.08em #000;
	text-shadow: 0 0 0.35em #000;
	transition:
		color 220ms ease,
		background-color 220ms ease,
		box-shadow 220ms ease,
		text-shadow 220ms ease;
}

.tyzx-black-curtain:hover,
.tyzx-black-curtain:focus,
.tyzx-black-curtain:focus-visible,
.tyzx-black-curtain:active {
	background-color: #000;
	color: #fff;
	box-shadow: 0 0 0.2em rgba(0, 0, 0, 0.35);
	text-shadow: 0 0 0.12em rgba(255, 255, 255, 0.25);
}

.tyzx-black-curtain:focus-visible {
	outline: 2px solid var(--color-progressive, #36c);
	outline-offset: 2px;
}

.tyzx-black-curtain::selection {
	background-color: #000;
	color: #fff;
}

.tyzx-black-curtain::-moz-selection {
	background-color: #000;
	color: #fff;
}

@media (prefers-color-scheme: dark) {
	.tyzx-black-curtain:hover,
	.tyzx-black-curtain:focus,
	.tyzx-black-curtain:focus-visible,
	.tyzx-black-curtain:active,
	.tyzx-black-curtain::selection {
		background-color: #000;
		color: #fff;
		box-shadow: 0 0 0.25em rgba(255, 255, 255, 0.2);
		text-shadow: 0 0 0.12em rgba(255, 255, 255, 0.3);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tyzx-black-curtain {
		transition: none;
	}
}
/* === TYZX black curtain: END === */

/*
 * Use Wikipedia/Vector's typography independently of login state or UI
 * language.  Do not attach fonts to :lang(), because a user's interface
 * language is stored in account preferences while anonymous visitors use the
 * site default; doing so makes the same article change typeface after login.
 */
:root {
	--font-family-system-sans: -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, Lato, Helvetica, Arial, sans-serif;
	--font-family-serif: "Linux Libertine", Georgia, Times,
		"Source Serif Pro", serif;
}

html body,
button,
input,
select,
textarea {
	font-family: var(--font-family-system-sans);
}

.mw-body h1,
.mw-body-content h1,
.mw-body-content h2 {
	font-family: var(--font-family-serif);
}

/* Keep the existing create InputBox inside narrow article viewports. */
@media screen and (max-width: 720px) {
	.mw-parser-output .mw-inputbox-form .cdx-text-input,
	.mw-parser-output .mw-inputbox-form .mw-inputbox-createbox {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
}