MediaWiki:Common.css:修订间差异

Plmxs18​(留言 | 贡献)
首页 v1.1:修正移动端对齐与顶部偏移
Plmxs18​(留言 | 贡献)
记忆战场:追加 .bdet / .bcard 样式(不影响其它页面)
第1,126行: 第1,126行:
body.skin-minerva.page-首页 .minerva-header .mw-ui-icon-element{filter:invert(1) brightness(1.6) saturate(.25)}
body.skin-minerva.page-首页 .minerva-header .mw-ui-icon-element{filter:invert(1) brightness(1.6) saturate(.25)}
body.skin-minerva.page-首页 .minerva-header{background:linear-gradient(180deg,rgba(4,8,14,.72),rgba(4,8,14,0) 100%)}
body.skin-minerva.page-首页 .minerva-header{background:linear-gradient(180deg,rgba(4,8,14,.72),rgba(4,8,14,0) 100%)}
/* ============================================================
  记忆战场 v1(2026-11-15)
  强敌详情 .bdet / 强敌列表 .bcard
  ============================================================ */
/* --- 返回入口 --- */
.bdet-back{margin:0 0 8px;font-size:13px;line-height:1.7}
.bdet-back a{color:#8a6d33;text-decoration:none;border-bottom:1px dotted rgba(160,130,60,.55)}
.bdet-back a:hover{color:#5f4718;border-bottom-style:solid}
/* --- 详情主体 --- */
.bdet{max-width:100%;margin:0 0 1.4em;padding:18px 20px 20px;box-sizing:border-box;
  border:1px solid #e2d7bd;border-radius:6px;
  background:linear-gradient(172deg,#fcf8ee,#f4ecda);color:#3a3327;
  box-shadow:0 2px 10px rgba(120,100,60,.08)}
.bdet-head{position:relative;margin:-18px -20px 6px;padding:18px 20px 16px;
  background:linear-gradient(118deg,#2b3646,#1b232f 58%,#26384c);color:#eaf3fa}
.bdet-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:linear-gradient(90deg,#e8b53a,rgba(232,181,58,0) 72%)}
.bdet-eyebrow{margin:0 0 9px;font-size:11px;letter-spacing:.22em;color:#9fb2c8}
.bdet-name{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;
  font-size:clamp(21px,3.2vw,29px);font-weight:700;line-height:1.24;letter-spacing:.02em;color:#fff}
.bdet-rank{flex:none;font-size:.57em;font-weight:800;font-style:italic;letter-spacing:.05em;
  color:#ffd66b;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.bdet-lab{display:flex;align-items:center;gap:8px;margin:20px 0 10px;
  font-size:12.5px;font-weight:700;letter-spacing:.14em;color:#8a6d33}
.bdet-lab::before{content:"";width:3px;height:13px;border-radius:1px;
  background:linear-gradient(#e8b53a,#c99422)}
.bdet-intro{font-size:14.5px;line-height:2;color:#4a4232;
  border-left:3px solid rgba(200,160,80,.35);padding-left:12px}
.bdet-intro p{margin:0 0 .6em}
.bdet-intro p:last-child{margin-bottom:0}
.bdet-skills{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bdet-sk{display:flex;flex-direction:column;gap:6px;min-width:0;
  padding:12px 14px;border:1px solid #e6dcc6;border-radius:5px;background:rgba(255,255,255,.55)}
.bdet-sk-n{display:flex;align-items:center;gap:7px;
  font-size:14.5px;font-weight:700;line-height:1.4;color:#1f4e79}
.bdet-sk-n::before{content:"";flex:none;width:3px;height:12px;border-radius:1px;
  background:linear-gradient(#4fb6e0,#1f4e79)}
.bdet-sk-d{font-size:13.5px;line-height:1.85;color:#453e30;overflow-wrap:break-word}
.bdet-sk-d p{margin:0 0 .5em}
.bdet-sk-d p:last-child{margin-bottom:0}
/* --- 列表页(记忆战场) --- */
.bcard{position:relative;display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  margin:0 0 10px;padding:16px 18px;box-sizing:border-box;
  border:1px solid #e2d7bd;border-radius:6px;
  background:linear-gradient(172deg,#fcf8ee,#f4ecda);
  transition:border-color .2s,box-shadow .2s,transform .2s}
.bcard:hover{border-color:#d9c69c;box-shadow:0 9px 22px rgba(120,100,60,.16);transform:translateY(-2px)}
.bcard-r{flex:none;font-size:13px;font-weight:800;font-style:italic;letter-spacing:.05em;color:#d99f27}
.bcard-n{font-size:17px;font-weight:700;line-height:1.4;color:#2f2a20;min-width:0}
.bcard-n a{color:inherit;text-decoration:none}
.bcard-n a::after{content:"";position:absolute;inset:0;border-radius:6px}
.bcard-n a:focus-visible::after{outline:2px solid #c9a04a;outline-offset:-2px}
.bcard-m{margin-left:auto;font-size:12px;letter-spacing:.04em;color:#8a8171;white-space:nowrap}
/* --- 夜间 --- */
html.skin-theme-clientpref-night .bdet{background:linear-gradient(172deg,#23272e,#1b1e24);border-color:#3c4043;color:#d8dde4}
html.skin-theme-clientpref-night .bdet-lab{color:#c9a860}
html.skin-theme-clientpref-night .bdet-intro{color:#c6ccd4;border-left-color:#5b5238}
html.skin-theme-clientpref-night .bdet-sk{background:rgba(255,255,255,.05);border-color:#3c4043}
html.skin-theme-clientpref-night .bdet-sk-n{color:#7fb6dd}
html.skin-theme-clientpref-night .bdet-sk-d{color:#c6ccd4}
html.skin-theme-clientpref-night .bdet-back a{color:#c9a860;border-bottom-color:rgba(201,168,96,.45)}
html.skin-theme-clientpref-night .bcard{background:linear-gradient(172deg,#23272e,#1b1e24);border-color:#3c4043}
html.skin-theme-clientpref-night .bcard-n{color:#e6eaf0}
html.skin-theme-clientpref-night .bcard-m{color:#9aa5b1}
/* --- 手机 --- */
@media screen and (max-width:720px){
  .bdet{padding:14px 14px 16px}
  .bdet-head{margin:-14px -14px 4px;padding:15px 14px 14px}
  .bdet-name{font-size:20px;gap:8px}
  .bdet-intro{font-size:14px;line-height:1.9;padding-left:10px}
  .bdet-skills{grid-template-columns:1fr;gap:8px}
  .bdet-sk{padding:11px 12px}
  .bdet-sk-d{font-size:13px;line-height:1.8}
  .bcard{gap:10px;padding:14px}
  .bcard-r{order:1}
  .bcard-n{order:2;flex:1 1 100%;font-size:15.5px}
  .bcard-m{order:3;margin-left:0;font-size:11.5px}
}
/* 列表页引导句 */
.mz-lead{margin:0 0 12px;font-size:13.5px;line-height:1.9;color:#6b6558}
html.skin-theme-clientpref-night .mz-lead{color:#9aa5b1}
/* ===== 记忆战场 v1 结束 ===== */