MediaWiki:Common.css:修订间差异

来自Age Of History 2 Chinese Wiki
跳转至:导航、​搜索
无编辑摘要
无编辑摘要
 
(未显示同一用户的18个中间版本)
第1行: 第1行:
/* 千禧年数据库风格CSS - 浅色主题 */
/* 这里放置的CSS将应用于所有皮肤 */
 
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-16px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-16px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");


/* ==== 基础变量 ==== */
:root {
:root {
    /* ==== 字体设置 ==== */
--link-color: #0645ad;
    --body-font: "VonwaonBitmap 16px", VT323, monospace;
--link-color-active: #faa700;
    --UI-font: "VonwaonBitmap 16px", VT323, monospace;
--custom-background-blue: #ccf;
    --title-font: "VonwaonBitmap 16px", "Noto Sans SC", VT323, monospace;
--custom-background-cyan: #cef;
    --mono-font: "VonwaonBitmap 16px", VT323, monospace;
--custom-background-green: #cfc;
     --base-font-size: 0.95rem;
--custom-background-gray: #d2d2d2;
--custom-background-grey: var(--custom-background-gray);
--custom-background-magenta: #fdf;
--custom-background-orange: #fdb;
--custom-background-purple: #ecf;
--custom-background-red: #fcc;
--custom-background-yellow: #ffc;
--custom-border-blue: #36e;
--custom-border-cyan: #9df;
--custom-border-green: #5d5;
--custom-border-gray: #bbb;
--custom-border-grey: var(--custom-border-gray);
--custom-border-magenta: #f9f;
--custom-border-orange: #f90;
--custom-border-purple: #96c;
--custom-border-red: #e44;
--custom-border-yellow: #fc3;
--custom-closed-topic-neutral: #eef;
--custom-closed-topic-no: #fee;
--custom-closed-topic-yes: #efe;
--custom-code-background: #f8f9fa;
--custom-load-page-button-color: #fff8;
--custom-main-page-background: #fcfcfc;
--custom-main-page-border: var(--custom-border-gray);
--custom-main-page-edition-subheader: #333;
--custom-mcwiki-header-color: #bcd4f5;
--custom-navbox-background: #fff;
--custom-navbox-top: #ccc;
--custom-navbox-middle: #ddd;
--custom-navbox-thru: #eee;
--custom-nbt-inherit-color: #e6e6fa;
--custom-table-background: #f8f9fa;
--custom-table-alternate-background: #f0f1f2;
--custom-table-choice-always: #003600;
--custom-table-choice-always-background: #80d080;
--custom-table-choice-default: #fff;
--custom-table-choice-in-off-background: #060;
--custom-table-choice-in-on-background: #0c0;
--custom-table-choice-na: #000;
--custom-table-choice-na-background: #fff;
--custom-table-choice-neutral: #634800;
--custom-table-choice-neutral-background: #ffeb9c;
--custom-table-choice-never: #3c0404;
--custom-table-choice-never-background: #ff8080;
--custom-table-choice-no: #840606;
--custom-table-choice-no-background: #ffc7ce;
--custom-table-choice-out-off-background: #900;
--custom-table-choice-out-on-background: #f00;
--custom-table-choice-partial: #665400;
--custom-table-choice-partial-background: #ffd;
--custom-table-choice-planned: #0131b7;
--custom-table-choice-planned-background: #dfdfff;
--custom-table-choice-rarely: #533400;
--custom-table-choice-rarely-background: #fdce5e;
--custom-table-choice-unknown: #222;
--custom-table-choice-unknown-background: #ccc;
--custom-table-choice-yes: #005600;
--custom-table-choice-yes-background: #c6efce;
--custom-table-header-background: #eaecf0;
--custom-topic-30-days: #bbb;
--custom-topic-7-days: #ddd;
}
--pixel-font-16: 'VonwaonBitmap 16px', monospace;
  --pixel-font-12: 'VonwaonBitmap 12px', monospace;
  --title-font: var(--pixel-font-16);
  --body-font: var(--pixel-font-16);
  --small-font: var(--pixel-font-12);
  --UI-font: var(--pixel-font-12);
 
  .notaninfobox {
position: relative;
clear: right;
margin: 0 0 1em 1em;
width: 350px;
font-size: 90%;
background-color: var(--custom-table-background);
float: right;
border: 1px solid var(--custom-border-gray);
padding: 2px;
overflow: auto;
z-index: 1;
overflow-wrap: anywhere;
}
@media all and (max-width: 511px) {
.notaninfobox {
float: none;
margin-left: 0;
width: auto;
}
}
@media all and (max-width: 337px) {
.notaninfobox {
margin-left: -16px;
margin-right: -16px;
border-left: none;
border-right: none;
}
}
 
.notaninfobox > .infobox-title {
font-weight: bold;
text-align: center;
font-size: 120%;
background-color: #BCD4F5;
}
.infobox-imagearea {
text-align: center;
padding: 4px;
}
.infobox-imagearea > div:not(:first-child) {
padding-top: 1em;
}
/* Horizontally centre animated images */
.infobox-imagearea .animated {
display: inline-flex;
align-items: center;
}
 
.notaninfobox .infobox-rows {
display: grid;
grid-template-columns: max-content 1fr;
gap: 1px;
}
.notaninfobox .infobox-rows .infobox-row {
display: contents;
}
 
.notaninfobox .infobox-row .infobox-row-label,
.notaninfobox .infobox-row .infobox-row-field {
padding: 4px;
}
 
.notaninfobox .infobox-row .infobox-row-label {
font-weight: bold;
display: flex;
align-items: center;
}
.community-updates {
  background: #fff0e6;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
}
.community-updates ul li {
  list-style: none;
  padding: 10px;
  background: #fff;
  margin: 5px 0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.community-updates ul li a {
  color: #337ab7;
  text-decoration: none;
  font-weight: bold;
}
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
background-color: var(--custom-table-alternate-background);
}
 
/* Infoboxes with tabber */
.tabber-container-infobox .tabber .tabbertab,
.tabber-container-infobox ul.tabbernav li a,
.tabber-container-infobox ul.tabbernav li.tabberactive a {
background: none;
border: none;
}
 
.tabber-container-infobox .tabber .tabbertab {
padding: 0;
}
 
.tabber-container-infobox ul.tabbernav {
font: inherit;
font-size: 100%;
}
 
.tabber-container-infobox ul.tabbernav li a:hover {
color: #000;
}
 
.tabber-container-infobox ul.tabbernav > li {
margin-bottom: 5px;
padding: 0;
}
.announcement-content span {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}
.mw-mainpage-header {
    background: linear-gradient(to bottom right, #B9A3FF, #8C47E7);
     box-shadow: grey 0px 0px 5px;
    border-radius: 20px;
    color: #000;
    font-size: 1.5em;
    text-shadow: white 0px 0px 10px, white 0px 0px 10px;
    padding: 20px;
    text-align: center;
}


    /* ===TYPEFACES=== */
.mw-mainpage-header h1 {
    --pixel-font: 'VT323', 'Press Start 2P', 'Silkscreen', 'Share Tech Mono', monospace;
     font-size: 2.5em;
     --body-font: var(--pixel-font), "Noto Sans SC", "Microsoft YaHei", "微软雅黑", monospace;
     margin-bottom: 10px;
     --UI-font: var(--pixel-font), "Noto Sans SC", "方体", "PingFang SC", "黑体", "Heiti SC", monospace;
}
    --title-font: var(--pixel-font);


    /* ===BASE FONT SIZE & LINE HEIGHT=== */
.mw-mainpage-header p {
     --min-font-size: 0.9rem;
     font-size: 1.2em;
     --max-font-size: 1rem;
     margin: 5px 0;
    --base-font-size: var(--max-font-size);
}
    --base-line-height: 1.4;
.tabber-container-infobox ul.tabbernav > li > a {
color: #595959;
padding-bottom: 1px;
display: block;
}


    /* ===CRT COLORS=== */
/* To prevent the tabs from jumping around when they become active or inactive
    --crt-bg-color: 0, 10, 20;
* due to the font-weight changing from normal to bold and vice versa, add an
    --crt-grid-color: 42, 57, 80;
* invisible ::before which contains the same text as the tab's text, but
    --crt-text-color: 176, 255, 188;
* bolded. This way the element in which unbolded text sits is sized according
    --crt-glow-color: 0, 255, 60;
* to the bolded text, preventing it from resizing upon being selected.
    --crt-terminal-green: 76, 255, 117;
*/
    --crt-terminal-blue: 62, 164, 255;
.tabber-container-infobox ul.tabbernav > li > a::before {
    --crt-terminal-amber: 255, 190, 56;
display: block;
    --crt-terminal-pink: 255, 109, 255;
content: attr(alt);
   
font-weight: bold;
    /* ===STANDARD THEME COLORS=== */
height: 0;
    --white-monochrome: 220, 255, 223;
color: transparent;
    --black-monochrome: 10, 20, 15;
overflow: hidden;
    --bright-accent: 0, 255, 60;
visibility: hidden;
    --medium-accent: 0, 215, 80;
}
    --dark-accent: 0, 165, 70;


    /* ===PRIMARY COLORS=== */
.tabber-container-infobox ul.tabbernav > li.tabberactive {
    --swatch-primary: var(--bright-accent);
border: none;
    --swatch-primary-darker: var(--medium-accent);
}
    --swatch-primary-darkest: var(--dark-accent);
    --swatch-border-color: var(--bright-accent);


    /* ===MENU COLORS=== */
.modulebox {
    --swatch-menutxt-dark-color: var(--black-monochrome);
  border: 1px solid #ccc;
    --swatch-menutxt-light-color: var(--white-monochrome);
  padding: 10px;
    --swatch-menutxt-general-color: var(--white-monochrome);
  margin: 10px 0;
  background-color: #f9f9f9;
}


    /* ===SECONDARY & TERTIARY COLORS=== */
.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
    --swatch-text-secondary-color: var(--swatch-menutxt-light-color);
font-weight: bold;
   
color: var(--link-color);
    /* ===SIDEBAR MEASUREMENTS=== */
border-bottom: 2px solid var(--custom-mcwiki-header-color);
    --sidebar-internal-border-thickness: 0.125rem;
}
}


/* ===全局CRT效果=== */
.infobox-rows p {
@keyframes flicker {
margin: 0;
    0% { opacity: 0.97; }
    5% { opacity: 0.95; }
    10% { opacity: 0.9; }
    15% { opacity: 0.95; }
    20% { opacity: 0.97; }
    25% { opacity: 0.95; }
    30% { opacity: 0.9; }
    35% { opacity: 0.95; }
    40% { opacity: 0.97; }
    45% { opacity: 0.95; }
    50% { opacity: 0.94; }
    55% { opacity: 0.95; }
    60% { opacity: 0.97; }
    65% { opacity: 0.95; }
    70% { opacity: 0.91; }
    75% { opacity: 0.95; }
    80% { opacity: 0.97; }
    85% { opacity: 0.95; }
    90% { opacity: 0.93; }
    95% { opacity: 0.95; }
    100% { opacity: 0.97; }
}
}


@keyframes scanlines {
/* Merge adjacent dls in the infobox, since they're usually supposed to be one,
    0% { transform: translateY(0); }
* but the wiki screws up sometimes.
    100% { transform: translateY(3px); }
*/
.infobox-rows dl + dl {
margin-top: -0.4em;
}
}


@keyframes noise {
.infobox-rows dl:last-child {
    0%, 100% { background-position: 0 0; }
margin-bottom: 0.2em;
    10% { background-position: -5% -10%; }
    20% { background-position: -15% 5%; }
    30% { background-position: 7% -25%; }
    40% { background-position: 20% 25%; }
    50% { background-position: -25% 10%; }
    60% { background-position: 15% 5%; }
    70% { background-position: 0% 15%; }
    80% { background-position: 25% 35%; }
    90% { background-position: -10% 10%; }
}
}


html {
.infobox-footer {
    font-size: 1em;
text-align: center;
    line-height: var(--base-line-height);
}
}


