/*
/*
    Created by maluspectabilis for RPC Authority Chinese Wiki
    maluspectabilis 为 RPC 管理局中文维基创建
    [2025 Wikidot Theme]
*/
@import url('https://fonts.googleapis.com/css?family=Cinzel+Decorative&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600&display=swap');

body {
    font-family: Noto Serif SC;
}

/* 头部文字 */

#header h1 a,
#header h2::before {
    text-shadow: 1px 1px 10px #000;
    font-family: 'Cinzel Decorative', 'Noto Serif SC';
}
 
 #header h1,
 #header h2{
    float: none;
    margin-left: 0;
    text-align: center;
}
 
 #header h1 span,
 #header h2 span{
    display: none;
}
 
/* 账户信息文本 */

#login-status a:hover {
    color: #c483c9;
}

:root {
  /* 账户选项 */
    --account-options-background: var(--WT-account-options-background);
    --account-options-border: var(--WT-account-options-border);
    --table-header-color: #fff;
  /* 头部图标 */
    --header-icon: url();
  /*头部图标路径 */
    --header-icon-adv: left 1.2em top 1rem no-repeat;
  /* 头部图标高级样式 */
    --header-icon-size: auto calc(9.5rem - 2.125rem);
  /* 头部图标大小 */
    --page-title-color: #99479e;
  /* 页面标题颜色 */
  /*版头*/
    --header-text-visibility: hidden;
    --header-custom-text: 'Librorum Infinitum';
    --header-tagline-custom-text: '卷帙浩繁';
    --header-mobile-font-size: 125%;
    --header-tagline-font-size: 150%;
  /* 头部副标题字体大小 */
    --header-tagline-top: 2px;
  /* 头部副标题顶部位置 */
    --header-tagline-color: #fff;
  /* 头部副标题颜色 */
    --header-background: url('https://the-infinite-library.wdfiles.com/local--files/component%3Aicons/LibraryBG.png');
  /* 背景 */
    --primary-background: #f1ddb1;
  /* 主要背景色 */
    --body-background: #f1ddb1;
  /*正文背景色*/
    --text-color: #3A3335;
  /* 文本颜色 */
  /* 大字 */
    --primary-text-color: #99479e;
  /* 侧栏 */
    --star-rating-hue: 150deg;
    --nav-hover-background: #6441A4;
  /* 页脚 */
    --footer-background: #454851;
  /* 页脚背景色 */
    --footer-color: #EAEAEA;
  /* 页脚文本颜色 */
    --basic-border: 1px solid #454851;
    --basic-border-color: #454851;
    --dashed-border: 1px dashed #454851;
    --thick-border: 2px solid #454851;
  /*按钮*/
    --button-border: 1px solid #2c3340;
  /* 按钮边框 */
    --button-background: white;
  /* 按钮背景色 */
    --button-hover-border: 1px solid #e3a440;
  /* 按钮悬停时边框 */
    --button-hover-background: #99479e;
  /* 按钮悬停时背景色 */
    --button-hover-color: white;
  /* 按钮悬停时文本颜色 */
  /* 链接颜色 */
    --link-color: #7e4492;
  /* 链接颜色 */
    --link-hover-color: #7B55CE;
  /* 链接悬停颜色 */
    --new-page-color: #e3a440;
  /* 新页面颜色 */
  /* 文本输入 */
    --text-box-form-background: #EAEAEA;
  /* Tab 显示*/
    --tabview-side-tabs-background: #8B8B7A;
  /* Tab 背景颜色 */
    --tabview-button-selected-color: var(--primary-background);
    --tabview-side-button-selected-background: #ac6fc1;
  /*  Tab 被选中的文字颜色 */
  /* 个人信息栏的背景颜色 */
    --modal-header-background: #EEE !important;
  /* 顶栏悬浮背景颜色 */
    --topbar-dropdown-color: #333;
  /* 顶栏文字颜色 */
    --topbar-text-color: #6441a4;
  /* 评分模组 */
    --star-rating-hue: 45deg;
  /* 滚动条颜色 */
    --tabview-side-scrollbar-thumb-background: #3a224c;
    --tabview-side-scrollbar-thumb-hover-background: #3e2451;
    --BT-scrollbar-thumb-background: #4b2f5f;
    --BT-scrollbar-thumb-hover-background: #523368;
  /* 旁注颜色 */
    --sidenote-open-background: #271c31 !important;
    --sidebar-crit-corner-color: #d161d8;
  /* 搜索栏按钮 */
    --search-button-background: #4b2f5f;
    --search-button-hover-background: #4b2f5f;
  /* 评分颜色   */
    --star-rating-reading-background: #6441a4;
    --content-bar-background: #463665;
  /* 阴影 */
    --content-box-shadow-color: #776f6f;
    --content-box-shadow: 1px 1px 8px 1px var(--content-box-shadow-color);
  /* 新闻块内容块 */
    --news-block-body-panel-background-even: #e7d5ab;
    --content-bar-color: var(--primary-background);
  /* 旁注 */
    --sidenote-figure-open-color: white;
    --sidenote-figure-closed-color: white;
  /* 代码块背景颜色 */
    --code-background: #fdfdfd;
}

