MediaWiki:Common.css

来自玄鉴仙族 Wiki
WikiAdmin留言 | 贡献2026年5月7日 (四) 17:54的版本 (添加修仙水墨风格主题)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/* ============================================ */
/* 玄鉴仙族维基 - 修仙水墨风格主题 */
/* ============================================ */

/* === 全局色调:深色底+金字 === */
body.skin-vector-2022 {
    --background-color-base: #1a1a2e;
    --color-base: #e0d8c8;
}

/* === 顶部导航栏 === */
.vector-header {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%) !important;
    border-bottom: 2px solid #c9a96e !important;
}

.vector-header .mw-logo-wordmark {
    color: #c9a96e !important;
    font-family: "STKaiti", "KaiTi", serif !important;
    font-size: 22px !important;
    letter-spacing: 3px;
}

/* === 内容区域 === */
.mw-body {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    color: #e0d8c8 !important;
    border-left: 1px solid #2a2a4e !important;
}

.mw-body-content {
    color: #d4c5a9 !important;
    line-height: 1.8;
}

/* === 标题样式 === */
.mw-body h1, .mw-body h2, .mw-body h3 {
    color: #c9a96e !important;
    font-family: "STKaiti", "KaiTi", "SimSun", serif !important;
    border-bottom: 1px solid #3a3a5e !important;
}

.mw-body h1 {
    font-size: 2em;
    text-shadow: 0 0 10px rgba(201, 169, 110, 0.3);
}

/* === 链接 === */
.mw-body-content a:not(.new) {
    color: #7ecec2 !important;
}
.mw-body-content a:not(.new):hover {
    color: #a8e6cf !important;
    text-shadow: 0 0 5px rgba(126, 206, 194, 0.3);
}
.mw-body-content a.new {
    color: #e07a5f !important;
}

/* === 角色信息框 (Infobox) === */
.mw-body-content div[style*="float:right"][style*="border"] {
    background: #16213e !important;
    border: 1px solid #c9a96e !important;
    border-radius: 12px !important;
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.15);
}

.mw-body-content div[style*="float:right"] div[style*="background:#36c"] {
    background: linear-gradient(135deg, #0f3460, #533483) !important;
    font-family: "STKaiti", "KaiTi", serif !important;
    letter-spacing: 2px;
}

.mw-body-content div[style*="float:right"] td[style*="background:#eaecf0"] {
    background: #1e2a4a !important;
    color: #c9a96e !important;
}

.mw-body-content div[style*="float:right"] td {
    color: #d4c5a9 !important;
    border-bottom: 1px solid #2a3a5e !important;
}

/* === 分类标签 === */
.catlinks {
    background: #16213e !important;
    border: 1px solid #3a3a5e !important;
    color: #a0a0c0 !important;
}

/* === 侧边栏 === */
.vector-main-menu {
    background: #12122e !important;
}

.vector-menu-content a {
    color: #8899bb !important;
}

/* === 搜索框 === */
.cdx-text-input__input {
    background: #1e2a4a !important;
    border: 1px solid #3a3a5e !important;
    color: #d4c5a9 !important;
}

/* === 装饰性元素 === */
.mw-body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(15, 52, 96, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(83, 52, 131, 0.2) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* === 表格 === */
.wikitable {
    background: #16213e !important;
    border: 1px solid #3a3a5e !important;
    color: #d4c5a9 !important;
}
.wikitable th {
    background: #1e2a4a !important;
    color: #c9a96e !important;
    border: 1px solid #3a3a5e !important;
}
.wikitable td {
    border: 1px solid #2a3a5e !important;
}

/* === 页脚 === */
.vector-footer {
    background: #0f0f2e !important;
    border-top: 1px solid #3a3a5e !important;
}