html,
/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
body {
table.navbox{
     margin: 0;
    border:1px solid #aaa;
     padding: 0;
    clear:both;
     background-color: rgb(var(--crt-bg-color));
    margin:auto;
     color: rgb(var(--crt-text-color));
    padding:1px;
     font-family: var(--body-font);
    text-align:center;
     letter-spacing: 0.05em;
    width:100%;
     overflow-x: hidden;
}
     perspective: 1000px;
table.navbox + table.navbox{
     margin-top:-1px;
}
.navbox-title,
.navbox-abovebelow,
table.navbox th{
     padding-left:1em;
     padding-right:1em;
    text-align:center;
}
.navbox-group{
    font-weight:700;
    white-space:nowrap;
}
.navbox,
.navbox-subgroup{
     background:none repeat scroll 0 0 var(--theme-card-background-color, #fdfdfd);
}
.navbox-list{
    border-color:#fdfdfd;
}
.navbox-title,
table.navbox th{
     background:none repeat scroll 0 0 #a5e4a5;
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title{
    background:none repeat scroll 0 0 #c0ecc0;
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow{
    background:none repeat scroll 0 0 #e6f6e6;
}
.navbox-even{
     background:none repeat scroll 0 0 #f5fcf5;
}
.navbox-odd{
    background:none repeat scroll 0 0 #fdfdfd;
}
.collapseButton {
    float: right;
     font-weight: 400;
     text-align: right;
    width: auto;
}
.navbox .collapseButton {
    width: 6em;
}
.navbar {
     position: relative;
     position: relative;
    min-height: 23px !important;
    margin-bottom: 0px !important;
    border: 1px solid transparent;
}
.navbox-title .Wikiplus-Edit-EveryWhereBtn {
display: none;
}
@media only screen and (max-width:759px){
.infotable {
    width: 90%;
    float: none;
    margin: 0 auto;
}
/*.navbox {*/
/* display:none;*/
/*}*/
/*“查·论·编”在小屏幕时基本用不到(也很难点到)*/
.navbox-title>div{
        display: none;
    }
    /*把内边距去掉*/
    .navbox-group,
    .navbox-group >div{
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
    }
}
/* h1标题字体 */
body h1 {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
}
/* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
/* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */
.heimu,
.heimu rt{
    --heimu-color:#252525;
    --heimu-text-color:#fff;
    --heimu-link-color:#add8e6;
    --heimu-visited-link-color:#c5cae9;
    --heimu-new-link-color:#fcc;
    --heimu-new-visited-link-color:#ef9a9a;
    --heimu-extiw-visited-link-color:#d1c4e9;
    background-color:var(--heimu-color);
}
.heimu,
.heimu a,
a .heimu,
a.new .heimu,
span.heimu a:visited,
span.heimu a.new,
span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited,
span.heimu a.mw-disambig,
span.heimu a.mw-redirect{
    transition:color 0.13s linear;
    color:var(--heimu-color);
    text-shadow:none;
}
span.heimu:hover,
span.heimu:active{
    color:var(--heimu-text-color);
}
span.heimu:hover a,
a:hover span.heimu{
    color:var(--heimu-link-color);
}
span.heimu:hover a:visited,
a:visited:hover span.heimu{
    color:var(--heimu-visited-link-color);
}
span.heimu:hover a.new,
a.new:hover span.heimu{
    color:var(--heimu-new-link-color);
}
span.heimu a.new:hover:visited,
a.new:hover:visited span.heimu{
    color:var(--heimu-new-visited-link-color);
}
span.heimu:hover a.extiw:visited,
a.extiw:visited:hover span.heimu{
    color:var(--heimu-extiw-visited-link-color);
}
[color-mode="dark"] .heimu,
[color-mode="dark"] .heimu rt{
    --heimu-color:#5e6272;
}
/*
该文档为一个hover特效库,由一些常用的效果以及GitHub上的开源项目“Hover.css”的一些部分构成。
请使用hovers在页面中进行载入。
*/
/* hover状态切换 */
.hover-change,
.hover-remote {
  position: relative;
  display: inline-block;
  transition: opacity 0.5s linear;
}
.hover-change-before,
.hover-change-after,
.hover-remote-target {
  transition: inherit;
}
.hover-change-after,
.hover-remote-target {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.hover-remote-target {
  left: 100%;
}
.hover-change-after[style^='right:'],
.hover-change-after[style*=' right:'],
.hover-remote-after[style^='right:'],
.hover-remote-after[style*=' right:'] {
  left: initial;
}
.hover-change-after[style^='bottom:'],
.hover-change-after[style*=' bottom:'],
.hover-remote-after[style^='bottom:'],
.hover-remote-after[style*=' bottom:'] {
  top: initial;
}
.hover-change-after:hover,
.hover-remote-target {
  opacity: 0;
  margin-left: -9999px;
}
/* 主要用于制作hover形式的标签页(tab)切换 */
.hover-tab-mode {
  position: relative;
  transition: none;
}
.hover-tab-mode .hover-remote {
  transition: inherit;
  position: static;
}
/* 闪烁效果 */
.hover-change.flash:hover .hover-change-before {
  margin-left: -9999px;
}
.hover-change:hover > .hover-change-before,
.hover-remote > .hover-remote-target,
.hover-change:hover > a > .hover-change-before,
.hover-remote > a > .hover-remote-target {
  opacity: 0;
}
.hover-change:hover > .hover-change-after,
.hover-remote:hover > .hover-remote-target,
.hover-change:hover > a > .hover-change-after,
.hover-remote:hover > a > .hover-remote-target {
  opacity: 1;
  margin-left: initial;
}
/* 基类 */
[class*='hovers-'] {
  display: inline-block;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  transform: perspective(1px) translateZ(0);
  vertical-align: middle;
  transition-duration: 0.25s;
  transition-property: all;
}
/* 旋转放大 */
.hovers-rotate-shrink {
  transition-duration: 0.5s;
  transform: rotate(0) scale(0.75);
}
.hovers-rotate-shrink:hover {
  transform: rotate(360deg) scale(1);
}
.hovers-rotate-shrink-reverse {
  transition-duration: 0.5s;
  transform: rotate(360deg) scale(0.75);
}
.hovers-rotate-shrink-reverse:hover {
  transform: rotate(0) scale(1);
}
/* 旋转 */
.hovers-rotate,
.hovers-rotate-reverse:hover {
  transition-duration: 0.5s;
  transform: rotate(0);
}
.hovers-rotate-reverse,
.hovers-rotate:hover {
  transition-duration: 0.5s;
  transform: rotate(360deg);
}
/* 正常 => 浅 */
.hovers-fade-deep,
.hovers-fade,
.hovers-fade-shallow {
  opacity: 1;
}
.hovers-fade-deep:hover,
.hovers-fade-deep.active {
  opacity: 0.35;
}
.hovers-fade:hover,
.hovers-fade.active {
  opacity: 0.5;
}
.hovers-fade-shallow:hover,
.hovers-fade-shallow.active {
  opacity: 0.75;
}
/* 浅 => 正常 */
.hovers-bloom-deep {
  opacity: 0.35;
}
.hovers-bloom {
  opacity: 0.5;
}
.hovers-bloom-shallow {
  opacity: 0.75;
}
.hovers-bloom-deep:hover,
.hovers-bloom-deep.active,
.hovers-bloom:hover,
.hovers-bloom.active,
.hovers-bloom-shallow:hover,
.hovers-bloom-shallow.active {
  opacity: 1;
}
/* 正常 => 大 */
.hovers-grow-deep,
.hovers-grow,
.hovers-grow-shallow {
  transform: scale(1);
}
.hovers-grow-deep:hover,
.hovers-grow-deep.active {
  transform: scale(1.5);
}
.hovers-grow:hover,
.hovers-grow.active {
  transform: scale(1.25);
}
.hovers-grow-shallow:hover,
.hovers-grow-shallow.active {
  transform: scale(1.1);
}
/* 正常 => 小 */
.hovers-shrink-deep:hover,
.hovers-shrink-deep.active,
.hovers-shrink:hover,
.hovers-shrink.active,
.hovers-shrink-shallow:hover,
.hovers-shrink-shallow.active {
  transform: scale(1);
}
.hovers-shrink-deep {
  transform: scale(0.5);
}
.hovers-shrink {
  transform: scale(0.75);
}
.hovers-shrink-shallow {
  transform: scale(0.9);
}
/* 左右抖动 */
@keyframes shake-flexible {
  25% {
    transform: translateX(-0.0625em);
  }
  50% {
    transform: translateX(0.0625em);
  }
  75% {
    transform: translateX(-0.0625em);
  }
}
.hovers-shake-flexible:hover,
.hovers-shake-flexible.active {
  animation: shake-flexible 0.5s ease-out;
}
@keyframes shake {
  25% {
    transform: translateX(-8px);
  }
  50% {
    transform: translateX(8px);
  }
  75% {
    transform: translateX(-8px);
  }
}
.hovers-shake:hover,
.hovers-shake.active {
  animation: shake 0.5s ease-out;
}
/* 上下抖动 */
@keyframes bounce-flexible {
  25% {
    transform: translateY(-0.0625em);
  }
  50% {
    transform: translateY(0.0625em);
  }
  75% {
    transform: translateY(-0.0625em);
  }
}
.hovers-bounce-flexible:hover,
.hovers-bounce-flexible.active {
  animation: bounce-flexible 0.5s ease-out;
}
@keyframes bounce {
  25% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
  75% {
    transform: translateY(-8px);
  }
}
.hovers-bounce:hover,
.hovers-bounce.active {
  position: relative;
  left: 0;
  animation: bounce 0.5s ease-out;
}
/* 绕顶端中点抖动 */
@keyframes swing {
  20% {
    transform: rotate3d(0, 0, 1, 10deg);
  }
  40% {
    transform: rotate3d(0, 0, 1, -10deg);
  }
  60% {
    transform: rotate3d(0, 0, 1, 5deg);
  }
  80% {
    transform: rotate3d(0, 0, 1, -5deg);
  }
  to {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
.hovers-swing {
  transform-origin: top center;
}
.hovers-swing:hover,
.hovers-swing.active {
  animation: swing 0.75s ease-out;
}
/* 正常 => 大 */
@keyframes pulse-grow {
  to {
    transform: scale(1.1);
  }
}
.hovers-pulse-grow:hover,
.hovers-pulse-grow.active {
  animation: pulse-grow 0.5s linear infinite alternate;
}
/* 正常 => 小 */
@keyframes pulse-shrink {
  to {
    transform: scale(0.9);
  }
}
.hovers-pulse-shrink:hover,
.hovers-pulse-shrink.active {
  animation: pulse-shrink 0.5s linear infinite alternate;
}
/* 正常 => 小 */
@keyframes push {
  50% {
    transform: scale(0.8);
  }
}
.hovers-push:hover,
.hovers-push.active {
  animation: push 0.3s linear;
}
/* 正常 => 大 */
@keyframes pop {
  50% {
    transform: scale(1.2);
  }
}
.hovers-pop:hover,
.hovers-pop.active {
  animation: pop 0.3s linear;
}
/* 正常 => 大 => 正常 => 大 */
.hovers-bounce-in:hover,
.hovers-bounce-in.active {
  transform: scale(1.2);
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
/* 正常 => 小 => 正常 => 小 */
.hovers-bounce-out:hover,
.hovers-bounce-out.active {
  transform: scale(0.8);
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
/* 倾斜 */
.hovers-tilt:hover,
.hovers-tilt.active {
  transition-duration: 0.3s;
  transform: rotate(4deg);
}
/* 倾斜 + 放大 */
.hovers-grow-rotate:hover,
.hovers-grow-rotate.active {
  transition-duration: 0.3s;
  transform: scale(1.1) rotate(4deg);
}
}


/* CRT屏幕效果 */
/* 升起 */
body::before {
.hovers-float:hover,
    content: "";
.hovers-float.active {
    position: fixed;
  transition-duration: 0.3s;
    top: 0;
  transition-timing-function: ease-out;
    left: 0;
  transform: translateY(-8px);
    width: 100%;
    height: 100%;
    background:  
        linear-gradient(rgba(var(--crt-bg-color), 0.1) 50%, rgba(var(--crt-bg-color), 0.2) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.03));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 10000;
    animation: scanlines 0.5s linear infinite;
    opacity: 0.4;
}
}


/* 噪点效果 */
/* 下沉 */
body::after {
.hovers-sink:hover,
    content: "";
.hovers-sink.active {
    position: fixed;
  transition-duration: 0.3s;
    top: 0;
  transition-timing-function: ease-out;
    left: 0;
  transform: translateY(8px);
    width: 100%;
    height: 100%;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAh1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3YishAAAALXRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtMaffUTIAAAGDSURBVFjD7dfbcoIwFIXhFRAVDyh4Vu3Rc9vl/R+wD+IDQNO9k+ma4b8DzJeEQEIAjnx+UMwN+CDa/bKLY0TIZOevjBiRMVtgJIoRsVxgREwRfflMYBSfEdl8HiJ4F4zhuWA8HYzxTDA+FUyHCJZgpVPB5FgwFYzNBSO1YlwbzHSCcYEBHwaTXDCDCQaXghmQVlYw5JOYUNvj8YPW3gFm/PyatYBpF7/SLbDxw5tUMGrcpAXWfnijC+Z6yCfBkC93lQXGfvhT+ILJ5fuNLDAJRJhpl5+GeZVfsRJM/PCJfi2Y5F5GVjCA2V+C4QO8GgzuBTO8FgxyL5jdW0CY6etgqOkF88i8YNa9YBKIRd8xJ39wRCKYeEB+Ee6CAffIbDCF5wHA4YJhnkHEYMhnMRmMz/kY/Q5GR4Ix6W9gRDAuGCMYEYwLxgQjgtkcGXWEIZ/FaGJE8pDNYjwyCgkzjlG/4LE/bWZa44aRCLxQB5cWX6rDHnspZOKUbpHJE3rMH1eH7NxUJOWUAAAAAElFTkSuQmCC");
    background-size: 300px 300px;
    pointer-events: none;
    opacity: 0.02;
    z-index: 10001;
    animation: noise 0.2s steps(1) infinite;
}
}


/* CRT屏幕弯曲效果 */
/* 飘浮 */
#mw-content-text {
@keyframes bob {
     position: relative;
  0% {
    border-radius: 15px;
     transform: translateY(-10px);
    overflow: hidden;
  }
     box-shadow:  
  50% {
        0 0 10px rgba(var(--crt-glow-color), 0.2),
     transform: translateY(-5px);
        0 0 20px rgba(var(--crt-glow-color), 0.1),
  }
        0 0 30px rgba(var(--crt-glow-color), 0.05),
  100% {
        inset 0 0 15px rgba(var(--crt-glow-color), 0.1);
    transform: translateY(-10px);
    animation: flicker 8s infinite linear;
  }
    background: linear-gradient(
}
        to bottom,
@keyframes bob-float {
        rgba(var(--crt-bg-color), 0.7) 0%,
  100% {
        rgba(var(--crt-bg-color), 0.3) 50%,
     transform: translateY(-10px);
        rgba(var(--crt-bg-color), 0.7) 100%
  }
    );
     transform-style: preserve-3d;
}
}


#mw-content-text::before {
.hovers-bob:hover,
    content: "";
.hovers-bob.active {
    position: absolute;
  animation-name: bob-float, bob;
    top: 0;
  animation-duration: 0.3s, 1.5s;
    left: 0;
  animation-delay: 0s, 0.3s;
    right: 0;
  animation-timing-function: ease-out, ease-in-out;
    bottom: 0;
  animation-iteration-count: 1, infinite;
    background:  
  animation-fill-mode: forwards;
        repeating-linear-gradient(
  animation-direction: normal, alternate;
            0deg,
            rgba(var(--crt-grid-color), 0.07) 0,
            rgba(var(--crt-grid-color), 0.07) 1px,
            rgba(var(--crt-grid-color), 0) 1px,
            rgba(var(--crt-grid-color), 0) 2px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(var(--crt-grid-color), 0.07) 0,
            rgba(var(--crt-grid-color), 0.07) 1px,
            rgba(var(--crt-grid-color), 0) 1px,
            rgba(var(--crt-grid-color), 0) 2px
        );
    background-size: 2px 2px;
    pointer-events: none;
    z-index: 1;
}
}


/* CRT文字发光效果 */
/* 悬挂 */
h1, h2, h3, h4, h5, h6, .mw-headline, .side-block .heading p {
@keyframes hang {
     font-family: var(--title-font);
  0% {
     color: rgb(var(--crt-terminal-green));
     transform: translateY(10px);
     text-shadow:  
  }
        0 0 5px rgba(var(--crt-glow-color), 0.7),
  50% {
        0 0 10px rgba(var(--crt-glow-color), 0.5),
     transform: translateY(5px);
        0 0 15px rgba(var(--crt-glow-color), 0.3),
  }
        0 0 20px rgba(var(--crt-glow-color), 0.2);
  100% {
     letter-spacing: 0.1em;
     transform: translateY(10px);
    font-weight: normal;
  }
}
@keyframes hang-sink {
  100% {
     transform: translateY(10px);
  }
}
}


/* 链接样式 */
.hovers-hang:hover,
a {
.hovers-hang.active {
    color: rgb(var(--crt-terminal-blue));
  animation-name: hang-sink, hang;
    text-decoration: none;
  animation-duration: 0.3s, 1.5s;
    position: relative;
  animation-delay: 0s, 0.3s;
    transition: all 0.2s ease;
  animation-timing-function: ease-out, ease-in-out;
    text-shadow: 0 0 5px rgba(var(--crt-terminal-blue), 0.5);
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards;
  animation-direction: normal, alternate;
}
}


a:hover {
/* 非对称 */
    color: rgb(var(--crt-terminal-amber));
.hovers-skew:hover,
    text-shadow:  
.hovers-skew.active {
        0 0 5px rgba(var(--crt-terminal-amber), 0.7),
  transform: skew(-10deg);
        0 0 10px rgba(var(--crt-terminal-amber), 0.5);
}
}


a:active, a:focus {
/* 非对称-左 */
    color: rgb(var(--crt-terminal-pink));
.hovers-skew-forward {
    text-shadow:  
  transform-origin: 0 100%;
        0 0 5px rgba(var(--crt-terminal-pink), 0.7),
}
        0 0 10px rgba(var(--crt-terminal-pink), 0.5);
.hovers-skew-forward:hover,
.hovers-skew-forward.active {
  transform: skew(-10deg);
}
}


a.new {
/* 非对称-右 */
    color: rgb(var(--crt-terminal-pink));
.hovers-skew-backward {
    text-shadow: 0 0 5px rgba(var(--crt-terminal-pink), 0.5);
  transform-origin: 0 100%;
}
.hovers-skew-backward:hover,
.hovers-skew-backward.active {
  transform: skew(10deg);
}
}


/* 按钮和输入框样式 */
/* 垂直抖动 */
input, button, select, textarea {
@keyframes wobble-vertical {
     font-family: var(--pixel-font);
  16.65% {
     background-color: rgba(var(--crt-bg-color), 0.8);
     transform: translateY(8px);
     color: rgb(var(--crt-text-color));
  }
     border: 1px solid rgb(var(--crt-terminal-green));
  33.3% {
     padding: 5px 10px;
     transform: translateY(-6px);
     box-shadow: 0 0 5px rgba(var(--crt-glow-color), 0.5);
  }
    transition: all 0.2s ease;
  49.95% {
     transform: translateY(4px);
  }
  66.6% {
     transform: translateY(-2px);
  }
  83.25% {
     transform: translateY(1px);
  }
  100% {
     transform: translateY(0);
  }
}
}


button:hover, input[type="submit"]:hover, input[type="button"]:hover {
.hovers-wobble-vertical:hover,
    background-color: rgba(var(--crt-terminal-green), 0.2);
.hovers-wobble-vertical.active {
    box-shadow:  
  animation-name: wobble-vertical;
        0 0 5px rgba(var(--crt-glow-color), 0.7),
  animation-duration: 1s;
        0 0 10px rgba(var(--crt-glow-color), 0.5);
  animation-timing-function: ease-in-out;
    cursor: pointer;
  animation-iteration-count: 1;
}
}


/* 侧边栏样式 - 保留兼容原有布局 */
/* 水平抖动 */
.side-block {
@keyframes wobble-horizontal {
     --sideblock-bg-color: var(--crt-bg-color);
  16.65% {
     --sideblock-heading-border-color: var(--crt-terminal-green);
     transform: translateX(8px);
     --sideblock-heading-bg-color: var(--crt-bg-color);
  }
     --sideblock-heading-text-color: var(--crt-terminal-green);
  33.3% {
     --sidebar-border-color: var(--crt-terminal-green);
     transform: translateX(-6px);
     --sidebar-links-text: var(--crt-text-color);
  }
    --sidebar-links-bg-color: var(--crt-bg-color);
  49.95% {
    --sidebar-links-hover-bg-color: var(--crt-terminal-green);
     transform: translateX(4px);
    --sidebar-links-hover-text-color: var(--black-monochrome);
  }
  66.6% {
     transform: translateX(-2px);
  }
  83.25% {
     transform: translateX(1px);
  }
  100% {
     transform: translateX(0);
  }
}
.hovers-wobble-horizontal:hover,
.hovers-wobble-horizontal.active {
  animation-name: wobble-horizontal;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}


    display: grid;
/* 右下弹回 */
    grid-template-rows: repeat(auto-fit, minmax(1.3125rem, 1fr));
@keyframes wobble-to-bottom-right {
    margin: 0.5rem 0.5rem 0 0;
  16.65% {
     border: 1px solid rgba(var(--crt-terminal-green), 0.5);
    transform: translate(8px, 8px);
     background: rgb(var(--sideblock-bg-color));
  }
     font-family: var(--UI-font);
  33.3% {
     direction: ltr;
     transform: translate(-6px, -6px);
    border-radius: 5px;
  }
     box-shadow:  
  49.95% {
        0 0 5px rgba(var(--crt-glow-color), 0.3),
     transform: translate(4px, 4px);
        0 0 10px rgba(var(--crt-glow-color), 0.1);
  }
  66.6% {
     transform: translate(-2px, -2px);
  }
  83.25% {
     transform: translate(1px, 1px);
  }
  100% {
     transform: translate(0, 0);
  }
}
}


.side-block .heading {
.hovers-wobble-to-bottom-right:hover,
    display: flex;
.hovers-wobble-to-bottom-right.active {
    align-items: flex-end;
  animation-name: wobble-to-bottom-right;
    justify-content: flex-start;
  animation-duration: 1s;
    min-height: 1.5rem;
  animation-timing-function: ease-in-out;
    margin: 0;
  animation-iteration-count: 1;
    background-color: rgba(var(--sideblock-heading-bg-color), 0.5);
    box-shadow: 0 2px 0 0 rgba(var(--sideblock-heading-border-color), 0.7);
    padding: 5px 0;
}
}


.side-block .heading p {
/* 右上弹回 */
     margin: 0;
@keyframes wobble-to-top-right {
     color: rgb(var(--sideblock-heading-text-color));
  16.65% {
     font-family: var(--title-font);
     transform: translate(8px, -8px)
     font-size: calc((var(--base-font-size) * (14 / 15)) * 1.1);
  }
    letter-spacing: 0.05em;
  33.3% {
     line-height: 1.15;
     transform: translate(-6px, 6px);
    text-indent: 0.25rem;
  }
     text-transform: uppercase;
  49.95% {
    cursor: pointer;
     transform: translate(4px, -4px);
  }
  66.6% {
     transform: translate(-2px, 2px);
  }
  83.25% {
     transform: translate(1px, -1px);
  }
  100% {
     transform: translate(0);
  }
}
}


.side-block div.menu-item {
.hovers-wobble-to-top-right:hover,
    display: flex;
.hovers-wobble-to-top-right.active {
    flex-flow: row wrap;
  animation-name: wobble-to-top-right;
    align-items: center;
  animation-duration: 1s;
    justify-content: flex-start;
  animation-timing-function: ease-in-out;
    height: 1.7rem;
  animation-iteration-count: 1;
    min-height: 1.7rem;
    margin: 0;
    padding: 0;
    box-shadow: inset 0 calc(var(--sidebar-internal-border-thickness) * -1) 0 0 rgba(var(--sidebar-border-color), 0.3);
    font-size: 0;
    transition: background-color 0.2s ease;
}
}


.side-block div.menu-item:hover {
/* 果冻 */
     background-color: rgba(var(--crt-terminal-green), 0.1);
@keyframes wobble-top {
  16.65% {
    transform: skew(-12deg);
  }
  33.3% {
    transform: skew(10deg);
  }
  49.95% {
     transform: skew(-6deg);
  }
  66.6% {
    transform: skew(4deg);
  }
  83.25% {
    transform: skew(-2deg);
  }
  100% {
    transform: skew(0);
  }
}
}


.side-block div.menu-item a {
/* 赘肉 */
    position: relative;
.hovers-wobble-top {
    z-index: 2;
  transform-origin: 0 100%;
    overflow: hidden;
}
.hovers-wobble-top:hover,
.hovers-wobble-top.active {
  animation-name: wobble-top;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
}


.side-block div.menu-item a {
@keyframes wobble-bottom {
     display: flex;
  16.65% {
    flex-grow: 2;
     transform: skew(-12deg);
    justify-content: flex-start;
  }
    height: 1.7em;
  33.3% {
     margin: 0;
     transform: skew(10deg);
    padding: 0 0.8em;
  }
    transition: all 0.2s ease;
  49.95% {
     background-clip: padding-box;
     transform: skew(-6deg);
    background-color: transparent;
  }
     color: rgb(var(--sidebar-links-text));
  66.6% {
     font-size: calc(var(--base-font-size) * (14 / 15));
     transform: skew(4deg);
     letter-spacing: 0.05em;
  }
    line-height: 1.7;
  83.25% {
    text-decoration: none;
     transform: skew(-2deg);
  }
  100% {
     transform: skew(0);
  }
}
}


.side-block div.menu-item a:hover,
.hovers-wobble-bottom {
.side-block div.menu-item a:active,
  transform-origin: 100% 0;
.side-block div.menu-item a:focus-within {
}
    background-color: rgba(var(--sidebar-links-hover-bg-color), 0.15);
.hovers-wobble-bottom:hover,
    color: rgb(var(--crt-terminal-amber));
.hovers-wobble-bottom.active {
    text-shadow:  
  animation-name: wobble-bottom;
        0 0 5px rgba(var(--crt-terminal-amber), 0.7),
  animation-duration: 1s;
        0 0 10px rgba(var(--crt-terminal-amber), 0.3);
  animation-timing-function: ease-in-out;
    text-decoration: none;
  animation-iteration-count: 1;
}
}


.side-block div.menu-item a::before {
/* 颤动 */
     --clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
@keyframes wobble-skew {
     content: " ";
  16.65% {
    position: absolute;
     transform: skew(-12deg);
     z-index: -1;
  }
     top: 0;
  33.3% {
     left: 0;
     transform: skew(10deg);
    width: 100%;
  }
    height: 100%;
  49.95% {
     transition: all 0.3s ease;
     transform: skew(-6deg);
    opacity: 0;
  }
    background-color: rgba(var(--sidebar-links-hover-bg-color), 0.3);
  66.6% {
    pointer-events: none;
     transform: skew(4deg);
    clip-path: var(--clip-path);
  }
  83.25% {
     transform: skew(-2deg);
  }
  100% {
     transform: skew(0);
  }
}
.hovers-wobble-skew:hover,
.hovers-wobble-skew.active {
  animation-name: wobble-skew;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
}


.side-block div.menu-item a:hover::before,
/* 振动 */
.side-block div.menu-item a:active::before,
@keyframes buzz {
.side-block div.menu-item a:focus-within::before {
  50% {
     --clip-path: polygon(-15% 0, 115% 0, 100% 100%, 0 100%);
     transform: translateX(3px) rotate(2deg);
     opacity: 1;
  }
  100% {
     transform: translateX(-3px) rotate(-2deg);
  }
}
}


/* Infobox样式 */
.hovers-buzz:hover,
.notaninfobox {
.hovers-buzz.active {
    position: relative;
  animation-name: buzz;
    clear: right;
  animation-duration: 0.15s;
    margin: 0 0 1em 1em;
  animation-timing-function: linear;
    width: 350px;
  animation-iteration-count: infinite;
    font-size: 90%;
    background-color: rgba(var(--crt-bg-color), 0.7);
    float: right;
    border: 1px solid rgba(var(--crt-terminal-green), 0.7);
    padding: 2px;
    overflow: auto;
    z-index: 1;
    overflow-wrap: anywhere;
    border-radius: 5px;
    box-shadow:  
        0 0 5px rgba(var(--crt-glow-color), 0.5),
        0 0 10px rgba(var(--crt-glow-color), 0.2),
        inset 0 0 5px rgba(var(--crt-glow-color), 0.2);
}
}


.notaninfobox::before {
/* 振出 */
     content: '';
@keyframes buzz-out {
     position: absolute;
  10% {
    top: 0;
     transform: translateX(3px) rotate(2deg);
     left: 0;
  }
    right: 0;
  20% {
    bottom: 0;
     transform: translateX(-3px) rotate(-2deg);
     background:  
  }
        repeating-linear-gradient(
  30% {
            0deg,
     transform: translateX(3px) rotate(2deg);
            rgba(var(--crt-grid-color), 0.05) 0,
  }
            rgba(var(--crt-grid-color), 0.05) 1px,
  40% {
            rgba(var(--crt-grid-color), 0) 1px,
     transform: translateX(-3px) rotate(-2deg);
            rgba(var(--crt-grid-color), 0) 2px
  }
        ),
  50% {
        repeating-linear-gradient(
    transform: translateX(2px) rotate(1deg);
            90deg,
  }
            rgba(var(--crt-grid-color), 0.05) 0,
  60% {
            rgba(var(--crt-grid-color), 0.05) 1px,
    transform: translateX(-2px) rotate(-1deg);
            rgba(var(--crt-grid-color), 0) 1px,
  }
            rgba(var(--crt-grid-color), 0) 2px
  70% {
        );
    transform: translateX(2px) rotate(1deg);
    background-size: 2px 2px;
  }
     pointer-events: none;
  80% {
    border-radius: 4px;
    transform: translateX(-2px) rotate(-1deg);
    z-index: -1;
  }
  90% {
    transform: translateX(1px) rotate(0);
  }
  100% {
     transform: translateX(-1px) rotate(0);
  }
}
}


@media all and (max-width: 511px) {
.hovers-buzz-out:hover,
    .notaninfobox {
.hovers-buzz-out.active {
        float: none;
  animation-name: buzz-out;
        margin-left: 0;
  animation-duration: 0.75s;
        width: auto;
  animation-timing-function: linear;
    }
  animation-iteration-count: 1;
}
}


@media all and (max-width: 337px) {
/* 右移 */
    .notaninfobox {
.hovers-forward:hover,
        margin-left: -16px;
.hovers-forward.active {
        margin-right: -16px;
  transform: translateX(8px);
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
}
}


.notaninfobox > .infobox-title {
/* 左移 */
    font-family: var(--pixel-font);
.hovers-backward:hover,
    font-weight: normal;
.hovers-backward.active {
    text-align: center;
  transform: translateX(-8px);
    font-size: 120%;
    background-color: rgba(var(--crt-terminal-blue), 0.2);
    color: rgb(var(--crt-terminal-blue));
    text-shadow:
        0 0 5px rgba(var(--crt-terminal-blue), 0.7),
        0 0 10px rgba(var(--crt-terminal-blue), 0.3);
    padding: 5px;
    border-bottom: 1px solid rgba(var(--crt-terminal-blue), 0.5);
}
}


.infobox-imagearea {
/* 自由移动 */
    text-align: center;
.hovers-top,
    padding: 8px 4px;
.hovers-left,
.hovers-bottom,
.hovers-right {
  transition: all 0.5s;
}
}


.infobox-imagearea > div:not(:first-child) {
.hovers-top:hover,
    padding-top: 1em;
.hovers-top.active {
  transform: translateY(-0.0625em);
}
}


.notaninfobox .infobox-rows {
.hovers-left:hover,
    display: grid;
.hovers-left.active {
    grid-template-columns: max-content 1fr;
  transform: translateX(-0.0625em);
    gap: 1px;
}
}


.notaninfobox .infobox-rows .infobox-row {
.hovers-bottom:hover,
    display: contents;
.hovers-bottom.active {
  transform: translateY(0.0625em);
}
}


.notaninfobox .infobox-row .infobox-row-label,
.hovers-right:hover,
.notaninfobox .infobox-row .infobox-row-field {
.hovers-right.active {
    padding: 6px;
  transform: translateX(0.0625em);
}
}


.notaninfobox .infobox-row .infobox-row-label {
/* 滤镜 */
    font-weight: normal;
.hovers-blur,
    display: flex;
.hovers-blur-reverse,
    align-items: center;
.hovers-brightness,
    color: rgb(var(--crt-terminal-amber));
.hovers-brightness-reverse,
    text-shadow: 0 0 5px rgba(var(--crt-terminal-amber), 0.5);
.hovers-contrast,
    letter-spacing: 0.05em;
.hovers-contrast-reverse,
.hovers-grayscale,
.hovers-grayscale-reverse,
.hovers-invert,
.hovers-invert-reverse,
.hovers-saturate,
.hovers-saturate-reverse,
.hovers-sepia,
.hovers-sepia-reverse,
.hovers-hue-rotate,
.hovers-hue-rotate-reverse {
  transition-duration: 0.75s;
}
}


.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
.hovers-blur:hover,
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
.hovers-blur.active,
    background-color: rgba(var(--crt-bg-color), 0.3);
.hovers-brightness:hover,
.hovers-brightness.active,
.hovers-contrast:hover,
.hovers-contrast.active,
.hovers-grayscale:hover,
.hovers-grayscale.active,
.hovers-invert:hover,
.hovers-invert.active,
.hovers-saturate:hover,
.hovers-saturate.active,
.hovers-sepia:hover,
.hovers-sepia.active,
.hovers-hue-rotate:hover,
.hovers-hue-rotate.active {
  filter: initial;
}
}


.infobox-footer {
.hovers-blur {
    text-align: center;
  filter: blur(5px);
    font-style: italic;
    padding: 5px;
    color: rgba(var(--crt-text-color), 0.8);
}
}


/* 表格样式 */
.hovers-blur-reverse:hover,
table {
.hovers-blur-reverse.active {
    border-collapse: collapse;
  filter: blur(5px);
    margin: 1em 0;
    background-color: rgba(var(--crt-bg-color), 0.7);
    border: 1px solid rgba(var(--crt-terminal-green), 0.7);
    box-shadow:  
        0 0 5px rgba(var(--crt-glow-color), 0.3),
        0 0 10px rgba(var(--crt-glow-color), 0.1);
    border-radius: 3px;
}
}


table th {
.hovers-brightness {
    background-color: rgba(var(--crt-terminal-green), 0.2);
  filter: brightness(50%);
    color: rgb(var(--crt-terminal-green));
    text-shadow: 0 0 5px rgba(var(--crt-terminal-green), 0.5);
    padding: 8px;
    font-family: var(--pixel-font);
    font-weight: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(var(--crt-terminal-green), 0.5);
}
}


table td {
.hovers-brightness-reverse:hover,
    padding: 6px 8px;
.hovers-brightness-reverse.active {
    border: 1px solid rgba(var(--crt-terminal-green), 0.3);
  filter: brightness(50%);
    transition: background-color 0.2s ease;
}
}


table tr:nth-child(odd) td {
.hovers-contrast {
    background-color: rgba(var(--crt-bg-color), 0.5);
  filter: contrast(50%);
}
}


table tr:hover td {
.hovers-contrast-reverse:hover,
    background-color: rgba(var(--crt-terminal-green), 0.1);
.hovers-contrast-reverse.active {
  filter: contrast(50%);
}
}


/* Navbox样式 */
.hovers-grayscale {
table.navbox {
  filter: grayscale(100%);
    border: 1px solid rgba(var(--crt-terminal-blue), 0.5);
    clear: both;
    margin: 1em auto;
    padding: 1px;
    text-align: center;
    width: 100%;
    background-color: rgba(var(--crt-bg-color), 0.7);
}
}


table.navbox + table.navbox {
.hovers-grayscale-reverse:hover,
    margin-top: -1px;
.hovers-grayscale-reverse.active {
  filter: grayscale(100%);
}
}


.navbox-title,
.hovers-invert {
.navbox-abovebelow,
  filter: invert(100%);
table.navbox th {
    padding: 0.5em 1em;
    text-align: center;
    background-color: rgba(var(--crt-terminal-blue), 0.2);
    color: rgb(var(--crt-terminal-blue));
    text-shadow: 0 0 5px rgba(var(--crt-terminal-blue), 0.5);
    font-family: var(--pixel-font);
    letter-spacing: 0.05em;
}
}


.navbox-group {
.hovers-invert-reverse:hover,
    font-weight: normal;
.hovers-invert-reverse.active {
    white-space: nowrap;
  filter: invert(100%);
    color: rgb(var(--crt-terminal-amber));
    text-shadow: 0 0 5px rgba(var(--crt-terminal-amber), 0.5);
    background-color: rgba(var(--crt-terminal-amber), 0.1);
    padding: 0.5em;
    font-family: var(--pixel-font);
    letter-spacing: 0.05em;
}
}


.navbox-even {
.hovers-saturate {
    background-color: rgba(var(--crt-bg-color), 0.5);
  filter: saturate(200%);
}
}


.navbox-odd {
.hovers-saturate-reverse:hover,
    background-color: rgba(var(--crt-bg-color), 0.7);
.hovers-saturate-reverse.active {
  filter: saturate(200%);
}
}


/* 模块盒子样式 */
.hovers-sepia {
.modulebox {
  filter: sepia(100%);
    border: 1px solid rgba(var(--crt-terminal-pink), 0.5);
    padding: 15px;
    margin: 15px 0;
    background-color: rgba(var(--crt-bg-color), 0.7);
    border-radius: 5px;
    box-shadow:
        0 0 5px rgba(var(--crt-terminal-pink), 0.3),
        0 0 10px rgba(var(--crt-terminal-pink), 0.1);
    position: relative;
    overflow: hidden;
}
}


.modulebox::before {
.hovers-sepia-reverse:hover,
    content: '';
.hovers-sepia-reverse.acitve {
    position: absolute;
  filter: sepia(100%);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(var(--crt-terminal-pink), 0.05) 0,
            rgba(var(--crt-terminal-pink), 0.05) 10px,
            rgba(var(--crt-terminal-pink), 0) 10px,
            rgba(var(--crt-terminal-pink), 0) 20px
        );
    pointer-events: none;
    z-index: 0;
}
}


/* 特殊效果 - 黑幕效果 */
.hovers-hue-rotate {
.heimu,
  filter: hue-rotate(180deg);
.heimu rt {
    --heimu-color: 20, 30, 25;
    --heimu-text-color: var(--crt-text-color);
    --heimu-link-color: var(--crt-terminal-blue);
    --heimu-visited-link-color: var(--crt-terminal-blue);
    --heimu-new-link-color: var(--crt-terminal-pink);
    --heimu-new-visited-link-color: var(--crt-terminal-pink);
    --heimu-extiw-visited-link-color: var(--crt-terminal-blue);
   
    background-color: rgb(var(--heimu-color));
}
}


.heimu,
.hovers-hue-rotate-reverse:hover,
.heimu a,
.hovers-hue-rotate-reverse.active {
a .heimu,
  filter: hue-rotate(180deg);
a.new .heimu,
span.heimu a:visited,
span.heimu a.new,
span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited,
span.heimu a.mw-disambig,
span.heimu a.mw-redirect {
    transition: color 0.2s linear;
    color: rgb(var(--heimu-color));
    text-shadow: none;
}
}


span.heimu:hover,
/* 背景滑动 */
span.heimu:active {
.hovers-sweep-to-right,
    color: rgb(var(--heimu-text-color));
.hovers-sweep-to-left,
.hovers-sweep-to-bottom,
.hovers-sweep-to-top,
.hovers-radial-out,
.hovers-radial-in {
  position: relative;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  overflow: hidden;
}
}


span.heimu:hover a,
.hovers-sweep-to-right:before,
a:hover span.heimu {
.hovers-sweep-to-left:before,
    color: rgb(var(--heimu-link-color));
.hovers-sweep-to-bottom:before,
    text-shadow: 0 0 5px rgba(var(--heimu-link-color), 0.5);
.hovers-sweep-to-top:before,
.hovers-radial-out:before,
.hovers-radial-in:before {
  content: '';
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  transform: scaleX(0);
  transition: inherit;
}
.hovers-sweep-to-bottom:before,
.hovers-sweep-to-top:before {
  transform: scaleY(0);
}
.hovers-radial-out:before,
.hovers-radial-in:before {
  border-radius: 50%;
  transform: scale(0);
}
.hovers-radial-in:before {
  transform: scale(2);
}
}


span.heimu:hover a:visited,
.hovers-sweep-to-right:before {
a:visited:hover span.heimu {
  transform-origin: 0 50%;
    color: rgb(var(--heimu-visited-link-color));
}
    text-shadow: 0 0 5px rgba(var(--heimu-visited-link-color), 0.5);
.hovers-sweep-to-left:before {
  transform-origin: 100% 50%;
}
.hovers-sweep-to-bottom:before {
  transform-origin: 50% 0;
}
.hovers-sweep-to-top:before {
  transform-origin: 50% 100%;
}
.hovers-radial-out:hover:before,
.hovers-radial-out.active:before {
  transform: scale(2);
}
.hovers-radial-in:hover:before,
.hovers-radial-in.active:before {
  transform: scale(0);
}
}


span.heimu:hover a.new,
.hovers-sweep-to-right .hovers-content.center,
a.new:hover span.heimu {
.hovers-sweep-to-left .hovers-content.center,
    color: rgb(var(--heimu-new-link-color));
.hovers-sweep-to-bottom .hovers-content.center,
    text-shadow: 0 0 5px rgba(var(--heimu-new-link-color), 0.5);
.hovers-sweep-to-top .hovers-content.center,
.hovers-radial-out .hovers-content.center,
.hovers-radial-in .hovers-content.center {
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-all;
}
}


/* 彩幕效果 */
.hovers-sweep-to-right:hover:before,
.colormu-drk {
.hovers-sweep-to-left:hover:before,
    color: rgb(var(--crt-text-color));
.hovers-sweep-to-bottom:hover:before,
.hovers-sweep-to-top:hover:before,
.hovers-sweep-to-right.active:before,
.hovers-sweep-to-left:hover:before,
.hovers-sweep-to-bottom:hover:before,
.hovers-sweep-to-top:hover:before {
  transform: scaleX(1);
}
}


.colormu-bri {
.hovers-sweep-to-right .hovers-content,
    color: rgb(var(--black-monochrome));
.hovers-sweep-to-left .hovers-content,
.hovers-sweep-to-bottom .hovers-content,
.hovers-sweep-to-top .hovers-content,
.hovers-radial-out .hovers-content,
.hovers-radial-in .hovers-content {
  width: 100%;
  height: 100%;
  position: absolute;
  transition-property: all;
  transition-duration: inherit;
  top: 0;
  left: 0;
  z-index: 11;
}
}


.colormu-drk:not(.colormu_toggle_on) a {
.hovers-sweep-to-right .hovers-content {
    color: rgb(var(--crt-terminal-blue));
  left: initial;
  right: 100%;
}
.hovers-sweep-to-right:hover .hovers-content,
.hovers-sweep-to-right.active .hovers-content {
  right: 0;
}
}


.colormu-drk:not(.colormu_toggle_on) a.new {
.hovers-sweep-to-left .hovers-content {
    color: rgb(var(--crt-terminal-pink));
  left: 100%;
}
.hovers-sweep-to-left:hover .hovers-content,
.hovers-sweep-to-left.active .hovers-content {
  left: 0;
}
}


/* 特殊元素样式 */
.hovers-sweep-to-bottom .hovers-content {
pre, code, .mw-code, .pn, .mw-highlight {
  top: initial;
    font-family: var(--pixel-font);
  bottom: 100%;
    background-color: rgba(var(--crt-bg-color), 0.5);
}
    border: 1px solid rgba(var(--crt-terminal-green), 0.5);
.hovers-sweep-to-bottom:hover .hovers-content,
    padding: 0.5em;
.hovers-sweep-to-bottom.active .hovers-content {
    color: rgb(var(--crt-terminal-amber));
  bottom: 0;
    white-space: pre-wrap;
    word-break: break-all;
    overflow-x: auto;
    border-radius: 3px;
    box-shadow: inset 0 0 5px rgba(var(--crt-bg-color), 0.8);
    text-shadow: 0 0 3px rgba(var(--crt-terminal-amber), 0.5);
}
}


code {
.hovers-sweep-to-top .hovers-content {
    padding: 0.1em 0.3em;
  top: 100%;
}
.hovers-sweep-to-top:hover .hovers-content,
.hovers-sweep-to-top.active .hovers-content {
  top: 0;
}
}


blockquote {
.hovers-radial-out .hovers-content,
    border-left: 3px solid rgba(var(--crt-terminal-amber), 0.7);
.hovers-radial-in:hover .hovers-content,
    padding-left: 1em;
.hovers-radial-in.active .hovers-content {
    margin-left: 0.5em;
  opacity: 0;
    color: rgba(var(--crt-text-color), 0.9);
    font-style: italic;
}
}


hr {
.hovers-radial-in .hovers-content,
    border: none;
.hovers-radial-out:hover .hovers-content,
    height: 1px;
.hovers-radial-out.active .hovers-content {
    background: linear-gradient(
  opacity: 1;
        to right,
        rgba(var(--crt-terminal-green), 0),
        rgba(var(--crt-terminal-green), 0.7) 50%,
        rgba(var(--crt-terminal-green), 0)
    );
    margin: 1.5em 0;
}
}


/* 列表样式 */
/* 默认em */
ul {
.hovers-border,
    list-style-type: none;
.hovers-trim,
    padding-left: 1.5em;
.hovers-ripple-out,
.hovers-ripple-in,
.hovers-outline-out,
.hovers-outline-in,
.hovers-reveal {
  font-size: 160px;
  line-height: 16px;
}
}


ul li::before {
/* 内边框滑出 */
    content: '> ';
.hovers-border,
    color: rgb(var(--crt-terminal-green));
.hovers-trim {
    font-weight: bold;
  position: relative;
    display: inline-block;
  top: 0;
    width: 1em;
  left: 0;
    margin-left: -1em;
  transition: all 0.3s;
}
}


ol {
.hovers-border:before {
    padding-left: 1.5em;
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
  border-color: inherit;
  border-style: solid;
  border-radius: inherit;
  opacity: 0;
}
}


ol li::marker {
.hovers-border:hover:before,
    color: rgb(var(--crt-terminal-green));
.hovers-border.active:before {
    font-family: var(--pixel-font);
  opacity: 1;
}
}


/* 图片和媒体处理 */
/* 带边距内边框 */
img, video, audio {
.hovers-trim:before {
    max-width: 100%;
  content: '';
    height: auto;
  position: absolute;
    border-radius: 3px;
  top: calc(0.0625em * 0.4);
    transition: all 0.3s ease;
  left: calc(0.0625em * 0.4);
  bottom: calc(0.0625em * 0.4);
  right: calc(0.0625em * 0.4);
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
  border-color: inherit;
  border-style: solid;
  opacity: 0;
  border-radius: inherit;
}
}


img:hover, video:hover {
.hovers-trim:hover:before,
    box-shadow:  
.hovers-trim.active:before {
        0 0 5px rgba(var(--crt-glow-color), 0.7),
  opacity: 1;
        0 0 10px rgba(var(--crt-glow-color), 0.5);
}
}


.thumbinner {
/* 边框飞出与飞入 */
    border: 1px solid rgba(var(--crt-terminal-green), 0.5);
.hovers-ripple-out,
    padding: 8px;
.hovers-ripple-in,
    background-color: rgba(var(--crt-bg-color), 0.7);
.hovers-outline-out,
    border-radius: 3px;
.hovers-outline-in,
    box-shadow: 0 0 5px rgba(var(--crt-glow-color), 0.3);
.hovers-reveal {
  animation-duration: 0.7s;
  animation-timing-function: ease-out;
  transition: all 0.3s;
}
}


.thumbcaption {
.hovers-ripple-out:before,
    padding-top: 5px;
.hovers-ripple-in:before,
    font-size: 90%;
.hovers-outline-out:before,
    text-align: center;
.hovers-outline-in:before,
    color: rgba(var(--crt-text-color), 0.9);
.hovers-reveal:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  animation: inherit;
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
  border-color: inherit;
  border-style: solid;
  border-radius: inherit;
}
.hovers-ripple-out:before {
  opacity: 0;
}
.hovers-ripple-in:before {
  top: calc(-0.0625em * 1.2);
  right: calc(-0.0625em * 1.2);
  bottom: calc(-0.0625em * 1.2);
  left: calc(-0.0625em * 1.2);
  opacity: 0;
}
.hovers-outline-out:before {
  opacity: 0;
}
.hovers-outline-out:before {
  top: calc(-0.0625em * 1.6);
  right: calc(-0.0625em * 1.6);
  bottom: calc(-0.0625em * 1.6);
  left: calc(-0.0625em * 1.6);
  opacity: 0;
}
.hovers-reveal:before {
  border-width: 0;
  opacity: 0;
}
}


/* Tabber适配 */
@keyframes ripple-out {
.tabber .tabbertab {
  50% {
     background-color: rgba(var(--crt-bg-color), 0.7) !important;
    opacity: 1;
     border: 1px solid rgba(var(--crt-terminal-blue), 0.5) !important;
  }
     border-top: none !important;
 
     padding: 10px !important;
  100% {
    border-bottom-left-radius: 3px;
    top: calc(-0.0625em * 1.2);
    border-bottom-right-radius: 3px;
     right: calc(-0.0625em * 1.2);
     bottom: calc(-0.0625em * 1.2);
     left: calc(-0.0625em * 1.2);
     opacity: 0;
  }
}
.hovers-ripple-out:hover:before,
.hovers-ripple-out.active:before {
  animation-name: ripple-out;
}
}


ul.tabbernav {
@keyframes ripple-in {
     border-bottom: 1px solid rgba(var(--crt-terminal-blue), 0.5) !important;
  50% {
     padding-left: 0 !important;
    opacity: 1;
     margin-left: 0 !important;
  }
 
  100% {
     top: 0;
    right: 0;
    bottom: 0;
     left: 0;
     opacity: 0;
  }
}
.hovers-ripple-in:hover:before,
.hovers-ripple-in.active:before {
  animation-name: ripple-in;
}
}


ul.tabbernav li {
.hovers-outline-out:hover:before,
    margin-right: 5px !important;
.hovers-outline-in:hover:before,
.hovers-outline-out.active:before,
.hovers-outline-in:hover:before {
  top: calc(-0.0625em * 0.8);
  right: calc(-0.0625em * 0.8);
  bottom: calc(-0.0625em * 0.8);
  left: calc(-0.0625em * 0.8);
  opacity: 1;
}
}


ul.tabbernav li::before {
.hovers-reveal:hover:before,
    content: none !important;
.hovers-reveal.active:before {
  transform: translateY(0);
  border-width: calc(0.0625em * 0.4);
  opacity: 1;
}
}


ul.tabbernav li a {
/* 圆角化 */
    background-color: rgba(var(--crt-bg-color), 0.5) !important;
.hovers-round-corners {
    border: 1px solid rgba(var(--crt-terminal-blue), 0.5) !important;
  overflow: hidden;
    padding: 3px 8px !important;
}
    border-bottom: none !important;
.hovers-round-corners:hover,
    border-top-left-radius: 3px;
.hovers-round-corners.active {
    border-top-right-radius: 3px;
  border-radius: 0.0625em;
    color: rgb(var(--crt-terminal-blue)) !important;
    transition: all 0.2s ease;
}
}


ul.tabbernav li a:hover {
/* 重叠:翻转切换 */
    background-color: rgba(var(--crt-terminal-blue), 0.2) !important;
 
.hover-turn {
  position: relative;
  transform: translateZ(1px);
}
}


ul.tabbernav li.tabberactive a {
.hover-turn-before,
    background-color: rgba(var(--crt-terminal-blue), 0.2) !important;
.hover-turn-after {
    color: rgb(var(--crt-text-color)) !important;
  position: absolute;
    font-weight: normal !important;
  top: 0;
    text-shadow: 0 0 5px rgba(var(--crt-text-color), 0.5);
  left: 0;
}
}


/* 文件卡片 */
@keyframes hover-turn {
.fileCardBound {
  from {
     border: 1px solid rgba(var(--crt-terminal-blue), 0.5);
     transform: rotateY(-90deg);
     background-color: rgba(var(--crt-bg-color), 0.7);
  }
    border-radius: 3px;
 
     box-shadow:  
  50% {
        0 0 5px rgba(var(--crt-terminal-blue), 0.3),
     transform: scale(1.2);
        0 0 10px rgba(var(--crt-terminal-blue), 0.1);
  }
    overflow: hidden;
 
  to {
     transform: rotateY(0);
  }
}
}


/* 编辑器和工具条 */
.hover-turn:not(:hover) .hover-turn-before,
#toolbar, #editpage-copywarn, #wpSummary, .mw-summary-preview {
.hover-turn:hover .hover-turn-after {
    background-color: rgba(var(--crt-bg-color), 0.7) !important;
  animation: hover-turn 0.5s;
    color: rgb(var(--crt-text-color)) !important;
    border: 1px solid rgba(var(--crt-terminal-green), 0.5) !important;
    border-radius: 3px;
}
}


#wpTextbox1 {
.hover-turn:hover .hover-turn-before,
    background-color: rgba(var(--crt-bg-color), 0.9) !important;
.hover-turn:not(:hover) .hover-turn-after {
    color: rgb(var(--crt-text-color)) !important;
opacity: 0;
    border: 1px solid rgba(var(--crt-terminal-green), 0.7) !important;
    font-family: var(--pixel-font) !important;
    line-height: 1.5;
    padding: 10px;
    box-shadow:  
        inset 0 0 10px rgba(var(--crt-bg-color), 1),
        0 0 5px rgba(var(--crt-glow-color), 0.3);
}
}
/* [[Category:在模板名字空间下的CSS页面]] */


/* 打印样式覆盖 */
/*
@media print {
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
    body::before,
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
    body::after,
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
    #mw-content-text::before {
*/
        display: none !important;
    }
.colormu-drk {
   
color: #FFF;
    body {
}
        background-color: white !important;
.colormu-bri {
        color: black !important;
color: #000;
        text-shadow: none !important;
}
    }
.colormu-drk:not(.colormu_toggle_on) a {
   
color: #add8e6;
    a, a:link, a:visited {
}
        color: #0645ad !important;
.colormu-drk:not(.colormu_toggle_on) a.new {
        text-shadow: none !important;
color: #FCC;
        text-decoration: underline !important;
}
    }
.colormu>span, .colormu a, .colormu a>span {
   
transition: color 0.2s;
    h1, h2, h3, h4, h5, h6, .mw-headline {
}
        color: black !important;
        text-shadow: none !important;
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
    }
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
   
color: transparent;
    .notaninfobox, table {
}
        background-color: white !important;
        box-shadow: none !important;
/* for T:Coloredlink in T:彩幕 */
        border: 1px solid #aaa !important;
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
    }
color: transparent !important;
   
}
    table th {
        background-color: #f8f9fa !important;
/* for T:彩幕 in link */
        color: black !important;
a .colormu-bri {
        text-shadow: none !important;
color: inherit;
    }
}
a:hover .colormu>span, a:active .colormu>span,
/* and for MediaWiki:Gadget-heimu-toggle.js */
.colormu-drk.colormu_toggle_on, .colormu_toggle_on>span, .colormu-drk.colormu_toggle_on a>span {
color: inherit !important;
}
}
/* [[Category:在模板名字空间下的CSS页面]] */

