MediaWiki:Common.css:修订间差异

来自Age Of History 2 Chinese Wiki
跳转至:导航、​搜索
无编辑摘要
无编辑摘要
 
(未显示同一用户的20个中间版本)
第1行: 第1行:
/* 千禧年数据库风格CSS - 浅色主题 */
/* 这里放置的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");


@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700;900&display=swap");
:root {
@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");
--link-color: #0645ad;
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap");
--link-color-active: #faa700;
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap");
--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 {
:root {
display: grid;
    /* ==== 字体设置 ==== */
grid-template-columns: max-content 1fr;
    --body-font: "IBM Plex Mono", "Roboto Mono", "Noto Sans SC", monospace;
gap: 1px;
    --UI-font: "IBM Plex Mono", "Noto Sans SC", "Microsoft YaHei", monospace;
}
    --title-font: "VT323", "IBM Plex Mono", "Noto Sans SC", monospace;
.notaninfobox .infobox-rows .infobox-row {
    --mono-font: "IBM Plex Mono", "Courier New", monospace;
display: contents;
    --base-font-size: 0.95rem;
}
   
 
    /* ==== 千禧年数据库浅色主题 ==== */
.notaninfobox .infobox-row .infobox-row-label,
    --primary-bg: #f0f1f5;            /* 主背景色 - 浅灰蓝色 */
.notaninfobox .infobox-row .infobox-row-field {
    --secondary-bg: #e2e3e7;         /* 次要背景色 */
padding: 4px;
    --header-bg: #d6dae0;            /* 标题背景色 */
}
    --panel-bg: #dfe5ec;              /* 面板背景色 */
 
    --dark-panel-bg: #cad0db;        /* 深色面板背景 */
.notaninfobox .infobox-row .infobox-row-label {
   
font-weight: bold;
    /* 主题元素颜色 */
display: flex;
    --primary-color: #336699;         /* 主要强调色 - 典型Windows蓝 */
align-items: center;
    --secondary-color: #3a8eff;       /* 次要强调色 */
}
    --accent-color: #0055aa;         /* 重点强调色 */
.community-updates {
    --highlight-color: #b8d8ff;      /* 高亮色 */
  background: #fff0e6;
    --success-color: #008855;        /* 成功色 */
  padding: 15px;
    --warning-color: #cc9900;         /* 警告色 */
  border-radius: 10px;
    --error-color: #dd3333;           /* 错误色 */
  margin-top: 20px;
   
}
    /* 文本颜色 */
.community-updates ul li {
    --text-color: #333333;           /* 主要文本色 */
  list-style: none;
    --secondary-text: #666666;       /* 次要文本色 */
  padding: 10px;
    --light-text: #aaaaaa;            /* 浅色文本 */
  background: #fff;
    --link-color: #0066cc;            /* 链接色 */
  margin: 5px 0;
    --link-hover: #0055aa;           /* 链接悬停色 */
  border-radius: 5px;
    --visited-link: #551a8b;         /* 已访问链接色 - 经典紫色 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
   
}
    /* 边框和分隔线 */
.community-updates ul li a {
    --border-color: #bbc3cd;         /* 边框色 */
  color: #337ab7;
    --border-light: #ccccdd;         /* 浅色边框 */
  text-decoration: none;
    --border-dark: #9aa2ad;           /* 深色边框 */
  font-weight: bold;
   
}
    /* 千禧年阴影效果 */
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
    --window-outer-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
    --window-inner-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.8), inset -1px -1px 0px rgba(0, 0, 0, 0.1);
background-color: var(--custom-table-alternate-background);
    --button-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.8), inset -1px -1px 0px rgba(0, 0, 0, 0.2);
}
    --inset-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
 
   
/* Infoboxes with tabber */
    /* 扫描线效果设置 */
.tabber-container-infobox .tabber .tabbertab,
    --scanline-color: rgba(0, 0, 0, 0.03);
.tabber-container-infobox ul.tabbernav li a,
    --scanline-size: 1px;
.tabber-container-infobox ul.tabbernav li.tabberactive a {
    --scanline-timing: 8s;
background: none;
    --fade-in-delay: 0.1s;
border: none;
   
}
    /* 图形样式元素 */
 
    --grid-color: rgba(0, 80, 170, 0.05);