/* 美观模块 */

.open-themes a {
    border: var(--WT-open-themes-border);
    background: var(--WT-open-themes-background);
    color: var(--WT-open-themes-color);
}

.open-themes a:hover {
    color: var(--WT-open-themes-hover-color);
    border: var(--WT-open-themes-hover-border);
}

#header,
#search-top-box-form input[type=submit],
#login-status a {
    color: var(--WT-misc-1);
}

#account-options ul li a,
#account-options ul li a:hover {
    color: var(--link-color);
}

/* 功能模块 */

.open-themes.themes-black {
    display: block;
}

.open-themes.themes-white {
    display: none;
}

.whiteThemeInvert img,
.templateBlock img,
/* 404与模板页面图片 */
.mst-profile img[src*="WhiteHeader.png"],
/* MST 信息顶部图片 */
.site-doc img[src*="site-header-white.png"]

/* 站点文档顶部图片 */ {
    filter: invert(0.9) hue-rotate(180deg);
}

.blackThemeOnly {
    display: none;
}

:root {
    --WT-open-themes-border: none;
    --WT-open-themes-background: unset;
    --WT-open-themes-color: transparent;
    --WT-open-themes-hover-color: transparent;
    --WT-open-themes-hover-border: none;
}

.themes-black a {
    background: url(https://rpc-wiki-cn.wdfiles.com/local--files/component%3Ablack-supremacy/light-on.svg) no-repeat;
    background-size: contain;
    height: calc(1em + 4px);
    width: calc(1em + 4px);
}

.themes-black a:hover {
    box-shadow: 0 0 8px black;
    background: url(https://rpc-wiki-cn.wdfiles.com/local--files/component%3Ablack-supremacy/light-off.svg) no-repeat;
    background-size: contain;
}
 
#top-bar ul li a {
    font-weight: bold;
}
 
/*手机端侧栏启动时去除阴影*/
#side-bar:target .close-menu {
    background: 0;
}
 
/*头部文字去除阴影*/
#header h1 a, #header h2::before {
    text-shadow: 0 0 B
}

/* 引用块 */
.blockquote, blockquote {
    border: 1px solid #b39c79 !important;
    background: rgba(245,225,191,0.50) !important;
    box-shadow: 0 0 black;
}

/*404块背景颜色*/
.block404 {
    background-color: #463665;
} 

/* 图片底部文字 */
.image-block .image-caption {
  color: white;
}

/* Tab 栏标题文字 */
.yui-navset .yui-nav .selected a, .yui-navset .yui-nav .selected a em {
  color: black;
}

.yui-navset .yui-nav a em, .yui-navset .yui-navset-top .yui-nav a em {
  color: white;
}

/* 评分字体颜色 */
.cellStyle p, .cellStyle div p {
  color: white;
}

/* 精品块标题 */
.featured-title {
  color: #6441a4;
}

/* 搜索 */

#search-top-box-form input[type=submit], #top-bar .search-button a {
  color: white;
}
 
/* 移动端顶栏 */
@media (max-width: 768px) {
    .mobile-top-bar, #top-bar {
        position: absolute;
        display: flex;
        bottom: 0;
    }
 
    #top-bar .search-button a {
        top: -101px;
    }
}