2025年4月26日 (六) 21:35的最新版本

/* 这里放置的CSS将应用于所有皮肤 */
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-16px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");

:root {
	--link-color: #0645ad;
	--link-color-active: #faa700;
	--custom-background-blue: #ccf;
	--custom-background-cyan: #cef;
	--custom-background-green: #cfc;
	--custom-background-gray: #d2d2d2;
	--custom-background-grey: var(--custom-background-gray);
	--custom-background-magenta: #fdf;
	--custom-background-orange: #fdb;
	--custom-background-purple: #ecf;
	--custom-background-red: #fcc;
	--custom-background-yellow: #ffc;
	--custom-border-blue: #36e;
	--custom-border-cyan: #9df;
	--custom-border-green: #5d5;
	--custom-border-gray: #bbb;
	--custom-border-grey: var(--custom-border-gray);
	--custom-border-magenta: #f9f;
	--custom-border-orange: #f90;
	--custom-border-purple: #96c;
	--custom-border-red: #e44;
	--custom-border-yellow: #fc3;
	--custom-closed-topic-neutral: #eef;
	--custom-closed-topic-no: #fee;
	--custom-closed-topic-yes: #efe;
	--custom-code-background: #f8f9fa;
	--custom-load-page-button-color: #fff8;
	--custom-main-page-background: #fcfcfc;
	--custom-main-page-border: var(--custom-border-gray);
	--custom-main-page-edition-subheader: #333;
	--custom-mcwiki-header-color: #bcd4f5;
	--custom-navbox-background: #fff;
	--custom-navbox-top: #ccc;
	--custom-navbox-middle: #ddd;
	--custom-navbox-thru: #eee;
	--custom-nbt-inherit-color: #e6e6fa;
	--custom-table-background: #f8f9fa;
	--custom-table-alternate-background: #f0f1f2;
	--custom-table-choice-always: #003600;
	--custom-table-choice-always-background: #80d080;
	--custom-table-choice-default: #fff;
	--custom-table-choice-in-off-background: #060;
	--custom-table-choice-in-on-background: #0c0;
	--custom-table-choice-na: #000;
	--custom-table-choice-na-background: #fff;
	--custom-table-choice-neutral: #634800;
	--custom-table-choice-neutral-background: #ffeb9c;
	--custom-table-choice-never: #3c0404;
	--custom-table-choice-never-background: #ff8080;
	--custom-table-choice-no: #840606;
	--custom-table-choice-no-background: #ffc7ce;
	--custom-table-choice-out-off-background: #900;
	--custom-table-choice-out-on-background: #f00;
	--custom-table-choice-partial: #665400;
	--custom-table-choice-partial-background: #ffd;
	--custom-table-choice-planned: #0131b7;
	--custom-table-choice-planned-background: #dfdfff;
	--custom-table-choice-rarely: #533400;
	--custom-table-choice-rarely-background: #fdce5e;
	--custom-table-choice-unknown: #222;
	--custom-table-choice-unknown-background: #ccc;
	--custom-table-choice-yes: #005600;
	--custom-table-choice-yes-background: #c6efce;
	--custom-table-header-background: #eaecf0;
	--custom-topic-30-days: #bbb;
	--custom-topic-7-days: #ddd;
}
--pixel-font-16: 'VonwaonBitmap 16px', monospace;
  --pixel-font-12: 'VonwaonBitmap 12px', monospace;
  --title-font: var(--pixel-font-16);
  --body-font: var(--pixel-font-16);
  --small-font: var(--pixel-font-12);
  --UI-font: var(--pixel-font-12);
  
  .notaninfobox {
	position: relative;
	clear: right;
	margin: 0 0 1em 1em;
	width: 350px;
	font-size: 90%;
	background-color: var(--custom-table-background);
	float: right;
	border: 1px solid var(--custom-border-gray);
	padding: 2px;
	overflow: auto;
	z-index: 1;
	overflow-wrap: anywhere;
}
@media all and (max-width: 511px) {
	.notaninfobox {
		float: none;
		margin-left: 0;
		width: auto;
	}
}
@media all and (max-width: 337px) {
	.notaninfobox {
		margin-left: -16px;
		margin-right: -16px;
		border-left: none;
		border-right: none;
	}
}