.tabber-container-infobox .tabber .tabbertab {
    --grid-size: 20px;
padding: 0;
    --pill-radius: 12px;
}
    --button-radius: 2px;
 
   
.tabber-container-infobox ul.tabbernav {
    /* MediaWiki 兼容颜色 */
font: inherit;
    --link-color-active: #2a4b8d;
font-size: 100%;
    --custom-background-blue: #d6e9ff;
}
    --custom-background-cyan: #d6f5ff;
 
    --custom-background-green: #d5f5e3;
.tabber-container-infobox ul.tabbernav li a:hover {
    --custom-background-gray: #eeeeee;
color: #000;
    --custom-background-grey: var(--custom-background-gray);
}
    --custom-background-magenta: #ffd6f5;
 
    --custom-background-orange: #fff0d6;
.tabber-container-infobox ul.tabbernav > li {
    --custom-background-purple: #e9d6ff;
margin-bottom: 5px;
     --custom-background-red: #ffd6d6;
padding: 0;
     --custom-background-yellow: #fffbd6;
}
     --custom-border-blue: #336699;
.announcement-content span {
     --custom-border-cyan: #56c2e6;
  display: inline-block;
     --custom-border-green: #55aa77;
  white-space: nowrap;
     --custom-border-gray: #bbbbbb;
  animation: marquee 15s linear infinite;
     --custom-border-grey: var(--custom-border-gray);
}
     --custom-border-magenta: #e655aa;
.mw-mainpage-header {
    --custom-border-orange: #ffaa22;
     background: linear-gradient(to bottom right, #B9A3FF, #8C47E7);
    --custom-border-purple: #9966cc;
     box-shadow: grey 0px 0px 5px;
     --custom-border-red: #dd5555;
     border-radius: 20px;
     --custom-border-yellow: #ddcc55;
     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 {
body::before {
     font-size: 1.2em;
     content: "";
     margin: 5px 0;
     position: fixed;
}
    width: 100vw;
.tabber-container-infobox ul.tabbernav > li > a {
    height: 100vh;
color: #595959;
    pointer-events: none;
padding-bottom: 1px;
    background: repeating-linear-gradient(
display: block;
        180deg,
        rgba(0,0,0,0),
        rgba(0,0,0,0) calc(var(--scanline-size) - 0.5px),
        var(--scanline-color) var(--scanline-size)
    );
    background-size: auto 4px;
    opacity: 0.4;
    z-index: 9999;
}
}


/* 像素网格背景 */
/* To prevent the tabs from jumping around when they become active or inactive
body {
* due to the font-weight changing from normal to bold and vice versa, add an
    background-image:
* invisible ::before which contains the same text as the tab's text, but
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
* bolded. This way the element in which unbolded text sits is sized according
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
* to the bolded text, preventing it from resizing upon being selected.
    background-size: var(--grid-size) var(--grid-size);
*/
    background-position: 0 0;
.tabber-container-infobox ul.tabbernav > li > a::before {
    background-attachment: fixed;
display: block;
content: attr(alt);
font-weight: bold;
height: 0;
color: transparent;
overflow: hidden;
visibility: hidden;
}
}


/* 经典CRT闪烁效果 */
.tabber-container-infobox ul.tabbernav > li.tabberactive {
body::after {
border: none;
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0) 0%,
        rgba(200, 220, 255, 0.15) 85%,
        rgba(180, 210, 255, 0.3) 100%
    );
    z-index: 9990;
    opacity: 0.4;
    animation: crt-flicker 5s infinite;
}
}


@keyframes crt-flicker {
.modulebox {
    0% { opacity: 0.4; }
  border: 1px solid #ccc;
    92% { opacity: 0.4; }
  padding: 10px;
    93% { opacity: 0.35; }
  margin: 10px 0;
    94% { opacity: 0.4; }
  background-color: #f9f9f9;
    98% { opacity: 0.4; }
    99% { opacity: 0.33; }
    100% { opacity: 0.4; }
}
}


