MediaWiki:Common.css:修订间差异

来自Age Of History 2 Chinese Wiki
跳转至:导航、​搜索
无编辑摘要
标签已被回退
无编辑摘要
 
(未显示同一用户的26个中间版本)
第1行: 第1行:
/* 导入所需字体 */
/* 这里放置的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=Microsoft+Sans+Serif&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@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-16px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');


:root {
:root {
    /* 从Wikidot Database New主题迁移的变量 */
--link-color: #0645ad;
    --fade-in-delay: 0.1s;
--link-color-active: #faa700;
    --theme-base: "black-highlighter";
--custom-background-blue: #ccf;
    --theme-id: "database-new";
--custom-background-cyan: #cef;
    --theme-name: "Database New";
--custom-background-green: #cfc;
    --header-title: "The Backrooms";
--custom-background-gray: #d2d2d2;
    --header-subtitle: "你曾经来过这里";
--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;
      
      
     /* 字体设置 - 使用Database主题的字体 */
 
     /* 字体设置 - 保持原有字体 */
     --body-font: "VonwaonBitmap 16px", VT323, monospace;
     --body-font: "VonwaonBitmap 16px", VT323, monospace;
     --header-font: "VonwaonBitmap 16px", VT323, monospace;
     --header-font: "VonwaonBitmap 16px", VT323, monospace;
第21行: 第86行:
     --pixel-font-16: 'VonwaonBitmap 16px', VT323, monospace;
     --pixel-font-16: 'VonwaonBitmap 16px', VT323, monospace;
     --pixel-font-12: 'VonwaonBitmap 12px', VT323, monospace;
     --pixel-font-12: 'VonwaonBitmap 12px', VT323, monospace;
     --base-font-size: 1.2rem;
     --base-font-size: 14px;
    --text-shadow: 2px 2px #C9781E;
 
   
    /* 颜色方案 - 从Database主题迁移 */
    --white-monochrome: 175, 100, 30;
    --pale-gray-monochrome: 190, 190, 190;
    --light-gray-monochrome: 160, 160, 160;
    --gray-monochrome: 72, 69, 60;
    --black-monochrome: 10, 10, 10;
    --bright-accent: 229, 140, 36;
    --medium-accent: 229, 140, 36;
    --custom-text: 175, 100, 30;
    --dark-accent: 140, 136, 126;
    --pale-accent: 140, 136, 126;
   
    /* 主题颜色 */
    --swatch-background: var(--black-monochrome);
    --swatch-primary: var(--bright-accent);
    --swatch-primary-darker: var(--medium-accent);
    --swatch-primary-darkest: var(--black-monochrome);
    --swatch-text-dark: var(--custom-text);
    --swatch-text-light: var(--bright-accent);
    --swatch-important-text: var(--bright-accent);
    --swatch-menubg-color: var(--black-monochrome);
    --swatch-menubg-light-color: var(--dark-gray-monochrome);
    --swatch-menubg-medium-color: var(--medium-accent);
    --swatch-menubg-medium-dark-color: var(--gray-monochrome);
    --swatch-menubg-dark-color: var(--dark-gray-monochrome);
    --swatch-menubg-black-color: var(--black-monochrome);
    --swatch-menubg-hover-color: var(--black-monochrome);
    --swatch-menutxt-dark-color: var(--white-monochrome);
    --swatch-menutxt-light-color: var(--white-monochrome);
    --swatch-border-color: var(--bright-accent);
    --swatch-headerh1-color: var(--white-monochrome);
    --swatch-headerh2-color: var(--white-monochrome);
    --swatch-topmenu-border-color: var(--bright-accent);
    --swatch-topmenu-bg-color: var(--black-monochrome);
   
    /* 链接颜色 */
    --link-color: rgb(229, 140, 36);
    --visited-link-color: rgb(229, 140, 36);
    --hover-link-color: rgb(229, 140, 36);
    --sidebar-links-text: var(--swatch-menutxt-dark-color);
    --link-color-bright: var(--medium-accent);
   
    /* 评分模块颜色 */
    --rating-module-button-color: var(--bright-accent);
    --rating-module-text-color: var(--white-monochrome);
    --rating-module-text-hover-color: var(--swatch-menutxt-light-color);
   
    /* 其他 */
    --gradient-header: none;
    --diagonal-stripes: none;
}
}
/* 应用全局字体 */
/* 应用全局字体 */
body {
body {
     font-family: var(--body-font);
     font-family: var(--body-font) !important;
     font-size: var(--base-font-size);
     font-size: var(--base-font-size) !important;
     background-color: rgb(var(--black-monochrome));
     line-height: 1.5 !important;
    color: rgb(var(--swatch-text-dark));
}


/* 标题字体 */
     background-image: url("/aoh2wiki/images/b/be/Microsoft_Nostalgic_Windows_Wallpaper_4k.jpg");
h1, h2, h3, h4, h5, h6, #firstHeading {
     background-size: cover;
     font-family: var(--title-font);
     background-position: center;
    color: rgb(var(--swatch-headerh1-color));
     background-repeat: no-repeat;
    text-shadow: var(--text-shadow);
}
 
/* 链接样式 */
a {
    color: rgb(var(--bright-accent));
    text-decoration: none;
}
 
a:visited {
    color: rgb(var(--medium-accent));
}
 
a:hover {
    color: rgb(var(--bright-accent));
    text-decoration: underline;
}
 
a:hover::before {
    content: "> ";
}
 
/* 主内容区背景 */
#content {
    background-color: rgb(var(--black-monochrome));
    position: relative;
     background-image: radial-gradient(circle, rgba(var(--medium-accent), 0.05) 50%, transparent 0);
     background-size: 0.25em 0.25em;
     background-repeat: repeat;
     background-attachment: fixed;
     background-attachment: fixed;
    color: rgb(var(--xp-text));
}
}
 
 
/* 创建CRT效果容器 */
  .notaninfobox {
.crt-effects {
position: relative;
    position: fixed;
clear: right;
    top: 0;
margin: 0 0 1em 1em;
    left: 0;
width: 350px;
    width: 100vw;
font-size: 90%;
    height: 100vh;
background-color: var(--custom-table-background);
    pointer-events: none;
float: right;
    z-index: 9999;
border: 1px solid var(--custom-border-gray);
padding: 2px;
overflow: auto;
z-index: 1;
overflow-wrap: anywhere;
}
}
 
@media all and (max-width: 511px) {
/* 扫描线效果 */
.notaninfobox {
.scan-line-effect {
float: none;
    position: absolute;
margin-left: 0;
    width: 100%;
width: auto;
    height: 100%;
}
    background: repeating-linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.15) 50%,rgba(0,0,0,0));
    background-size: auto 8px;
    opacity: 0.7;
}
}


/* 扫描条动画 */
.infobox tr:not(:first-child) td {
.scan-animation {
     border-bottom: 1px solid #ddd;
     position: absolute;
    width: 100%;
    height: 1rem;
    top: 0;
    background: linear-gradient(to bottom, rgba(229, 140, 36) 0%,rgba(229, 140, 36,1) 50%,rgba(229, 140, 36,0.98) 51%,rgba(229, 140, 36) 100%);
    opacity: .1;
    animation: scanm 6s linear infinite;
}
}
 
@media all and (max-width: 337px) {
/* 辐射光晕效果 */
.notaninfobox {
.radial-glow {
margin-left: -16px;
    position: absolute;
margin-right: -16px;
    width: 100%;
border-left: none;
    height: 100%;
border-right: none;
    background-image: radial-gradient(circle, rgb(229, 140, 36) 4%, rgb(0,0,0) 45%, rgb(229, 140, 36) 95%);
}
    opacity: 0.25;
    mix-blend-mode: color-dodge;
    background-repeat: no-repeat;
    background-size: cover;
}
}


@keyframes scanm {
.notaninfobox > .infobox-title {
    0%  { top: -1rem; opacity: .05;}
font-weight: bold;
    25% { top: 50%; opacity: .03;}
text-align: center;
    37.5% { top: 75%; opacity: 0.06;}
font-size: 120%;
    50% { top: 100%; opacity: .03;}
background-color: #BCD4F5;
    100% { top: 100%;}
}
}
 
.infobox-imagearea {
/* 淡入动画 */
text-align: center;
@media screen and (prefers-reduced-motion: no-preference) {
padding: 4px;
    #mw-content-text > * {
        animation-name: fadeIn;
        animation-duration: 1s;
        animation-iteration-count: 1;
        animation-timing-function: ease-out;
        animation-fill-mode: backwards;
    }
}
}
 
.infobox-imagearea > div:not(:first-child) {
@keyframes fadeIn {
padding-top: 1em;
    from {
        opacity: 0;
        transform: translate(0,30px);
    }
    to {
        opacity: 1;
        transform: translate(0,0);
    }
}
}
 
/* Horizontally centre animated images */
/* 页面元素动画延迟 */
.infobox-imagearea .animated {
#mw-content-text > :nth-child(1) { animation-delay: calc(1 * var(--fade-in-delay)); }
display: inline-flex;
#mw-content-text > :nth-child(2) { animation-delay: calc(2 * var(--fade-in-delay)); }
align-items: center;
#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)); }
#mw-content-text > :nth-child(6) { animation-delay: calc(6 * var(--fade-in-delay)); }
#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)); }
#mw-content-text > :nth-child(9) { animation-delay: calc(9 * var(--fade-in-delay)); }
#mw-content-text > :nth-child(10) { animation-delay: calc(10 * var(--fade-in-delay)); }
#mw-content-text > :nth-child(11) { animation-delay: calc(11 * var(--fade-in-delay)); }
#mw-content-text > :nth-child(12) { animation-delay: calc(12 * var(--fade-in-delay)); }
#mw-content-text > :nth-child(13) { animation-delay: calc(13 * var(--fade-in-delay)); }
#mw-content-text > :nth-child(14) { animation-delay: calc(14 * var(--fade-in-delay)); }
#mw-content-text > :nth-child(15) { animation-delay: calc(15 * var(--fade-in-delay)); }
#mw-content-text > :nth-child(n+15) { animation-delay: calc(16 * var(--fade-in-delay)); }
 
/* Database主题样式块 */
.lightstyled-quote {
    background-color: rgb(var(--bright-accent));
    color: rgb(0, 0, 0);
    border-left: 0.5rem solid rgb(var(--gray-monochrome));
    padding: 0.1rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 0.05rem 0.1rem 0.3rem rgba(0,0,0,.25);
}
}


.darkstyled-quote {
.notaninfobox .infobox-rows {
    background-color: rgb(var(--gray-monochrome));
display: grid;
    border-left: 0.5rem solid rgb(var(--bright-accent));
grid-template-columns: max-content 1fr;
    color: rgb(var(--white-monochrome));
gap: 1px;
    padding: 0.1rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 0.05rem 0.1rem 0.3rem rgba(0,0,0,.25);
}
}
 
.infobox .plainlinks a {
.lightblock {
     color: #0000EE !important;
     background-color: rgb(var(--bright-accent));
     text-decoration: underline;
    color: rgb(0, 0, 0);
    padding: 0.01rem 1rem;
     margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
}
}
 
.infobox .plainlinks a:visited {
.darkblock {
     color: #551A8B !important;
    background-color: rgb(var(--gray-monochrome));
     color: rgb(var(--white-monochrome));
    padding: 0.01rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
}
}
 
.notaninfobox .infobox-rows .infobox-row {
/* 橙幕效果(替代黑幕) */
display: contents;
.orangemu,
.orangemu rt {
    --orangemu-color: 229, 140, 36;
    --orangemu-text-color: 0, 0, 0;
    --orangemu-link-color: 173, 216, 230;
    --orangemu-visited-link-color: 197, 202, 233;
    --orangemu-new-link-color: 255, 204, 204;
    --orangemu-new-visited-link-color: 239, 154, 154;
    --orangemu-extiw-visited-link-color: 209, 196, 233;
   
    background-color: rgb(var(--orangemu-color));
}
}


.orangemu,
.notaninfobox .infobox-row .infobox-row-label,
.orangemu a,
.notaninfobox .infobox-row .infobox-row-field {
a .orangemu,
padding: 4px;
a.new .orangemu,
span.orangemu a:visited,
span.orangemu a.new,
span.orangemu a.external,
span.orangemu a.external:visited,
span.orangemu a.extiw,
span.orangemu a.extiw:visited,
span.orangemu a.mw-disambig,
span.orangemu a.mw-redirect {
    transition: color 0.13s linear;
    color: rgb(var(--orangemu-color));
    text-shadow: none;
}
}


span.orangemu:hover,
.notaninfobox .infobox-row .infobox-row-label {
span.orangemu:active {
font-weight: bold;
    color: rgb(var(--orangemu-text-color));
display: flex;
align-items: center;
}
}
 
.community-updates {
span.orangemu:hover a,
  background: #fff0e6;
a:hover span.orangemu {
  padding: 15px;
    color: rgb(var(--orangemu-link-color));
  border-radius: 10px;
  margin-top: 20px;
}
}
 
.community-updates ul li {
  .notaninfobox {
  list-style: none;
position: relative;
  padding: 10px;
clear: right;
  background: #fff;
margin: 0 0 1em 1em;
  margin: 5px 0;
width: 350px;
  border-radius: 5px;
font-size: 90%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
background-color: var(--custom-table-background);
}
float: right;
.community-updates ul li a {
border: 1px solid var(--custom-border-gray);
  color: #337ab7;
padding: 2px;
  text-decoration: none;
overflow: auto;
  font-weight: bold;
z-index: 1;
overflow-wrap: anywhere;
}
}
@media all and (max-width: 511px) {
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
.notaninfobox {
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
float: none;
background-color: var(--custom-table-alternate-background);
margin-left: 0;
width: auto;
}
}
}


.infobox tr:not(:first-child) td {
/* Infoboxes with tabber */
    border-bottom: 1px solid #ddd;
.tabber-container-infobox .tabber .tabbertab,
.tabber-container-infobox ul.tabbernav li a,
.tabber-container-infobox ul.tabbernav li.tabberactive a {
background: none;
border: none;
}
}
@media all and (max-width: 337px) {
 
.notaninfobox {
.tabber-container-infobox .tabber .tabbertab {
margin-left: -16px;
padding: 0;
margin-right: -16px;
border-left: none;
border-right: none;
}
}
}


.notaninfobox > .infobox-title {
.tabber-container-infobox ul.tabbernav {
font-weight: bold;
font: inherit;
text-align: center;
font-size: 100%;
font-size: 120%;
background-color: #BCD4F5;
}
}
.infobox-imagearea {
 
text-align: center;
.tabber-container-infobox ul.tabbernav li a:hover {
padding: 4px;
color: #000;
}
}
.infobox-imagearea > div:not(:first-child) {
 
padding-top: 1em;
.tabber-container-infobox ul.tabbernav > li {
margin-bottom: 5px;
padding: 0;
}
}
/* Horizontally centre animated images */
.announcement-content span {
.infobox-imagearea .animated {
  display: inline-block;
display: inline-flex;
  white-space: nowrap;
align-items: center;
  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;
}
}


.notaninfobox .infobox-rows {
.mw-mainpage-header h1 {
display: grid;
    font-size: 2.5em;
grid-template-columns: max-content 1fr;
    margin-bottom: 10px;
gap: 1px;
}
}
.infobox .plainlinks a {
 
     color: #0000EE !important;
.mw-mainpage-header p {
     text-decoration: underline;
     font-size: 1.2em;
     margin: 5px 0;
}
}
.infobox .plainlinks a:visited {
.tabber-container-infobox ul.tabbernav > li > a {
    color: #551A8B !important;
color: #595959;
}
padding-bottom: 1px;
.notaninfobox .infobox-rows .infobox-row {
display: block;
display: contents;
}
}