.notaninfobox > .infobox-title {
	font-weight: bold;
	text-align: center;
	font-size: 120%;
	background-color: #BCD4F5;
}
.infobox-imagearea {
	text-align: center;
	padding: 4px;
}
.infobox-imagearea > div:not(:first-child) {
	padding-top: 1em;
}
/* Horizontally centre animated images */
.infobox-imagearea .animated {
	display: inline-flex;
	align-items: center;
}

.notaninfobox .infobox-rows {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 1px;
}
.notaninfobox .infobox-rows .infobox-row {
	display: contents;
}

.notaninfobox .infobox-row .infobox-row-label,
.notaninfobox .infobox-row .infobox-row-field {
	padding: 4px;
}

.notaninfobox .infobox-row .infobox-row-label {
	font-weight: bold;
	display: flex;
	align-items: center;
}
.community-updates {
  background: #fff0e6;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
}
.community-updates ul li {
  list-style: none;
  padding: 10px;
  background: #fff;
  margin: 5px 0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.community-updates ul li a {
  color: #337ab7;
  text-decoration: none;
  font-weight: bold;
}
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
	background-color: var(--custom-table-alternate-background);
}

/* Infoboxes with tabber */
.tabber-container-infobox .tabber .tabbertab,
.tabber-container-infobox ul.tabbernav li a,
.tabber-container-infobox ul.tabbernav li.tabberactive a {
	background: none;
	border: none;
}