/* ==== 全局基础设置 ==== */
.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
html, body {
font-weight: bold;
    margin: 0;
color: var(--link-color);
    padding: 0;
border-bottom: 2px solid var(--custom-mcwiki-header-color);
    font-family: var(--body-font);
    font-size: var(--base-font-size);
    line-height: 1.5;
    background-color: var(--primary-bg);
    color: var(--text-color);
}
}


/* 主内容区域 */
.infobox-rows p {
#content, .mw-body, #bodyContent {
margin: 0;
    background-color: var(--primary-bg);
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: var(--window-outer-shadow);
}
}


/* 千禧年风格窗口样式 */
/* Merge adjacent dls in the infobox, since they're usually supposed to be one,
.millennium-window {
* but the wiki screws up sometimes.
    background-color: var(--secondary-bg);
*/
    border: 1px solid var(--border-dark);
.infobox-rows dl + dl {
    border-radius: 2px;
margin-top: -0.4em;
    box-shadow: var(--window-outer-shadow);
    padding: 1px;
    margin-bottom: 1rem;
}
}


.millennium-window-header {
.infobox-rows dl:last-child {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
margin-bottom: 0.2em;
    color: white;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
    font-family: var(--title-font);
    display: flex;
    align-items: center;
}
}


.millennium-window-content {
.infobox-footer {
    background-color: var(--panel-bg);
text-align: center;
    padding: 0.75rem;
    box-shadow: var(--inset-shadow);
}
}


/* 淡入动画效果 */
/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
@media screen and (prefers-reduced-motion: no-preference) {
table.navbox{
     #content > *, #mw-content-text > * {
    border:1px solid #aaa;
        animation-name: fadeIn;
    clear:both;
        animation-duration: 0.5s;
    margin:auto;
        animation-iteration-count: 1;
    padding:1px;
        animation-timing-function: ease-out;
    text-align:center;
        animation-fill-mode: backwards;
    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;
}
}


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


/* 内容逐项淡入 */
/* h1标题字体 */
#mw-content-text > :nth-child(1) { animation-delay: calc(1 * var(--fade-in-delay)); }
body h1 {
#mw-content-text > :nth-child(2) { animation-delay: calc(2 * var(--fade-in-delay)); }
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
#mw-content-text > :nth-child(3) { animation-delay: calc(3 * var(--fade-in-delay)); }
}
#mw-content-text > :nth-child(4) { animation-delay: calc(4 * var(--fade-in-delay)); }
 
#mw-content-text > :nth-child(5) { animation-delay: calc(5 * var(--fade-in-delay)); }
/* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
#mw-content-text > :nth-child(6) { animation-delay: calc(6 * var(--fade-in-delay)); }
/* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */
#mw-content-text > :nth-child(7) { animation-delay: calc(7 * var(--fade-in-delay)); }
 
#mw-content-text > :nth-child(8) { animation-delay: calc(8 * var(--fade-in-delay)); }
.heimu,
#mw-content-text > :nth-child(n+9) { animation-delay: calc(9 * var(--fade-in-delay)); }
.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;
}


/* ==== 链接样式 ==== */
/* 基类 */
a {
[class*='hovers-'] {
    color: var(--link-color);
  display: inline-block;
    text-decoration: none;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    transition: color 0.2s ease-in-out;
  transform: perspective(1px) translateZ(0);
  vertical-align: middle;
  transition-duration: 0.25s;
  transition-property: all;
}
}


a:hover, a:focus {
/* 旋转放大 */
    color: var(--link-hover);
.hovers-rotate-shrink {
    text-decoration: underline;
  transition-duration: 0.5s;
  transform: rotate(0) scale(0.75);
}
.hovers-rotate-shrink:hover {
  transform: rotate(360deg) scale(1);
}
}


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


a.new {
.hovers-rotate-shrink-reverse:hover {
    color: #cc2200;
  transform: rotate(0) scale(1);
}
}


a.new:visited {
/* 旋转 */
    color: #a55858;
.hovers-rotate,
.hovers-rotate-reverse:hover {
  transition-duration: 0.5s;
  transform: rotate(0);
}
}