.notaninfobox .infobox-row .infobox-row-label,
/* To prevent the tabs from jumping around when they become active or inactive
.notaninfobox .infobox-row .infobox-row-field {
* due to the font-weight changing from normal to bold and vice versa, add an
padding: 4px;
* 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;
}
}


.notaninfobox .infobox-row .infobox-row-label {
.tabber-container-infobox ul.tabbernav > li.tabberactive {
font-weight: bold;
border: none;
display: flex;
align-items: center;
}
}
.community-updates {
 
   background: #fff0e6;
.modulebox {
  padding: 15px;
   border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 20px;
}
.community-updates ul li {
  list-style: none;
   padding: 10px;
   padding: 10px;
  background: #fff;
   margin: 10px 0;
   margin: 5px 0;
   background-color: #f9f9f9;
   border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
}
.community-updates ul li a {
 
  color: #337ab7;
.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
  text-decoration: none;
font-weight: bold;
  font-weight: bold;
color: var(--link-color);
}
border-bottom: 2px solid var(--custom-mcwiki-header-color);
.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 */
.infobox-rows p {
.tabber-container-infobox .tabber .tabbertab,
margin: 0;
.tabber-container-infobox ul.tabbernav li a,
.tabber-container-infobox ul.tabbernav li.tabberactive a {
background: none;
border: none;
}
}


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


.tabber-container-infobox ul.tabbernav {
.infobox-rows dl:last-child {
font: inherit;
margin-bottom: 0.2em;
font-size: 100%;
}
}


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


.tabber-container-infobox ul.tabbernav > li {
/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
margin-bottom: 5px;
table.navbox{
padding: 0;
    border:1px solid #aaa;
    clear:both;
    margin:auto;
    padding:1px;
    text-align:center;
    width:100%;
}
}
.announcement-content span {
  display: inline-block;
table.navbox + table.navbox{
  white-space: nowrap;
    margin-top:-1px;
  animation: marquee 15s linear infinite;
}
}
.mw-mainpage-header {
    background: linear-gradient(to bottom right, #B9A3FF, #8C47E7);
.navbox-title,
    box-shadow: grey 0px 0px 5px;
.navbox-abovebelow,
    border-radius: 20px;
table.navbox th{
    color: #000;
     padding-left:1em;
    font-size: 1.5em;
     padding-right:1em;
     text-shadow: white 0px 0px 10px, white 0px 0px 10px;
     text-align:center;
     padding: 20px;
     text-align: center;
}
}
 
.mw-mainpage-header h1 {
.navbox-group{
     font-size: 2.5em;
     font-weight:700;
     margin-bottom: 10px;
     white-space:nowrap;
}
}
 
.mw-mainpage-header p {
.navbox,
     font-size: 1.2em;
.navbox-subgroup{
    margin: 5px 0;
     background:none repeat scroll 0 0 var(--theme-card-background-color, #fdfdfd);
}
}
.tabber-container-infobox ul.tabbernav > li > a {
color: #595959;
.navbox-list{
padding-bottom: 1px;
    border-color:#fdfdfd;
display: block;
}
}
 
   
/* To prevent the tabs from jumping around when they become active or inactive
.navbox-title,
  * due to the font-weight changing from normal to bold and vice versa, add an
table.navbox th{
* invisible ::before which contains the same text as the tab's text, but
    background:none repeat scroll 0 0 #a5e4a5;
* 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 {
.navbox-abovebelow,
border: none;
.navbox-group,
.navbox-subgroup .navbox-title{
    background:none repeat scroll 0 0 #c0ecc0;
}
}
 
.modulebox {
.navbox-subgroup .navbox-group,
  border: 1px solid #ccc;
.navbox-subgroup .navbox-abovebelow{
  padding: 10px;
    background:none repeat scroll 0 0 #e6f6e6;
  margin: 10px 0;
  background-color: #f9f9f9;
}
}
 
.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
.navbox-even{
font-weight: bold;
    background:none repeat scroll 0 0 #f5fcf5;
color: var(--link-color);
border-bottom: 2px solid var(--custom-mcwiki-header-color);
}
}
 
.infobox-rows p {
.navbox-odd{
margin: 0;
    background:none repeat scroll 0 0 #fdfdfd;
}
}
 
.collapseButton {
/* Merge adjacent dls in the infobox, since they're usually supposed to be one,
    float: right;
* but the wiki screws up sometimes.
    font-weight: 400;
*/
    text-align: right;
.infobox-rows dl + dl {
    width: auto;
margin-top: -0.4em;
}
.navbox .collapseButton {
    width: 6em;
}
}
 
.navbar {
.infobox-rows dl:last-child {
    position: relative;
margin-bottom: 0.2em;
    min-height: 23px !important;
    margin-bottom: 0px !important;
    border: 1px solid transparent;
}
}
 
.navbox-title .Wikiplus-Edit-EveryWhereBtn {
.infobox-footer {
display: none;
text-align: center;
}
}


/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
@media only screen and (max-width:759px){
table.navbox{
.infotable {
    border:1px solid #aaa;
    width: 90%;
     clear:both;
    float: none;
     margin:auto;
    margin: 0 auto;
    padding:1px;
}
    text-align:center;
     width:100%;
/*.navbox {*/
/* display:none;*/
/*}*/
/*“查·论·编”在小屏幕时基本用不到(也很难点到)*/
.navbox-title>div{
        display: none;
     }
    /*把内边距去掉*/
    .navbox-group,
     .navbox-group >div{
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
     }
}
}
 
table.navbox + table.navbox{
/* h1标题字体 */
     margin-top:-1px;
body h1 {
     font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
}
}
 
.navbox-title,
/* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
.navbox-abovebelow,
/* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */
table.navbox th{
 
     padding-left:1em;
.heimu,
     padding-right:1em;
.heimu rt{
     text-align:center;
     --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);
}
}
 
.navbox-group{
.heimu,
     font-weight:700;
.heimu a,
     white-space:nowrap;
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;
}
}
 
.navbox,
span.heimu:hover,
.navbox-subgroup{
span.heimu:active{
     background:none repeat scroll 0 0 var(--theme-card-background-color, #fdfdfd);
     color:var(--heimu-text-color);
}
}
 
.navbox-list{
span.heimu:hover a,
     border-color:#fdfdfd;
a:hover span.heimu{
     color:var(--heimu-link-color);
}
}
 
.navbox-title,
span.heimu:hover a:visited,
table.navbox th{
a:visited:hover span.heimu{
     background:none repeat scroll 0 0 #a5e4a5;
     color:var(--heimu-visited-link-color);
}
}
 
.navbox-abovebelow,
span.heimu:hover a.new,
.navbox-group,
a.new:hover span.heimu{
.navbox-subgroup .navbox-title{
     color:var(--heimu-new-link-color);
     background:none repeat scroll 0 0 #c0ecc0;
}
}
 
.navbox-subgroup .navbox-group,
span.heimu a.new:hover:visited,
.navbox-subgroup .navbox-abovebelow{
a.new:hover:visited span.heimu{
     background:none repeat scroll 0 0 #e6f6e6;
     color:var(--heimu-new-visited-link-color);
}
}
 
.navbox-even{
span.heimu:hover a.extiw:visited,
     background:none repeat scroll 0 0 #f5fcf5;
a.extiw:visited:hover span.heimu{
     color:var(--heimu-extiw-visited-link-color);
}
}
[color-mode="dark"] .heimu,
.navbox-odd{
[color-mode="dark"] .heimu rt{
     background:none repeat scroll 0 0 #fdfdfd;
     --heimu-color:#5e6272;
}
}
.collapseButton {
 
    float: right;
/*
    font-weight: 400;
该文档为一个hover特效库,由一些常用的效果以及GitHub上的开源项目“Hover.css”的一些部分构成。
    text-align: right;
请使用hovers在页面中进行载入。
    width: auto;
*/
}
 
.navbox .collapseButton {
/* hover状态切换 */
    width: 6em;
.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;
}
}
.navbar {
 
    position: relative;
.hover-change-after,
    min-height: 23px !important;
.hover-remote-target {
    margin-bottom: 0px !important;
  opacity: 0;
    border: 1px solid transparent;
  position: absolute;
  top: 0;
  left: 0;
}
}
.navbox-title .Wikiplus-Edit-EveryWhereBtn {
.hover-remote-target {
display: none;
  left: 100%;
}
}