.tabber-container-infobox .tabber .tabbertab {
	padding: 0;
}

.tabber-container-infobox ul.tabbernav {
	font: inherit;
	font-size: 100%;
}

.tabber-container-infobox ul.tabbernav li a:hover {
	color: #000;
}

.tabber-container-infobox ul.tabbernav > li {
	margin-bottom: 5px;
	padding: 0;
}
.announcement-content span {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}
.mw-mainpage-header {
    background: linear-gradient(to bottom right, #B9A3FF, #8C47E7);
    box-shadow: grey 0px 0px 5px;
    border-radius: 20px;
    color: #000;
    font-size: 1.5em;
    text-shadow: white 0px 0px 10px, white 0px 0px 10px;
    padding: 20px;
    text-align: center;
}

.mw-mainpage-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.mw-mainpage-header p {
    font-size: 1.2em;
    margin: 5px 0;
}
.tabber-container-infobox ul.tabbernav > li > a {
	color: #595959;
	padding-bottom: 1px;
	display: block;
}

/* To prevent the tabs from jumping around when they become active or inactive
 * due to the font-weight changing from normal to bold and vice versa, add an
 * invisible ::before which contains the same text as the tab's text, but
 * bolded. This way the element in which unbolded text sits is sized according
 * to the bolded text, preventing it from resizing upon being selected.
 */
.tabber-container-infobox ul.tabbernav > li > a::before {
	display: block;
	content: attr(alt);
	font-weight: bold;
	height: 0;
	color: transparent;
	overflow: hidden;
	visibility: hidden;
}

.tabber-container-infobox ul.tabbernav > li.tabberactive {
	border: none;
}

.modulebox {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px 0;
  background-color: #f9f9f9;
}

.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
	font-weight: bold;
	color: var(--link-color);
	border-bottom: 2px solid var(--custom-mcwiki-header-color);
}