/* 千禧年按钮风格 */
.hovers-rotate-reverse,
.mw-ui-button,  
.hovers-rotate:hover {
.oo-ui-buttonElement-button,
  transition-duration: 0.5s;
input[type="submit"],
  transform: rotate(360deg);
input[type="button"],
button {
    background: linear-gradient(to bottom, #f0f3f8, #d8dbe0);
    border: 1px solid var(--border-dark);
    border-radius: var(--button-radius);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    font-family: var(--UI-font);
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: var(--button-shadow);
    transition: background-color 0.2s;
}
}


.mw-ui-button:hover,
/* 正常 => 浅 */
.oo-ui-buttonElement-button:hover,
.hovers-fade-deep,
input[type="submit"]:hover,
.hovers-fade,
input[type="button"]:hover,
.hovers-fade-shallow {
button:hover {
  opacity: 1;
    background: linear-gradient(to bottom, #e9ecf1, #c6cad0);
}
.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;
}
}


.mw-ui-button:active,
/* 浅 => 正常 */
.oo-ui-buttonElement-button:active,
.hovers-bloom-deep {
input[type="submit"]:active,
  opacity: 0.35;
input[type="button"]:active,
}
button:active {
.hovers-bloom {
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
  opacity: 0.5;
    background: #d8dbe0;
}
.hovers-bloom-shallow {
  opacity: 0.75;
}
}


/* ==== 标题样式 ==== */
.hovers-bloom-deep:hover,
h1, h2, h3, h4, h5, h6 {
.hovers-bloom-deep.active,
    font-family: var(--title-font);
.hovers-bloom:hover,
    font-weight: 700;
.hovers-bloom.active,
    line-height: 1.3;
.hovers-bloom-shallow:hover,
    margin: 1.5em 0 0.8em;
.hovers-bloom-shallow.active {
    color: var(--primary-color);
  opacity: 1;
}
}


h1 {  
/* 正常 => 大 */
    font-size: 1.8rem;  
.hovers-grow-deep,
    border-bottom: 1px solid var(--border-color);
.hovers-grow,
    padding-bottom: 0.3em;
.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);
}
}


h2 {
/* 正常 => 小 */
    font-size: 1.5rem;
.hovers-shrink-deep:hover,
    border-bottom: 1px solid var(--border-light);
.hovers-shrink-deep.active,
    color: var(--accent-color);
.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);
}
}


h3 { font-size: 1.3rem; }
/* 左右抖动 */
h4 { font-size: 1.1rem; }
@keyframes shake-flexible {
h5 { font-size: 1rem; }
  25% {
h6 { font-size: 0.9rem; }
    transform: translateX(-0.0625em);
  }


/* 千禧年标题风格 */
  50% {
.millennium-header {
     transform: translateX(0.0625em);
     background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  }
    color: white;
 
    padding: 0.4rem 0.8rem;
  75% {
    border-radius: var(--button-radius);
     transform: translateX(-0.0625em);
    margin: 1.5em 0 1em;
  }
    font-family: var(--title-font);
    font-size: 1.2rem;
     box-shadow: var(--window-outer-shadow);
}
}


/* ==== 表格样式 ==== */
.hovers-shake-flexible:hover,
table {
.hovers-shake-flexible.active {
    border-collapse: collapse;
  animation: shake-flexible 0.5s ease-out;
    border-spacing: 0;
    margin: 1em 0;
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
}
}


table th {
@keyframes shake {
     background: linear-gradient(to bottom, #e0e8f5, #c8d0e0);
  25% {
     font-weight: bold;
    transform: translateX(-8px);
     text-align: center;
  }
     padding: 0.5em;
 
     border: 1px solid var(--border-color);
  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;
}
}


table td {
/* 果冻 */
     padding: 0.4em 0.6em;
@keyframes wobble-top {
     border: 1px solid var(--border-light);
  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);
  }
}
}


table tr:nth-child(odd) {
/* 赘肉 */
    background-color: rgba(255, 255, 255, 0.3);
.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;
}
}


