打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
ContentBot2留言 | 贡献
QQ X5 flexbox gap 兼容:改用 margin 替代 gap
标签已被回退
无编辑摘要
 
(未显示2个用户的7个中间版本)
第41行: 第41行:
}
}


/* === 首页卡片 === */
/* === 深色模式(!important 覆盖内联样式) === */
.robuddy-hero { text-align:center; padding:2em 0 1em; }
/* night — 手动深色 */
.robuddy-hero-title { font-size:1.8em; font-weight:700; background:linear-gradient(135deg,#2a4b8a,#00b4d8); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
html.skin-theme-clientpref-night [style*="color:#2a4b8a"] { color:#4a90d9 !important; }
.robuddy-hero-sub { color:#666; margin-top:0.5em; font-size:1.05em; }
html.skin-theme-clientpref-night [style*="color:#666"] { color:#777 !important; }
/* Flexbox 默认布局(兼容所有浏览器,含 QQ X5) */
html.skin-theme-clientpref-night [style*="border:1px solid #e0e4ea"] { border-color:#1e2430 !important; }
.robuddy-grid { display:flex; flex-wrap:wrap; margin:1.5em -0.6em 0.8em -0.6em; }
html.skin-theme-clientpref-night [style*="background:#fff"] { background:#101318 !important; }
.robuddy-card { flex:1 1 calc(50% - 1.2em); min-width:240px; box-sizing:border-box; margin:0 0.6em 1.2em 0.6em; }
html.skin-theme-clientpref-night [style*="color:#1a1a2e"] { color:#c8ccd4 !important; }
.robuddy-hero-title { color:#2a4b8a; }
html.skin-theme-clientpref-night [style*="color:#555"] { color:#888 !important; }
/* 支持 Grid + 渐变文字的浏览器使用增强样式 */
html.skin-theme-clientpref-night [style*="background:#f0f7ff"] { background:#11161e !important; }
@supports (display: grid) and (-webkit-background-clip: text) {
html.skin-theme-clientpref-night [style*="border:1px solid #b8d4f0"] { border-color:#1e2a38 !important; }
   .robuddy-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.2em; margin:1.5em 0 2em; }
/* os — 跟随系统 */
  .robuddy-card { flex:unset; min-width:unset; margin:0; }
@media (prefers-color-scheme: dark) {
  .robuddy-hero-title { background:linear-gradient(135deg,#2a4b8a,#00b4d8); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; color:transparent; }
  html.skin-theme-clientpref-os [style*="color:#2a4b8a"] { color:#4a90d9 !important; }
  html.skin-theme-clientpref-os [style*="color:#666"] { color:#777 !important; }
  html.skin-theme-clientpref-os [style*="border:1px solid #e0e4ea"] { border-color:#1e2430 !important; }
  html.skin-theme-clientpref-os [style*="background:#fff"] { background:#101318 !important; }
  html.skin-theme-clientpref-os [style*="color:#1a1a2e"] { color:#c8ccd4 !important; }
  html.skin-theme-clientpref-os [style*="color:#555"] { color:#888 !important; }
  html.skin-theme-clientpref-os [style*="background:#f0f7ff"] { background:#11161e !important; }
  html.skin-theme-clientpref-os [style*="border:1px solid #b8d4f0"] { border-color:#1e2a38 !important; }
}
/* 渐变标题 — 仅现代浏览器 */
@supports (-webkit-background-clip: text) {
  .robuddy-hero-title { background:linear-gradient(135deg,#2a4b8a,#00b4d8) !important; -webkit-background-clip:text !important; -webkit-text-fill-color:transparent !important; background-clip:text !important; color:transparent !important; }
  html.skin-theme-clientpref-night .robuddy-hero-title,
  html.skin-theme-clientpref-os .robuddy-hero-title { background:linear-gradient(135deg,#4a90d9,#00b4d8) !important; }
}
/* === 代码高亮深色模式 === */
/* night — 手动深色 */
html.skin-theme-clientpref-night .mw-highlight { background:#0d1117 !important; color:#c9d1d9; }
html.skin-theme-clientpref-night .mw-highlight .c1 { color:#8b949e !important; }
html.skin-theme-clientpref-night .mw-highlight .cm { color:#8b949e !important; }
html.skin-theme-clientpref-night .mw-highlight .k { color:#ff7b72 !important; }
html.skin-theme-clientpref-night .mw-highlight .kd { color:#ff7b72 !important; }
html.skin-theme-clientpref-night .mw-highlight .kt { color:#ff7b72 !important; }
html.skin-theme-clientpref-night .mw-highlight .kr { color:#ff7b72 !important; }
html.skin-theme-clientpref-night .mw-highlight .nb { color:#ffa657 !important; }
html.skin-theme-clientpref-night .mw-highlight .nf { color:#d2a8ff !important; }
html.skin-theme-clientpref-night .mw-highlight .nc { color:#ffa657 !important; }
html.skin-theme-clientpref-night .mw-highlight .s { color:#a5d6ff !important; }
html.skin-theme-clientpref-night .mw-highlight .s1 { color:#a5d6ff !important; }
html.skin-theme-clientpref-night .mw-highlight .s2 { color:#a5d6ff !important; }
html.skin-theme-clientpref-night .mw-highlight .n { color:#c9d1d9 !important; }
html.skin-theme-clientpref-night .mw-highlight .p { color:#8b949e !important; }
html.skin-theme-clientpref-night .mw-highlight .o { color:#ff7b72 !important; }
html.skin-theme-clientpref-night .mw-highlight .mi { color:#79c0ff !important; }
html.skin-theme-clientpref-night .mw-highlight .mf { color:#79c0ff !important; }
html.skin-theme-clientpref-night .mw-highlight .mh { color:#79c0ff !important; }
html.skin-theme-clientpref-night .mw-highlight .w { color:#c9d1d9 !important; }
html.skin-theme-clientpref-night .mw-highlight .cp { color:#8b949e !important; }
html.skin-theme-clientpref-night .mw-highlight .cpf { color:#a5d6ff !important; }
/* os — 跟随系统 */
@media (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os .mw-highlight { background:#0d1117 !important; color:#c9d1d9; }
  html.skin-theme-clientpref-os .mw-highlight .c1 { color:#8b949e !important; }
  html.skin-theme-clientpref-os .mw-highlight .cm { color:#8b949e !important; }
  html.skin-theme-clientpref-os .mw-highlight .k { color:#ff7b72 !important; }
  html.skin-theme-clientpref-os .mw-highlight .kd { color:#ff7b72 !important; }
  html.skin-theme-clientpref-os .mw-highlight .kt { color:#ff7b72 !important; }
  html.skin-theme-clientpref-os .mw-highlight .kr { color:#ff7b72 !important; }
  html.skin-theme-clientpref-os .mw-highlight .nb { color:#ffa657 !important; }
  html.skin-theme-clientpref-os .mw-highlight .nf { color:#d2a8ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .nc { color:#ffa657 !important; }
  html.skin-theme-clientpref-os .mw-highlight .s { color:#a5d6ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .s1 { color:#a5d6ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .s2 { color:#a5d6ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .n { color:#c9d1d9 !important; }
  html.skin-theme-clientpref-os .mw-highlight .p { color:#8b949e !important; }
  html.skin-theme-clientpref-os .mw-highlight .o { color:#ff7b72 !important; }
  html.skin-theme-clientpref-os .mw-highlight .mi { color:#79c0ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .mf { color:#79c0ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .mh { color:#79c0ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .w { color:#c9d1d9 !important; }
  html.skin-theme-clientpref-os .mw-highlight .cp { color:#8b949e !important; }
   html.skin-theme-clientpref-os .mw-highlight .cpf { color:#a5d6ff !important; }
}
/* === 对阵表深色模式 === */
html.skin-theme-clientpref-night .mw-parser-output [style*="background:#34495e"] { background:#252b33 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="background:#4a6785"] { background:#1e2430 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="background:#2980b9"] { background:#1a2a3a !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="background:#c0392b"] { background:#3a1a1a !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="border:1.5px solid #7f8c8d"] { border-color:#333a44 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="border:1.5px solid #c0392b"] { border-color:#5a2020 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="border:2px solid #f39c12"] { border-color:#5a4a10 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="border:2.5px solid #e74c3c"] { border-color:#5a2020 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="color:#ecf0f1"] { color:#c8d0dc !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="color:#2d3436"] { color:#c8d0dc !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="background:linear-gradient(135deg,#f9ca24"] { background:#2a2518 !important; }
 
@media (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os .mw-parser-output [style*="background:#34495e"] { background:#252b33 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="background:#4a6785"] { background:#1e2430 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="background:#2980b9"] { background:#1a2a3a !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="background:#c0392b"] { background:#3a1a1a !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="border:1.5px solid #7f8c8d"] { border-color:#333a44 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="border:1.5px solid #c0392b"] { border-color:#5a2020 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="border:2px solid #f39c12"] { border-color:#5a4a10 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="border:2.5px solid #e74c3c"] { border-color:#5a2020 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="color:#ecf0f1"] { color:#c8d0dc !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="color:#2d3436"] { color:#c8d0dc !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="background:linear-gradient(135deg,#f9ca24"] { background:#2a2518 !important; }
}
}
.robuddy-card { position:relative; padding:1.8em 1.5em; border-radius:12px; border:1px solid #e0e4ea; background:#fff; transition:all 0.3s ease; overflow:hidden; text-decoration:none; color:inherit; display:block; }
.robuddy-card:hover { transform:translateY(-4px); box-shadow:0 8px 30px rgba(42,75,138,0.15); border-color:#00b4d8; }
.robuddy-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,#2a4b8a,#00b4d8); opacity:0; transition:opacity 0.3s; }
.robuddy-card:hover::before { opacity:1; }
.robuddy-card-icon { font-size:2em; margin-bottom:0.5em; }
.robuddy-card-title { font-size:1.2em; font-weight:700; color:#1a1a2e; margin-bottom:0.4em; }
.robuddy-card-desc { font-size:0.9em; color:#555; line-height:1.6; }
.robuddy-card-links { margin-top:0.8em; font-size:0.85em; }
.robuddy-card-links a { color:#2a4b8a; text-decoration:none; margin-right:0.8em; }
.robuddy-card-links a:hover { color:#00b4d8; text-decoration:underline; }
.robuddy-notice { text-align:center; margin:1em 0; padding:0.8em; border-radius:8px; background:#f0f7ff; border:1px solid #b8d4f0; font-size:0.9em; }
.robuddy-notice a { color:#2a4b8a; font-weight:600; }
/* 深色-night */
html.skin-theme-clientpref-night .robuddy-hero-sub{color:#888}
html.skin-theme-clientpref-night .robuddy-card{background:#1c2028;border-color:#2a3040}
html.skin-theme-clientpref-night .robuddy-card:hover{box-shadow:0 8px 30px rgba(0,180,216,0.15);border-color:#00b4d8}
html.skin-theme-clientpref-night .robuddy-card-title{color:#e0e4ea}
html.skin-theme-clientpref-night .robuddy-card-desc{color:#888}
html.skin-theme-clientpref-night .robuddy-card-links a{color:#4a90d9}
html.skin-theme-clientpref-night .robuddy-notice{background:#182230;border-color:#2a3a50;color:#8ab4e0}
html.skin-theme-clientpref-night .robuddy-hero-title{color:#4a90d9}
/* 深色-os */
@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .robuddy-hero-sub{color:#888}html.skin-theme-clientpref-os .robuddy-card{background:#1c2028;border-color:#2a3040}html.skin-theme-clientpref-os .robuddy-card:hover{box-shadow:0 8px 30px rgba(0,180,216,0.15);border-color:#00b4d8}html.skin-theme-clientpref-os .robuddy-card-title{color:#e0e4ea}html.skin-theme-clientpref-os .robuddy-card-desc{color:#888}html.skin-theme-clientpref-os .robuddy-card-links a{color:#4a90d9}html.skin-theme-clientpref-os .robuddy-notice{background:#182230;border-color:#2a3a50;color:#8ab4e0}html.skin-theme-clientpref-os .robuddy-hero-title{color:#4a90d9}}

2026年7月24日 (五) 22:53的最新版本

/* 隐藏页脚底部徽章和编辑提示,保留品牌链接 */
.citizen-footer__bottom { display:none; }
/* 浅色模式 */
.robuddy-infobox { float:right; margin-left:1em; margin-bottom:1em; width:280px; border:1px solid #c8ccd1; border-collapse:collapse; background:#fff; border-radius:8px; overflow:hidden; }
.robuddy-infobox-title { background:#2a4b8a; color:#fff; text-align:center; padding:10px 8px; font-weight:bold; }
.robuddy-infobox-image { text-align:center; padding:8px; }
.robuddy-infobox-row { background:#f6f7f9; }
.robuddy-infobox-row:nth-child(even) { background:#eef0f3; }
.robuddy-infobox-label { width:90px; font-weight:bold; padding:5px 10px; color:#333; }
.robuddy-infobox-value { padding:5px 10px; color:#222; }
.robuddy-infobox-en { font-size:smaller; color:#666; }
.robuddy-warning, .robuddy-note, .robuddy-danger { padding:10px 14px; margin:0.6em 0; border-radius:6px; border-left:4px solid; }
.robuddy-warning { background:#fffbf0; border-color:#e5a800; color:#5c4800; }
.robuddy-note { background:#f0f7ff; border-color:#3b82f6; color:#1e3a5f; }
.robuddy-danger { background:#fff0f0; border-color:#dc2626; color:#7f1d1d; }

/* 深色模式 - 手动切换(night) */
html.skin-theme-clientpref-night .robuddy-infobox { border-color:#333a44; background:#1c2028; }
html.skin-theme-clientpref-night .robuddy-infobox-title { background:#2e3a4e; color:#dce4f0; }
html.skin-theme-clientpref-night .robuddy-infobox-row { background:#222830; }
html.skin-theme-clientpref-night .robuddy-infobox-row:nth-child(even) { background:#1c2028; }
html.skin-theme-clientpref-night .robuddy-infobox-label { color:#a0aab8; }
html.skin-theme-clientpref-night .robuddy-infobox-value { color:#c8d0dc; }
html.skin-theme-clientpref-night .robuddy-infobox-en { color:#7a8494; }
html.skin-theme-clientpref-night .robuddy-warning { background:#2a2518; border-color:#c49a30; color:#d4b060; }
html.skin-theme-clientpref-night .robuddy-note { background:#182230; border-color:#4a90d9; color:#7ab8e8; }
html.skin-theme-clientpref-night .robuddy-danger { background:#2a1a1a; border-color:#c44040; color:#e08080; }

/* 深色模式 - 跟随系统(os) */
@media (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os .robuddy-infobox { border-color:#333a44; background:#1c2028; }
  html.skin-theme-clientpref-os .robuddy-infobox-title { background:#2e3a4e; color:#dce4f0; }
  html.skin-theme-clientpref-os .robuddy-infobox-row { background:#222830; }
  html.skin-theme-clientpref-os .robuddy-infobox-row:nth-child(even) { background:#1c2028; }
  html.skin-theme-clientpref-os .robuddy-infobox-label { color:#a0aab8; }
  html.skin-theme-clientpref-os .robuddy-infobox-value { color:#c8d0dc; }
  html.skin-theme-clientpref-os .robuddy-infobox-en { color:#7a8494; }
  html.skin-theme-clientpref-os .robuddy-warning { background:#2a2518; border-color:#c49a30; color:#d4b060; }
  html.skin-theme-clientpref-os .robuddy-note { background:#182230; border-color:#4a90d9; color:#7ab8e8; }
  html.skin-theme-clientpref-os .robuddy-danger { background:#2a1a1a; border-color:#c44040; color:#e08080; }
}

/* === 深色模式(!important 覆盖内联样式) === */
/* night — 手动深色 */
html.skin-theme-clientpref-night [style*="color:#2a4b8a"] { color:#4a90d9 !important; }
html.skin-theme-clientpref-night [style*="color:#666"] { color:#777 !important; }
html.skin-theme-clientpref-night [style*="border:1px solid #e0e4ea"] { border-color:#1e2430 !important; }
html.skin-theme-clientpref-night [style*="background:#fff"] { background:#101318 !important; }
html.skin-theme-clientpref-night [style*="color:#1a1a2e"] { color:#c8ccd4 !important; }
html.skin-theme-clientpref-night [style*="color:#555"] { color:#888 !important; }
html.skin-theme-clientpref-night [style*="background:#f0f7ff"] { background:#11161e !important; }
html.skin-theme-clientpref-night [style*="border:1px solid #b8d4f0"] { border-color:#1e2a38 !important; }
/* os — 跟随系统 */
@media (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os [style*="color:#2a4b8a"] { color:#4a90d9 !important; }
  html.skin-theme-clientpref-os [style*="color:#666"] { color:#777 !important; }
  html.skin-theme-clientpref-os [style*="border:1px solid #e0e4ea"] { border-color:#1e2430 !important; }
  html.skin-theme-clientpref-os [style*="background:#fff"] { background:#101318 !important; }
  html.skin-theme-clientpref-os [style*="color:#1a1a2e"] { color:#c8ccd4 !important; }
  html.skin-theme-clientpref-os [style*="color:#555"] { color:#888 !important; }
  html.skin-theme-clientpref-os [style*="background:#f0f7ff"] { background:#11161e !important; }
  html.skin-theme-clientpref-os [style*="border:1px solid #b8d4f0"] { border-color:#1e2a38 !important; }
}
/* 渐变标题 — 仅现代浏览器 */
@supports (-webkit-background-clip: text) {
  .robuddy-hero-title { background:linear-gradient(135deg,#2a4b8a,#00b4d8) !important; -webkit-background-clip:text !important; -webkit-text-fill-color:transparent !important; background-clip:text !important; color:transparent !important; }
  html.skin-theme-clientpref-night .robuddy-hero-title,
  html.skin-theme-clientpref-os .robuddy-hero-title { background:linear-gradient(135deg,#4a90d9,#00b4d8) !important; }
}
/* === 代码高亮深色模式 === */
/* night — 手动深色 */
html.skin-theme-clientpref-night .mw-highlight { background:#0d1117 !important; color:#c9d1d9; }
html.skin-theme-clientpref-night .mw-highlight .c1 { color:#8b949e !important; }
html.skin-theme-clientpref-night .mw-highlight .cm { color:#8b949e !important; }
html.skin-theme-clientpref-night .mw-highlight .k { color:#ff7b72 !important; }
html.skin-theme-clientpref-night .mw-highlight .kd { color:#ff7b72 !important; }
html.skin-theme-clientpref-night .mw-highlight .kt { color:#ff7b72 !important; }
html.skin-theme-clientpref-night .mw-highlight .kr { color:#ff7b72 !important; }
html.skin-theme-clientpref-night .mw-highlight .nb { color:#ffa657 !important; }
html.skin-theme-clientpref-night .mw-highlight .nf { color:#d2a8ff !important; }
html.skin-theme-clientpref-night .mw-highlight .nc { color:#ffa657 !important; }
html.skin-theme-clientpref-night .mw-highlight .s { color:#a5d6ff !important; }
html.skin-theme-clientpref-night .mw-highlight .s1 { color:#a5d6ff !important; }
html.skin-theme-clientpref-night .mw-highlight .s2 { color:#a5d6ff !important; }
html.skin-theme-clientpref-night .mw-highlight .n { color:#c9d1d9 !important; }
html.skin-theme-clientpref-night .mw-highlight .p { color:#8b949e !important; }
html.skin-theme-clientpref-night .mw-highlight .o { color:#ff7b72 !important; }
html.skin-theme-clientpref-night .mw-highlight .mi { color:#79c0ff !important; }
html.skin-theme-clientpref-night .mw-highlight .mf { color:#79c0ff !important; }
html.skin-theme-clientpref-night .mw-highlight .mh { color:#79c0ff !important; }
html.skin-theme-clientpref-night .mw-highlight .w { color:#c9d1d9 !important; }
html.skin-theme-clientpref-night .mw-highlight .cp { color:#8b949e !important; }
html.skin-theme-clientpref-night .mw-highlight .cpf { color:#a5d6ff !important; }
/* os — 跟随系统 */
@media (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os .mw-highlight { background:#0d1117 !important; color:#c9d1d9; }
  html.skin-theme-clientpref-os .mw-highlight .c1 { color:#8b949e !important; }
  html.skin-theme-clientpref-os .mw-highlight .cm { color:#8b949e !important; }
  html.skin-theme-clientpref-os .mw-highlight .k { color:#ff7b72 !important; }
  html.skin-theme-clientpref-os .mw-highlight .kd { color:#ff7b72 !important; }
  html.skin-theme-clientpref-os .mw-highlight .kt { color:#ff7b72 !important; }
  html.skin-theme-clientpref-os .mw-highlight .kr { color:#ff7b72 !important; }
  html.skin-theme-clientpref-os .mw-highlight .nb { color:#ffa657 !important; }
  html.skin-theme-clientpref-os .mw-highlight .nf { color:#d2a8ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .nc { color:#ffa657 !important; }
  html.skin-theme-clientpref-os .mw-highlight .s { color:#a5d6ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .s1 { color:#a5d6ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .s2 { color:#a5d6ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .n { color:#c9d1d9 !important; }
  html.skin-theme-clientpref-os .mw-highlight .p { color:#8b949e !important; }
  html.skin-theme-clientpref-os .mw-highlight .o { color:#ff7b72 !important; }
  html.skin-theme-clientpref-os .mw-highlight .mi { color:#79c0ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .mf { color:#79c0ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .mh { color:#79c0ff !important; }
  html.skin-theme-clientpref-os .mw-highlight .w { color:#c9d1d9 !important; }
  html.skin-theme-clientpref-os .mw-highlight .cp { color:#8b949e !important; }
  html.skin-theme-clientpref-os .mw-highlight .cpf { color:#a5d6ff !important; }
}
/* === 对阵表深色模式 === */
html.skin-theme-clientpref-night .mw-parser-output [style*="background:#34495e"] { background:#252b33 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="background:#4a6785"] { background:#1e2430 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="background:#2980b9"] { background:#1a2a3a !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="background:#c0392b"] { background:#3a1a1a !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="border:1.5px solid #7f8c8d"] { border-color:#333a44 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="border:1.5px solid #c0392b"] { border-color:#5a2020 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="border:2px solid #f39c12"] { border-color:#5a4a10 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="border:2.5px solid #e74c3c"] { border-color:#5a2020 !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="color:#ecf0f1"] { color:#c8d0dc !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="color:#2d3436"] { color:#c8d0dc !important; }
html.skin-theme-clientpref-night .mw-parser-output [style*="background:linear-gradient(135deg,#f9ca24"] { background:#2a2518 !important; }

@media (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os .mw-parser-output [style*="background:#34495e"] { background:#252b33 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="background:#4a6785"] { background:#1e2430 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="background:#2980b9"] { background:#1a2a3a !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="background:#c0392b"] { background:#3a1a1a !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="border:1.5px solid #7f8c8d"] { border-color:#333a44 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="border:1.5px solid #c0392b"] { border-color:#5a2020 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="border:2px solid #f39c12"] { border-color:#5a4a10 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="border:2.5px solid #e74c3c"] { border-color:#5a2020 !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="color:#ecf0f1"] { color:#c8d0dc !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="color:#2d3436"] { color:#c8d0dc !important; }
  html.skin-theme-clientpref-os .mw-parser-output [style*="background:linear-gradient(135deg,#f9ca24"] { background:#2a2518 !important; }
}