注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
- 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 === */
/* Regional CJK font stacks; interface/content language determines the stack. */
html:lang(zh-cn) body,
html:lang(zh-hans) body,
:lang(zh-cn),
:lang(zh-hans) {
font-family: "Noto Sans CJK SC", "Source Han Sans SC", "PingFang SC",
"Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
}
html:lang(zh-tw) body,
:lang(zh-tw) {
font-family: "Noto Sans CJK TC", "Source Han Sans TC", "PingFang TC",
"Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
}
html:lang(zh-hk) body,
html:lang(zh-hant) body,
:lang(zh-hk),
:lang(zh-hant) {
font-family: "Noto Sans CJK HK", "Source Han Sans HC", "PingFang HK",
"Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
}
html:lang(ja) body,
:lang(ja) {
font-family: "Noto Sans CJK JP", "Source Han Sans JP",
"Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
html:lang(ko) body,
:lang(ko) {
font-family: "Noto Sans CJK KR", "Source Han Sans KR",
"Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-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;
}
}