table tr:nth-child(even) {
@keyframes wobble-bottom {
     background-color: rgba(240, 244, 250, 0.3);
  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 {
.data-table {
  transform-origin: 100% 0;
    width: 100%;
}
    font-family: var(--mono-font);
.hovers-wobble-bottom:hover,
    font-size: 0.9rem;
.hovers-wobble-bottom.active {
  animation-name: wobble-bottom;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
}


.data-table th {
/* 颤动 */
     background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
@keyframes wobble-skew {
    color: white;
  16.65% {
    padding: 0.5rem;
    transform: skew(-12deg);
    text-align: left;
  }
  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;
}
}


.data-table td {
/* 振动 */
     padding: 0.4rem 0.5rem;
@keyframes buzz {
     border-bottom: 1px solid var(--border-light);
  50% {
     transform: translateX(3px) rotate(2deg);
  }
  100% {
     transform: translateX(-3px) rotate(-2deg);
  }
}
}


.data-table tr:hover {
.hovers-buzz:hover,
    background-color: var(--highlight-color);
.hovers-buzz.active {
  animation-name: buzz;
  animation-duration: 0.15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
}


/* ==== 表单元素 ==== */
/* 振出 */
input[type="text"],
@keyframes buzz-out {
input[type="password"],
  10% {
input[type="email"],
    transform: translateX(3px) rotate(2deg);
input[type="number"],
  }
input[type="search"],
  20% {
textarea,
    transform: translateX(-3px) rotate(-2deg);
select {
  }
     font-family: var(--UI-font);
  30% {
     font-size: 0.95rem;
     transform: translateX(3px) rotate(2deg);
     padding: 0.3rem 0.5rem;
  }
     border: 1px solid var(--border-color);
  40% {
     border-radius: var(--button-radius);
    transform: translateX(-3px) rotate(-2deg);
     background-color: white;
  }
     box-shadow: var(--inset-shadow);
  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);
  }
}
}


input:focus,
.hovers-buzz-out:hover,
textarea:focus,
.hovers-buzz-out.active {
select:focus {
  animation-name: buzz-out;
    border-color: var(--primary-color);
  animation-duration: 0.75s;
    outline: none;
  animation-timing-function: linear;
    box-shadow: 0 0 3px rgba(51, 102, 153, 0.5);
  animation-iteration-count: 1;
}
}


/* ==== 代码和预格式化文本 ==== */
/* 右移 */
pre, code, tt, kbd, samp {
.hovers-forward:hover,
    font-family: var(--mono-font);
.hovers-forward.active {
    background-color: #f5f5f5;
  transform: translateX(8px);
    border: 1px solid #dddddd;
    padding: 1px 3px;
    border-radius: 2px;
    font-size: 0.9em;
}
}


pre {
/* 左移 */
    padding: 0.6rem;
.hovers-backward:hover,
    overflow-x: auto;
.hovers-backward.active {
    line-height: 1.4;
  transform: translateX(-8px);
    background-color: #f8f8f8;
    box-shadow: var(--inset-shadow);
    border-radius: 4px;
    margin: 1rem 0;
}
}


/* 代码特殊样式 */
/* 自由移动 */
.code-block {
.hovers-top,
    display: block;
.hovers-left,
    background-color: #f0f0f0;
.hovers-bottom,
    border: 1px solid #cccccc;
.hovers-right {
    padding: 0.8rem;
  transition: all 0.5s;
    margin: 1rem 0;
    font-family: var(--mono-font);
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
    box-shadow: var(--inset-shadow);
}
}


.code-line-numbers {
.hovers-top:hover,
    counter-reset: line;
.hovers-top.active {
  transform: translateY(-0.0625em);
}
}


.code-line {
.hovers-left:hover,
    counter-increment: line;
.hovers-left.active {
    position: relative;
  transform: translateX(-0.0625em);
}
}


.code-line::before {
.hovers-bottom:hover,
    content: counter(line);
.hovers-bottom.active {
    display: inline-block;
  transform: translateY(0.0625em);
    width: 2rem;
    margin-right: 0.5rem;
    color: var(--light-text);
    text-align: right;
    user-select: none;
}
}


/* ==== 特殊区块样式 ==== */
.hovers-right:hover,
/* 信息框 */
.hovers-right.active {
.infobox {
  transform: translateX(0.0625em);
    float: right;
    clear: right;
    margin: 0 0 1em 1em;
    padding: 0;
    width: 22em;
    font-size: 0.9em;
    border: 1px solid var(--border-color);
    background-color: var(--panel-bg);
    box-shadow: var(--window-outer-shadow);
    border-radius: 4px;
    overflow: hidden;
}
}


.infobox-header {
/* 滤镜 */
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
.hovers-blur,
    color: white;
.hovers-blur-reverse,
    padding: 0.4rem;
.hovers-brightness,
    text-align: center;
.hovers-brightness-reverse,
    font-weight: bold;
.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;
}
}


.infobox-content {
.hovers-blur:hover,
    padding: 0.6rem;
.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;
}
}