.infobox-rows p {
	margin: 0;
}

/* Merge adjacent dls in the infobox, since they're usually supposed to be one,
 * but the wiki screws up sometimes.
 */
.infobox-rows dl + dl {
	margin-top: -0.4em;
}

.infobox-rows dl:last-child {
	margin-bottom: 0.2em;
}

.infobox-footer {
	text-align: center;
}

/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
table.navbox{
    border:1px solid #aaa;
    clear:both;
    margin:auto;
    padding:1px;
    text-align:center;
    width:100%;
}
 
table.navbox + table.navbox{
    margin-top:-1px;
}
 
.navbox-title,
.navbox-abovebelow,
table.navbox th{
    padding-left:1em;
    padding-right:1em;
    text-align:center;
}
 
.navbox-group{
    font-weight:700;
    white-space:nowrap;
}
 
.navbox,
.navbox-subgroup{
    background:none repeat scroll 0 0 var(--theme-card-background-color, #fdfdfd);
}
 
.navbox-list{
    border-color:#fdfdfd;
}
 
.navbox-title,
table.navbox th{
    background:none repeat scroll 0 0 #a5e4a5;
}
 
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title{
    background:none repeat scroll 0 0 #c0ecc0;
}
 
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow{
    background:none repeat scroll 0 0 #e6f6e6;
}
 
.navbox-even{
    background:none repeat scroll 0 0 #f5fcf5;
}
 
.navbox-odd{
    background:none repeat scroll 0 0 #fdfdfd;
}
.collapseButton {
    float: right;
    font-weight: 400;
    text-align: right;
    width: auto;
}
.navbox .collapseButton {
    width: 6em;
}
.navbar {
    position: relative;
    min-height: 23px !important;
    margin-bottom: 0px !important;
    border: 1px solid transparent;
}
.navbox-title .Wikiplus-Edit-EveryWhereBtn {
	display: none;
}

@media only screen and (max-width:759px){
	.infotable {
	    width: 90%;
	    float: none;
	    margin: 0 auto;
	}
	
	/*.navbox {*/
	/*	display:none;*/
	/*}*/
	/*“查·论·编”在小屏幕时基本用不到(也很难点到)*/
	.navbox-title>div{
        display: none;
    }
    /*把内边距去掉*/
    .navbox-group,
    .navbox-group >div{
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
    }
}

/* h1标题字体 */
body h1 {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
}

/* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
/* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */

.heimu,
.heimu rt{
    --heimu-color:#252525;
    --heimu-text-color:#fff;
    --heimu-link-color:#add8e6;
    --heimu-visited-link-color:#c5cae9;
    --heimu-new-link-color:#fcc;
    --heimu-new-visited-link-color:#ef9a9a;
    --heimu-extiw-visited-link-color:#d1c4e9;

    background-color:var(--heimu-color);
}

.heimu,
.heimu a,
a .heimu,
a.new .heimu,
span.heimu a:visited,
span.heimu a.new,
span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited,
span.heimu a.mw-disambig,
span.heimu a.mw-redirect{
    transition:color 0.13s linear;
    color:var(--heimu-color);
    text-shadow:none;
}

span.heimu:hover,
span.heimu:active{
    color:var(--heimu-text-color);
}

span.heimu:hover a,
a:hover span.heimu{
    color:var(--heimu-link-color);
}

span.heimu:hover a:visited,
a:visited:hover span.heimu{
    color:var(--heimu-visited-link-color);
}

span.heimu:hover a.new,
a.new:hover span.heimu{
    color:var(--heimu-new-link-color);
}

span.heimu a.new:hover:visited,
a.new:hover:visited span.heimu{
    color:var(--heimu-new-visited-link-color);
}

span.heimu:hover a.extiw:visited,
a.extiw:visited:hover span.heimu{
    color:var(--heimu-extiw-visited-link-color);
}
[color-mode="dark"] .heimu,
[color-mode="dark"] .heimu rt{
    --heimu-color:#5e6272;
}

/*
	该文档为一个hover特效库,由一些常用的效果以及GitHub上的开源项目“Hover.css”的一些部分构成。
	请使用hovers在页面中进行载入。
*/

/* hover状态切换 */
.hover-change,
.hover-remote {
  position: relative;
  display: inline-block;
  transition: opacity 0.5s linear;
}

.hover-change-before,
.hover-change-after,
.hover-remote-target {
  transition: inherit;
}

.hover-change-after,
.hover-remote-target {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.hover-remote-target {
  left: 100%;
}

.hover-change-after[style^='right:'],
.hover-change-after[style*=' right:'],
.hover-remote-after[style^='right:'],
.hover-remote-after[style*=' right:'] {
  left: initial;
}

.hover-change-after[style^='bottom:'],
.hover-change-after[style*=' bottom:'],
.hover-remote-after[style^='bottom:'],
.hover-remote-after[style*=' bottom:'] {
  top: initial;
}

.hover-change-after:hover,
.hover-remote-target {
  opacity: 0;
  margin-left: -9999px;
}

/* 主要用于制作hover形式的标签页(tab)切换 */
.hover-tab-mode {
  position: relative;
  transition: none;
}
.hover-tab-mode .hover-remote {
  transition: inherit;
  position: static;
}

/* 闪烁效果 */
.hover-change.flash:hover .hover-change-before {
  margin-left: -9999px;
}

.hover-change:hover > .hover-change-before,
.hover-remote > .hover-remote-target,
.hover-change:hover > a > .hover-change-before,
.hover-remote > a > .hover-remote-target {
  opacity: 0;
}

.hover-change:hover > .hover-change-after,
.hover-remote:hover > .hover-remote-target,
.hover-change:hover > a > .hover-change-after,
.hover-remote:hover > a > .hover-remote-target {
  opacity: 1;
  margin-left: initial;
}

/* 基类 */
[class*='hovers-'] {
  display: inline-block;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  transform: perspective(1px) translateZ(0);
  vertical-align: middle;
  transition-duration: 0.25s;
  transition-property: all;
}

/* 旋转放大 */
.hovers-rotate-shrink {
  transition-duration: 0.5s;
  transform: rotate(0) scale(0.75);
}
.hovers-rotate-shrink:hover {
  transform: rotate(360deg) scale(1);
}

.hovers-rotate-shrink-reverse {
  transition-duration: 0.5s;
  transform: rotate(360deg) scale(0.75);
}

.hovers-rotate-shrink-reverse:hover {
  transform: rotate(0) scale(1);
}

/* 旋转 */
.hovers-rotate,
.hovers-rotate-reverse:hover {
  transition-duration: 0.5s;
  transform: rotate(0);
}

.hovers-rotate-reverse,
.hovers-rotate:hover {
  transition-duration: 0.5s;
  transform: rotate(360deg);
}

/* 正常 => 浅 */
.hovers-fade-deep,
.hovers-fade,
.hovers-fade-shallow {
  opacity: 1;
}
.hovers-fade-deep:hover,
.hovers-fade-deep.active {
  opacity: 0.35;
}
.hovers-fade:hover,
.hovers-fade.active {
  opacity: 0.5;
}
.hovers-fade-shallow:hover,
.hovers-fade-shallow.active {
  opacity: 0.75;
}

/* 浅 => 正常 */
.hovers-bloom-deep {
  opacity: 0.35;
}
.hovers-bloom {
  opacity: 0.5;
}
.hovers-bloom-shallow {
  opacity: 0.75;
}

.hovers-bloom-deep:hover,
.hovers-bloom-deep.active,
.hovers-bloom:hover,
.hovers-bloom.active,
.hovers-bloom-shallow:hover,
.hovers-bloom-shallow.active {
  opacity: 1;
}

/* 正常 => 大 */
.hovers-grow-deep,
.hovers-grow,
.hovers-grow-shallow {
  transform: scale(1);
}
.hovers-grow-deep:hover,
.hovers-grow-deep.active {
  transform: scale(1.5);
}
.hovers-grow:hover,
.hovers-grow.active {
  transform: scale(1.25);
}
.hovers-grow-shallow:hover,
.hovers-grow-shallow.active {
  transform: scale(1.1);
}

/* 正常 => 小 */
.hovers-shrink-deep:hover,
.hovers-shrink-deep.active,
.hovers-shrink:hover,
.hovers-shrink.active,
.hovers-shrink-shallow:hover,
.hovers-shrink-shallow.active {
  transform: scale(1);
}
.hovers-shrink-deep {
  transform: scale(0.5);
}
.hovers-shrink {
  transform: scale(0.75);
}
.hovers-shrink-shallow {
  transform: scale(0.9);
}

/* 左右抖动 */
@keyframes shake-flexible {
  25% {
    transform: translateX(-0.0625em);
  }

  50% {
    transform: translateX(0.0625em);
  }

  75% {
    transform: translateX(-0.0625em);
  }
}

.hovers-shake-flexible:hover,
.hovers-shake-flexible.active {
  animation: shake-flexible 0.5s ease-out;
}

@keyframes shake {
  25% {
    transform: translateX(-8px);
  }

  50% {
    transform: translateX(8px);
  }

  75% {
    transform: translateX(-8px);
  }
}

.hovers-shake:hover,
.hovers-shake.active {
  animation: shake 0.5s ease-out;
}

/* 上下抖动 */
@keyframes bounce-flexible {
  25% {
    transform: translateY(-0.0625em);
  }

  50% {
    transform: translateY(0.0625em);
  }

  75% {
    transform: translateY(-0.0625em);
  }
}

.hovers-bounce-flexible:hover,
.hovers-bounce-flexible.active {
  animation: bounce-flexible 0.5s ease-out;
}

@keyframes bounce {
  25% {
    transform: translateY(-8px);
  }

  50% {
    transform: translateY(8px);
  }

  75% {
    transform: translateY(-8px);
  }
}

.hovers-bounce:hover,
.hovers-bounce.active {
  position: relative;
  left: 0;
  animation: bounce 0.5s ease-out;
}

/* 绕顶端中点抖动 */
@keyframes swing {
  20% {
    transform: rotate3d(0, 0, 1, 10deg);
  }

  40% {
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    transform: rotate3d(0, 0, 1, -5deg);
  }

  to {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

.hovers-swing {
  transform-origin: top center;
}
.hovers-swing:hover,
.hovers-swing.active {
  animation: swing 0.75s ease-out;
}

/* 正常 => 大 */
@keyframes pulse-grow {
  to {
    transform: scale(1.1);
  }
}

.hovers-pulse-grow:hover,
.hovers-pulse-grow.active {
  animation: pulse-grow 0.5s linear infinite alternate;
}

/* 正常 => 小 */
@keyframes pulse-shrink {
  to {
    transform: scale(0.9);
  }
}

.hovers-pulse-shrink:hover,
.hovers-pulse-shrink.active {
  animation: pulse-shrink 0.5s linear infinite alternate;
}

/* 正常 => 小 */
@keyframes push {
  50% {
    transform: scale(0.8);
  }
}

.hovers-push:hover,
.hovers-push.active {
  animation: push 0.3s linear;
}

/* 正常 => 大 */
@keyframes pop {
  50% {
    transform: scale(1.2);
  }
}

.hovers-pop:hover,
.hovers-pop.active {
  animation: pop 0.3s linear;
}

/* 正常 => 大 => 正常 => 大 */
.hovers-bounce-in:hover,
.hovers-bounce-in.active {
  transform: scale(1.2);
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

/* 正常 => 小 => 正常 => 小 */
.hovers-bounce-out:hover,
.hovers-bounce-out.active {
  transform: scale(0.8);
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

/* 倾斜 */
.hovers-tilt:hover,
.hovers-tilt.active {
  transition-duration: 0.3s;
  transform: rotate(4deg);
}

/* 倾斜 + 放大 */
.hovers-grow-rotate:hover,
.hovers-grow-rotate.active {
  transition-duration: 0.3s;
  transform: scale(1.1) rotate(4deg);
}

/* 升起 */
.hovers-float:hover,
.hovers-float.active {
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transform: translateY(-8px);
}

/* 下沉 */
.hovers-sink:hover,
.hovers-sink.active {
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transform: translateY(8px);
}

/* 飘浮 */
@keyframes bob {
  0% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(-10px);
  }
}
@keyframes bob-float {
  100% {
    transform: translateY(-10px);
  }
}

.hovers-bob:hover,
.hovers-bob.active {
  animation-name: bob-float, bob;
  animation-duration: 0.3s, 1.5s;
  animation-delay: 0s, 0.3s;
  animation-timing-function: ease-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards;
  animation-direction: normal, alternate;
}

/* 悬挂 */
@keyframes hang {
  0% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(10px);
  }
}
@keyframes hang-sink {
  100% {
    transform: translateY(10px);
  }
}

.hovers-hang:hover,
.hovers-hang.active {
  animation-name: hang-sink, hang;
  animation-duration: 0.3s, 1.5s;
  animation-delay: 0s, 0.3s;
  animation-timing-function: ease-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards;
  animation-direction: normal, alternate;
}

/* 非对称 */
.hovers-skew:hover,
.hovers-skew.active {
  transform: skew(-10deg);
}

/* 非对称-左 */
.hovers-skew-forward {
  transform-origin: 0 100%;
}
.hovers-skew-forward:hover,
.hovers-skew-forward.active {
  transform: skew(-10deg);
}

/* 非对称-右 */
.hovers-skew-backward {
  transform-origin: 0 100%;
}
.hovers-skew-backward:hover,
.hovers-skew-backward.active {
  transform: skew(10deg);
}

/* 垂直抖动 */
@keyframes wobble-vertical {
  16.65% {
    transform: translateY(8px);
  }
  33.3% {
    transform: translateY(-6px);
  }
  49.95% {
    transform: translateY(4px);
  }
  66.6% {
    transform: translateY(-2px);
  }
  83.25% {
    transform: translateY(1px);
  }
  100% {
    transform: translateY(0);
  }
}

.hovers-wobble-vertical:hover,
.hovers-wobble-vertical.active {
  animation-name: wobble-vertical;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 水平抖动 */
@keyframes wobble-horizontal {
  16.65% {
    transform: translateX(8px);
  }
  33.3% {
    transform: translateX(-6px);
  }
  49.95% {
    transform: translateX(4px);
  }
  66.6% {
    transform: translateX(-2px);
  }
  83.25% {
    transform: translateX(1px);
  }
  100% {
    transform: translateX(0);
  }
}
.hovers-wobble-horizontal:hover,
.hovers-wobble-horizontal.active {
  animation-name: wobble-horizontal;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 右下弹回 */
@keyframes wobble-to-bottom-right {
  16.65% {
    transform: translate(8px, 8px);
  }
  33.3% {
    transform: translate(-6px, -6px);
  }
  49.95% {
    transform: translate(4px, 4px);
  }
  66.6% {
    transform: translate(-2px, -2px);
  }
  83.25% {
    transform: translate(1px, 1px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.hovers-wobble-to-bottom-right:hover, 
.hovers-wobble-to-bottom-right.active {
  animation-name: wobble-to-bottom-right;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 右上弹回 */
@keyframes wobble-to-top-right {
  16.65% {
    transform: translate(8px, -8px)
  }
  33.3% {
    transform: translate(-6px, 6px);
  }
  49.95% {
    transform: translate(4px, -4px);
  }
  66.6% {
    transform: translate(-2px, 2px);
  }
  83.25% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0);
  }
}

.hovers-wobble-to-top-right:hover,
.hovers-wobble-to-top-right.active {
  animation-name: wobble-to-top-right;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 果冻 */
@keyframes wobble-top {
  16.65% {
    transform: skew(-12deg);
  }
  33.3% {
    transform: skew(10deg);
  }
  49.95% {
    transform: skew(-6deg);
  }
  66.6% {
    transform: skew(4deg);
  }
  83.25% {
    transform: skew(-2deg);
  }
  100% {
    transform: skew(0);
  }
}

/* 赘肉 */
.hovers-wobble-top {
  transform-origin: 0 100%;
}
.hovers-wobble-top:hover,
.hovers-wobble-top.active {
  animation-name: wobble-top;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

@keyframes wobble-bottom {
  16.65% {
    transform: skew(-12deg);
  }
  33.3% {
    transform: skew(10deg);
  }
  49.95% {
    transform: skew(-6deg);
  }
  66.6% {
    transform: skew(4deg);
  }
  83.25% {
    transform: skew(-2deg);
  }
  100% {
    transform: skew(0);
  }
}

.hovers-wobble-bottom {
  transform-origin: 100% 0;
}
.hovers-wobble-bottom:hover,
.hovers-wobble-bottom.active {
  animation-name: wobble-bottom;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 颤动 */
@keyframes wobble-skew {
  16.65% {
    transform: skew(-12deg);
  }
  33.3% {
    transform: skew(10deg);
  }
  49.95% {
    transform: skew(-6deg);
  }
  66.6% {
    transform: skew(4deg);
  }
  83.25% {
    transform: skew(-2deg);
  }
  100% {
    transform: skew(0);
  }
}
.hovers-wobble-skew:hover,
.hovers-wobble-skew.active {
  animation-name: wobble-skew;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 振动 */
@keyframes buzz {
  50% {
    transform: translateX(3px) rotate(2deg);
  }
  100% {
    transform: translateX(-3px) rotate(-2deg);
  }
}

.hovers-buzz:hover,
.hovers-buzz.active {
  animation-name: buzz;
  animation-duration: 0.15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* 振出 */
@keyframes buzz-out {
  10% {
    transform: translateX(3px) rotate(2deg);
  }
  20% {
    transform: translateX(-3px) rotate(-2deg);
  }
  30% {
    transform: translateX(3px) rotate(2deg);
  }
  40% {
    transform: translateX(-3px) rotate(-2deg);
  }
  50% {
    transform: translateX(2px) rotate(1deg);
  }
  60% {
    transform: translateX(-2px) rotate(-1deg);
  }
  70% {
    transform: translateX(2px) rotate(1deg);
  }
  80% {
    transform: translateX(-2px) rotate(-1deg);
  }
  90% {
    transform: translateX(1px) rotate(0);
  }
  100% {
    transform: translateX(-1px) rotate(0);
  }
}

.hovers-buzz-out:hover,
.hovers-buzz-out.active {
  animation-name: buzz-out;
  animation-duration: 0.75s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

/* 右移 */
.hovers-forward:hover,
.hovers-forward.active {
  transform: translateX(8px);
}

/* 左移 */
.hovers-backward:hover,
.hovers-backward.active {
  transform: translateX(-8px);
}

/* 自由移动 */
.hovers-top,
.hovers-left,
.hovers-bottom,
.hovers-right {
  transition: all 0.5s;
}

.hovers-top:hover,
.hovers-top.active {
  transform: translateY(-0.0625em);
}

.hovers-left:hover,
.hovers-left.active {
  transform: translateX(-0.0625em);
}

.hovers-bottom:hover,
.hovers-bottom.active {
  transform: translateY(0.0625em);
}

.hovers-right:hover,
.hovers-right.active {
  transform: translateX(0.0625em);
}

/* 滤镜 */
.hovers-blur,
.hovers-blur-reverse,
.hovers-brightness,
.hovers-brightness-reverse,
.hovers-contrast,
.hovers-contrast-reverse,
.hovers-grayscale,
.hovers-grayscale-reverse,
.hovers-invert,
.hovers-invert-reverse,
.hovers-saturate,
.hovers-saturate-reverse,
.hovers-sepia,
.hovers-sepia-reverse,
.hovers-hue-rotate,
.hovers-hue-rotate-reverse {
  transition-duration: 0.75s;
}

.hovers-blur:hover,
.hovers-blur.active,
.hovers-brightness:hover,
.hovers-brightness.active,
.hovers-contrast:hover,
.hovers-contrast.active,
.hovers-grayscale:hover,
.hovers-grayscale.active,
.hovers-invert:hover,
.hovers-invert.active,
.hovers-saturate:hover,
.hovers-saturate.active,
.hovers-sepia:hover,
.hovers-sepia.active,
.hovers-hue-rotate:hover,
.hovers-hue-rotate.active {
  filter: initial;
}

.hovers-blur {
  filter: blur(5px);
}

.hovers-blur-reverse:hover,
.hovers-blur-reverse.active {
  filter: blur(5px);
}

.hovers-brightness {
  filter: brightness(50%);
}

.hovers-brightness-reverse:hover,
.hovers-brightness-reverse.active {
  filter: brightness(50%);
}

.hovers-contrast {
  filter: contrast(50%);
}

.hovers-contrast-reverse:hover,
.hovers-contrast-reverse.active {
  filter: contrast(50%);
}

.hovers-grayscale {
  filter: grayscale(100%);
}

.hovers-grayscale-reverse:hover, 
.hovers-grayscale-reverse.active {
  filter: grayscale(100%);
}

.hovers-invert {
  filter: invert(100%);
}

.hovers-invert-reverse:hover,
.hovers-invert-reverse.active {
  filter: invert(100%);
}

.hovers-saturate {
  filter: saturate(200%);
}

.hovers-saturate-reverse:hover,
.hovers-saturate-reverse.active {
  filter: saturate(200%);
}

.hovers-sepia {
  filter: sepia(100%);
}

.hovers-sepia-reverse:hover,
.hovers-sepia-reverse.acitve {
  filter: sepia(100%);
}

.hovers-hue-rotate {
  filter: hue-rotate(180deg);
}

.hovers-hue-rotate-reverse:hover,
.hovers-hue-rotate-reverse.active {
  filter: hue-rotate(180deg);
}

/* 背景滑动 */
.hovers-sweep-to-right,
.hovers-sweep-to-left,
.hovers-sweep-to-bottom,
.hovers-sweep-to-top,
.hovers-radial-out,
.hovers-radial-in {
  position: relative;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  overflow: hidden;
}

.hovers-sweep-to-right:before,
.hovers-sweep-to-left:before,
.hovers-sweep-to-bottom:before,
.hovers-sweep-to-top:before,
.hovers-radial-out:before,
.hovers-radial-in:before {
  content: '';
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  transform: scaleX(0);
  transition: inherit;
}
.hovers-sweep-to-bottom:before,
.hovers-sweep-to-top:before {
  transform: scaleY(0);
}
.hovers-radial-out:before,
.hovers-radial-in:before {
  border-radius: 50%;
  transform: scale(0);
}
.hovers-radial-in:before {
  transform: scale(2);
}

.hovers-sweep-to-right:before {
  transform-origin: 0 50%;
}
.hovers-sweep-to-left:before {
  transform-origin: 100% 50%;
}
.hovers-sweep-to-bottom:before {
  transform-origin: 50% 0;
}
.hovers-sweep-to-top:before {
  transform-origin: 50% 100%;
}
.hovers-radial-out:hover:before,
.hovers-radial-out.active:before {
  transform: scale(2);
}
.hovers-radial-in:hover:before,
.hovers-radial-in.active:before {
  transform: scale(0);
}

.hovers-sweep-to-right .hovers-content.center,
.hovers-sweep-to-left .hovers-content.center,
.hovers-sweep-to-bottom .hovers-content.center,
.hovers-sweep-to-top .hovers-content.center,
.hovers-radial-out .hovers-content.center,
.hovers-radial-in .hovers-content.center {
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-all;
}

.hovers-sweep-to-right:hover:before,
.hovers-sweep-to-left:hover:before,
.hovers-sweep-to-bottom:hover:before,
.hovers-sweep-to-top:hover:before,
.hovers-sweep-to-right.active:before,
.hovers-sweep-to-left:hover:before,
.hovers-sweep-to-bottom:hover:before,
.hovers-sweep-to-top:hover:before {
  transform: scaleX(1);
}

.hovers-sweep-to-right .hovers-content,
.hovers-sweep-to-left .hovers-content,
.hovers-sweep-to-bottom .hovers-content,
.hovers-sweep-to-top .hovers-content,
.hovers-radial-out .hovers-content,
.hovers-radial-in .hovers-content {
  width: 100%;
  height: 100%;
  position: absolute;
  transition-property: all;
  transition-duration: inherit;
  top: 0;
  left: 0;
  z-index: 11;
}

.hovers-sweep-to-right .hovers-content {
  left: initial;
  right: 100%;
}
.hovers-sweep-to-right:hover .hovers-content,
.hovers-sweep-to-right.active .hovers-content {
  right: 0;
}

.hovers-sweep-to-left .hovers-content {
  left: 100%;
}
.hovers-sweep-to-left:hover .hovers-content,
.hovers-sweep-to-left.active .hovers-content {
  left: 0;
}

.hovers-sweep-to-bottom .hovers-content {
  top: initial;
  bottom: 100%;
}
.hovers-sweep-to-bottom:hover .hovers-content,
.hovers-sweep-to-bottom.active .hovers-content {
  bottom: 0;
}

.hovers-sweep-to-top .hovers-content {
  top: 100%;
}
.hovers-sweep-to-top:hover .hovers-content,
.hovers-sweep-to-top.active .hovers-content {
  top: 0;
}

.hovers-radial-out .hovers-content,
.hovers-radial-in:hover .hovers-content,
.hovers-radial-in.active .hovers-content {
  opacity: 0;
}

.hovers-radial-in .hovers-content,
.hovers-radial-out:hover .hovers-content,
.hovers-radial-out.active .hovers-content {
  opacity: 1;
}

/* 默认em */
.hovers-border,
.hovers-trim,
.hovers-ripple-out,
.hovers-ripple-in,
.hovers-outline-out,
.hovers-outline-in,
.hovers-reveal {
  font-size: 160px;
  line-height: 16px;
}

/* 内边框滑出 */
.hovers-border,
.hovers-trim {
  position: relative;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

.hovers-border:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
  border-color: inherit;
  border-style: solid;
  border-radius: inherit;
  opacity: 0;
}

.hovers-border:hover:before,
.hovers-border.active:before {
  opacity: 1;
}

/* 带边距内边框 */
.hovers-trim:before {
  content: '';
  position: absolute;
  top: calc(0.0625em * 0.4);
  left: calc(0.0625em * 0.4);
  bottom: calc(0.0625em * 0.4);
  right: calc(0.0625em * 0.4);
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
  border-color: inherit;
  border-style: solid;
  opacity: 0;
  border-radius: inherit;
}

.hovers-trim:hover:before,
.hovers-trim.active:before {
  opacity: 1;
}

/* 边框飞出与飞入 */
.hovers-ripple-out,
.hovers-ripple-in,
.hovers-outline-out,
.hovers-outline-in,
.hovers-reveal {
  animation-duration: 0.7s;
  animation-timing-function: ease-out;
  transition: all 0.3s;
}

.hovers-ripple-out:before,
.hovers-ripple-in:before,
.hovers-outline-out:before,
.hovers-outline-in:before,
.hovers-reveal:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  animation: inherit;
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
  border-color: inherit;
  border-style: solid;
  border-radius: inherit;
}
.hovers-ripple-out:before {
  opacity: 0;
}
.hovers-ripple-in:before {
  top: calc(-0.0625em * 1.2);
  right: calc(-0.0625em * 1.2);
  bottom: calc(-0.0625em * 1.2);
  left: calc(-0.0625em * 1.2);
  opacity: 0;
}
.hovers-outline-out:before {
  opacity: 0;
}
.hovers-outline-out:before {
  top: calc(-0.0625em * 1.6);
  right: calc(-0.0625em * 1.6);
  bottom: calc(-0.0625em * 1.6);
  left: calc(-0.0625em * 1.6);
  opacity: 0;
}
.hovers-reveal:before {
  border-width: 0;
  opacity: 0;
}

@keyframes ripple-out {
  50% {
    opacity: 1;
  }

  100% {
    top: calc(-0.0625em * 1.2);
    right: calc(-0.0625em * 1.2);
    bottom: calc(-0.0625em * 1.2);
    left: calc(-0.0625em * 1.2);
    opacity: 0;
  }
}
.hovers-ripple-out:hover:before,
.hovers-ripple-out.active:before {
  animation-name: ripple-out;
}

@keyframes ripple-in {
  50% {
    opacity: 1;
  }

  100% {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
  }
}
.hovers-ripple-in:hover:before,
.hovers-ripple-in.active:before {
  animation-name: ripple-in;
}

.hovers-outline-out:hover:before,
.hovers-outline-in:hover:before,
.hovers-outline-out.active:before,
.hovers-outline-in:hover:before {
  top: calc(-0.0625em * 0.8);
  right: calc(-0.0625em * 0.8);
  bottom: calc(-0.0625em * 0.8);
  left: calc(-0.0625em * 0.8);
  opacity: 1;
}

.hovers-reveal:hover:before,
.hovers-reveal.active:before {
  transform: translateY(0);
  border-width: calc(0.0625em * 0.4);
  opacity: 1;
}

/* 圆角化 */
.hovers-round-corners {
  overflow: hidden;
}
.hovers-round-corners:hover,
.hovers-round-corners.active {
  border-radius: 0.0625em;
}

/* 重叠:翻转切换 */

.hover-turn {
  position: relative;
  transform: translateZ(1px);
}

.hover-turn-before,
.hover-turn-after {
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes hover-turn {
  from {
    transform: rotateY(-90deg);
  }

  50% {
    transform: scale(1.2);
  }

  to {
    transform: rotateY(0);
  }
}

.hover-turn:not(:hover) .hover-turn-before,
.hover-turn:hover .hover-turn-after {
  animation: hover-turn 0.5s;
}

.hover-turn:hover .hover-turn-before,
.hover-turn:not(:hover) .hover-turn-after {
	opacity: 0;
}
/* [[Category:在模板名字空间下的CSS页面]] */

/*
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
*/
 
.colormu-drk {
	color: #FFF;
}
.colormu-bri {
	color: #000;
}
.colormu-drk:not(.colormu_toggle_on) a {
	color: #add8e6;
}
.colormu-drk:not(.colormu_toggle_on) a.new {
	color: #FCC;
}
.colormu>span, .colormu a, .colormu a>span {
	transition: color 0.2s;
}
 
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
	color: transparent;
}
 
/* for T:Coloredlink in T:彩幕 */
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
	color: transparent !important;
}
 
/* for T:彩幕 in link */
a .colormu-bri {
	color: inherit;
}
a:hover .colormu>span, a:active .colormu>span,
/* and for MediaWiki:Gadget-heimu-toggle.js */
.colormu-drk.colormu_toggle_on, .colormu_toggle_on>span, .colormu-drk.colormu_toggle_on a>span {
	color: inherit !important;
}
 
/* [[Category:在模板名字空间下的CSS页面]] */