@media only screen and (max-width:759px){
.hover-change-after[style^='right:'],
.infotable {
.hover-change-after[style*=' right:'],
    width: 90%;
.hover-remote-after[style^='right:'],
    float: none;
.hover-remote-after[style*=' right:'] {
    margin: 0 auto;
  left: initial;
}
/*.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标题字体 */
.hover-change-after[style^='bottom:'],
body h1 {
.hover-change-after[style*=' bottom:'],
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
.hover-remote-after[style^='bottom:'],
.hover-remote-after[style*=' bottom:'] {
  top: initial;
}
}


/* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
.hover-change-after:hover,
/* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */
.hover-remote-target {
  opacity: 0;
  margin-left: -9999px;
}


.heimu,
/* 主要用于制作hover形式的标签页(tab)切换 */
.heimu rt{
.hover-tab-mode {
    --heimu-color:#252525;
  position: relative;
    --heimu-text-color:#fff;
  transition: none;
    --heimu-link-color:#add8e6;
}
    --heimu-visited-link-color:#c5cae9;
.hover-tab-mode .hover-remote {
    --heimu-new-link-color:#fcc;
  transition: inherit;
    --heimu-new-visited-link-color:#ef9a9a;
  position: static;
    --heimu-extiw-visited-link-color:#d1c4e9;
}


    background-color:var(--heimu-color);
/* 闪烁效果 */
.hover-change.flash:hover .hover-change-before {
  margin-left: -9999px;
}
}


.heimu,
.hover-change:hover > .hover-change-before,
.heimu a,
.hover-remote > .hover-remote-target,
a .heimu,
.hover-change:hover > a > .hover-change-before,
a.new .heimu,
.hover-remote > a > .hover-remote-target {
span.heimu a:visited,
  opacity: 0;
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,
.hover-change:hover > .hover-change-after,
span.heimu:active{
.hover-remote:hover > .hover-remote-target,
    color:var(--heimu-text-color);
.hover-change:hover > a > .hover-change-after,
.hover-remote:hover > a > .hover-remote-target {
  opacity: 1;
  margin-left: initial;
}
}


span.heimu:hover a,
/* 基类 */
a:hover span.heimu{
[class*='hovers-'] {
    color:var(--heimu-link-color);
  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;
}
}


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


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


span.heimu a.new:hover:visited,
.hovers-rotate-shrink-reverse:hover {
a.new:hover:visited span.heimu{
  transform: rotate(0) scale(1);
    color:var(--heimu-new-visited-link-color);
}
}


span.heimu:hover a.extiw:visited,
/* 旋转 */
a.extiw:visited:hover span.heimu{
.hovers-rotate,
    color:var(--heimu-extiw-visited-link-color);
.hovers-rotate-reverse:hover {
}
  transition-duration: 0.5s;
[color-mode="dark"] .heimu,
  transform: rotate(0);
[color-mode="dark"] .heimu rt{
    --heimu-color:#5e6272;
}
}


/*
.hovers-rotate-reverse,
该文档为一个hover特效库,由一些常用的效果以及GitHub上的开源项目“Hover.css”的一些部分构成。
.hovers-rotate:hover {
请使用hovers在页面中进行载入。
   transition-duration: 0.5s;
*/
   transform: rotate(360deg);
 
/* hover状态切换 */
.hover-change,
.hover-remote {
   position: relative;
   display: inline-block;
  transition: opacity 0.5s linear;
}
}


.hover-change-before,
/* 正常 => 浅 */
.hover-change-after,
.hovers-fade-deep,
.hover-remote-target {
.hovers-fade,
   transition: inherit;
.hovers-fade-shallow {
   opacity: 1;
}
}
 
.hovers-fade-deep:hover,
.hover-change-after,
.hovers-fade-deep.active {
.hover-remote-target {
   opacity: 0.35;
   opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
}
.hover-remote-target {
.hovers-fade:hover,
   left: 100%;
.hovers-fade.active {
  opacity: 0.5;
}
.hovers-fade-shallow:hover,
.hovers-fade-shallow.active {
   opacity: 0.75;
}
}


.hover-change-after[style^='right:'],
/* 浅 => 正常 */
.hover-change-after[style*=' right:'],
.hovers-bloom-deep {
.hover-remote-after[style^='right:'],
   opacity: 0.35;
.hover-remote-after[style*=' right:'] {
   left: initial;
}
}
 
.hovers-bloom {
.hover-change-after[style^='bottom:'],
   opacity: 0.5;
.hover-change-after[style*=' bottom:'],
.hover-remote-after[style^='bottom:'],
.hover-remote-after[style*=' bottom:'] {
   top: initial;
}
}
 
.hovers-bloom-shallow {
.hover-change-after:hover,
   opacity: 0.75;
.hover-remote-target {
   opacity: 0;
  margin-left: -9999px;
}
}


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


/* 闪烁效果 */
/* 正常 => 大 */
.hover-change.flash:hover .hover-change-before {
.hovers-grow-deep,
   margin-left: -9999px;
.hovers-grow,
.hovers-grow-shallow {
   transform: scale(1);
}
}
 
.hovers-grow-deep:hover,
.hover-change:hover > .hover-change-before,
.hovers-grow-deep.active {
.hover-remote > .hover-remote-target,
   transform: scale(1.5);
.hover-change:hover > a > .hover-change-before,
.hover-remote > a > .hover-remote-target {
   opacity: 0;
}
}
 
.hovers-grow:hover,
.hover-change:hover > .hover-change-after,
.hovers-grow.active {
.hover-remote:hover > .hover-remote-target,
   transform: scale(1.25);
.hover-change:hover > a > .hover-change-after,
.hover-remote:hover > a > .hover-remote-target {
   opacity: 1;
  margin-left: initial;
}
}
 
.hovers-grow-shallow:hover,
/* 基类 */
.hovers-grow-shallow.active {
[class*='hovers-'] {
   transform: scale(1.1);
  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 {
.hovers-shrink-deep:hover,
  transition-duration: 0.5s;
.hovers-shrink-deep.active,
   transform: rotate(0) scale(0.75);
.hovers-shrink:hover,
.hovers-shrink.active,
.hovers-shrink-shallow:hover,
.hovers-shrink-shallow.active {
   transform: scale(1);
}
}
.hovers-rotate-shrink:hover {
.hovers-shrink-deep {
   transform: rotate(360deg) scale(1);
  transform: scale(0.5);
}
.hovers-shrink {
   transform: scale(0.75);
}
.hovers-shrink-shallow {
  transform: scale(0.9);
}
}


.hovers-rotate-shrink-reverse {
/* 左右抖动 */
   transition-duration: 0.5s;
@keyframes shake-flexible {
   transform: rotate(360deg) scale(0.75);
   25% {
    transform: translateX(-0.0625em);
   }
 
  50% {
    transform: translateX(0.0625em);
  }
 
  75% {
    transform: translateX(-0.0625em);
  }
}
}


.hovers-rotate-shrink-reverse:hover {
.hovers-shake-flexible:hover,
   transform: rotate(0) scale(1);
.hovers-shake-flexible.active {
   animation: shake-flexible 0.5s ease-out;
}
}


/* 旋转 */
@keyframes shake {
.hovers-rotate,
  25% {
.hovers-rotate-reverse:hover {
    transform: translateX(-8px);
  transition-duration: 0.5s;
  }
   transform: rotate(0);
 
  50% {
    transform: translateX(8px);
   }
 
  75% {
    transform: translateX(-8px);
  }
}
}


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


/* 正常 => 浅 */
/* 上下抖动 */
.hovers-fade-deep,
@keyframes bounce-flexible {
.hovers-fade,
   25% {
.hovers-fade-shallow {
    transform: translateY(-0.0625em);
   opacity: 1;
  }
}
 
.hovers-fade-deep:hover,
  50% {
.hovers-fade-deep.active {
    transform: translateY(0.0625em);
  opacity: 0.35;
  }
}
 
.hovers-fade:hover,
  75% {
.hovers-fade.active {
    transform: translateY(-0.0625em);
  opacity: 0.5;
  }
}
.hovers-fade-shallow:hover,
.hovers-fade-shallow.active {
  opacity: 0.75;
}
}


/* 浅 => 正常 */
.hovers-bounce-flexible:hover,
.hovers-bloom-deep {
.hovers-bounce-flexible.active {
  opacity: 0.35;
   animation: bounce-flexible 0.5s ease-out;
}
.hovers-bloom {
   opacity: 0.5;
}
.hovers-bloom-shallow {
  opacity: 0.75;
}
}


.hovers-bloom-deep:hover,
@keyframes bounce {
.hovers-bloom-deep.active,
  25% {
.hovers-bloom:hover,
    transform: translateY(-8px);
.hovers-bloom.active,
  }
.hovers-bloom-shallow:hover,
 
.hovers-bloom-shallow.active {
  50% {
  opacity: 1;
    transform: translateY(8px);
  }
 
  75% {
    transform: translateY(-8px);
  }
}
}


/* 正常 => 大 */
.hovers-bounce:hover,
.hovers-grow-deep,
.hovers-bounce.active {
.hovers-grow,
   position: relative;
.hovers-grow-shallow {
  left: 0;
   transform: scale(1);
  animation: bounce 0.5s ease-out;
}
}
.hovers-grow-deep:hover,
 
.hovers-grow-deep.active {
/* 绕顶端中点抖动 */
   transform: scale(1.5);
@keyframes swing {
}
  20% {
.hovers-grow:hover,
    transform: rotate3d(0, 0, 1, 10deg);
.hovers-grow.active {
  }
   transform: scale(1.25);
 
  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-grow-shallow:hover,
.hovers-swing:hover,
.hovers-grow-shallow.active {
.hovers-swing.active {
   transform: scale(1.1);
   animation: swing 0.75s ease-out;
}
}


/* 正常 => */
/* 正常 => */
.hovers-shrink-deep:hover,
@keyframes pulse-grow {
.hovers-shrink-deep.active,
  to {
.hovers-shrink:hover,
    transform: scale(1.1);
.hovers-shrink.active,
  }
.hovers-shrink-shallow:hover,
.hovers-shrink-shallow.active {
  transform: scale(1);
}
}
.hovers-shrink-deep {
 
   transform: scale(0.5);
.hovers-pulse-grow:hover,
.hovers-pulse-grow.active {
   animation: pulse-grow 0.5s linear infinite alternate;
}
}
.hovers-shrink {
 
   transform: scale(0.75);
/* 正常 => 小 */
@keyframes pulse-shrink {
   to {
    transform: scale(0.9);
  }
}
}
.hovers-shrink-shallow {
 
   transform: scale(0.9);
.hovers-pulse-shrink:hover,
.hovers-pulse-shrink.active {
   animation: pulse-shrink 0.5s linear infinite alternate;
}
}


/* 左右抖动 */
/* 正常 => 小 */
@keyframes shake-flexible {
@keyframes push {
  25% {
    transform: translateX(-0.0625em);
  }
 
   50% {
   50% {
     transform: translateX(0.0625em);
     transform: scale(0.8);
  }
 
  75% {
    transform: translateX(-0.0625em);
   }
   }
}
}


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


@keyframes shake {
/* 正常 => 大 */
  25% {
@keyframes pop {
    transform: translateX(-8px);
  }
 
   50% {
   50% {
     transform: translateX(8px);
     transform: scale(1.2);
  }
 
  75% {
    transform: translateX(-8px);
   }
   }
}
}


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


/* 上下抖动 */
/* 正常 => 大 => 正常 => 大 */
@keyframes bounce-flexible {
.hovers-bounce-in:hover,
   25% {
.hovers-bounce-in.active {
    transform: translateY(-0.0625em);
   transform: scale(1.2);
   }
   transition-duration: 0.5s;
 
   transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
  50% {
    transform: translateY(0.0625em);
   }
 
  75% {
    transform: translateY(-0.0625em);
  }
}
}


.hovers-bounce-flexible:hover,
/* 正常 => 小 => 正常 => 小 */
.hovers-bounce-flexible.active {
.hovers-bounce-out:hover,
   animation: bounce-flexible 0.5s ease-out;
.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);
}
}


@keyframes bounce {
/* 倾斜 */
   25% {
.hovers-tilt:hover,
    transform: translateY(-8px);
.hovers-tilt.active {
  }
   transition-duration: 0.3s;
  transform: rotate(4deg);
}


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


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


/* 绕顶端中点抖动 */
/* 下沉 */
@keyframes swing {
.hovers-sink:hover,
   20% {
.hovers-sink.active {
    transform: rotate3d(0, 0, 1, 10deg);
   transition-duration: 0.3s;
  }
  transition-timing-function: ease-out;
  transform: translateY(8px);
}


   40% {
/* 飘浮 */
     transform: rotate3d(0, 0, 1, -10deg);
@keyframes bob {
   0% {
     transform: translateY(-10px);
   }
   }
 
   50% {
   60% {
     transform: translateY(-5px);
     transform: rotate3d(0, 0, 1, 5deg);
   }
   }
 
   100% {
   80% {
     transform: translateY(-10px);
     transform: rotate3d(0, 0, 1, -5deg);
  }
 
  to {
    transform: rotate3d(0, 0, 1, 0deg);
   }
   }
}
}
 
@keyframes bob-float {
.hovers-swing {
   100% {
  transform-origin: top center;
     transform: translateY(-10px);
}
.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-bob:hover,
.hovers-pulse-grow.active {
.hovers-bob.active {
   animation: pulse-grow 0.5s linear infinite alternate;
   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 pulse-shrink {
@keyframes hang {
   to {
   0% {
     transform: scale(0.9);
    transform: translateY(10px);
  }
  50% {
     transform: translateY(5px);
  }
  100% {
    transform: translateY(10px);
   }
   }
}
}
 
@keyframes hang-sink {
.hovers-pulse-shrink:hover,
   100% {
.hovers-pulse-shrink.active {
     transform: translateY(10px);
  animation: pulse-shrink 0.5s linear infinite alternate;
}
 
/* 正常 => 小 */
@keyframes push {
   50% {
     transform: scale(0.8);
   }
   }
}
}


.hovers-push:hover,
.hovers-hang:hover,
.hovers-push.active {
.hovers-hang.active {
   animation: push 0.3s linear;
   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;
}
}


/* 正常 => 大 */
/* 非对称 */
@keyframes pop {
.hovers-skew:hover,
   50% {
.hovers-skew.active {
    transform: scale(1.2);
   transform: skew(-10deg);
  }
}
}


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


/* 正常 => 大 => 正常 => 大 */
/* 非对称-右 */
.hovers-bounce-in:hover,
.hovers-skew-backward {
.hovers-bounce-in.active {
  transform-origin: 0 100%;
   transform: scale(1.2);
}
  transition-duration: 0.5s;
.hovers-skew-backward:hover,
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
.hovers-skew-backward.active {
   transform: skew(10deg);
}
}


/* 正常 => 小 => 正常 => 小 */
/* 垂直抖动 */
.hovers-bounce-out:hover,
@keyframes wobble-vertical {
.hovers-bounce-out.active {
  16.65% {
   transform: scale(0.8);
    transform: translateY(8px);
   transition-duration: 0.5s;
  }
   transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
  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-tilt:hover,
.hovers-wobble-vertical.active {
.hovers-tilt.active {
   animation-name: wobble-vertical;
   transition-duration: 0.3s;
  animation-duration: 1s;
   transform: rotate(4deg);
  animation-timing-function: ease-in-out;
   animation-iteration-count: 1;
}
}


/* 倾斜 + 放大 */
/* 水平抖动 */
.hovers-grow-rotate:hover,
@keyframes wobble-horizontal {
.hovers-grow-rotate.active {
  16.65% {
   transition-duration: 0.3s;
    transform: translateX(8px);
   transform: scale(1.1) rotate(4deg);
  }
  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 {
.hovers-float:hover,
   animation-name: wobble-horizontal;
.hovers-float.active {
  animation-duration: 1s;
   transition-duration: 0.3s;
   animation-timing-function: ease-in-out;
   transition-timing-function: ease-out;
   animation-iteration-count: 1;
   transform: translateY(-8px);
}
}


/* 下沉 */
/* 右下弹回 */
.hovers-sink:hover,
@keyframes wobble-to-bottom-right {
.hovers-sink.active {
   16.65% {
   transition-duration: 0.3s;
     transform: translate(8px, 8px);
  transition-timing-function: ease-out;
  transform: translateY(8px);
}
 
/* 飘浮 */
@keyframes bob {
  0% {
     transform: translateY(-10px);
   }
   }
   50% {
   33.3% {
     transform: translateY(-5px);
     transform: translate(-6px, -6px);
   }
   }
   100% {
   49.95% {
     transform: translateY(-10px);
     transform: translate(4px, 4px);
  }
  66.6% {
    transform: translate(-2px, -2px);
  }
  83.25% {
    transform: translate(1px, 1px);
   }
   }
}
@keyframes bob-float {
   100% {
   100% {
     transform: translateY(-10px);
     transform: translate(0, 0);
   }
   }
}
}


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


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


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


/* 非对称 */
/* 果冻 */
.hovers-skew:hover,
@keyframes wobble-top {
.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% {
   16.65% {
     transform: translateY(8px);
     transform: skew(-12deg);
   }
   }
   33.3% {
   33.3% {
     transform: translateY(-6px);
     transform: skew(10deg);
   }
   }
   49.95% {
   49.95% {
     transform: translateY(4px);
     transform: skew(-6deg);
   }
   }
   66.6% {
   66.6% {
     transform: translateY(-2px);
     transform: skew(4deg);
   }
   }
   83.25% {
   83.25% {
     transform: translateY(1px);
     transform: skew(-2deg);
   }
   }
   100% {
   100% {
     transform: translateY(0);
     transform: skew(0);
   }
   }
}
}


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


/* 水平抖动 */
@keyframes wobble-bottom {
@keyframes wobble-horizontal {
   16.65% {
   16.65% {
     transform: translateX(8px);
     transform: skew(-12deg);
   }
   }
   33.3% {
   33.3% {
     transform: translateX(-6px);
     transform: skew(10deg);
   }
   }
   49.95% {
   49.95% {
     transform: translateX(4px);
     transform: skew(-6deg);
   }
   }
   66.6% {
   66.6% {
     transform: translateX(-2px);
     transform: skew(4deg);
   }
   }
   83.25% {
   83.25% {
     transform: translateX(1px);
     transform: skew(-2deg);
   }
   }
   100% {
   100% {
     transform: translateX(0);
     transform: skew(0);
   }
   }
}
}
.hovers-wobble-horizontal:hover,
 
.hovers-wobble-horizontal.active {
.hovers-wobble-bottom {
   animation-name: wobble-horizontal;
  transform-origin: 100% 0;
}
.hovers-wobble-bottom:hover,
.hovers-wobble-bottom.active {
   animation-name: wobble-bottom;
   animation-duration: 1s;
   animation-duration: 1s;
   animation-timing-function: ease-in-out;
   animation-timing-function: ease-in-out;
第1,216行: 第1,157行:
}
}


/* 右下弹回 */
/* 颤动 */
@keyframes wobble-to-bottom-right {
@keyframes wobble-skew {
   16.65% {
   16.65% {
     transform: translate(8px, 8px);
     transform: skew(-12deg);
   }
   }
   33.3% {
   33.3% {
     transform: translate(-6px, -6px);
     transform: skew(10deg);
   }
   }
   49.95% {
   49.95% {
     transform: translate(4px, 4px);
     transform: skew(-6deg);
   }
   }
   66.6% {
   66.6% {
     transform: translate(-2px, -2px);
     transform: skew(4deg);
   }
   }
   83.25% {
   83.25% {
     transform: translate(1px, 1px);
     transform: skew(-2deg);
   }
   }
   100% {
   100% {
     transform: translate(0, 0);
     transform: skew(0);
   }
   }
}
}
 
.hovers-wobble-skew:hover,
.hovers-wobble-to-bottom-right:hover,  
.hovers-wobble-skew.active {
.hovers-wobble-to-bottom-right.active {
   animation-name: wobble-skew;
   animation-name: wobble-to-bottom-right;
   animation-duration: 1s;
   animation-duration: 1s;
   animation-timing-function: ease-in-out;
   animation-timing-function: ease-in-out;
第1,246行: 第1,186行:
}
}


/* 右上弹回 */
/* 振动 */
@keyframes wobble-to-top-right {
@keyframes buzz {
   16.65% {
   50% {
     transform: translate(8px, -8px)
     transform: translateX(3px) rotate(2deg);
  }
  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% {
   100% {
     transform: translate(0);
     transform: translateX(-3px) rotate(-2deg);
   }
   }
}
}


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


/* 果冻 */
/* 振出 */
@keyframes wobble-top {
@keyframes buzz-out {
   16.65% {
   10% {
     transform: skew(-12deg);
     transform: translateX(3px) rotate(2deg);
  }
  20% {
    transform: translateX(-3px) rotate(-2deg);
   }
   }
   33.3% {
   30% {
     transform: skew(10deg);
     transform: translateX(3px) rotate(2deg);
   }
   }
   49.95% {
   40% {
     transform: skew(-6deg);
     transform: translateX(-3px) rotate(-2deg);
   }
   }
   66.6% {
   50% {
     transform: skew(4deg);
     transform: translateX(2px) rotate(1deg);
   }
   }
   83.25% {
   60% {
     transform: skew(-2deg);
     transform: translateX(-2px) rotate(-1deg);
   }
   }
   100% {
   70% {
     transform: skew(0);
     transform: translateX(2px) rotate(1deg);
   }
   }
}
   80% {
 
     transform: translateX(-2px) rotate(-1deg);
/* 赘肉 */
.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% {
   90% {
     transform: skew(10deg);
     transform: translateX(1px) rotate(0);
  }
  49.95% {
    transform: skew(-6deg);
  }
  66.6% {
    transform: skew(4deg);
  }
  83.25% {
    transform: skew(-2deg);
   }
   }
   100% {
   100% {
     transform: skew(0);
     transform: translateX(-1px) rotate(0);
   }
   }
}
}


.hovers-wobble-bottom {
.hovers-buzz-out:hover,
   transform-origin: 100% 0;
.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-wobble-bottom:hover,
 
.hovers-wobble-bottom.active {
/* 左移 */
   animation-name: wobble-bottom;
.hovers-backward:hover,
  animation-duration: 1s;
.hovers-backward.active {
  animation-timing-function: ease-in-out;
   transform: translateX(-8px);
  animation-iteration-count: 1;
}
}


/* 颤动 */
/* 自由移动 */
@keyframes wobble-skew {
.hovers-top,
  16.65% {
.hovers-left,
    transform: skew(-12deg);
.hovers-bottom,
  }
.hovers-right {
  33.3% {
   transition: all 0.5s;
    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;
}
}


/* 振动 */
.hovers-top:hover,
@keyframes buzz {
.hovers-top.active {
   50% {
   transform: translateY(-0.0625em);
    transform: translateX(3px) rotate(2deg);
  }
  100% {
    transform: translateX(-3px) rotate(-2deg);
  }
}
}


.hovers-buzz:hover,
.hovers-left:hover,
.hovers-buzz.active {
.hovers-left.active {
   animation-name: buzz;
   transform: translateX(-0.0625em);
   animation-duration: 0.15s;
}
  animation-timing-function: linear;
 
   animation-iteration-count: infinite;
.hovers-bottom:hover,
.hovers-bottom.active {
   transform: translateY(0.0625em);
}
 
.hovers-right:hover,
.hovers-right.active {
   transform: translateX(0.0625em);
}
}


/* 振出 */
/* 滤镜 */
@keyframes buzz-out {
.hovers-blur,
  10% {
.hovers-blur-reverse,
    transform: translateX(3px) rotate(2deg);
.hovers-brightness,
  }
.hovers-brightness-reverse,
  20% {
.hovers-contrast,
    transform: translateX(-3px) rotate(-2deg);
.hovers-contrast-reverse,
  }
.hovers-grayscale,
  30% {
.hovers-grayscale-reverse,
    transform: translateX(3px) rotate(2deg);
.hovers-invert,
  }
.hovers-invert-reverse,
  40% {
.hovers-saturate,
    transform: translateX(-3px) rotate(-2deg);
.hovers-saturate-reverse,
  }
.hovers-sepia,
  50% {
.hovers-sepia-reverse,
    transform: translateX(2px) rotate(1deg);
.hovers-hue-rotate,
  }
.hovers-hue-rotate-reverse {
  60% {
  transition-duration: 0.75s;
    transform: translateX(-2px) rotate(-1deg);
}
  }
 
  70% {
.hovers-blur:hover,
    transform: translateX(2px) rotate(1deg);
.hovers-blur.active,
  }
.hovers-brightness:hover,
  80% {
.hovers-brightness.active,
    transform: translateX(-2px) rotate(-1deg);
.hovers-contrast:hover,
  }
.hovers-contrast.active,
  90% {
.hovers-grayscale:hover,
    transform: translateX(1px) rotate(0);
.hovers-grayscale.active,
  }
.hovers-invert:hover,
  100% {
.hovers-invert.active,
    transform: translateX(-1px) rotate(0);
.hovers-saturate:hover,
   }
.hovers-saturate.active,
.hovers-sepia:hover,
.hovers-sepia.active,
.hovers-hue-rotate:hover,
.hovers-hue-rotate.active {
   filter: initial;
}
}


.hovers-buzz-out:hover,
.hovers-blur {
.hovers-buzz-out.active {
   filter: blur(5px);
   animation-name: buzz-out;
  animation-duration: 0.75s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}
}


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


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


/* 自由移动 */
.hovers-brightness-reverse:hover,
.hovers-top,
.hovers-brightness-reverse.active {
.hovers-left,
   filter: brightness(50%);
.hovers-bottom,
.hovers-right {
   transition: all 0.5s;
}
}


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


.hovers-left:hover,
.hovers-contrast-reverse:hover,
.hovers-left.active {
.hovers-contrast-reverse.active {
   transform: translateX(-0.0625em);
   filter: contrast(50%);
}
}


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


.hovers-right:hover,
.hovers-grayscale-reverse:hover,  
.hovers-right.active {
.hovers-grayscale-reverse.active {
   transform: translateX(0.0625em);
   filter: grayscale(100%);
}
}


/* 滤镜 */
.hovers-invert {
.hovers-blur,
   filter: invert(100%);
.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-invert-reverse:hover,
.hovers-blur.active,
.hovers-invert-reverse.active {
.hovers-brightness:hover,
   filter: invert(100%);
.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 {
.hovers-saturate {
   filter: blur(5px);
   filter: saturate(200%);
}
}


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


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


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


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


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


.hovers-grayscale {
/* 背景滑动 */
   filter: grayscale(100%);
.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-grayscale-reverse:hover,  
.hovers-sweep-to-right:before,
.hovers-grayscale-reverse.active {
.hovers-sweep-to-left:before,
   filter: grayscale(100%);
.hovers-sweep-to-bottom:before,
}
.hovers-sweep-to-top:before,
 
.hovers-radial-out:before,
.hovers-invert {
.hovers-radial-in:before {
   filter: invert(100%);
   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-invert-reverse:hover,
.hovers-radial-in:before {
.hovers-invert-reverse.active {
   border-radius: 50%;
   filter: invert(100%);
  transform: scale(0);
}
}
 
.hovers-radial-in:before {
.hovers-saturate {
   transform: scale(2);
   filter: saturate(200%);
}
}


.hovers-saturate-reverse:hover,
.hovers-sweep-to-right:before {
.hovers-saturate-reverse.active {
  transform-origin: 0 50%;
   filter: saturate(200%);
}
.hovers-sweep-to-left:before {
   transform-origin: 100% 50%;
}
}
 
.hovers-sweep-to-bottom:before {
.hovers-sepia {
   transform-origin: 50% 0;
   filter: sepia(100%);
}
}
 
.hovers-sweep-to-top:before {
.hovers-sepia-reverse:hover,
   transform-origin: 50% 100%;
.hovers-sepia-reverse.acitve {
   filter: sepia(100%);
}
}
 
.hovers-radial-out:hover:before,
.hovers-hue-rotate {
.hovers-radial-out.active:before {
   filter: hue-rotate(180deg);
   transform: scale(2);
}
}
 
.hovers-radial-in:hover:before,
.hovers-hue-rotate-reverse:hover,
.hovers-radial-in.active:before {
.hovers-hue-rotate-reverse.active {
   transform: scale(0);
   filter: hue-rotate(180deg);
}
}


/* 背景滑动 */
.hovers-sweep-to-right .hovers-content.center,
.hovers-sweep-to-right,
.hovers-sweep-to-left .hovers-content.center,
.hovers-sweep-to-left,
.hovers-sweep-to-bottom .hovers-content.center,
.hovers-sweep-to-bottom,
.hovers-sweep-to-top .hovers-content.center,
.hovers-sweep-to-top,
.hovers-radial-out .hovers-content.center,
.hovers-radial-out,
.hovers-radial-in .hovers-content.center {
.hovers-radial-in {
   display: flex;
   position: relative;
   align-items: center;
   transition-duration: 0.3s;
   justify-content: center;
   transition-timing-function: ease-out;
   word-break: break-all;
   overflow: hidden;
}
}


.hovers-sweep-to-right:before,
.hovers-sweep-to-right:hover:before,
.hovers-sweep-to-left:before,
.hovers-sweep-to-left:hover:before,
.hovers-sweep-to-bottom:before,
.hovers-sweep-to-bottom:hover:before,
.hovers-sweep-to-top:before,
.hovers-sweep-to-top:hover:before,
.hovers-radial-out:before,
.hovers-sweep-to-right.active:before,
.hovers-radial-in:before {
.hovers-sweep-to-left:hover:before,
   content: '';
.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;
   position: absolute;
   z-index: 10;
   transition-property: all;
  transition-duration: inherit;
   top: 0;
   top: 0;
   left: 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;
   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 {
.hovers-sweep-to-left .hovers-content {
   border-radius: 50%;
   left: 100%;
  transform: scale(0);
}
}
.hovers-radial-in:before {
.hovers-sweep-to-left:hover .hovers-content,
   transform: scale(2);
.hovers-sweep-to-left.active .hovers-content {
   left: 0;
}
}


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


.hovers-sweep-to-right .hovers-content.center,
.hovers-radial-in .hovers-content,
.hovers-sweep-to-left .hovers-content.center,
.hovers-radial-out:hover .hovers-content,
.hovers-sweep-to-bottom .hovers-content.center,
.hovers-radial-out.active .hovers-content {
.hovers-sweep-to-top .hovers-content.center,
   opacity: 1;
.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,
/* 默认em */
.hovers-sweep-to-left:hover:before,
.hovers-border,
.hovers-sweep-to-bottom:hover:before,
.hovers-trim,
.hovers-sweep-to-top:hover:before,
.hovers-ripple-out,
.hovers-sweep-to-right.active:before,
.hovers-ripple-in,
.hovers-sweep-to-left:hover:before,
.hovers-outline-out,
.hovers-sweep-to-bottom:hover:before,
.hovers-outline-in,
.hovers-sweep-to-top:hover:before {
.hovers-reveal {
   transform: scaleX(1);
  font-size: 160px;
  line-height: 16px;
}
 
/* 内边框滑出 */
.hovers-border,
.hovers-trim {
  position: relative;
  top: 0;
  left: 0;
   transition: all 0.3s;
}
}


.hovers-sweep-to-right .hovers-content,
.hovers-border:before {
.hovers-sweep-to-left .hovers-content,
  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%;
   width: 100%;
   height: 100%;
   height: 100%;
   position: absolute;
   position: absolute;
  transition-property: all;
  transition-duration: inherit;
   top: 0;
   top: 0;
   left: 0;
   left: 0;
   z-index: 11;
   box-sizing: border-box;
}
  transition: inherit;
 
  border-width: calc(0.0625em * 0.6);
.hovers-sweep-to-right .hovers-content {
   border-color: inherit;
   left: initial;
   border-style: solid;
   right: 100%;
  border-radius: inherit;
}
   opacity: 0;
.hovers-sweep-to-right:hover .hovers-content,
.hovers-sweep-to-right.active .hovers-content {
   right: 0;
}
}


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


.hovers-sweep-to-bottom .hovers-content {
/* 带边距内边框 */
   top: initial;
.hovers-trim:before {
   bottom: 100%;
   content: '';
}
   position: absolute;
.hovers-sweep-to-bottom:hover .hovers-content,
  top: calc(0.0625em * 0.4);
.hovers-sweep-to-bottom.active .hovers-content {
  left: calc(0.0625em * 0.4);
   bottom: 0;
   bottom: calc(0.0625em * 0.4);
}
  right: calc(0.0625em * 0.4);
 
   transition: inherit;
.hovers-sweep-to-top .hovers-content {
  border-width: calc(0.0625em * 0.6);
   top: 100%;
   border-color: inherit;
}
  border-style: solid;
.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;
   opacity: 0;
  border-radius: inherit;
}
}


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


/* 默认em */
/* 边框飞出与飞入 */
.hovers-border,
.hovers-trim,
.hovers-ripple-out,
.hovers-ripple-out,
.hovers-ripple-in,
.hovers-ripple-in,
第1,739行: 第1,615行:
.hovers-outline-in,
.hovers-outline-in,
.hovers-reveal {
.hovers-reveal {
   font-size: 160px;
   animation-duration: 0.7s;
   line-height: 16px;
   animation-timing-function: ease-out;
}
 
/* 内边框滑出 */
.hovers-border,
.hovers-trim {
  position: relative;
  top: 0;
  left: 0;
   transition: all 0.3s;
   transition: all 0.3s;
}
}


.hovers-border:before {
.hovers-ripple-out:before,
.hovers-ripple-in:before,
.hovers-outline-out:before,
.hovers-outline-in:before,
.hovers-reveal:before {
   content: '';
   content: '';
  width: 100%;
  height: 100%;
   position: absolute;
   position: absolute;
   top: 0;
   top: 0;
  right: 0;
  bottom: 0;
   left: 0;
   left: 0;
   box-sizing: border-box;
   animation: inherit;
   transition: inherit;
   transition: inherit;
   border-width: calc(0.0625em * 0.6);
   border-width: calc(0.0625em * 0.6);
第1,765行: 第1,637行:
   border-style: solid;
   border-style: solid;
   border-radius: inherit;
   border-radius: inherit;
}
.hovers-ripple-out:before {
   opacity: 0;
   opacity: 0;
}
}
 
.hovers-ripple-in:before {
.hovers-border:hover:before,
  top: calc(-0.0625em * 1.2);
.hovers-border.active:before {
  right: calc(-0.0625em * 1.2);
   opacity: 1;
  bottom: calc(-0.0625em * 1.2);
  left: calc(-0.0625em * 1.2);
   opacity: 0;
}
}
 
.hovers-outline-out:before {
/* 带边距内边框 */
   opacity: 0;
.hovers-trim:before {
}
   content: '';
.hovers-outline-out:before {
  position: absolute;
   top: calc(-0.0625em * 1.6);
   top: calc(0.0625em * 0.4);
   right: calc(-0.0625em * 1.6);
   left: calc(0.0625em * 0.4);
   bottom: calc(-0.0625em * 1.6);
   bottom: calc(0.0625em * 0.4);
   left: calc(-0.0625em * 1.6);
   right: calc(0.0625em * 0.4);
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
  border-color: inherit;
  border-style: solid;
   opacity: 0;
   opacity: 0;
  border-radius: inherit;
}
}
 
.hovers-reveal:before {
.hovers-trim:hover:before,
  border-width: 0;
.hovers-trim.active:before {
   opacity: 0;
   opacity: 1;
}
}


/* 边框飞出与飞入 */
@keyframes ripple-out {
.hovers-ripple-out,
  50% {
.hovers-ripple-in,
    opacity: 1;
.hovers-outline-out,
  }
.hovers-outline-in,
 
.hovers-reveal {
  100% {
   animation-duration: 0.7s;
    top: calc(-0.0625em * 1.2);
  animation-timing-function: ease-out;
    right: calc(-0.0625em * 1.2);
  transition: all 0.3s;
    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;
}
}


.hovers-ripple-out:before,
@keyframes ripple-in {
.hovers-ripple-in:before,
  50% {
.hovers-outline-out:before,
    opacity: 1;
.hovers-outline-in:before,
   }
.hovers-reveal:before {
 
  content: '';
   100% {
   position: absolute;
    top: 0;
   top: 0;
    right: 0;
  right: 0;
    bottom: 0;
  bottom: 0;
    left: 0;
  left: 0;
    opacity: 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 {
.hovers-ripple-in:hover:before,
   opacity: 0;
.hovers-ripple-in.active:before {
   animation-name: ripple-in;
}
}
.hovers-ripple-in:before {
 
   top: calc(-0.0625em * 1.2);
.hovers-outline-out:hover:before,
   right: calc(-0.0625em * 1.2);
.hovers-outline-in:hover:before,
   bottom: calc(-0.0625em * 1.2);
.hovers-outline-out.active:before,
   left: calc(-0.0625em * 1.2);
.hovers-outline-in:hover:before {
   opacity: 0;
   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-outline-out:before {
 
   opacity: 0;
.hovers-reveal:hover:before,
.hovers-reveal.active:before {
  transform: translateY(0);
  border-width: calc(0.0625em * 0.4);
   opacity: 1;
}
}
.hovers-outline-out:before {
 
  top: calc(-0.0625em * 1.6);
/* 圆角化 */
  right: calc(-0.0625em * 1.6);
.hovers-round-corners {
  bottom: calc(-0.0625em * 1.6);
   overflow: hidden;
  left: calc(-0.0625em * 1.6);
   opacity: 0;
}
}
.hovers-reveal:before {
.hovers-round-corners:hover,
   border-width: 0;
.hovers-round-corners.active {
  opacity: 0;
   border-radius: 0.0625em;
}
}


@keyframes ripple-out {
/* 重叠:翻转切换 */
 
.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% {
   50% {
     opacity: 1;
     transform: scale(1.2);
   }
   }


   100% {
   to {
     top: calc(-0.0625em * 1.2);
     transform: rotateY(0);
    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 {
.hover-turn:not(:hover) .hover-turn-before,
  50% {
.hover-turn:hover .hover-turn-after {
    opacity: 1;
   animation: hover-turn 0.5s;
  }
 
  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,
.hover-turn:hover .hover-turn-before,
.hovers-outline-in:hover:before,
.hover-turn:not(:hover) .hover-turn-after {
.hovers-outline-out.active:before,
opacity: 0;
.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;
}
}
/* [[Category:在模板名字空间下的CSS页面]] */


.hovers-reveal:hover:before,
/*
.hovers-reveal.active:before {
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
  transform: translateY(0);
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
  border-width: calc(0.0625em * 0.4);
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
  opacity: 1;
*/
.colormu-drk {
color: #FFF;
}
}
 
.colormu-bri {
/* 圆角化 */
color: #000;
.hovers-round-corners {
  overflow: hidden;
}
}
.hovers-round-corners:hover,
.colormu-drk:not(.colormu_toggle_on) a {
.hovers-round-corners.active {
color: #add8e6;
  border-radius: 0.0625em;
}
}
 
.colormu-drk:not(.colormu_toggle_on) a.new {
/* 重叠:翻转切换 */
color: #FCC;
 
.hover-turn {
  position: relative;
  transform: translateZ(1px);
}
}
 
.colormu>span, .colormu a, .colormu a>span {
.hover-turn-before,
transition: color 0.2s;
.hover-turn-after {
  position: absolute;
  top: 0;
  left: 0;
}
}
 
@keyframes hover-turn {
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
  from {
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
    transform: rotateY(-90deg);
color: transparent;
  }
 
  50% {
    transform: scale(1.2);
  }
 
  to {
    transform: rotateY(0);
  }
}
}
 
.hover-turn:not(:hover) .hover-turn-before,
/* for T:Coloredlink in T:彩幕 */
.hover-turn:hover .hover-turn-after {
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
  animation: hover-turn 0.5s;
color: transparent !important;
}
}
 
.hover-turn:hover .hover-turn-before,
/* for T:彩幕 in link */
.hover-turn:not(:hover) .hover-turn-after {
a .colormu-bri {
opacity: 0;
color: inherit;
}
}
/* [[Category:在模板名字空间下的CSS页面]] */
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 {
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
color: inherit !important;
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
*/
.colormu-drk {
color: #FFF;
}
}
.colormu-bri {
/* === 轮播图容器 === */
color: #000;
.mw-carousel {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 2em auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16 / 9;
  background-color: #f8f9fa;
}
}
.colormu-drk:not(.colormu_toggle_on) a {
 
color: #add8e6;
/* === 图片区域 === */
.mw-carousel .carousel-image {
  width: 100%;
  height: 100%;
  position: relative;
}
}
.colormu-drk:not(.colormu_toggle_on) a.new {
 
color: #FCC;
.mw-carousel .carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
}
.colormu>span, .colormu a, .colormu a>span {
 
transition: color 0.2s;
/* === 默认状态下的文字:底部横条,文字靠左 === */
.mw-carousel .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: white;
  padding: 2em 1.5em 1.2em;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  transform: translateY(0);
}
}
 
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
/* === 悬停时的文字效果:文字全屏覆盖,背景渐变 === */
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
.mw-carousel:hover .carousel-caption {
color: transparent;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: translateY(0);
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em;
  border-radius: 0;
  backdrop-filter: blur(3px);
}
}
 
/* for T:Coloredlink in T:彩幕 */
/* === 标题 + 描述样式 === */
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
.mw-carousel .carousel-caption h3 {
color: transparent !important;
  margin: 0 0 0.5em;
  font-size: 1.6em;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
}
 
/* for T:彩幕 in link */
.mw-carousel .carousel-caption p {
a .colormu-bri {
  margin: 0;
color: inherit;
  font-size: 1.1em;
  line-height: 1.4;
  max-width: 80%;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease 0.1s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
}
a:hover .colormu>span, a:active .colormu>span,
 
/* and for MediaWiki:Gadget-heimu-toggle.js */
.mw-carousel:hover .carousel-caption h3 {
.colormu-drk.colormu_toggle_on, .colormu_toggle_on>span, .colormu-drk.colormu_toggle_on a>span {
   transform: translateY(0);
color: inherit !important;
}
/* === 轮播图容器 === */
.mw-carousel {
   position: relative;
  width: 100%;
  max-width: 960px;
  margin: 2em auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16 / 9;
  background-color: #f8f9fa;
}
}


/* === 图片区域 === */
.mw-carousel:hover .carousel-caption p {
.mw-carousel .carousel-image {
   opacity: 1;
   width: 100%;
   transform: translateY(0);
  height: 100%;
   position: relative;
}
}


.mw-carousel .carousel-image img {
/* === 左右切换按钮(垂直居中) === */
.mw-carousel .carousel-navigation {
  position: absolute;
  top: 50%;
  left: 0;
   width: 100%;
   width: 100%;
   height: 100%;
   display: flex;
   object-fit: cover;
  justify-content: space-between;
   display: block;
  transform: translateY(-50%);
   z-index: 3;
  padding: 0 1.5em;
   opacity: 0;
  transition: opacity 0.3s ease;
}
}


/* === 默认状态下的文字:底部横条,文字靠左 === */
.mw-carousel:hover .carousel-navigation {
.mw-carousel .carousel-caption {
   opacity: 1;
   position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: white;
  padding: 2em 1.5em 1.2em;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  transform: translateY(0);
}
}


/* === 悬停时的文字效果:文字全屏覆盖,背景渐变 === */
.mw-carousel .carousel-prev,
.mw-carousel:hover .carousel-caption {
.mw-carousel .carousel-next {
   top: 0;
   background-color: rgba(255, 255, 255, 0.8);
   left: 0;
   border: none;
   bottom: 0;
   border-radius: 50%;
   width: 100%;
   width: 48px;
   height: 100%;
   height: 48px;
   transform: translateY(0);
   font-size: 22px;
   background: rgba(0, 0, 0, 0.6);  
   cursor: pointer;
   display: flex;
   display: flex;
  flex-direction: column;
   justify-content: center;
   justify-content: center;
   align-items: center;
   align-items: center;
   text-align: center;
   transition: all 0.3s;
  padding: 2em;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
   border-radius: 0;
   color: #333;
   backdrop-filter: blur(3px);
}
}


/* === 标题 + 描述样式 === */
.mw-carousel .carousel-prev:hover,
.mw-carousel .carousel-caption h3 {
.mw-carousel .carousel-next:hover {
  margin: 0 0 0.5em;
   background-color: rgba(255, 255, 255, 0.95);
  font-size: 1.6em;
   transform: scale(1.05);
  font-weight: 600;
   text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
   transform: translateY(0);
  transition: transform 0.4s ease;
}
}


.mw-carousel .carousel-caption p {
/* === 指示器 - 修改为底部右侧 === */
   margin: 0;
.mw-carousel .carousel-indicators {
   font-size: 1.1em;
   position: absolute;
   line-height: 1.4;
  bottom: 15px;
   max-width: 80%;
  right: 20px; /* 改为右对齐 */
   opacity: 1;
   left: auto;   /* 取消左对齐 */
   transform: translateY(0);
   transform: none; /* 取消水平居中变换 */
   transition: all 0.4s ease 0.1s;
   display: flex;
   text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
   gap: 10px;
   z-index: 4;
   padding: 0.5em 1em;
  border-radius: 20px;
   background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}
}


.mw-carousel:hover .carousel-caption h3 {
.mw-carousel .carousel-indicators .indicator {
   transform: translateY(0);
   width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
}


.mw-carousel:hover .carousel-caption p {
.mw-carousel .carousel-indicators .indicator.active {
   opacity: 1;
   background-color: #ffffff;
   transform: translateY(0);
  transform: scale(1.2);
   box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
}


/* === 左右切换按钮(垂直居中) === */
.mw-carousel .carousel-indicators .indicator:hover {
.mw-carousel .carousel-navigation {
   background-color: rgba(255, 255, 255, 0.8);
   position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
  padding: 0 1.5em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
}


.mw-carousel:hover .carousel-navigation {
/* === 图片全局统一显示效果 === */
   opacity: 1;
img {
  max-width: 100%;
  height: auto;
   display: block;
}
}


.mw-carousel .carousel-prev,
/* === 添加图片过渡效果 === */
.mw-carousel .carousel-next {
.mw-carousel .carousel-image img {
  background-color: rgba(255, 255, 255, 0.8);
   transition: transform 0.5s ease;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
   transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #333;
}
}


.mw-carousel .carousel-prev:hover,
.mw-carousel:hover .carousel-image img {
.mw-carousel .carousel-next:hover {
   transform: scale(1.03);
  background-color: rgba(255, 255, 255, 0.95);
   transform: scale(1.05);
}
}


/* === 指示器 - 修改为底部右侧 === */
 
.mw-carousel .carousel-indicators {
/* Common styles */
   position: absolute;
.section-title {
   bottom: 15px;
   background-color: #f0f0f0;
  right: 20px;  /* 改为右对齐 */
   color: #333;
  left: auto;   /* 取消左对齐 */
   font-weight: bold;
   transform: none; /* 取消水平居中变换 */
   padding: 0.5rem 1rem;
  display: flex;
   font-size: 1.2rem;
  gap: 10px;
   border-left: 4px solid #3366cc;
  z-index: 4;
   padding: 0.5em 1em;
   border-radius: 20px;
  background-color: rgba(0, 0, 0, 0.3);
   backdrop-filter: blur(5px);
}
}


.mw-carousel .carousel-indicators .indicator {
.see-more {
   width: 10px;
   text-align: right;
   height: 10px;
   padding: 0.3rem 1rem;
   background-color: rgba(255, 255, 255, 0.5);
   font-size: 0.9rem;
   border-radius: 50%;
   background-color: #f5f5f5;
  cursor: pointer;
  transition: all 0.3s;
}
}


.mw-carousel .carousel-indicators .indicator.active {
.see-more a {
   background-color: #ffffff;
   color: #3366cc;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
}


.mw-carousel .carousel-indicators .indicator:hover {
/* 主页横幅样式 */
   background-color: rgba(255, 255, 255, 0.8);
.main-page-banner {
  display: grid;
  grid-template-areas:
    "welcome welcome welcome"
    "discord faq join";
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 3%;
  margin-bottom: 4rem;
  width: 100%;
   box-sizing: border-box;
}
}


/* === 图片全局统一显示效果 === */
/* 欢迎文本区域 */
img {
.main-page-banner .welcome-text {
   max-width: 100%;
   grid-area: welcome;
   height: auto;
  background-color: rgb(var(--gray-monochrome, 66, 66, 72));
   display: block;
  color: rgb(var(--white-monochrome, 252, 252, 252));
  font-style: italic;
  padding: 1.5rem;
  border-radius: 1rem 1rem 0 0;
   margin: 0;
   width: 100%;
}
}


/* === 添加图片过渡效果 === */
.main-page-banner .welcome-text p {
.mw-carousel .carousel-image img {
   margin: 0;
   transition: transform 0.5s ease;
  color: rgb(var(--white-monochrome, 252, 252, 252));
}
}


.mw-carousel:hover .carousel-image img {
/* 导航链接区域 */
   transform: scale(1.03);
.main-page-banner .navigation-links {
   display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 3%;
  grid-area: discord / discord / join / join;
  width: 100%;
}
}
/* Main Page Styles */
 
#firstHeading {
.main-page-banner .nav-button {
   display: none;
   background-color: rgb(var(--gray-monochrome, 66, 66, 72));
  border-radius: 0 0 1rem 1rem;
  margin: 0 0 4rem 0;
  transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1);
  height: min-content;
}
}


/* Common styles */
.main-page-banner .nav-button:hover {
.section-title {
   margin: 0 0 1rem 0;
  background-color: #f0f0f0;
  color: #333;
  font-weight: bold;
   padding: 0.5rem 1rem;
  font-size: 1.2rem;
  border-left: 4px solid #3366cc;
}
}


.see-more {
.main-page-banner .nav-button a {
   text-align: right;
  display: block;
   padding: 0.3rem 1rem;
  padding: 0.5rem 0;
   font-size: 0.9rem;
  width: 100%;
   background-color: #f5f5f5;
   text-align: center;
   color: rgb(var(--white-monochrome, 0, 0, 0));
   font-size: 1.25rem;
  transition: padding 150ms cubic-bezier(0.4, 0, 0.2, 1);
   font-weight: bold;
  text-decoration: none;
}
}


.see-more a {
.main-page-banner .nav-button a:hover {
   color: #3366cc;
   padding: 2rem 0;
  text-decoration: none;
}
}


/* 主页横幅样式 */
/* 针对背景图片的设置 */
.main-page-banner {
.main-page-banner {
   display: grid;
   position: relative;
   grid-template-areas:
   z-index: 1;
    "welcome welcome welcome"
    "discord faq join";
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 3%;
  margin-bottom: 4rem;
  width: 100%;
  box-sizing: border-box;
}
}


/* 欢迎文本区域 */
.main-page-banner::before {
.main-page-banner .welcome-text {
   content: "";
  grid-area: welcome;
   position: absolute;
  background-color: rgb(var(--gray-monochrome, 66, 66, 72));
   top: 0;
   color: rgb(var(--white-monochrome, 252, 252, 252));
   left: 0;
   font-style: italic;
   padding: 1.5rem;
  border-radius: 1rem 1rem 0 0;
   margin: 0;
   width: 100%;
   width: 100%;
  height: 100%;
  background-image: url('您的背景图片URL');
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* 调整透明度使文字可读 */
  z-index: -1;
  border-radius: 1rem;
}
}


.main-page-banner .welcome-text p {
/* 响应式布局 */
  margin: 0;
@media (max-width: 767px) {
  color: rgb(var(--white-monochrome, 252, 252, 252));
  .main-page-banner {
}
    grid-template-areas:  
 
      "welcome"
/* 导航链接区域 */
      "navigation";
.main-page-banner .navigation-links {
    grid-template-columns: 1fr;
  display: grid;
  }
  grid-template-columns: 1fr 1fr 1fr;
 
   grid-column-gap: 3%;
  .main-page-banner .welcome-text {
  grid-area: discord / discord / join / join;
    width: 100%;
  width: 100%;
    margin-bottom: 0;
}
    box-sizing: border-box;
 
   }
.main-page-banner .nav-button {
 
  background-color: rgb(var(--gray-monochrome, 66, 66, 72));
  .main-page-banner .navigation-links {
  border-radius: 0 0 1rem 1rem;
    grid-area: navigation;
  margin: 0 0 4rem 0;
    display: flex;
   transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
   height: min-content;
    overflow: visible;
}
  }
 
 
.main-page-banner .nav-button:hover {
  .main-page-banner .nav-button {
  margin: 0 0 1rem 0;
    flex: 1;
    margin: 0 0 4rem 0;
   }
 
  .main-page-banner .nav-button:not(:last-child) {
    margin-right: 3%;
  }
 
  .main-page-banner .nav-button a {
    font-size: 1.1rem;
   }
 
  .main-page-banner .nav-button:hover {
    margin: 0 0 1rem 0;
  }
}
/* Announcement styles */
.announcement-container {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
  align-content: space-between;
  margin-bottom: 2rem;
}
}


.main-page-banner .nav-button a {
.announcement-container .section-title {
  display: block;
  padding: 0.5rem 0;
   width: 100%;
   width: 100%;
   text-align: center;
   text-align: center;
  color: rgb(var(--white-monochrome, 0, 0, 0));
   font-size: 1.5rem;
   font-size: 1.25rem;
   border-left: none;
  transition: padding 150ms cubic-bezier(0.4, 0, 0.2, 1);
   border-bottom: 2px solid #f0f0f0;
   font-weight: bold;
   text-decoration: none;
}
}


.main-page-banner .nav-button a:hover {
.announcement-container .announcement-content {
   padding: 2rem 0;
  background-color: #fafafa;
   text-decoration: none;
   width: 100%;
   padding: 0.75rem;
}
}


/* 针对背景图片的设置 */
.announcement-container .more-content {
.main-page-banner {
   width: 100%;
   position: relative;
   border-top: 2px solid #f0f0f0;
   z-index: 1;
}
.announcement-container .collapsible-block.active .collapsible-content {
  display: block;
}
}
 
.announcement-container .collapsible-block {
.main-page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
   width: 100%;
   width: 100%;
  height: 100%;
}
  background-image: url('您的背景图片URL');
/* 更高特异性的选择器 */
  background-size: cover;
.announcement-container .more-content .collapsible-block .collapsible-content {
  background-position: center;
   display: none !important;
  opacity: 0.3; /* 调整透明度使文字可读 */
  z-index: -1;
   border-radius: 1rem;
}
}


/* 响应式布局 */
.announcement-container .more-content .collapsible-block.active .collapsible-content {
@media (max-width: 767px) {
  display: block !important;
  .main-page-banner {
}
    grid-template-areas:
.announcement-container .collapsible-header {
      "welcome"
  padding: 1rem 0;
      "navigation";
  text-align: center;
    grid-template-columns: 1fr;
  background: rgba(240, 240, 240, 0.7);
  }
  cursor: pointer;
 
}
  .main-page-banner .welcome-text {
 
    width: 100%;
.announcement-container .collapsible-header:hover {
    margin-bottom: 0;
  background: rgba(240, 240, 240, 1);
    box-sizing: border-box;
}
  }
 
 
.announcement-container .collapsible-content {
  .main-page-banner .navigation-links {
  padding: 1rem;
    grid-area: navigation;
  background: #f5f5f5;
    display: flex;
}
    width: 100%;
/* 更高特异性的选择器 */
    overflow: visible;
.announcement-container .more-content .collapsible-block .collapsible-content {
  }
  display: none !important;
 
}
  .main-page-banner .nav-button {
 
    flex: 1;
.announcement-container .more-content .collapsible-block.active .collapsible-content {
    margin: 0 0 4rem 0;
  display: block !important;
  }
 
  .main-page-banner .nav-button:not(:last-child) {
    margin-right: 3%;
  }
 
  .main-page-banner .nav-button a {
    font-size: 1.1rem;
  }
 
  .main-page-banner .nav-button:hover {
    margin: 0 0 1rem 0;
  }
}
}
/* Announcement styles */
/* Recent pages styles */
.announcement-container {
.main-page-content {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   border: 2px solid #f0f0f0;
   justify-content: space-between;
  align-content: space-between;
   margin-bottom: 2rem;
   margin-bottom: 2rem;
}
}


.announcement-container .section-title {
.recent-pages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
   width: 100%;
   width: 100%;
   text-align: center;
   margin-bottom: 1rem;
  font-size: 1.5rem;
  border-left: none;
  border-bottom: 2px solid #f0f0f0;
}
}


.announcement-container .announcement-content {
.recent-pages-container .page-section {
   background-color: #fafafa;
   flex-basis: 48%;
   width: 100%;
  display: grid;
   padding: 0.75rem;
  grid-template-areas: "title" "page" "more";
   grid-template-rows: auto 1fr auto;
   border: 1px solid #f0f0f0;
}
}


.announcement-container .more-content {
.recent-pages-container .section-title {
   width: 100%;
   grid-area: title;
  border-top: 2px solid #f0f0f0;
}
}


.announcement-container .collapsible-block {
.recent-pages-container .page-list {
   width: 100%;
   grid-area: page;
  border: solid #f0f0f0;
  border-width: 0 1px;
  padding: 0.5rem 1rem;
  background-color: #fafafa;
  max-height: 15rem;
  overflow-y: auto;
}
}


.announcement-container .collapsible-header {
.recent-pages-container .page-list a {
   padding: 1rem 0;
  display: block;
   text-align: center;
   padding: 0.3rem 0;
   background: rgba(240, 240, 240, 0.7);
   border-bottom: 1px solid #f0f0f0;
   cursor: pointer;
  white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}
}


.announcement-container .collapsible-header:hover {
.recent-pages-container .page-list a:last-child {
   background: rgba(240, 240, 240, 1);
   border-bottom: none;
}
}


.announcement-container .collapsible-content {
.recent-pages-container .see-more {
   padding: 1rem;
   grid-area: more;
  background: #f5f5f5;
}
}


/* Recent pages styles */
/* Featured content styles */
.main-page-content {
.featured-content-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}
 
.recent-pages-container {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   justify-content: space-between;
   justify-content: space-between;
   width: 100%;
   width: 100%;
  margin-bottom: 1rem;
}
}


.recent-pages-container .page-section {
.featured-content-container .feature-item {
   flex-basis: 48%;
   flex-basis: 48%;
   display: grid;
   display: grid;
   grid-template-areas: "title" "page" "more";
   grid-template-areas: "title" "content" "more";
   grid-template-rows: auto 1fr auto;
   grid-template-rows: auto 1fr auto;
   border: 1px solid #f0f0f0;
   border: 1px solid #f0f0f0;
  margin-bottom: 1rem;
}
}


.recent-pages-container .section-title {
.featured-content-container .section-title {
   grid-area: title;
   grid-area: title;
}
}


.recent-pages-container .page-list {
.featured-content-container .feature-content {
   grid-area: page;
   grid-area: content;
   border: solid #f0f0f0;
   border: solid #f0f0f0;
   border-width: 0 1px;
   border-width: 0 1px;
   padding: 0.5rem 1rem;
   padding: 1rem;
   background-color: #fafafa;
   background-color: #fafafa;
  max-height: 15rem;
  overflow-y: auto;
}
}


.recent-pages-container .page-list a {
.featured-content-container .feature-content .featured-title {
   display: block;
   font-size: 1.2rem;
  padding: 0.3rem 0;
   font-weight: bold;
   border-bottom: 1px solid #f0f0f0;
   margin-bottom: 0.5rem;
   white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
}


.recent-pages-container .page-list a:last-child {
.featured-content-container .feature-content .featured-author {
   border-bottom: none;
   font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}
}


.recent-pages-container .see-more {
.featured-content-container .feature-content .featured-description {
  font-style: italic;
  color: #444;
}
 
.featured-content-container .see-more {
   grid-area: more;
   grid-area: more;
}
}


/* Featured content styles */
/* Tools and resources styles */
.featured-content-container {
.tools-and-resources {
   display: flex;
   margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
}


.featured-content-container .feature-item {
.tools-container {
  flex-basis: 48%;
   display: grid;
   display: grid;
   grid-template-areas: "title" "content" "more";
   grid-template-columns: 1fr 1fr;
   grid-template-rows: auto 1fr auto;
   grid-gap: 1rem;
  border: 1px solid #f0f0f0;
  margin-bottom: 1rem;
}
}


.featured-content-container .section-title {
.tools-container .tool-item {
   grid-area: title;
   background: #f5f5f5;
}
  color: #333;
 
  padding: 1rem;
.featured-content-container .feature-content {
  display: grid;
   grid-area: content;
   grid-template-areas:
   border: solid #f0f0f0;
    "icon content"
   border-width: 0 1px;
    "title content";
   padding: 1rem;
   grid-template-columns: max-content 1fr;
   background-color: #fafafa;
   grid-template-rows: 0.6fr 0.4fr;
   grid-gap: 0.5rem 1rem;
   border-left: 4px solid #3366cc;
}
}


.featured-content-container .feature-content .featured-title {
.tools-container .tool-item .tool-icon {
   font-size: 1.2rem;
   grid-area: icon;
   font-weight: bold;
   justify-self: center;
   margin-bottom: 0.5rem;
   align-self: end;
}
}


.featured-content-container .feature-content .featured-author {
.tools-container .tool-item .tool-title {
   font-size: 0.9rem;
   grid-area: title;
   color: #666;
   text-align: center;
  margin-bottom: 0.5rem;
}
}


.featured-content-container .feature-content .featured-description {
.tools-container .tool-item .tool-title a {
   font-style: italic;
   color: #3366cc;
   color: #444;
   font-weight: bold;
}
}


.featured-content-container .see-more {
.tools-container .tool-item .tool-description {
   grid-area: more;
   grid-area: content;
  align-self: center;
}
}


/* Tools and resources styles */
/* News styles */
.tools-and-resources {
.news-container {
   margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
   align-content: space-between;
}
}


.tools-container {
.news-container .section-title {
   display: grid;
   width: 100%;
   grid-template-columns: 1fr 1fr;
  text-align: center;
   grid-gap: 1rem;
   font-size: 1.5rem;
  border-left: none;
   border-bottom: 2px solid #f0f0f0;
}
}


.tools-container .tool-item {
.news-container .news-content {
   background: #f5f5f5;
   background-color: #fafafa;
   color: #333;
   width: 100%;
   padding: 1rem;
   padding: 0.75rem;
  display: grid;
}
  grid-template-areas:
    "icon content"
    "title content";
  grid-template-columns: max-content 1fr;
  grid-template-rows: 0.6fr 0.4fr;
  grid-gap: 0.5rem 1rem;
  border-left: 4px solid #3366cc;
}


.tools-container .tool-item .tool-icon {
.news-container .news-content .news-item {
   grid-area: icon;
   border-bottom: 1px solid #f0f0f0;
   justify-self: center;
   padding: 0.5rem 0;
  align-self: end;
}
}


.tools-container .tool-item .tool-title {
.news-container .news-content .news-item:last-child {
   grid-area: title;
   border-bottom: none;
  text-align: center;
}
}


.tools-container .tool-item .tool-title a {
.news-container .news-content .news-title {
  color: #3366cc;
   font-weight: bold;
   font-weight: bold;
  margin-bottom: 0.3rem;
}
}


.tools-container .tool-item .tool-description {
.news-container .news-content .news-date {
   grid-area: content;
   font-size: 0.8rem;
   align-self: center;
  color: #666;
   margin-bottom: 0.3rem;
}
}


/* News styles */
.news-container .news-archive {
.news-container {
   background: #f0f0f0;
   display: flex;
   text-align: right;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
   align-content: space-between;
}
 
.news-container .section-title {
   width: 100%;
   width: 100%;
   text-align: center;
   padding: 0.3rem 1rem;
  font-size: 1.5rem;
  border-left: none;
  border-bottom: 2px solid #f0f0f0;
}
}


.news-container .news-content {
.news-container .news-archive a {
   background-color: #fafafa;
   color: #3366cc;
  width: 100%;
  padding: 0.75rem;
}
}


.news-container .news-content .news-item {
/* Carousel styles */
   border-bottom: 1px solid #f0f0f0;
/* Import styles from main.scss file */
   padding: 0.5rem 0;
.carousel-container {
   position: relative;
  overflow: hidden;
   margin-bottom: 1rem;
}
}


.news-container .news-content .news-item:last-child {
.carousel-container .rolling {
   border-bottom: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
   overflow: hidden;
}
}


.news-container .news-content .news-title {
/* Add more carousel styles converted from SCSS */
   font-weight: bold;
/* These would need to be adapted from the complex SCSS you provided */
   margin-bottom: 0.3rem;
 
/* Responsive styles */
@media (max-width: 767px) {
  .announcement-container .section-title {
    font-size: 1.2rem;
  }
 
  .recent-pages-container .page-section,
  .featured-content-container .feature-item {
    flex-basis: 100%;
    margin-bottom: 1.5rem;
  }
 
  .tools-container {
    grid-template-columns: 1fr;
  }
}
/* 为主内容区域添加半透明模糊白色效果 - 只针对最外层容器 */
.mw-body,
#content {
   background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  padding: 25px !important;
   margin-bottom: 20px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  min-height: 500px !important;
}
}


.news-container .news-content .news-date {
/* 确保标题与新的背景相协调 */
   font-size: 0.8rem;
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 {
  color: #666;
   border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
   margin-bottom: 0.3rem;
   padding-bottom: 0.3em !important;
}
}
/* ===== 变色龙皮肤顶栏毛玻璃效果 - 修复点击与悬停兼容版 ===== */


.news-container .news-archive {
/* 1. 顶栏基础样式 - 半透明毛玻璃效果 */
   background: #f0f0f0;
html body nav.navbar,
   text-align: right;
html body div.navbar,
   width: 100%;
html body .navbar-fixed-top,
   padding: 0.3rem 1rem;
html body .navbar-default,
html body .navbar-collapse {
  background-color: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(10px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
  border: none !important;
  transition: all 0.3s ease !important;
 
  /* 解决z-index问题 */
  position: relative !important;
  z-index: 9999 !important;
}
 
/* 2. 导航链接样式 */
.navbar .nav > li > a,
.navbar-nav > li > a {
  color: rgba(0, 0, 0, 0.75) !important;
  transition: all 0.25s ease !important;
  padding: 15px 20px !important;
  font-weight: 500 !important;
}
 
/* 3. 链接悬停效果 */
.navbar .nav > li > a:hover,
.navbar-nav > li > a:hover {
  color: rgba(0, 0, 0, 0.95) !important;
  background-color: rgba(0, 0, 0, 0.05) !important;
  transform: scale(1.05) !important;
}
 
/* 4. 下拉菜单样式 */
.dropdown-menu {
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  padding: 8px 0 !important;
  overflow: hidden !important;
 
  /* z-index修复 */
  z-index: 10000 !important;
}
 
/* 5. 下拉菜单项样式 */
.dropdown-menu > li > a {
  padding: 10px 20px !important;
  color: rgba(0, 0, 0, 0.75) !important;
  transition: all 0.2s ease !important;
}
 
/* 6. 下拉菜单项悬停效果 */
.dropdown-menu > li > a:hover {
   background-color: rgba(0, 0, 0, 0.08) !important;
  color: rgba(0, 0, 0, 0.95) !important;
  transform: translateX(5px) !important;
   font-weight: 500 !important;
}
 
/* 7. 确保主内容区域不会覆盖导航栏 */
.mw-body,
#content,
#mw-content-text,
.mw-parser-output {
  z-index: 1 !important;
   position: relative !important;
}
 
/* 8. 移动设备特殊处理 */
@media (max-width: 767px) {
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95) !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    z-index: 10001 !important;
   }
 
  .navbar-nav .open .dropdown-menu {
    background-color: rgba(245, 245, 245, 0.9) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
 
  .dropdown-menu > li > a:hover {
    transform: translateX(3px) !important;
  }
}
 
/* 9. 浏览器兼容性处理 */
@supports not (backdrop-filter: blur(10px)) {
  .navbar, .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95) !important;
  }
}
}


.news-container .news-archive a {
/* 在顶栏显示用户头像 - 针对变色龙皮肤 */
  color: #3366cc;
.navbar-userloggedin,
#personal-inner,
#p-personal .vector-menu-content-list > li:first-child,
.navbar-personaltools > li:first-child {
    position: relative;
    padding-left: 30px !important;
}
}


/* Carousel styles */
.navbar-userloggedin::before,
/* Import styles from main.scss file */
#personal-inner::before,
.carousel-container {
#p-personal .vector-menu-content-list > li:first-child > a::before,
   position: relative;
.navbar-personaltools > li:first-child > a::before {
   overflow: hidden;
    content: "";
   margin-bottom: 1rem;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgb(var(--bright-accent));
    z-index: 100;
}
 
/* 头像悬停效果 */
.navbar-userloggedin:hover::before,
#personal-inner:hover::before,
#p-personal .vector-menu-content-list > li:first-child > a:hover::before,
.navbar-personaltools > li:first-child > a:hover::before {
    transform: translateY(-50%) scale(1.2) !important;
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.6) !important;
    border-color: rgb(var(--white-monochrome)) !important;
}
/* 主页横幅样式 - 美化版 */
.main-page-banner {
  display: grid !important;
  grid-template-areas:
    "welcome welcome welcome"
    "discord faq join" !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-column-gap: 3% !important;
  margin-bottom: 4rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
  z-index: 1 !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
}
 
/* 欢迎文本区域 */
.main-page-banner .welcome-text {
  grid-area: welcome !important;
  background: linear-gradient(135deg, rgba(235, 238, 245, 0.95), rgba(210, 225, 240, 0.95)) !important;
  color: #3a4a5a !important;
  font-style: normal !important;
  padding: 2rem !important;
  border-radius: 1rem 1rem 0 0 !important;
  margin: 0 !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.5s ease !important;
  z-index: 2 !important;
}
 
/* 欢迎文本背景图片 */
.main-page-banner .welcome-text::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url('/aoh2wiki/images/b/be/Banner_Default.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.15 !important;
  z-index: -1 !important;
  transition: opacity 0.8s ease, transform 1.2s ease !important;
  transform: scale(1.05) !important;
}
 
.main-page-banner .welcome-text p {
  margin: 0 !important;
  color: #3a4a5a !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
  position: relative !important;
  z-index: 2 !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}
 
/* 导航链接区域 */
.main-page-banner .navigation-links {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-column-gap: 3% !important;
  grid-area: discord / discord / join / join !important;
  width: 100% !important;
  background: linear-gradient(to bottom, rgba(225, 235, 245, 0.9), rgba(215, 225, 235, 0.9)) !important;
  padding: 0.5rem !important;
  border-radius: 0 0 1rem 1rem !important;
}
 
.main-page-banner .nav-button {
  background: linear-gradient(to bottom, #f0f5fa, #e8eef7) !important;
  border-radius: 0.7rem !important;
  margin: 0 0.5rem 2.5rem 0.5rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  height: min-content !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
   position: relative !important;
   overflow: hidden !important;
  border: 1px solid rgba(210, 220, 235, 0.8) !important;
}
 
/* 导航按钮的背景图片 - 初始隐藏 */
.main-page-banner .nav-button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0 !important;
  z-index: 0 !important;
  transition: opacity 0.6s ease !important;
}
 
/* 为每个按钮设置不同的背景图片 */
.main-page-banner .nav-button.discord::before {
  background-image: url('/aoh2wiki/images/b/be/Discord_Banner.jpg') !important;
}
 
.main-page-banner .nav-button.faq::before {
  background-image: url('/aoh2wiki/images/b/be/FAQ_Banner.jpg') !important;
}
 
.main-page-banner .nav-button.join::before {
  background-image: url('/aoh2wiki/images/b/be/Join_Banner.jpg') !important;
}
 
.main-page-banner .nav-button:hover {
  margin: 0 0.5rem 0.8rem 0.5rem !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}
 
/* 鼠标悬停时显示背景图片 */
.main-page-banner .nav-button:hover::before {
  opacity: 0.2 !important;
}
 
/* 鼠标悬停时变更欢迎区域的背景图片 */
.main-page-banner .navigation-links:hover ~ .welcome-text::before {
  opacity: 0.1 !important;
}
 
.main-page-banner .nav-button.discord:hover ~ .welcome-text::before,
.main-page-banner:has(.nav-button.discord:hover) .welcome-text::before {
  background-image: url('/aoh2wiki/images/b/be/Discord_Banner.jpg') !important;
  opacity: 0.25 !important;
  transform: scale(1) !important;
}
 
.main-page-banner .nav-button.faq:hover ~ .welcome-text::before,
.main-page-banner:has(.nav-button.faq:hover) .welcome-text::before {
  background-image: url('/aoh2wiki/images/b/be/FAQ_Banner.jpg') !important;
  opacity: 0.25 !important;
  transform: scale(1) !important;
}
 
.main-page-banner .nav-button.join:hover ~ .welcome-text::before,
.main-page-banner:has(.nav-button.join:hover) .welcome-text::before {
  background-image: url('/aoh2wiki/images/b/be/Join_Banner.jpg') !important;
  opacity: 0.25 !important;
  transform: scale(1) !important;
}
 
.main-page-banner .nav-button a {
  display: block !important;
  padding: 1rem 0 !important;
  width: 100% !important;
  text-align: center !important;
  color: #4a5a6a !important;
  font-size: 1.15rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-weight: bold !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 2 !important;
}
 
.main-page-banner .nav-button a:hover {
  padding: 1.5rem 0 !important;
  text-decoration: none !important;
  color: #3a4a5a !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}
 
/* 响应式调整 */
@media (max-width: 767px) {
  .main-page-banner {
    grid-template-areas:
      "welcome"
      "navigation" !important;
    grid-template-columns: 1fr !important;
  }
 
  .main-page-banner .welcome-text {
    border-radius: 1rem 1rem 0 0 !important;
  }
 
  .main-page-banner .navigation-links {
    grid-area: navigation !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-around !important;
    padding: 0.8rem !important;
  }
 
  .main-page-banner .nav-button {
    flex: 1 !important;
    min-width: 30% !important;
    margin: 0 0.3rem 2rem 0.3rem !important;
  }
 
  .main-page-banner .nav-button:hover {
    margin: 0 0.3rem 0.8rem 0.3rem !important;
  }
}
 
/* 添加淡入动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
 
.main-page-banner {
  animation: fadeIn 0.8s ease-out forwards !important;
}
/* 公告列表样式 */
.announcement-container .announcement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.announcement-container .announcement-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  margin: 0;
  line-height: 1.5;
  color: #333;
}
 
.announcement-container .announcement-list li:last-child {
  border-bottom: none;
}
 
/* 链接样式 */
.announcement-container .announcement-list li a {
  color: #3366cc;
  text-decoration: none;
  transition: color 0.2s ease;
}
 
.announcement-container .announcement-list li a:hover {
  color: #1a3366;
  text-decoration: underline;
}
 
/* 鼠标悬停效果 */
.announcement-container .announcement-list li:hover {
  background-color: #f9f9f9;
}
/* 公告容器样式 */
.announcement-container {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
  align-content: space-between;
   margin-bottom: 2rem;
}
 
.announcement-container .section-title {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  background-color: #f0f0f0;
  color: #333;
  padding: 0.5rem 1rem;
  border-left: none;
  border-bottom: 2px solid #f0f0f0;
}
 
.announcement-container .announcement-content {
  background-color: #fafafa;
  width: 100%;
  padding: 0.75rem;
}
 
/* 公告项目样式 */
.announcement-container .announcement {
  padding: 12px;
  margin-bottom: 10px;
  background-color: #fff;
  border-left: 3px solid #3366cc;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}
 
.announcement-container .announcement:last-child {
  margin-bottom: 0;
}
 
.announcement-container .announcement:hover {
  background-color: #f8f8f8;
  border-left-width: 5px;
  transform: translateX(2px);
}
 
/* 公告中的链接样式 */
.announcement-container .announcement a {
  color: #3366cc;
  text-decoration: none;
  transition: color 0.2s ease;
}
 
.announcement-container .announcement a:hover {
  color: #1a3366;
  text-decoration: underline;
}
 
/* 粗体文字样式 */
.announcement-container .announcement strong,
.announcement-container .announcement b {
  color: #333;
}
 
/* 折叠区域样式 */
.announcement-container .more-content {
  width: 100%;
  border-top: 2px solid #f0f0f0;
}
 
.announcement-container .collapsible-block .collapsible-header {
  padding: 1rem 0;
  text-align: center;
  background: rgba(240, 240, 240, 0.7);
  cursor: pointer;
  transition: background 0.2s ease;
}
 
.announcement-container .collapsible-block .collapsible-header:hover {
  background: rgba(240, 240, 240, 1);
}
 
.announcement-container .collapsible-block .collapsible-content {
  padding: 1rem;
  background: #f5f5f5;
}
 
/* 响应式调整 */
@media (max-width: 767px) {
  .announcement-container .section-title {
    font-size: 1.2rem;
  }
 
  .announcement-container .announcement {
    padding: 10px;
  }
}
}
 
.gallery {
.carousel-container .rolling {
   display: flex !important;
   display: flex;
   flex-direction: row !important;
   flex-direction: column;
   flex-wrap: wrap !important;
   height: 100%;
  position: relative;
  overflow: hidden;
}
}
 
img {
/* Add more carousel styles converted from SCSS */
     display: inline-block !important;
/* These would need to be adapted from the complex SCSS you provided */
}
 
/* Responsive styles */
@media (max-width: 767px) {
  .announcement-container .section-title {
    font-size: 1.2rem;
  }
 
  .recent-pages-container .page-section,
  .featured-content-container .feature-item {
     flex-basis: 100%;
    margin-bottom: 1.5rem;
  }
 
  .tools-container {
    grid-template-columns: 1fr;
  }
}
 
/* [[Category:在模板名字空间下的CSS页面]] */
/* [[Category:在模板名字空间下的CSS页面]] */

2025年6月9日 (一) 20:32的最新版本

/* 这里放置的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=Microsoft+Sans+Serif&display=swap");
@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=VT323&display=swap');


: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;
    

    /* 字体设置 - 保持原有字体 */
    --body-font: "VonwaonBitmap 16px", VT323, monospace;
    --header-font: "VonwaonBitmap 16px", VT323, monospace;
    --title-font: "VonwaonBitmap 16px", VT323, monospace;
    --mono-font: "VonwaonBitmap 16px", VT323, monospace;
    --pixel-font-16: 'VonwaonBitmap 16px', VT323, monospace;
    --pixel-font-12: 'VonwaonBitmap 12px', VT323, monospace;
    --base-font-size: 14px;

}
/* 应用全局字体 */
body {
    font-family: var(--body-font) !important;
    font-size: var(--base-font-size) !important;
    line-height: 1.5 !important;

    background-image: url("/aoh2wiki/images/b/be/Microsoft_Nostalgic_Windows_Wallpaper_4k.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: rgb(var(--xp-text));
}
  
  .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;
	}
}

.infobox tr:not(:first-child) td {
    border-bottom: 1px solid #ddd;
}
@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;
}
.infobox .plainlinks a {
    color: #0000EE !important;
    text-decoration: underline;
}
.infobox .plainlinks a:visited {
    color: #551A8B !important;
}
.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;
}
/* === 轮播图容器 === */
.mw-carousel {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 2em auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16 / 9;
  background-color: #f8f9fa;
}

/* === 图片区域 === */
.mw-carousel .carousel-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.mw-carousel .carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === 默认状态下的文字:底部横条,文字靠左 === */
.mw-carousel .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: white;
  padding: 2em 1.5em 1.2em;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  transform: translateY(0);
}

/* === 悬停时的文字效果:文字全屏覆盖,背景渐变 === */
.mw-carousel:hover .carousel-caption {
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: translateY(0);
  background: rgba(0, 0, 0, 0.6); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em;
  border-radius: 0;
  backdrop-filter: blur(3px);
}

/* === 标题 + 描述样式 === */
.mw-carousel .carousel-caption h3 {
  margin: 0 0 0.5em;
  font-size: 1.6em;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.mw-carousel .carousel-caption p {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.4;
  max-width: 80%;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease 0.1s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.mw-carousel:hover .carousel-caption h3 {
  transform: translateY(0);
}

.mw-carousel:hover .carousel-caption p {
  opacity: 1;
  transform: translateY(0);
}

/* === 左右切换按钮(垂直居中) === */
.mw-carousel .carousel-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
  padding: 0 1.5em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mw-carousel:hover .carousel-navigation {
  opacity: 1;
}

.mw-carousel .carousel-prev,
.mw-carousel .carousel-next {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #333;
}

.mw-carousel .carousel-prev:hover,
.mw-carousel .carousel-next:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: scale(1.05);
}

/* === 指示器 - 修改为底部右侧 === */
.mw-carousel .carousel-indicators {
  position: absolute;
  bottom: 15px;
  right: 20px;  /* 改为右对齐 */
  left: auto;    /* 取消左对齐 */
  transform: none; /* 取消水平居中变换 */
  display: flex;
  gap: 10px;
  z-index: 4;
  padding: 0.5em 1em;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.mw-carousel .carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.mw-carousel .carousel-indicators .indicator.active {
  background-color: #ffffff;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.mw-carousel .carousel-indicators .indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* === 图片全局统一显示效果 === */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === 添加图片过渡效果 === */
.mw-carousel .carousel-image img {
  transition: transform 0.5s ease;
}

.mw-carousel:hover .carousel-image img {
  transform: scale(1.03);
}


/* Common styles */
.section-title {
  background-color: #f0f0f0;
  color: #333;
  font-weight: bold;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  border-left: 4px solid #3366cc;
}

.see-more {
  text-align: right;
  padding: 0.3rem 1rem;
  font-size: 0.9rem;
  background-color: #f5f5f5;
}

.see-more a {
  color: #3366cc;
}

/* 主页横幅样式 */
.main-page-banner {
  display: grid;
  grid-template-areas: 
    "welcome welcome welcome"
    "discord faq join";
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 3%;
  margin-bottom: 4rem;
  width: 100%;
  box-sizing: border-box;
}

/* 欢迎文本区域 */
.main-page-banner .welcome-text {
  grid-area: welcome;
  background-color: rgb(var(--gray-monochrome, 66, 66, 72));
  color: rgb(var(--white-monochrome, 252, 252, 252));
  font-style: italic;
  padding: 1.5rem;
  border-radius: 1rem 1rem 0 0;
  margin: 0;
  width: 100%;
}

.main-page-banner .welcome-text p {
  margin: 0;
  color: rgb(var(--white-monochrome, 252, 252, 252));
}

/* 导航链接区域 */
.main-page-banner .navigation-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 3%;
  grid-area: discord / discord / join / join;
  width: 100%;
}

.main-page-banner .nav-button {
  background-color: rgb(var(--gray-monochrome, 66, 66, 72));
  border-radius: 0 0 1rem 1rem;
  margin: 0 0 4rem 0;
  transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1);
  height: min-content;
}

.main-page-banner .nav-button:hover {
  margin: 0 0 1rem 0;
}

.main-page-banner .nav-button a {
  display: block;
  padding: 0.5rem 0;
  width: 100%;
  text-align: center;
  color: rgb(var(--white-monochrome, 0, 0, 0));
  font-size: 1.25rem;
  transition: padding 150ms cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: bold;
  text-decoration: none;
}

.main-page-banner .nav-button a:hover {
  padding: 2rem 0;
  text-decoration: none;
}

/* 针对背景图片的设置 */
.main-page-banner {
  position: relative;
  z-index: 1;
}

.main-page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('您的背景图片URL');
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* 调整透明度使文字可读 */
  z-index: -1;
  border-radius: 1rem;
}

/* 响应式布局 */
@media (max-width: 767px) {
  .main-page-banner {
    grid-template-areas: 
      "welcome"
      "navigation";
    grid-template-columns: 1fr;
  }
  
  .main-page-banner .welcome-text {
    width: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
  }
  
  .main-page-banner .navigation-links {
    grid-area: navigation;
    display: flex;
    width: 100%;
    overflow: visible;
  }
  
  .main-page-banner .nav-button {
    flex: 1;
    margin: 0 0 4rem 0;
  }
  
  .main-page-banner .nav-button:not(:last-child) {
    margin-right: 3%;
  }
  
  .main-page-banner .nav-button a {
    font-size: 1.1rem;
  }
  
  .main-page-banner .nav-button:hover {
    margin: 0 0 1rem 0;
  }
}
/* Announcement styles */
.announcement-container {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
  align-content: space-between;
  margin-bottom: 2rem;
}

.announcement-container .section-title {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  border-left: none;
  border-bottom: 2px solid #f0f0f0;
}

.announcement-container .announcement-content {
  background-color: #fafafa;
  width: 100%;
  padding: 0.75rem;
}

.announcement-container .more-content {
  width: 100%;
  border-top: 2px solid #f0f0f0;
}
.announcement-container .collapsible-block.active .collapsible-content {
  display: block;
}
.announcement-container .collapsible-block {
  width: 100%;
}
/* 更高特异性的选择器 */
.announcement-container .more-content .collapsible-block .collapsible-content {
  display: none !important;
}

.announcement-container .more-content .collapsible-block.active .collapsible-content {
  display: block !important;
}
.announcement-container .collapsible-header {
  padding: 1rem 0;
  text-align: center;
  background: rgba(240, 240, 240, 0.7);
  cursor: pointer;
}

.announcement-container .collapsible-header:hover {
  background: rgba(240, 240, 240, 1);
}

.announcement-container .collapsible-content {
  padding: 1rem;
  background: #f5f5f5;
}
/* 更高特异性的选择器 */
.announcement-container .more-content .collapsible-block .collapsible-content {
  display: none !important;
}

.announcement-container .more-content .collapsible-block.active .collapsible-content {
  display: block !important;
}
/* Recent pages styles */
.main-page-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.recent-pages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1rem;
}

.recent-pages-container .page-section {
  flex-basis: 48%;
  display: grid;
  grid-template-areas: "title" "page" "more";
  grid-template-rows: auto 1fr auto;
  border: 1px solid #f0f0f0;
}

.recent-pages-container .section-title {
  grid-area: title;
}

.recent-pages-container .page-list {
  grid-area: page;
  border: solid #f0f0f0;
  border-width: 0 1px;
  padding: 0.5rem 1rem;
  background-color: #fafafa;
  max-height: 15rem;
  overflow-y: auto;
}

.recent-pages-container .page-list a {
  display: block;
  padding: 0.3rem 0;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-pages-container .page-list a:last-child {
  border-bottom: none;
}

.recent-pages-container .see-more {
  grid-area: more;
}

/* Featured content styles */
.featured-content-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.featured-content-container .feature-item {
  flex-basis: 48%;
  display: grid;
  grid-template-areas: "title" "content" "more";
  grid-template-rows: auto 1fr auto;
  border: 1px solid #f0f0f0;
  margin-bottom: 1rem;
}

.featured-content-container .section-title {
  grid-area: title;
}

.featured-content-container .feature-content {
  grid-area: content;
  border: solid #f0f0f0;
  border-width: 0 1px;
  padding: 1rem;
  background-color: #fafafa;
}

.featured-content-container .feature-content .featured-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.featured-content-container .feature-content .featured-author {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.featured-content-container .feature-content .featured-description {
  font-style: italic;
  color: #444;
}

.featured-content-container .see-more {
  grid-area: more;
}

/* Tools and resources styles */
.tools-and-resources {
  margin-bottom: 2rem;
}

.tools-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
}

.tools-container .tool-item {
  background: #f5f5f5;
  color: #333;
  padding: 1rem;
  display: grid;
  grid-template-areas:
    "icon content"
    "title content";
  grid-template-columns: max-content 1fr;
  grid-template-rows: 0.6fr 0.4fr;
  grid-gap: 0.5rem 1rem;
  border-left: 4px solid #3366cc;
}

.tools-container .tool-item .tool-icon {
  grid-area: icon;
  justify-self: center;
  align-self: end;
}

.tools-container .tool-item .tool-title {
  grid-area: title;
  text-align: center;
}

.tools-container .tool-item .tool-title a {
  color: #3366cc;
  font-weight: bold;
}

.tools-container .tool-item .tool-description {
  grid-area: content;
  align-self: center;
}

/* News styles */
.news-container {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
  align-content: space-between;
}

.news-container .section-title {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  border-left: none;
  border-bottom: 2px solid #f0f0f0;
}

.news-container .news-content {
  background-color: #fafafa;
  width: 100%;
  padding: 0.75rem;
}

.news-container .news-content .news-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 0.5rem 0;
}

.news-container .news-content .news-item:last-child {
  border-bottom: none;
}

.news-container .news-content .news-title {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.news-container .news-content .news-date {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.3rem;
}

.news-container .news-archive {
  background: #f0f0f0;
  text-align: right;
  width: 100%;
  padding: 0.3rem 1rem;
}

.news-container .news-archive a {
  color: #3366cc;
}

/* Carousel styles */
/* Import styles from main.scss file */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.carousel-container .rolling {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Add more carousel styles converted from SCSS */
/* These would need to be adapted from the complex SCSS you provided */

/* Responsive styles */
@media (max-width: 767px) {
  .announcement-container .section-title {
    font-size: 1.2rem;
  }
  
  .recent-pages-container .page-section,
  .featured-content-container .feature-item {
    flex-basis: 100%;
    margin-bottom: 1.5rem;
  }
  
  .tools-container {
    grid-template-columns: 1fr;
  }
}
/* 为主内容区域添加半透明模糊白色效果 - 只针对最外层容器 */
.mw-body, 
#content {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  padding: 25px !important;
  margin-bottom: 20px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  min-height: 500px !important;
}

/* 确保标题与新的背景相协调 */
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding-bottom: 0.3em !important;
}
/* ===== 变色龙皮肤顶栏毛玻璃效果 - 修复点击与悬停兼容版 ===== */

/* 1. 顶栏基础样式 - 半透明毛玻璃效果 */
html body nav.navbar,
html body div.navbar,
html body .navbar-fixed-top,
html body .navbar-default,
html body .navbar-collapse {
  background-color: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(10px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  
  /* 解决z-index问题 */
  position: relative !important;
  z-index: 9999 !important;
}

/* 2. 导航链接样式 */
.navbar .nav > li > a,
.navbar-nav > li > a {
  color: rgba(0, 0, 0, 0.75) !important;
  transition: all 0.25s ease !important;
  padding: 15px 20px !important;
  font-weight: 500 !important;
}

/* 3. 链接悬停效果 */
.navbar .nav > li > a:hover,
.navbar-nav > li > a:hover {
  color: rgba(0, 0, 0, 0.95) !important;
  background-color: rgba(0, 0, 0, 0.05) !important;
  transform: scale(1.05) !important;
}

/* 4. 下拉菜单样式 */
.dropdown-menu {
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  padding: 8px 0 !important;
  overflow: hidden !important;
  
  /* z-index修复 */
  z-index: 10000 !important;
}

/* 5. 下拉菜单项样式 */
.dropdown-menu > li > a {
  padding: 10px 20px !important;
  color: rgba(0, 0, 0, 0.75) !important;
  transition: all 0.2s ease !important;
}

/* 6. 下拉菜单项悬停效果 */
.dropdown-menu > li > a:hover {
  background-color: rgba(0, 0, 0, 0.08) !important;
  color: rgba(0, 0, 0, 0.95) !important;
  transform: translateX(5px) !important;
  font-weight: 500 !important;
}

/* 7. 确保主内容区域不会覆盖导航栏 */
.mw-body, 
#content, 
#mw-content-text, 
.mw-parser-output {
  z-index: 1 !important;
  position: relative !important;
}

/* 8. 移动设备特殊处理 */
@media (max-width: 767px) {
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95) !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    z-index: 10001 !important;
  }
  
  .navbar-nav .open .dropdown-menu {
    background-color: rgba(245, 245, 245, 0.9) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .dropdown-menu > li > a:hover {
    transform: translateX(3px) !important;
  }
}

/* 9. 浏览器兼容性处理 */
@supports not (backdrop-filter: blur(10px)) {
  .navbar, .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95) !important;
  }
}

/* 在顶栏显示用户头像 - 针对变色龙皮肤 */
.navbar-userloggedin,
#personal-inner,
#p-personal .vector-menu-content-list > li:first-child,
.navbar-personaltools > li:first-child {
    position: relative;
    padding-left: 30px !important;
}

.navbar-userloggedin::before,
#personal-inner::before,
#p-personal .vector-menu-content-list > li:first-child > a::before,
.navbar-personaltools > li:first-child > a::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgb(var(--bright-accent));
    z-index: 100;
}

/* 头像悬停效果 */
.navbar-userloggedin:hover::before,
#personal-inner:hover::before,
#p-personal .vector-menu-content-list > li:first-child > a:hover::before,
.navbar-personaltools > li:first-child > a:hover::before {
    transform: translateY(-50%) scale(1.2) !important;
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.6) !important;
    border-color: rgb(var(--white-monochrome)) !important;
}
/* 主页横幅样式 - 美化版 */
.main-page-banner {
  display: grid !important;
  grid-template-areas: 
    "welcome welcome welcome"
    "discord faq join" !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-column-gap: 3% !important;
  margin-bottom: 4rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
  z-index: 1 !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
}

/* 欢迎文本区域 */
.main-page-banner .welcome-text {
  grid-area: welcome !important;
  background: linear-gradient(135deg, rgba(235, 238, 245, 0.95), rgba(210, 225, 240, 0.95)) !important;
  color: #3a4a5a !important;
  font-style: normal !important;
  padding: 2rem !important;
  border-radius: 1rem 1rem 0 0 !important;
  margin: 0 !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.5s ease !important;
  z-index: 2 !important;
}

/* 欢迎文本背景图片 */
.main-page-banner .welcome-text::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url('/aoh2wiki/images/b/be/Banner_Default.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.15 !important;
  z-index: -1 !important;
  transition: opacity 0.8s ease, transform 1.2s ease !important;
  transform: scale(1.05) !important;
}

.main-page-banner .welcome-text p {
  margin: 0 !important;
  color: #3a4a5a !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
  position: relative !important;
  z-index: 2 !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}

/* 导航链接区域 */
.main-page-banner .navigation-links {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-column-gap: 3% !important;
  grid-area: discord / discord / join / join !important;
  width: 100% !important;
  background: linear-gradient(to bottom, rgba(225, 235, 245, 0.9), rgba(215, 225, 235, 0.9)) !important;
  padding: 0.5rem !important;
  border-radius: 0 0 1rem 1rem !important;
}

.main-page-banner .nav-button {
  background: linear-gradient(to bottom, #f0f5fa, #e8eef7) !important;
  border-radius: 0.7rem !important;
  margin: 0 0.5rem 2.5rem 0.5rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  height: min-content !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(210, 220, 235, 0.8) !important;
}

/* 导航按钮的背景图片 - 初始隐藏 */
.main-page-banner .nav-button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0 !important;
  z-index: 0 !important;
  transition: opacity 0.6s ease !important;
}

/* 为每个按钮设置不同的背景图片 */
.main-page-banner .nav-button.discord::before {
  background-image: url('/aoh2wiki/images/b/be/Discord_Banner.jpg') !important;
}

.main-page-banner .nav-button.faq::before {
  background-image: url('/aoh2wiki/images/b/be/FAQ_Banner.jpg') !important;
}

.main-page-banner .nav-button.join::before {
  background-image: url('/aoh2wiki/images/b/be/Join_Banner.jpg') !important;
}

.main-page-banner .nav-button:hover {
  margin: 0 0.5rem 0.8rem 0.5rem !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* 鼠标悬停时显示背景图片 */
.main-page-banner .nav-button:hover::before {
  opacity: 0.2 !important;
}

/* 鼠标悬停时变更欢迎区域的背景图片 */
.main-page-banner .navigation-links:hover ~ .welcome-text::before {
  opacity: 0.1 !important;
}

.main-page-banner .nav-button.discord:hover ~ .welcome-text::before,
.main-page-banner:has(.nav-button.discord:hover) .welcome-text::before {
  background-image: url('/aoh2wiki/images/b/be/Discord_Banner.jpg') !important;
  opacity: 0.25 !important;
  transform: scale(1) !important;
}

.main-page-banner .nav-button.faq:hover ~ .welcome-text::before,
.main-page-banner:has(.nav-button.faq:hover) .welcome-text::before {
  background-image: url('/aoh2wiki/images/b/be/FAQ_Banner.jpg') !important;
  opacity: 0.25 !important;
  transform: scale(1) !important;
}

.main-page-banner .nav-button.join:hover ~ .welcome-text::before,
.main-page-banner:has(.nav-button.join:hover) .welcome-text::before {
  background-image: url('/aoh2wiki/images/b/be/Join_Banner.jpg') !important;
  opacity: 0.25 !important;
  transform: scale(1) !important;
}

.main-page-banner .nav-button a {
  display: block !important;
  padding: 1rem 0 !important;
  width: 100% !important;
  text-align: center !important;
  color: #4a5a6a !important;
  font-size: 1.15rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-weight: bold !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 2 !important;
}

.main-page-banner .nav-button a:hover {
  padding: 1.5rem 0 !important;
  text-decoration: none !important;
  color: #3a4a5a !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .main-page-banner {
    grid-template-areas: 
      "welcome"
      "navigation" !important;
    grid-template-columns: 1fr !important;
  }
  
  .main-page-banner .welcome-text {
    border-radius: 1rem 1rem 0 0 !important;
  }
  
  .main-page-banner .navigation-links {
    grid-area: navigation !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-around !important;
    padding: 0.8rem !important;
  }
  
  .main-page-banner .nav-button {
    flex: 1 !important;
    min-width: 30% !important;
    margin: 0 0.3rem 2rem 0.3rem !important;
  }
  
  .main-page-banner .nav-button:hover {
    margin: 0 0.3rem 0.8rem 0.3rem !important;
  }
}

/* 添加淡入动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-page-banner {
  animation: fadeIn 0.8s ease-out forwards !important;
}
/* 公告列表样式 */
.announcement-container .announcement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.announcement-container .announcement-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  margin: 0;
  line-height: 1.5;
  color: #333;
}

.announcement-container .announcement-list li:last-child {
  border-bottom: none;
}

/* 链接样式 */
.announcement-container .announcement-list li a {
  color: #3366cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.announcement-container .announcement-list li a:hover {
  color: #1a3366;
  text-decoration: underline;
}

/* 鼠标悬停效果 */
.announcement-container .announcement-list li:hover {
  background-color: #f9f9f9;
}
/* 公告容器样式 */
.announcement-container {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
  align-content: space-between;
  margin-bottom: 2rem;
}

.announcement-container .section-title {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  background-color: #f0f0f0;
  color: #333;
  padding: 0.5rem 1rem;
  border-left: none;
  border-bottom: 2px solid #f0f0f0;
}

.announcement-container .announcement-content {
  background-color: #fafafa;
  width: 100%;
  padding: 0.75rem;
}

/* 公告项目样式 */
.announcement-container .announcement {
  padding: 12px;
  margin-bottom: 10px;
  background-color: #fff;
  border-left: 3px solid #3366cc;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.announcement-container .announcement:last-child {
  margin-bottom: 0;
}

.announcement-container .announcement:hover {
  background-color: #f8f8f8;
  border-left-width: 5px;
  transform: translateX(2px);
}

/* 公告中的链接样式 */
.announcement-container .announcement a {
  color: #3366cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.announcement-container .announcement a:hover {
  color: #1a3366;
  text-decoration: underline;
}

/* 粗体文字样式 */
.announcement-container .announcement strong,
.announcement-container .announcement b {
  color: #333;
}

/* 折叠区域样式 */
.announcement-container .more-content {
  width: 100%;
  border-top: 2px solid #f0f0f0;
}

.announcement-container .collapsible-block .collapsible-header {
  padding: 1rem 0;
  text-align: center;
  background: rgba(240, 240, 240, 0.7);
  cursor: pointer;
  transition: background 0.2s ease;
}

.announcement-container .collapsible-block .collapsible-header:hover {
  background: rgba(240, 240, 240, 1);
}

.announcement-container .collapsible-block .collapsible-content {
  padding: 1rem;
  background: #f5f5f5;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .announcement-container .section-title {
    font-size: 1.2rem;
  }
  
  .announcement-container .announcement {
    padding: 10px;
  }
}
.gallery {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
}
img {  
    display: inline-block !important;  
}  
/* [[Category:在模板名字空间下的CSS页面]] */