.infobox-row {
.hovers-blur {
    display: flex;
  filter: blur(5px);
    border-bottom: 1px solid var(--border-light);
}
}


.infobox-label {
.hovers-blur-reverse:hover,
    flex: 1;
.hovers-blur-reverse.active {
    padding: 0.3rem 0.5rem;
  filter: blur(5px);
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.05);
}
}


.infobox-data {
.hovers-brightness {
    flex: 2;
  filter: brightness(50%);
    padding: 0.3rem 0.5rem;
}
}


/* 警告和提示框 */
.hovers-brightness-reverse:hover,
.alert-box {
.hovers-brightness-reverse.active {
    padding: 0.8rem;
  filter: brightness(50%);
    margin: 1rem 0;
    border-radius: 4px;
    border-left: 4px solid transparent;
}
}


.alert-info {
.hovers-contrast {
    background-color: var(--custom-background-blue);
  filter: contrast(50%);
    border-left-color: var(--primary-color);
}
}


.alert-success {
.hovers-contrast-reverse:hover,
    background-color: var(--custom-background-green);
.hovers-contrast-reverse.active {
    border-left-color: var(--success-color);
  filter: contrast(50%);
}
}


.alert-warning {
.hovers-grayscale {
    background-color: var(--custom-background-yellow);
  filter: grayscale(100%);
    border-left-color: var(--warning-color);
}
}


.alert-error {
.hovers-grayscale-reverse:hover,
    background-color: var(--custom-background-red);
.hovers-grayscale-reverse.active {
    border-left-color: var(--error-color);
  filter: grayscale(100%);
}
}


/* 特殊风格区块 */
.hovers-invert {
.y2k-section {
  filter: invert(100%);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin: 1.5rem 0;
    background-color: var(--secondary-bg);
    overflow: hidden;
}
}


.y2k-section-header {
.hovers-invert-reverse:hover,
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
.hovers-invert-reverse.active {
    color: white;
  filter: invert(100%);
    padding: 0.4rem 0.8rem;
    font-weight: bold;
    font-family: var(--title-font);
}
}


.y2k-section-content {
.hovers-saturate {
    padding: 1rem;
  filter: saturate(200%);
    background-color: var(--panel-bg);
}
}


/* 圆角内容块 */
.hovers-saturate-reverse:hover,
.pill-container {
.hovers-saturate-reverse.active {
    background-color: var(--secondary-bg);
  filter: saturate(200%);
    border-radius: var(--pill-radius);
    padding: 0.8rem 1.2rem;
    margin: 1rem 0;
    box-shadow: var(--window-outer-shadow);
}
}


/* 标签页 */
.hovers-sepia {
.tabs {
  filter: sepia(100%);
    margin: 1.5rem 0;
}
}


.tabs-nav {
.hovers-sepia-reverse:hover,
    display: flex;
.hovers-sepia-reverse.acitve {
    border-bottom: 1px solid var(--border-color);
  filter: sepia(100%);
}
}


.tab-button {
.hovers-hue-rotate {
    padding: 0.5rem 1rem;
  filter: hue-rotate(180deg);
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    margin-right: 0.2rem;
    cursor: pointer;
}
}


.tab-button.active {
.hovers-hue-rotate-reverse:hover,
    background-color: var(--panel-bg);
.hovers-hue-rotate-reverse.active {
    border-bottom: 1px solid var(--panel-bg);
  filter: hue-rotate(180deg);
    margin-bottom: -1px;
    font-weight: bold;
}
}


