MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 标签:已被回退 |
||
| 第1行: | 第1行: | ||
:root { | :root { | ||
--jzy-ink: #eef8fb; | |||
--jzy-muted: #c7d9df; | |||
--jzy-blue: #78d8f0; | |||
--jzy- | --jzy-blue-soft: #a8edf4; | ||
--jzy- | |||
--jzy- | |||
--jzy- | |||
--jzy-green: #5ab878; | --jzy-green: #5ab878; | ||
--jzy-green-soft: #b8f0c8; | |||
--jzy-gold: #f4cf78; | --jzy-gold: #f4cf78; | ||
--jzy- | --jzy-gold-soft: #ffe7a8; | ||
--jzy-border: rgba(126, 204, 218, 0.24); | |||
--jzy-border: rgba( | |||
} | } | ||
| 第28行: | 第18行: | ||
min-height: 100%; | min-height: 100%; | ||
color: var(--jzy-ink); | color: var(--jzy-ink); | ||
background: | background: url("/images/1/18/%E4%B8%BB%E9%A1%B5%E8%83%8C%E6%99%AF1980.png") no-repeat fixed center center / cover; | ||
font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif; | font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif; | ||
} | } | ||
/* | /* 不再使用全屏遮罩,确保背景图保持清晰 */ | ||
#mw-page-base | #mw-page-base { | ||
background: transparent !important; | background: transparent !important; | ||
} | } | ||
/* ===== 主体内容:轻量玻璃,不压暗背景 ===== */ | |||
.mw-body { | .mw-body { | ||
background: | background: rgba(12, 28, 38, 0.24) !important; | ||
color: var(--jzy-ink) !important; | color: var(--jzy-ink) !important; | ||
border: 1px solid rgba( | border: 1px solid rgba(126, 204, 218, 0.22) !important; | ||
border-radius: 18px !important; | border-radius: 18px !important; | ||
box-shadow: | box-shadow: | ||
0 | 0 12px 28px rgba(0, 0, 0, 0.18), | ||
inset 0 1px 0 rgba(255, 255, 255, 0. | inset 0 1px 0 rgba(255, 255, 255, 0.10) !important; | ||
backdrop-filter: blur(3px) saturate( | backdrop-filter: blur(3px) saturate(115%); | ||
-webkit-backdrop-filter: blur(3px) saturate( | -webkit-backdrop-filter: blur(3px) saturate(115%); | ||
} | |||
.mw-body-content, | |||
.mw-parser-output { | |||
background: transparent !important; | |||
color: var(--jzy-ink) !important; | |||
} | } | ||
| 第60行: | 第50行: | ||
line-height: 1.88 !important; | line-height: 1.88 !important; | ||
color: var(--jzy-ink) !important; | color: var(--jzy-ink) !important; | ||
text-shadow: 0 1px 3px rgba( | text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); | ||
} | } | ||
| 第66行: | 第56行: | ||
.mw-body-content strong { | .mw-body-content strong { | ||
color: #ffffff !important; | color: #ffffff !important; | ||
text-shadow: 0 1px 4px rgba( | text-shadow: 0 1px 4px rgba(0, 0, 0, 0.58); | ||
} | } | ||
/* ===== | /* ===== 顶部与侧边栏:更轻,不抢背景 ===== */ | ||
#mw-head, | #mw-head, | ||
.vector-header-container { | |||
background: rgba(8, 22, 34, 0.18) !important; | |||
backdrop-filter: blur(4px); | |||
-webkit-backdrop-filter: blur(4px); | |||
.vector-header-container | |||
background: | |||
backdrop-filter: blur( | |||
-webkit-backdrop-filter: blur( | |||
} | } | ||
#mw-panel { | #mw-panel { | ||
background: rgba( | background: rgba(8, 22, 34, 0.24) !important; | ||
color: var(--jzy-muted) !important; | color: var(--jzy-muted) !important; | ||
border-right: 1px solid rgba( | border-right: 1px solid rgba(126, 204, 218, 0.12); | ||
} | } | ||
#mw-panel .portal, | #mw-panel .portal, | ||
#mw-panel nav { | #mw-panel nav { | ||
background: rgba( | background: rgba(8, 22, 34, 0.22); | ||
border: 1px solid rgba( | border: 1px solid rgba(126, 204, 218, 0.12); | ||
border-radius: 12px; | border-radius: 12px; | ||
margin: 8px 8px 12px; | margin: 8px 8px 12px; | ||
| 第142行: | 第82行: | ||
} | } | ||
/* ===== | /* ===== 标题层级:靠文字阴影保证清晰 ===== */ | ||
h1, | h1, | ||
.firstHeading { | .firstHeading { | ||
color: # | color: #f6fdff !important; | ||
font-weight: 900 !important; | font-weight: 900 !important; | ||
letter-spacing: 0 !important; | letter-spacing: 0 !important; | ||
text-shadow: | text-shadow: | ||
0 3px 12px rgba( | 0 3px 12px rgba(0, 0, 0, 0.70), | ||
0 0 | 0 0 20px rgba(120, 216, 240, 0.18) !important; | ||
} | } | ||
h2 { | h2 { | ||
color: | color: var(--jzy-blue-soft) !important; | ||
font-weight: 850 !important; | font-weight: 850 !important; | ||
font-size: 1.65em !important; | font-size: 1.65em !important; | ||
| 第161行: | 第101行: | ||
margin-top: 1.45em !important; | margin-top: 1.45em !important; | ||
text-shadow: | text-shadow: | ||
0 2px 7px rgba( | 0 2px 7px rgba(0, 0, 0, 0.68), | ||
0 0 14px rgba( | 0 0 14px rgba(120, 216, 240, 0.15) !important; | ||
} | } | ||
| 第172行: | 第112行: | ||
margin-top: 10px; | margin-top: 10px; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: linear-gradient(90deg, var(--jzy- | background: linear-gradient(90deg, var(--jzy-blue), var(--jzy-green), var(--jzy-gold)); | ||
box-shadow: 0 0 14px rgba( | box-shadow: 0 0 14px rgba(120, 216, 240, 0.26); | ||
} | } | ||
h3 { | h3 { | ||
color: | color: var(--jzy-green-soft) !important; | ||
font-weight: 800 !important; | font-weight: 800 !important; | ||
text-shadow: 0 2px 6px rgba( | text-shadow: 0 2px 6px rgba(0, 0, 0, 0.62) !important; | ||
} | } | ||
h4 { | h4 { | ||
color: # | color: #b7e9f4 !important; | ||
font-weight: 750 !important; | font-weight: 750 !important; | ||
text-shadow: 0 1px 4px rgba( | text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55) !important; | ||
} | } | ||
| 第191行: | 第131行: | ||
.mw-body-content a:link, | .mw-body-content a:link, | ||
.mw-parser-output a:link { | .mw-parser-output a:link { | ||
color: | color: var(--jzy-blue) !important; | ||
text-shadow: 0 1px 3px rgba( | text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); | ||
} | } | ||
.mw-body-content a:visited, | .mw-body-content a:visited, | ||
.mw-parser-output a:visited { | .mw-parser-output a:visited { | ||
color: # | color: #86cfe0 !important; | ||
} | } | ||
.mw-body-content a:hover, | .mw-body-content a:hover, | ||
.mw-parser-output a:hover { | .mw-parser-output a:hover { | ||
color: var(--jzy- | color: var(--jzy-gold) !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
text-shadow: 0 0 | text-shadow: 0 0 10px rgba(244, 207, 120, 0.42); | ||
} | } | ||
#mw-panel a:link, | #mw-panel a:link, | ||
#mw-panel a:visited { | #mw-panel a:visited { | ||
color: # | color: #c3e3ec !important; | ||
} | } | ||
#mw-panel a:hover { | #mw-panel a:hover { | ||
color: var(--jzy- | color: var(--jzy-gold) !important; | ||
} | } | ||
/* ===== 目录 ===== */ | /* ===== 目录 ===== */ | ||
.toc { | .toc { | ||
background: rgba( | background: rgba(8, 22, 34, 0.34) !important; | ||
border: 1px solid rgba( | border: 1px solid rgba(126, 204, 218, 0.24) !important; | ||
border-radius: 14px !important; | border-radius: 14px !important; | ||
padding: 14px 18px !important; | padding: 14px 18px !important; | ||
color: var(--jzy-ink) !important; | color: var(--jzy-ink) !important; | ||
box-shadow: | box-shadow: | ||
inset 0 1px 0 rgba(255, 255, 255, 0. | inset 0 1px 0 rgba(255, 255, 255, 0.10), | ||
0 10px 22px rgba( | 0 10px 22px rgba(0, 0, 0, 0.14); | ||
backdrop-filter: blur(3px); | backdrop-filter: blur(3px); | ||
-webkit-backdrop-filter: blur(3px); | -webkit-backdrop-filter: blur(3px); | ||
| 第231行: | 第171行: | ||
.toc h2 { | .toc h2 { | ||
color: | color: var(--jzy-blue-soft) !important; | ||
font-weight: 800 !important; | font-weight: 800 !important; | ||
} | } | ||
| 第237行: | 第177行: | ||
.toclevel-1 > .toclink::before { | .toclevel-1 > .toclink::before { | ||
content: "▸ "; | content: "▸ "; | ||
color: var(--jzy- | color: var(--jzy-blue); | ||
} | } | ||
/* ===== | /* ===== 表格与普通内容块 ===== */ | ||
.wikitable { | .wikitable { | ||
background: rgba( | background: rgba(8, 22, 34, 0.26) !important; | ||
color: var(--jzy-ink) !important; | color: var(--jzy-ink) !important; | ||
border: 1px solid rgba( | border: 1px solid rgba(126, 204, 218, 0.18) !important; | ||
border-radius: 12px; | border-radius: 12px; | ||
overflow: hidden; | overflow: hidden; | ||
| 第251行: | 第191行: | ||
.wikitable > tr > th, | .wikitable > tr > th, | ||
.wikitable > * > tr > th { | .wikitable > * > tr > th { | ||
background: rgba( | background: rgba(8, 74, 88, 0.46) !important; | ||
color: # | color: #f5fcff !important; | ||
} | } | ||
.wikitable > tr > td, | .wikitable > tr > td, | ||
.wikitable > * > tr > td { | .wikitable > * > tr > td { | ||
border-color: rgba( | border-color: rgba(126, 204, 218, 0.14) !important; | ||
} | } | ||
pre, | pre, | ||
code { | code { | ||
background: rgba( | background: rgba(5, 18, 28, 0.56) !important; | ||
color: # | color: #e8fbff !important; | ||
border: 1px solid rgba( | border: 1px solid rgba(126, 204, 218, 0.22) !important; | ||
border-radius: 8px; | border-radius: 8px; | ||
} | } | ||
/* ===== | /* ===== 首页卡片:轻透明,不遮背景 ===== */ | ||
.feature-card, | .feature-card, | ||
.hot-card, | .hot-card, | ||
| 第274行: | 第214行: | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
border: 1px solid rgba(255, 255, 255, 0. | border: 1px solid rgba(255, 255, 255, 0.10); | ||
box-shadow: | box-shadow: | ||
0 10px 22px rgba( | 0 10px 22px rgba(0, 0, 0, 0.16), | ||
inset 0 1px 0 rgba(255, 255, 255, 0. | inset 0 1px 0 rgba(255, 255, 255, 0.10); | ||
backdrop-filter: blur(3px); | backdrop-filter: blur(3px); | ||
-webkit-backdrop-filter: blur(3px); | -webkit-backdrop-filter: blur(3px); | ||
| 第288行: | 第228行: | ||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
background: linear-gradient(135deg, rgba(255, 255, 255, 0. | background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 48%); | ||
pointer-events: none; | pointer-events: none; | ||
} | } | ||
| 第297行: | 第237行: | ||
text-align: center; | text-align: center; | ||
font-weight: bold; | font-weight: bold; | ||
border-bottom: 3px solid; | border-bottom: 3px solid; | ||
} | } | ||
| 第319行: | 第243行: | ||
.hot-card-cyan, | .hot-card-cyan, | ||
.stat-card-blue { | .stat-card-blue { | ||
background: rgba( | background: rgba(8, 74, 88, 0.44); | ||
color: # | color: #e0fbff; | ||
border-bottom-color: | border-bottom-color: #16c3d0; | ||
} | } | ||
| 第327行: | 第251行: | ||
.hot-card-green, | .hot-card-green, | ||
.stat-card-green { | .stat-card-green { | ||
background: rgba( | background: rgba(18, 70, 42, 0.44); | ||
color: # | color: #d7f8e2; | ||
border-bottom-color: # | border-bottom-color: #5ab878; | ||
} | } | ||
.feature-card-orange, | .feature-card-orange, | ||
.hot-card-orange { | .hot-card-orange { | ||
background: rgba( | background: rgba(98, 67, 20, 0.40); | ||
color: # | color: #ffe9ad; | ||
border-bottom-color: | border-bottom-color: #d4a848; | ||
} | } | ||
.feature-card-red, | .feature-card-red, | ||
.hot-card-red { | .hot-card-red { | ||
background: rgba( | background: rgba(80, 26, 48, 0.40); | ||
color: # | color: #f4c9dc; | ||
border-bottom-color: | border-bottom-color: #d95b91; | ||
} | |||
.hot-card { | |||
padding: 14px 16px; | |||
border-radius: 10px; | |||
font-weight: 700; | |||
text-align: center; | |||
border-bottom: 3px solid; | |||
} | |||
.stat-card { | |||
padding: 20px 16px; | |||
border-radius: 14px; | |||
text-align: center; | |||
font-weight: 800; | |||
border-bottom: 3px solid; | |||
} | } | ||
| 第351行: | 第291行: | ||
margin: 24px 0; | margin: 24px 0; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: linear-gradient(90deg, var(--jzy- | background: linear-gradient(90deg, var(--jzy-blue), var(--jzy-green), var(--jzy-gold)); | ||
opacity: 0. | opacity: 0.95; | ||
} | } | ||
/* ===== | /* ===== 游戏资讯模块:降低遮挡,保留卡片可读性 ===== */ | ||
.jzy-game-info { | .jzy-game-info { | ||
background: | background: | ||
radial-gradient(circle at 12% 8%, rgba( | radial-gradient(circle at 12% 8%, rgba(120, 216, 240, 0.10), transparent 30%), | ||
radial-gradient(circle at 86% 16%, rgba( | radial-gradient(circle at 86% 16%, rgba(244, 207, 120, 0.12), transparent 26%), | ||
linear-gradient(135deg, rgba( | linear-gradient(135deg, rgba(12, 40, 54, 0.44), rgba(8, 74, 88, 0.38) 48%, rgba(18, 70, 42, 0.38)) !important; | ||
border: 1px solid rgba( | border: 1px solid rgba(126, 204, 218, 0.26) !important; | ||
border-radius: 18px !important; | border-radius: 18px !important; | ||
box-shadow: | box-shadow: | ||
0 12px 26px rgba( | 0 12px 26px rgba(0, 0, 0, 0.18), | ||
inset 0 1px 0 rgba(255, 255, 255, 0. | inset 0 1px 0 rgba(255, 255, 255, 0.12) !important; | ||
backdrop-filter: blur(3px) saturate( | backdrop-filter: blur(3px) saturate(115%); | ||
-webkit-backdrop-filter: blur(3px) saturate( | -webkit-backdrop-filter: blur(3px) saturate(115%); | ||
} | } | ||
.jzy-tabs { | .jzy-tabs { | ||
background: rgba( | background: rgba(8, 38, 50, 0.34) !important; | ||
border: 1px solid rgba( | border: 1px solid rgba(126, 204, 218, 0.24) !important; | ||
} | } | ||
.jzy-tab { | .jzy-tab { | ||
color: # | color: #c5e9f0 !important; | ||
} | } | ||
.jzy-tab:hover { | .jzy-tab:hover { | ||
color: var(--jzy- | color: var(--jzy-gold) !important; | ||
background: rgba(255, 255, 255, 0.08) !important; | background: rgba(255, 255, 255, 0.08) !important; | ||
} | } | ||
.jzy-tab.is-active { | .jzy-tab.is-active { | ||
background: linear-gradient(180deg, rgba( | background: linear-gradient(180deg, rgba(120, 216, 240, 0.24), rgba(90, 184, 120, 0.16)) !important; | ||
color: # | color: #f7fdff !important; | ||
box-shadow: inset 0 -3px 0 var(--jzy- | box-shadow: inset 0 -3px 0 var(--jzy-gold) !important; | ||
} | } | ||
.jzy-heading { | .jzy-heading { | ||
background: rgba( | background: rgba(8, 22, 34, 0.28) !important; | ||
border-color: rgba( | border-color: rgba(126, 204, 218, 0.26) !important; | ||
color: # | color: #f7fdff !important; | ||
} | } | ||
.jzy-card { | .jzy-card { | ||
background: | background: rgba(8, 22, 34, 0.38) !important; | ||
border: 1px solid rgba(126, 204, 218, 0.22) !important; | |||
border: 1px solid rgba( | |||
box-shadow: | box-shadow: | ||
0 7px 0 rgba( | 0 7px 0 rgba(8, 74, 88, 0.46), | ||
0 12px 20px rgba( | 0 12px 20px rgba(0, 0, 0, 0.16) !important; | ||
} | } | ||
.jzy-card:hover { | .jzy-card:hover { | ||
background: | background: rgba(8, 74, 88, 0.56) !important; | ||
border-color: rgba(244, 207, 120, 0.56) !important; | |||
border-color: rgba( | color: var(--jzy-gold) !important; | ||
color: var(--jzy- | |||
} | } | ||
.jzy-fallback { | .jzy-fallback { | ||
background: linear-gradient(145deg, | background: linear-gradient(145deg, #0fb4c1, #5ab878) !important; | ||
color: # | color: #f7fdff !important; | ||
} | } | ||
/* ===== | /* ===== 页脚 ===== */ | ||
#footer | #footer { | ||
color: #d2e4e8 !important; | |||
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.58); | |||
color: # | |||
text-shadow: 0 1px 4px rgba(0, 0, 0, 0. | |||
} | } | ||
#footer a | #footer a { | ||
color: #d7eef4 !important; | |||
color: | |||
} | } | ||
| 第471行: | 第368行: | ||
@media (max-width: 560px) { | @media (max-width: 560px) { | ||
.mw-body { | .mw-body { | ||
background: rgba( | background: rgba(12, 28, 38, 0.30) !important; | ||
border-radius: 12px !important; | border-radius: 12px !important; | ||
backdrop-filter: blur(3px) saturate(112%); | backdrop-filter: blur(3px) saturate(112%); | ||
| 第487行: | 第384行: | ||
} | } | ||
/* ===== | /* ===== 官网式页脚 ===== */ | ||
#citizen-footer, | |||
.citizen-footer, | |||
*/ | #footer, | ||
.mw-footer { | |||
background: #534646 !important; | |||
color: #ffffff !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
} | |||
/* 首页脚本插入新版页脚后,隐藏 Citizen 的旧版布局,避免重复显示。 */ | |||
#citizen-footer.jzy-footer-ready > :not(#jzy-official-footer), | |||
.citizen-footer.jzy-footer-ready > :not(#jzy-official-footer), | |||
#footer.jzy-footer-ready > :not(#jzy-official-footer), | |||
.mw-footer.jzy-footer-ready > :not(#jzy-official-footer) { | |||
display: none !important; | display: none !important; | ||
} | } | ||
#jzy-official-footer { | |||
width: min(100% - 64px, 1760px); | |||
margin: 0 auto; | |||
padding: 48px 0 30px; | |||
color: #ffffff !important; | |||
box-sizing: border-box; | |||
} | |||
#jzy-official-footer * { | |||
box-sizing: border-box; | |||
} | |||
.jzy-official-footer-top { | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
gap: 28px; | |||
min-height: 118px; | |||
} | |||
.jzy-official-footer-brand { | |||
display: inline-flex; | |||
align-items: center; | |||
width: 220px; | |||
color: #ffffff !important; | |||
text-decoration: none !important; | |||
} | |||
.jzy-official-footer-brand img { | |||
display: block; | |||
width: 100%; | |||
height: auto; | |||
max-height: 150px; | |||
object-fit: contain; | |||
filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.24)); | |||
} | |||
.jzy-official-footer-socials { | |||
display: flex; | |||
align-items: center; | |||
justify-content: flex-end; | |||
flex-wrap: wrap; | |||
gap: 14px; | |||
} | |||
.jzy-footer-social { | |||
display: grid; | |||
place-items: center; | |||
width: 56px; | |||
height: 56px; | |||
padding: 10px; | |||
border: 1px solid rgba(255, 255, 255, 0.08); | |||
border-radius: 12px; | |||
background: rgba(58, 46, 46, 0.30); | |||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); | |||
} | |||
.jzy-footer-social img { | |||
display: block; | |||
width: 34px; | |||
height: 34px; | |||
object-fit: contain; | |||
} | |||
.jzy-official-footer-rule { | |||
height: 1px; | |||
margin: 34px 0 26px; | |||
background: rgba(255, 255, 255, 0.13); | |||
} | |||
.jzy-official-footer-bottom { | |||
display: flex; | |||
align-items: flex-end; | |||
justify-content: space-between; | |||
gap: 28px; | |||
} | |||
.jzy-official-footer-copy { | |||
max-width: 820px; | |||
margin: 0; | |||
color: rgba(255, 255, 255, 0.92) !important; | |||
font-size: 15px; | |||
line-height: 1.8; | |||
} | |||
.jzy-official-footer-copy strong { | |||
color: #fae5bd !important; | |||
} | |||
.jzy-official-footer-links { | |||
display: flex; | |||
align-items: center; | |||
justify-content: flex-end; | |||
flex-wrap: wrap; | |||
gap: 22px; | |||
} | |||
.jzy-official-footer-links a { | |||
color: #ffffff !important; | |||
font-size: 15px; | |||
font-weight: 700; | |||
text-decoration: none !important; | |||
white-space: nowrap; | |||
} | } | ||
.jzy-official-footer-links a:hover, | |||
.jzy-official-footer-links a:focus-visible { | |||
color: #fae5bd !important; | |||
text-decoration: underline !important; | |||
text-underline-offset: 4px; | |||
} | } | ||
@media (max-width: 720px) { | |||
#jzy-official-footer { | |||
width: min(100% - 36px, 1760px); | |||
padding: 34px 0 26px; | |||
} | |||
.jzy-official-footer-top, | |||
.jzy-official-footer-bottom { | |||
align-items: flex-start; | |||
flex-direction: column; | |||
} | |||
.jzy-official-footer-brand { | |||
width: 176px; | |||
} | |||
.jzy-official-footer-socials, | |||
.jzy-official-footer-links { | |||
justify-content: flex-start; | |||
gap: 10px 16px; | |||
} | |||
.jzy-footer-social { | |||
width: 48px; | |||
height: 48px; | |||
} | |||
} | } | ||
2026年7月20日 (一) 05:31的版本
:root {
--jzy-ink: #eef8fb;
--jzy-muted: #c7d9df;
--jzy-blue: #78d8f0;
--jzy-blue-soft: #a8edf4;
--jzy-green: #5ab878;
--jzy-green-soft: #b8f0c8;
--jzy-gold: #f4cf78;
--jzy-gold-soft: #ffe7a8;
--jzy-border: rgba(126, 204, 218, 0.24);
}
html {
min-height: 100%;
}
body {
min-height: 100%;
color: var(--jzy-ink);
background: url("/images/1/18/%E4%B8%BB%E9%A1%B5%E8%83%8C%E6%99%AF1980.png") no-repeat fixed center center / cover;
font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}
/* 不再使用全屏遮罩,确保背景图保持清晰 */
#mw-page-base {
background: transparent !important;
}
/* ===== 主体内容:轻量玻璃,不压暗背景 ===== */
.mw-body {
background: rgba(12, 28, 38, 0.24) !important;
color: var(--jzy-ink) !important;
border: 1px solid rgba(126, 204, 218, 0.22) !important;
border-radius: 18px !important;
box-shadow:
0 12px 28px rgba(0, 0, 0, 0.18),
inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
backdrop-filter: blur(3px) saturate(115%);
-webkit-backdrop-filter: blur(3px) saturate(115%);
}
.mw-body-content,
.mw-parser-output {
background: transparent !important;
color: var(--jzy-ink) !important;
}
.mw-body-content p,
.mw-parser-output li {
line-height: 1.88 !important;
color: var(--jzy-ink) !important;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
.mw-body-content b,
.mw-body-content strong {
color: #ffffff !important;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.58);
}
/* ===== 顶部与侧边栏:更轻,不抢背景 ===== */
#mw-head,
.vector-header-container {
background: rgba(8, 22, 34, 0.18) !important;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
}
#mw-panel {
background: rgba(8, 22, 34, 0.24) !important;
color: var(--jzy-muted) !important;
border-right: 1px solid rgba(126, 204, 218, 0.12);
}
#mw-panel .portal,
#mw-panel nav {
background: rgba(8, 22, 34, 0.22);
border: 1px solid rgba(126, 204, 218, 0.12);
border-radius: 12px;
margin: 8px 8px 12px;
padding: 8px 10px;
}
/* ===== 标题层级:靠文字阴影保证清晰 ===== */
h1,
.firstHeading {
color: #f6fdff !important;
font-weight: 900 !important;
letter-spacing: 0 !important;
text-shadow:
0 3px 12px rgba(0, 0, 0, 0.70),
0 0 20px rgba(120, 216, 240, 0.18) !important;
}
h2 {
color: var(--jzy-blue-soft) !important;
font-weight: 850 !important;
font-size: 1.65em !important;
border-bottom: none !important;
padding-bottom: 6px !important;
margin-top: 1.45em !important;
text-shadow:
0 2px 7px rgba(0, 0, 0, 0.68),
0 0 14px rgba(120, 216, 240, 0.15) !important;
}
h2::after {
content: "";
display: block;
width: 100%;
height: 3px;
margin-top: 10px;
border-radius: 999px;
background: linear-gradient(90deg, var(--jzy-blue), var(--jzy-green), var(--jzy-gold));
box-shadow: 0 0 14px rgba(120, 216, 240, 0.26);
}
h3 {
color: var(--jzy-green-soft) !important;
font-weight: 800 !important;
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.62) !important;
}
h4 {
color: #b7e9f4 !important;
font-weight: 750 !important;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55) !important;
}
/* ===== 链接 ===== */
.mw-body-content a:link,
.mw-parser-output a:link {
color: var(--jzy-blue) !important;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.mw-body-content a:visited,
.mw-parser-output a:visited {
color: #86cfe0 !important;
}
.mw-body-content a:hover,
.mw-parser-output a:hover {
color: var(--jzy-gold) !important;
text-decoration: none !important;
text-shadow: 0 0 10px rgba(244, 207, 120, 0.42);
}
#mw-panel a:link,
#mw-panel a:visited {
color: #c3e3ec !important;
}
#mw-panel a:hover {
color: var(--jzy-gold) !important;
}
/* ===== 目录 ===== */
.toc {
background: rgba(8, 22, 34, 0.34) !important;
border: 1px solid rgba(126, 204, 218, 0.24) !important;
border-radius: 14px !important;
padding: 14px 18px !important;
color: var(--jzy-ink) !important;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.10),
0 10px 22px rgba(0, 0, 0, 0.14);
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
}
.toc h2 {
color: var(--jzy-blue-soft) !important;
font-weight: 800 !important;
}
.toclevel-1 > .toclink::before {
content: "▸ ";
color: var(--jzy-blue);
}
/* ===== 表格与普通内容块 ===== */
.wikitable {
background: rgba(8, 22, 34, 0.26) !important;
color: var(--jzy-ink) !important;
border: 1px solid rgba(126, 204, 218, 0.18) !important;
border-radius: 12px;
overflow: hidden;
}
.wikitable > tr > th,
.wikitable > * > tr > th {
background: rgba(8, 74, 88, 0.46) !important;
color: #f5fcff !important;
}
.wikitable > tr > td,
.wikitable > * > tr > td {
border-color: rgba(126, 204, 218, 0.14) !important;
}
pre,
code {
background: rgba(5, 18, 28, 0.56) !important;
color: #e8fbff !important;
border: 1px solid rgba(126, 204, 218, 0.22) !important;
border-radius: 8px;
}
/* ===== 首页卡片:轻透明,不遮背景 ===== */
.feature-card,
.hot-card,
.stat-card {
position: relative;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.10);
box-shadow:
0 10px 22px rgba(0, 0, 0, 0.16),
inset 0 1px 0 rgba(255, 255, 255, 0.10);
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
}
.feature-card::before,
.hot-card::before,
.stat-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 48%);
pointer-events: none;
}
.feature-card {
padding: 18px 14px;
border-radius: 14px;
text-align: center;
font-weight: bold;
border-bottom: 3px solid;
}
.feature-card-blue,
.hot-card-cyan,
.stat-card-blue {
background: rgba(8, 74, 88, 0.44);
color: #e0fbff;
border-bottom-color: #16c3d0;
}
.feature-card-green,
.hot-card-green,
.stat-card-green {
background: rgba(18, 70, 42, 0.44);
color: #d7f8e2;
border-bottom-color: #5ab878;
}
.feature-card-orange,
.hot-card-orange {
background: rgba(98, 67, 20, 0.40);
color: #ffe9ad;
border-bottom-color: #d4a848;
}
.feature-card-red,
.hot-card-red {
background: rgba(80, 26, 48, 0.40);
color: #f4c9dc;
border-bottom-color: #d95b91;
}
.hot-card {
padding: 14px 16px;
border-radius: 10px;
font-weight: 700;
text-align: center;
border-bottom: 3px solid;
}
.stat-card {
padding: 20px 16px;
border-radius: 14px;
text-align: center;
font-weight: 800;
border-bottom: 3px solid;
}
.divider {
border: 0;
height: 3px;
margin: 24px 0;
border-radius: 999px;
background: linear-gradient(90deg, var(--jzy-blue), var(--jzy-green), var(--jzy-gold));
opacity: 0.95;
}
/* ===== 游戏资讯模块:降低遮挡,保留卡片可读性 ===== */
.jzy-game-info {
background:
radial-gradient(circle at 12% 8%, rgba(120, 216, 240, 0.10), transparent 30%),
radial-gradient(circle at 86% 16%, rgba(244, 207, 120, 0.12), transparent 26%),
linear-gradient(135deg, rgba(12, 40, 54, 0.44), rgba(8, 74, 88, 0.38) 48%, rgba(18, 70, 42, 0.38)) !important;
border: 1px solid rgba(126, 204, 218, 0.26) !important;
border-radius: 18px !important;
box-shadow:
0 12px 26px rgba(0, 0, 0, 0.18),
inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
backdrop-filter: blur(3px) saturate(115%);
-webkit-backdrop-filter: blur(3px) saturate(115%);
}
.jzy-tabs {
background: rgba(8, 38, 50, 0.34) !important;
border: 1px solid rgba(126, 204, 218, 0.24) !important;
}
.jzy-tab {
color: #c5e9f0 !important;
}
.jzy-tab:hover {
color: var(--jzy-gold) !important;
background: rgba(255, 255, 255, 0.08) !important;
}
.jzy-tab.is-active {
background: linear-gradient(180deg, rgba(120, 216, 240, 0.24), rgba(90, 184, 120, 0.16)) !important;
color: #f7fdff !important;
box-shadow: inset 0 -3px 0 var(--jzy-gold) !important;
}
.jzy-heading {
background: rgba(8, 22, 34, 0.28) !important;
border-color: rgba(126, 204, 218, 0.26) !important;
color: #f7fdff !important;
}
.jzy-card {
background: rgba(8, 22, 34, 0.38) !important;
border: 1px solid rgba(126, 204, 218, 0.22) !important;
box-shadow:
0 7px 0 rgba(8, 74, 88, 0.46),
0 12px 20px rgba(0, 0, 0, 0.16) !important;
}
.jzy-card:hover {
background: rgba(8, 74, 88, 0.56) !important;
border-color: rgba(244, 207, 120, 0.56) !important;
color: var(--jzy-gold) !important;
}
.jzy-fallback {
background: linear-gradient(145deg, #0fb4c1, #5ab878) !important;
color: #f7fdff !important;
}
/* ===== 页脚 ===== */
#footer {
color: #d2e4e8 !important;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.58);
}
#footer a {
color: #d7eef4 !important;
}
/* ===== 移动端适配 ===== */
@media (max-width: 560px) {
.mw-body {
background: rgba(12, 28, 38, 0.30) !important;
border-radius: 12px !important;
backdrop-filter: blur(3px) saturate(112%);
-webkit-backdrop-filter: blur(3px) saturate(112%);
}
h2 {
font-size: 1.35em !important;
}
h2::after {
height: 2px;
margin-top: 6px;
}
}
/* ===== 官网式页脚 ===== */
#citizen-footer,
.citizen-footer,
#footer,
.mw-footer {
background: #534646 !important;
color: #ffffff !important;
border: 0 !important;
box-shadow: none !important;
}
/* 首页脚本插入新版页脚后,隐藏 Citizen 的旧版布局,避免重复显示。 */
#citizen-footer.jzy-footer-ready > :not(#jzy-official-footer),
.citizen-footer.jzy-footer-ready > :not(#jzy-official-footer),
#footer.jzy-footer-ready > :not(#jzy-official-footer),
.mw-footer.jzy-footer-ready > :not(#jzy-official-footer) {
display: none !important;
}
#jzy-official-footer {
width: min(100% - 64px, 1760px);
margin: 0 auto;
padding: 48px 0 30px;
color: #ffffff !important;
box-sizing: border-box;
}
#jzy-official-footer * {
box-sizing: border-box;
}
.jzy-official-footer-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
min-height: 118px;
}
.jzy-official-footer-brand {
display: inline-flex;
align-items: center;
width: 220px;
color: #ffffff !important;
text-decoration: none !important;
}
.jzy-official-footer-brand img {
display: block;
width: 100%;
height: auto;
max-height: 150px;
object-fit: contain;
filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.24));
}
.jzy-official-footer-socials {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 14px;
}
.jzy-footer-social {
display: grid;
place-items: center;
width: 56px;
height: 56px;
padding: 10px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
background: rgba(58, 46, 46, 0.30);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.jzy-footer-social img {
display: block;
width: 34px;
height: 34px;
object-fit: contain;
}
.jzy-official-footer-rule {
height: 1px;
margin: 34px 0 26px;
background: rgba(255, 255, 255, 0.13);
}
.jzy-official-footer-bottom {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 28px;
}
.jzy-official-footer-copy {
max-width: 820px;
margin: 0;
color: rgba(255, 255, 255, 0.92) !important;
font-size: 15px;
line-height: 1.8;
}
.jzy-official-footer-copy strong {
color: #fae5bd !important;
}
.jzy-official-footer-links {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 22px;
}
.jzy-official-footer-links a {
color: #ffffff !important;
font-size: 15px;
font-weight: 700;
text-decoration: none !important;
white-space: nowrap;
}
.jzy-official-footer-links a:hover,
.jzy-official-footer-links a:focus-visible {
color: #fae5bd !important;
text-decoration: underline !important;
text-underline-offset: 4px;
}
@media (max-width: 720px) {
#jzy-official-footer {
width: min(100% - 36px, 1760px);
padding: 34px 0 26px;
}
.jzy-official-footer-top,
.jzy-official-footer-bottom {
align-items: flex-start;
flex-direction: column;
}
.jzy-official-footer-brand {
width: 176px;
}
.jzy-official-footer-socials,
.jzy-official-footer-links {
justify-content: flex-start;
gap: 10px 16px;
}
.jzy-footer-social {
width: 48px;
height: 48px;
}
}