.tab-content {
/* 背景滑动 */
    padding: 1rem;
.hovers-sweep-to-right,
    border: 1px solid var(--border-color);
.hovers-sweep-to-left,
    border-top: none;
.hovers-sweep-to-bottom,
    background-color: var(--panel-bg);
.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,
.heimu,  
.hovers-sweep-to-left:before,
.heimu rt {
.hovers-sweep-to-bottom:before,
    --heimu-color: #252525;
.hovers-sweep-to-top:before,
    --heimu-text-color: #fff;
.hovers-radial-out:before,
    background-color: var(--heimu-color);
.hovers-radial-in:before {
    transition: color 0.2s ease-in-out;
  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);
}
}


.heimu,
.hovers-sweep-to-right:before {
.heimu a,
  transform-origin: 0 50%;
a .heimu,
}
a.new .heimu,
.hovers-sweep-to-left:before {
span.heimu a:visited {
  transform-origin: 100% 50%;
    color: var(--heimu-color);
}
    text-shadow: none;
.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,
.hovers-sweep-to-right .hovers-content.center,
span.heimu:active {
.hovers-sweep-to-left .hovers-content.center,
    color: var(--heimu-text-color);
.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,
.progress-container {
.hovers-sweep-to-bottom:hover:before,
    height: 16px;
.hovers-sweep-to-top:hover:before,
    background-color: white;
.hovers-sweep-to-right.active:before,
    border: 1px solid var(--border-dark);
.hovers-sweep-to-left:hover:before,
    box-shadow: var(--inset-shadow);
.hovers-sweep-to-bottom:hover:before,
    margin: 0.5rem 0;
.hovers-sweep-to-top:hover:before {
    overflow: hidden;
  transform: scaleX(1);
}
}


.progress-bar {
.hovers-sweep-to-right .hovers-content,
    height: 100%;
.hovers-sweep-to-left .hovers-content,
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
.hovers-sweep-to-bottom .hovers-content,
    width: 0;
.hovers-sweep-to-top .hovers-content,
    animation: progress-animation 2s linear forwards;
.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;
}
}


@keyframes progress-animation {
.hovers-sweep-to-right .hovers-content {
    from { width: 0; }
  left: initial;
    to { width: 100%; }
  right: 100%;
}
.hovers-sweep-to-right:hover .hovers-content,
.hovers-sweep-to-right.active .hovers-content {
  right: 0;
}
}


/* 折叠面板 */
.hovers-sweep-to-left .hovers-content {
.collapsible {
  left: 100%;
    margin: 1rem 0;
}
.hovers-sweep-to-left:hover .hovers-content,
.hovers-sweep-to-left.active .hovers-content {
  left: 0;
}
}


.collapsible-header {
.hovers-sweep-to-bottom .hovers-content {
    background: linear-gradient(to bottom, #f0f3f8, #d8dbe0);
  top: initial;
    padding: 0.5rem;
  bottom: 100%;
    border: 1px solid var(--border-color);
}
    cursor: pointer;
.hovers-sweep-to-bottom:hover .hovers-content,
    display: flex;
.hovers-sweep-to-bottom.active .hovers-content {
    align-items: center;
  bottom: 0;
    font-weight: bold;
}
}


.collapsible-header::before {
.hovers-sweep-to-top .hovers-content {
    content: "+";
  top: 100%;
    display: inline-block;
}
    width: 1rem;
.hovers-sweep-to-top:hover .hovers-content,
    margin-right: 0.5rem;
.hovers-sweep-to-top.active .hovers-content {
  top: 0;
}
}


.collapsible.open .collapsible-header::before {
.hovers-radial-out .hovers-content,
    content: "-";
.hovers-radial-in:hover .hovers-content,
.hovers-radial-in.active .hovers-content {
  opacity: 0;
}
}


.collapsible-content {
.hovers-radial-in .hovers-content,
    padding: 0.8rem;
.hovers-radial-out:hover .hovers-content,
    border: 1px solid var(--border-color);
.hovers-radial-out.active .hovers-content {
    border-top: none;
  opacity: 1;
    background-color: var(--panel-bg);
}
}


/* 带边框的笔记 */
/* 默认em */
.note-container {
.hovers-border,
    border: 1px solid var(--border-color);
.hovers-trim,
    background-color: var(--panel-bg);
.hovers-ripple-out,
    padding: 0.8rem;
.hovers-ripple-in,
    margin: 1rem 0;
.hovers-outline-out,
    position: relative;
.hovers-outline-in,
.hovers-reveal {
  font-size: 160px;
  line-height: 16px;
}
}


.note-header {
/* 内边框滑出 */
    position: absolute;
.hovers-border,
    top: -0.75rem;
.hovers-trim {
    left: 0.8rem;
  position: relative;
    background-color: var(--primary-bg);
  top: 0;
    padding: 0 0.5rem;
  left: 0;
    font-weight: bold;
  transition: all 0.3s;
    color: var(--primary-color);
}
}


/* 滚动条样式 */
.hovers-border:before {
::-webkit-scrollbar {
  content: '';
    width: 14px;
  width: 100%;
    height: 14px;
  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;
}
}


::-webkit-scrollbar-track {
.hovers-border:hover:before,
    background-color: #f0f0f0;
.hovers-border.active:before {
    border: 1px solid #cccccc;
  opacity: 1;
}
}


::-webkit-scrollbar-thumb {
/* 带边距内边框 */
    background: linear-gradient(to bottom, #e0e0e0, #c0c0c0);
.hovers-trim:before {
    border: 1px solid #999999;
  content: '';
    border-radius: 2px;
  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;
}
}


::-webkit-scrollbar-thumb:hover {
.hovers-trim:hover:before,
    background: linear-gradient(to bottom, #d0d0d0, #a0a0a0);
.hovers-trim.active:before {
  opacity: 1;
}
}


::-webkit-scrollbar-corner {
/* 边框飞出与飞入 */
    background-color: #f0f0f0;
.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,
.tooltip {
.hovers-ripple-in:before,
    position: relative;
.hovers-outline-out:before,
    display: inline-block;
.hovers-outline-in:before,
    border-bottom: 1px dotted var(--border-color);
.hovers-reveal:before {
    cursor: help;
  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;
}
}


.tooltip .tooltip-text {
@keyframes ripple-out {
     visibility: hidden;
  50% {
    width: 200px;
     opacity: 1;
    background-color: #fffef0;
  }
     color: var(--text-color);
 
     text-align: center;
  100% {
    border: 1px solid var(--border-dark);
     top: calc(-0.0625em * 1.2);
     border-radius: 4px;
     right: calc(-0.0625em * 1.2);
    padding: 0.5rem;
     bottom: calc(-0.0625em * 1.2);
    position: absolute;
     left: calc(-0.0625em * 1.2);
    z-index: 1;
    bottom: 125%;
     left: 50%;
    margin-left: -100px;
     opacity: 0;
     opacity: 0;
    transition: opacity 0.3s;
  }
    box-shadow: var(--window-outer-shadow);
}
.hovers-ripple-out:hover:before,
.hovers-ripple-out.active:before {
  animation-name: ripple-out;
}
}


.tooltip:hover .tooltip-text {
@keyframes ripple-in {
    visibility: visible;
  50% {
     opacity: 1;
     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,
@media all and (max-width: 768px) {
.hover-turn:not(:hover) .hover-turn-after {
    .infobox {
opacity: 0;
        float: none;
        margin: 1rem 0;
        width: 100%;
    }
   
    .tab-button {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
   
    /* 在小屏幕上减弱扫描线效果 */
    :root {
        --scanline-color: rgba(0, 0, 0, 0.02);
        --scanline-size: 2px;
    }
}
}
/* [[Category:在模板名字空间下的CSS页面]] */


/* 打印样式 */
/*
@media print {
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
    body::before, body::after, #content::before {
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
        display: none;
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
    }
*/
   
    body {
.colormu-drk {
        background: none;
color: #FFF;
    }
}
   
.colormu-bri {
    .millennium-window,  
color: #000;
    .infobox,
}
    .y2k-section,
.colormu-drk:not(.colormu_toggle_on) a {
    .pill-container {
color: #add8e6;
        box-shadow: none;
}
        border: 1px solid #999;
.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页面]] */

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页面]] */