MediaWiki:Common.css:修订间差异
图框描边宽度归零,图像与图框完全贴合,消除 1px 缝隙 |
敌人档案:分隔线加深一档 |
||
| (未显示同一用户的16个中间版本) | |||
| 第411行: | 第411行: | ||
无图时:保持原样,「暂无图像」仍显示在渐变底上。 */ | 无图时:保持原样,「暂无图像」仍显示在渐变底上。 */ | ||
.wpic:has(img){border:0;box-shadow:none;border-radius:3px} | .wpic:has(img){border:0;box-shadow:none;border-radius:3px} | ||
.wpic > span[typeof="mw:File"]{display:block;width:100%;height:100%;line-height:0} | |||
.wpic a{display:block;width:100%;height:100%;line-height:0} | |||
/* ===== 结束 ===== | /* ===== 结束 ===== | ||
/* ===== 军械库 v4 · 收纳式目录(2026-11-10) ===== */ | |||
.wpanel{grid-template-columns:176px minmax(0,1fr)} | |||
/* --- 左侧折叠块 --- */ | |||
.wside{padding:4px 8px 4px 4px} | |||
.wfold-h{display:flex;align-items:center;gap:6px; | |||
padding:6px 8px 6px 11px;margin:0 0 8px;border-radius:5px; | |||
background:rgba(255,255,255,.06);color:#8fa3bb;font-size:11px; | |||
letter-spacing:.16em;cursor:pointer; | |||
-webkit-user-select:none;user-select:none;transition:background .16s,color .16s} | |||
.wfold-h:hover{background:rgba(255,255,255,.12);color:#cfe0ef} | |||
.wfold-h:focus-visible{outline:2px solid var(--w-cyan);outline-offset:1px} | |||
.wfold-t{white-space:nowrap} | |||
.wfold-v{margin-left:auto;max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; | |||
color:#eaf3fa;font-size:11.5px;letter-spacing:0;font-weight:600} | |||
.wfold-i{flex:0 0 auto;width:0;height:0;margin-left:2px; | |||
border-left:4px solid transparent;border-right:4px solid transparent; | |||
border-top:5px solid currentColor;transition:transform .2s} | |||
.wfold.open .wfold-i{transform:rotate(180deg)} | |||
.wfold-b{display:none} | |||
.wfold.open .wfold-b{display:block} | |||
/* 左侧导航固定,滚到哪都能换类型 */ | |||
@media screen and (min-width:761px){ | |||
.wfold{position:sticky;top:8px} | |||
} | |||
/* --- 类型条目与件数 --- */ | |||
.wnav .witem{display:flex;align-items:center;justify-content:space-between;gap:8px} | |||
.wcnt{font-size:10.5px;font-weight:600;opacity:.72;font-variant-numeric:tabular-nums;letter-spacing:0} | |||
.witem.on .wcnt{opacity:.9} | |||
.witem.wzero{opacity:.4} | |||
/* --- 顶部下拉 --- */ | |||
.whead{position:sticky;top:0;z-index:20; | |||
margin:-11px -13px 12px;padding:11px 13px 10px; | |||
background:linear-gradient(180deg,#f9f5e8,#f7f1e1); | |||
box-shadow:0 1px 0 rgba(120,100,60,.16)} | |||
.wdrop{position:relative} | |||
.wdrop-b{display:inline-flex;align-items:center;gap:6px;padding:3px 10px; | |||
font-size:12px;color:var(--w-ink-2);background:rgba(255,255,255,.62); | |||
border:1px solid var(--w-card-line);border-radius:2px;cursor:pointer; | |||
white-space:nowrap;-webkit-user-select:none;user-select:none;transition:.15s} | |||
.wdrop-b:hover{background:#fff;color:var(--w-ink)} | |||
.wdrop-b:focus-visible{outline:2px solid rgba(63,169,221,.5);outline-offset:1px} | |||
.wdrop.open .wdrop-b{border-color:var(--w-cyan);background:#fff; | |||
box-shadow:0 0 0 2px rgba(63,169,221,.16)} | |||
.wdrop-k{color:#8a8171} | |||
.wdrop-v{color:var(--w-ink);font-weight:700} | |||
.wdrop-i{width:0;height:0;border-left:3.5px solid transparent;border-right:3.5px solid transparent; | |||
border-top:4.5px solid currentColor;transition:transform .18s} | |||
.wdrop.open .wdrop-i{transform:rotate(180deg)} | |||
.wdrop-p{position:absolute;top:calc(100% + 5px);left:0;z-index:40;min-width:124px; | |||
padding:5px;background:#fffdf5;border:1px solid var(--w-card-line);border-radius:4px; | |||
box-shadow:0 10px 24px rgba(60,45,20,.22);display:none} | |||
.wdrop.open .wdrop-p{display:block} | |||
.wopt{display:flex;align-items:center;gap:7px;padding:5px 9px;border-radius:3px; | |||
font-size:12px;color:var(--w-ink-2);cursor:pointer;white-space:nowrap;transition:background .13s} | |||
.wopt:hover{background:rgba(63,169,221,.12);color:var(--w-ink)} | |||
.wopt.on{background:linear-gradient(#f6ca4e,var(--w-gold));color:#4a3208;font-weight:700} | |||
.wopt .wcnt{margin-left:auto;opacity:.6} | |||
.wopt[data-dot]::before{content:"";flex:0 0 auto;width:6px;height:6px;border-radius:50%;background:#c9bfa6} | |||
.wopt[data-dot="1"]::before{background:#2f8a60} | |||
.wopt[data-dot="23"]::before{background:#2c6da8} | |||
.wopt[data-dot="45"]::before{background:#8b45b0} | |||
.wopt[data-dot="6"]::before{background:#d9a03a} | |||
/* --- 分页 --- */ | |||
.wpager{display:none;align-items:center;justify-content:center;gap:10px;margin:16px 0 2px} | |||
.wpager.show{display:flex} | |||
.wpg{padding:4px 14px;border:1px solid var(--w-card-line);border-radius:15px; | |||
background:rgba(255,255,255,.72);color:var(--w-ink-2);font-size:12px; | |||
cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap} | |||
.wpg:hover{background:#fff;color:var(--w-ink)} | |||
.wpg.off{opacity:.34;cursor:default} | |||
.wpg.off:hover{background:rgba(255,255,255,.72);color:var(--w-ink-2)} | |||
.wpg-n{font-size:12px;color:var(--w-ink-2);font-variant-numeric:tabular-nums} | |||
/* --- 手机:固定 4 列 --- */ | |||
@media screen and (max-width:760px){ | |||
.wpanel{grid-template-columns:1fr} | |||
.wside{border-right:0;border-bottom:1px solid rgba(255,255,255,.08);padding:2px 2px 6px} | |||
.wfold-h{margin:0 0 6px;letter-spacing:.12em} | |||
.wnav{flex-direction:row;flex-wrap:wrap;overflow:visible;gap:5px} | |||
.wnav .witem{flex:0 0 auto;clip-path:none;border-radius:13px; | |||
padding:4px 10px;font-size:11.5px;gap:6px} | |||
.whead{margin:-10px -10px 10px;padding:10px;gap:6px} | |||
.wdrop-b{padding:3px 8px;font-size:11.5px} | |||
.wgrid{grid-template-columns:repeat(4,1fr);gap:6px} | |||
.wname{font-size:9.6px;line-height:1.22;padding:0 0 2px} | |||
.wfoot{font-size:9.5px;padding:2px 0 1px} | |||
.wempty{font-size:12px} | |||
.wpager{gap:8px;margin:14px 0 2px} | |||
.wpg{padding:4px 11px;font-size:11.5px} | |||
} | |||
/* ===== 军械库 v4 结束 ===== */ | |||
/* ===== 军械库 v5 · 武器类型并入顶部一行(2026-11-10) ===== */ | |||
/* 左栏取消:整块改为「一行筛选条 + 卡片网格」上下结构 */ | |||
.wpanel{display:block} | |||
.whead{flex-wrap:wrap;gap:7px 7px} | |||
.wdrop-b{gap:5px} | |||
/* 类型下拉:面板铺成三列,17 种类型不用滚 */ | |||
.wdrop-p-type{width:336px;min-width:0;max-width:calc(100vw - 36px); | |||
padding:6px;display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px} | |||
.wdrop.open .wdrop-p-type{display:grid} | |||
.wdrop-p-type .wopt{padding:5px 7px;font-size:11.5px;gap:6px;border-radius:3px;min-width:0} | |||
.wdrop-p-type .wopt .wcnt{margin-left:auto;font-size:10px} | |||
@media screen and (max-width:760px){ | |||
.whead{gap:5px;padding:9px 9px 8px} | |||
.wdrop-b{padding:3px 7px;font-size:11px;gap:3px} | |||
.wdrop-type{position:static} | |||
.wdrop-p-type{left:9px;right:9px;width:auto;max-width:none;padding:5px;gap:2px; | |||
box-shadow:0 12px 26px rgba(60,45,20,.26)} | |||
.wdrop-p-type .wopt{padding:5px 5px;font-size:11px;gap:4px} | |||
.wsearch{flex:1 1 88px;order:2} | |||
.wcount{order:3;margin-left:0} | |||
} | |||
/* ===== 军械库 v5 结束 ===== */ | |||
/* ============================================================ | |||
首页 v1(2026-11-13) | |||
全部规则限定在 body.page-首页 / .hp 内,不影响其它页面 | |||
============================================================ */ | |||
body.page-首页{ | |||
--bg:#05080d; | |||
--panel:rgba(26,38,52,.90); | |||
--line:rgba(150,180,210,.24); | |||
--line2:rgba(150,180,210,.13); | |||
--line-strong:rgba(176,204,232,.56); | |||
--ink:#e9f1f9; | |||
--ink2:#9db0c4; | |||
--ink3:#7e93a7; | |||
--cyan:#6fd0ea; | |||
--gold:#d9b478; | |||
--mono:ui-monospace,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace; | |||
} | |||
body.page-首页 .hp *{box-sizing:border-box;-webkit-tap-highlight-color:transparent} | |||
body.page-首页 .hp{ | |||
margin:0;background:var(--bg);color:var(--ink); | |||
font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif; | |||
font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden; | |||
} | |||
body.page-首页 .hero{ | |||
position:relative;z-index:2; | |||
min-height:min(88vh,820px); | |||
display:flex;flex-direction:column; | |||
overflow:hidden;isolation:isolate; | |||
} | |||
body.page-首页 .hero-media{position:absolute;inset:0;z-index:0;transform:scale(1.08) translate(-1%,-4%)} | |||
@media (max-width:1240px) and (min-width:901px){body.page-首页 .hero-media{transform:scale(1.06) translate(-1%,-3%)}} | |||
@media (max-width:900px){body.page-首页 .hero-media{transform:none}} | |||
body.page-首页 .hero-media .hero-bg{ | |||
position:absolute;inset:0; | |||
background-image:url("https://plmxs42.com/images/8/8f/%E4%BC%91%E4%BC%AF%E5%88%A9%E5%AE%89-%E9%A6%96%E9%A1%B5.jpg"); | |||
background-size:cover;background-position:58% 47%;background-repeat:no-repeat; | |||
filter:saturate(1.12) brightness(1.18) contrast(1.02); | |||
animation:drift 30s ease-in-out infinite; | |||
} | |||
@keyframes drift{ | |||
0%,100%{transform:scale(1.012) translate3d(0,0,0)} | |||
50%{transform:scale(1.034) translate3d(-6px,-4px,0)} | |||
} | |||
body.page-首页 .hero-veil{ | |||
position:absolute;inset:0;z-index:1;pointer-events:none; | |||
background: | |||
linear-gradient(96deg,rgba(5,8,13,.42) 0%,rgba(5,8,13,.22) 26%,rgba(5,8,13,.02) 50%,rgba(5,8,13,0) 68%,rgba(5,8,13,.06) 100%), | |||
linear-gradient(0deg,var(--bg) 0%,rgba(7,12,20,.56) 8%,rgba(5,8,13,.14) 18%,rgba(5,8,13,0) 29%), | |||
linear-gradient(180deg,rgba(5,8,13,.18) 0%,rgba(5,8,13,0) 18%); | |||
} | |||
body.page-首页 .hero-grid{ | |||
position:absolute;inset:0;z-index:2;pointer-events:none; | |||
background-image: | |||
linear-gradient(rgba(140,185,220,.055) 1px,transparent 1px), | |||
linear-gradient(90deg,rgba(140,185,220,.055) 1px,transparent 1px); | |||
background-size:48px 48px; | |||
-webkit-mask-image:radial-gradient(ellipse 92% 84% at 30% 52%,#000 0%,rgba(0,0,0,.42) 56%,transparent 84%); | |||
mask-image:radial-gradient(ellipse 92% 84% at 30% 52%,#000 0%,rgba(0,0,0,.42) 56%,transparent 84%); | |||
} | |||
body.page-首页 .scanbar{ | |||
position:absolute;left:0;right:0;top:0;z-index:3;height:140px;pointer-events:none; | |||
background:linear-gradient(180deg,transparent,rgba(111,208,234,.032),transparent); | |||
animation:scan 12s linear infinite; | |||
} | |||
@keyframes scan{ | |||
0%{transform:translateY(-160px);opacity:0} | |||
12%{opacity:1} | |||
82%{opacity:1} | |||
100%{transform:translateY(940px);opacity:0} | |||
} | |||
body.page-首页 .corner{position:absolute;z-index:4;width:24px;height:24px;pointer-events:none;opacity:.45} | |||
body.page-首页 .corner:before, | |||
body.page-首页 .corner:after{content:"";position:absolute;background:rgba(176,208,236,.7)} | |||
body.page-首页 .corner:before{width:100%;height:1px} | |||
body.page-首页 .corner:after{width:1px;height:100%} | |||
body.page-首页 .c-tl{top:clamp(74px,9vw,104px);left:clamp(20px,4.4vw,48px)} | |||
body.page-首页 .c-br{bottom:clamp(150px,20vh,214px);right:clamp(20px,4.4vw,48px);transform:rotate(180deg)} | |||
body.page-首页 .ring{ | |||
position:absolute;right:clamp(20px,4.6vw,58px);bottom:clamp(180px,24vh,250px);z-index:4; | |||
width:138px;height:138px;pointer-events:none;opacity:.6;border-radius:50%; | |||
border:1px solid rgba(150,195,225,.14); | |||
} | |||
body.page-首页 .ring:before{content:"";position:absolute;inset:20px;border-radius:50%;border:1px dashed rgba(150,195,225,.22)} | |||
body.page-首页 .ring:after{ | |||
content:"";position:absolute;inset:2px;border-radius:50%; | |||
border:1px solid rgba(150,195,225,.10); | |||
background:conic-gradient(from 205deg,rgba(150,195,225,.55) 0 7%,transparent 7% 100%); | |||
-webkit-mask:radial-gradient(circle,transparent 71%,#000 72%); | |||
mask:radial-gradient(circle,transparent 71%,#000 72%); | |||
animation:spin 44s linear infinite; | |||
} | |||
body.page-首页 .ring .rot{transform-origin:50% 50%;animation:spin 44s linear infinite} | |||
@keyframes spin{to{transform:rotate(360deg)}} | |||
body.page-首页 .ring .rot2{transform-origin:50% 50%;animation:spin 28s linear infinite reverse} | |||
body.page-首页 .gauge{ | |||
position:absolute;left:0;right:0;bottom:0;height:11px;z-index:4;pointer-events:none;opacity:.22; | |||
background:repeating-linear-gradient(90deg,rgba(150,195,225,.65) 0 1px,transparent 1px 15px); | |||
-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%); | |||
mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%); | |||
} | |||
body.page-首页 .hdr{ | |||
position:relative;z-index:6; | |||
width:100%;max-width:1240px;margin:0 auto; | |||
padding:clamp(20px,3.2vw,36px) clamp(20px,4.6vw,58px) 0; | |||
display:flex;align-items:flex-start;justify-content:space-between;gap:14px; | |||
} | |||
body.page-首页 .tag{ | |||
display:inline-flex;align-items:baseline;gap:14px; | |||
border:1px solid var(--line-strong); | |||
padding:9px 18px 8px; | |||
background:rgba(14,24,36,.44); | |||
backdrop-filter:blur(4px); | |||
position:relative; | |||
} | |||
body.page-首页 .tag:before{ | |||
content:"";position:absolute;left:-1px;top:-1px;width:9px;height:9px; | |||
border-left:1px solid rgba(210,232,255,.8);border-top:1px solid rgba(210,232,255,.8); | |||
} | |||
body.page-首页 .tag b{font-size:16.5px;font-weight:500;letter-spacing:.08em;color:#eef5fb;white-space:nowrap} | |||
body.page-首页 .tag s{font-family:var(--mono);font-size:11.5px;letter-spacing:.1em;color:#93a8bd;text-decoration:none;white-space:nowrap} | |||
body.page-首页 .tag.r b{font-size:15px;letter-spacing:.14em;color:#dbe7f2} | |||
body.page-首页 .hero-in{ | |||
position:relative;z-index:6; | |||
width:100%;max-width:1240px;margin:auto auto 0; | |||
padding:0 clamp(20px,4.6vw,58px) clamp(126px,17vh,176px); | |||
} | |||
body.page-首页 .hero-in:before{ | |||
content:"";position:absolute;left:0;right:0;top:-34%;bottom:-6%;z-index:-1;pointer-events:none; | |||
background:linear-gradient(90deg,rgba(5,8,13,.54) 0%,rgba(5,8,13,.30) 32%,rgba(5,8,13,.05) 62%,rgba(5,8,13,0) 84%,transparent 100%); | |||
-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 28%,#000 76%,transparent 100%); | |||
mask-image:linear-gradient(180deg,transparent 0,#000 28%,#000 76%,transparent 100%); | |||
} | |||
body.page-首页 .kicker{display:flex;align-items:center;gap:11px;margin-bottom:18px} | |||
body.page-首页 .kicker span{display:block;width:32px;height:1px;background:rgba(150,195,225,.8)} | |||
body.page-首页 .kicker i{display:block;width:5px;height:5px;border:1px solid rgba(217,180,120,.9);transform:rotate(45deg)} | |||
body.page-首页 h1{ | |||
margin:0;font-size:clamp(34px,5.4vw,62px);font-weight:600;letter-spacing:.05em;line-height:1.18; | |||
color:#f2f8fc;text-shadow:0 2px 34px rgba(3,8,14,.92),0 0 70px rgba(111,208,234,.10); | |||
} | |||
body.page-首页 .h-rule{display:flex;align-items:center;margin:20px 0 16px;max-width:430px} | |||
body.page-首页 .h-rule i{display:block;height:1px;flex:1;background:linear-gradient(90deg,rgba(217,180,120,.85),rgba(150,195,225,.28) 58%,transparent)} | |||
body.page-首页 .h-rule b{display:block;width:5px;height:5px;background:rgba(217,180,120,.9);transform:rotate(45deg);margin-left:-2px} | |||
body.page-首页 .hero-p{ | |||
margin:0;max-width:620px; | |||
font-size:clamp(13px,1.1vw,14.5px);color:#aebfd0;letter-spacing:.02em;line-height:1.85; | |||
} | |||
body.page-首页 .hero-p .sep{display:inline-block;width:1px;height:11px;margin:0 12px -1px;background:rgba(217,180,120,.6);vertical-align:middle} | |||
body.page-首页 .stage{ | |||
position:relative;z-index:7; | |||
max-width:1240px;margin:-64px auto 0; | |||
padding:0 clamp(14px,4.6vw,58px) 58px; | |||
} | |||
body.page-首页 .panel{ | |||
border:1px solid var(--line-strong); | |||
background:linear-gradient(180deg,rgba(26,38,52,.93),rgba(15,24,35,.96)); | |||
backdrop-filter:blur(9px) saturate(1.06); | |||
box-shadow:0 44px 88px -42px rgba(0,0,0,.96),0 0 0 1px rgba(8,14,22,.6),inset 0 1px 0 rgba(255,255,255,.045); | |||
position:relative; | |||
} | |||
body.page-首页 .panel:before, | |||
body.page-首页 .panel:after{ | |||
content:"";position:absolute;width:12px;height:12px;pointer-events:none;z-index:3; | |||
border-top:1px solid rgba(206,228,248,.5); | |||
} | |||
body.page-首页 .panel:before{left:-1px;top:-1px;border-left:1px solid rgba(206,228,248,.5)} | |||
body.page-首页 .panel:after{right:-1px;bottom:-1px;border-right:1px solid rgba(206,228,248,.5);border-bottom:1px solid rgba(206,228,248,.5);border-top:0} | |||
body.page-首页 .tabbar{ | |||
display:flex;align-items:stretch;height:48px; | |||
border-bottom:1px solid var(--line); | |||
background:rgba(12,21,32,.58); | |||
overflow:hidden;position:relative;z-index:2; | |||
} | |||
body.page-首页 .nav{ | |||
display:flex;align-items:center;justify-content:center; | |||
width:44px;flex:none;color:rgba(160,192,222,.55);font-size:19px; | |||
border:0;background:transparent;cursor:pointer;font-family:inherit; | |||
transition:color .2s,background .2s; | |||
} | |||
body.page-首页 .nav:hover{color:#cfe6f6;background:rgba(160,200,230,.06)} | |||
body.page-首页 .tabs{display:flex;align-items:stretch;flex:1;min-width:0;overflow:hidden} | |||
body.page-首页 .tab{ | |||
display:flex;align-items:center;gap:9px;justify-content:center;flex:1;min-width:0; | |||
padding:0 clamp(10px,1.4vw,20px); | |||
font-size:14px;color:#8ba0b5;letter-spacing:.04em; | |||
border-right:1px solid rgba(150,185,215,.16); | |||
cursor:pointer;white-space:nowrap; | |||
transition:background .22s,color .22s; | |||
position:relative; | |||
} | |||
body.page-首页 .tab:hover{color:#c8dcec;background:rgba(160,200,230,.05)} | |||
body.page-首页 .tab.on{ | |||
color:#f4f9fe;background:rgba(190,216,244,.20); | |||
box-shadow:inset 0 2px 0 rgba(214,234,255,.8),inset 0 -1px 0 rgba(214,234,255,.22); | |||
} | |||
body.page-首页 .tab.on .n{color:rgba(226,242,255,.75)} | |||
body.page-首页 .chip{ | |||
background:rgba(8,16,26,.86);border:1px solid rgba(150,185,215,.28); | |||
color:#dbe8f3;font-size:11px;letter-spacing:.06em; | |||
padding:1px 7px 2px;line-height:1.5; | |||
} | |||
body.page-首页 .logbar{ | |||
display:flex;align-items:center;height:38px; | |||
border-bottom:1px solid var(--line); | |||
background:rgba(9,16,25,.66); | |||
padding:0 clamp(16px,3.4vw,46px); | |||
font-family:var(--mono);letter-spacing:.08em; | |||
overflow:hidden;position:relative;z-index:2; | |||
} | |||
body.page-首页 .li{display:flex;align-items:center;gap:10px;padding:0 clamp(12px,1.8vw,20px);position:relative;white-space:nowrap} | |||
body.page-首页 .li:first-child{padding-left:0} | |||
body.page-首页 .li+.li:before{ | |||
content:"";position:absolute;left:0;top:50%;transform:translateY(-50%); | |||
width:1px;height:12px;background:rgba(150,185,215,.34); | |||
} | |||
body.page-首页 .li s{color:#8095a8;text-decoration:none;font-size:11px;letter-spacing:.14em} | |||
body.page-首页 .li b{ | |||
color:#e3f1fc;font-weight:500;font-size:12.5px;letter-spacing:.1em;font-variant-numeric:tabular-nums; | |||
padding:2px 9px 3px;line-height:1.35; | |||
border:1px solid rgba(150,185,215,.26);border-left:2px solid rgba(111,208,234,.55); | |||
background:rgba(96,152,198,.10); | |||
} | |||
body.page-首页 .li b.au{ | |||
color:#f4e7cd;border-color:rgba(217,180,120,.38);border-left:2px solid rgba(217,180,120,.75); | |||
background:rgba(217,180,120,.10);letter-spacing:.05em; | |||
} | |||
body.page-首页 .li i{ | |||
display:block;width:5px;height:5px;border-radius:50%;align-self:center; | |||
background:rgba(111,208,234,.9);margin-right:6px; | |||
box-shadow:0 0 0 3px rgba(111,208,234,.10),0 0 9px rgba(111,208,234,.55); | |||
animation:pulse 2.8s ease-in-out infinite; | |||
} | |||
@keyframes pulse{0%,100%{opacity:.45}50%{opacity:1}} | |||
body.page-首页 .lg-tail{ | |||
flex:1;min-width:24px;height:7px;margin-left:26px;opacity:.22; | |||
background:repeating-linear-gradient(90deg,rgba(150,195,225,.55) 0 1px,transparent 1px 12px); | |||
-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 88%,transparent); | |||
mask-image:linear-gradient(90deg,transparent,#000 16%,#000 88%,transparent); | |||
} | |||
body.page-首页 .body{ | |||
padding:clamp(28px,3.4vw,44px) clamp(20px,3.4vw,46px) clamp(30px,3.6vw,46px); | |||
position:relative; | |||
} | |||
body.page-首页 .body:before{ | |||
content:"";position:absolute;left:0;top:0;bottom:0;width:8px;pointer-events:none; | |||
background:repeating-linear-gradient(180deg,rgba(160,196,228,.30) 0 1px,transparent 1px 14px); | |||
-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 82%,transparent 100%); | |||
mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 82%,transparent 100%); | |||
} | |||
body.page-首页 .sec{display:flex;align-items:center;gap:14px;margin:0 0 16px} | |||
body.page-首页 .sec .sn{ | |||
font-family:var(--mono);font-size:11.5px;letter-spacing:.08em;color:rgba(160,196,228,.9); | |||
border:1px solid rgba(150,185,215,.32);padding:1px 6px;background:rgba(90,150,200,.07); | |||
} | |||
body.page-首页 .sec h2{margin:0;font-size:15.5px;font-weight:500;letter-spacing:.09em;color:#dde9f4} | |||
body.page-首页 .sec .ln{flex:1;height:1px;background:linear-gradient(90deg,var(--line),transparent);position:relative} | |||
body.page-首页 .sec .ln:after{ | |||
content:"";position:absolute;right:0;top:-2px;width:4px;height:4px; | |||
border:1px solid rgba(150,195,225,.32);transform:rotate(45deg); | |||
} | |||
body.page-首页 .grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:clamp(34px,4vw,46px)} | |||
body.page-首页 .card{ | |||
position:relative;display:block;text-decoration:none;color:inherit; | |||
border:1px solid rgba(150,185,215,.20); | |||
background:linear-gradient(158deg,rgba(44,63,82,.44),rgba(12,21,32,.54)); | |||
padding:19px 20px 18px;min-height:118px; | |||
transition:border-color .28s,background .28s,transform .28s,box-shadow .28s; | |||
overflow:hidden; | |||
} | |||
body.page-首页 .card:before{ | |||
content:"";position:absolute;left:0;top:0;width:0;height:1px; | |||
background:linear-gradient(90deg,rgba(111,208,234,.9),rgba(111,208,234,0)); | |||
transition:width .5s ease; | |||
} | |||
body.page-首页 .card:hover{ | |||
border-color:rgba(178,212,242,.44); | |||
background:linear-gradient(158deg,rgba(56,80,104,.46),rgba(15,26,38,.56)); | |||
transform:translateY(-3px); | |||
box-shadow:0 20px 40px -26px rgba(0,0,0,.9); | |||
} | |||
body.page-首页 .card:hover:before{width:100%} | |||
body.page-首页 .card h3{ | |||
margin:0 0 9px;font-size:15.5px;font-weight:500;letter-spacing:.05em;color:#eaf3fb; | |||
display:flex;align-items:center;gap:8px; | |||
} | |||
body.page-首页 .card h3:before{ | |||
content:"";width:5px;height:5px;flex:none; | |||
border:1px solid rgba(111,208,234,.85);transform:rotate(45deg); | |||
} | |||
body.page-首页 .card p{margin:0;font-size:13px;line-height:1.85;color:#98adc0;padding-right:16px;min-height:2.3em} | |||
body.page-首页 .card .go{ | |||
position:absolute;right:16px;bottom:14px;font-size:13px;color:rgba(160,196,228,.4); | |||
transition:transform .28s,color .28s; | |||
} | |||
body.page-首页 .card:hover .go{transform:translateX(3px);color:var(--cyan)} | |||
body.page-首页 .duo{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:clamp(34px,4vw,46px)} | |||
body.page-首页 .entry{ | |||
position:relative;display:flex;align-items:center;justify-content:space-between; | |||
min-height:118px;padding:24px;text-decoration:none;color:inherit; | |||
border:1px solid rgba(150,185,215,.20); | |||
background:linear-gradient(150deg,rgba(40,58,76,.44),rgba(11,20,30,.56)); | |||
transition:border-color .3s,background .3s,transform .3s,box-shadow .3s;overflow:hidden; | |||
} | |||
body.page-首页 .entry:after{ | |||
content:"";position:absolute;right:-46px;top:-46px;width:150px;height:150px; | |||
border:1px solid rgba(160,200,232,.08);border-radius:50%;transition:border-color .4s,transform .5s; | |||
} | |||
body.page-首页 .entry:hover{ | |||
border-color:rgba(178,212,242,.44);transform:translateY(-3px); | |||
box-shadow:0 22px 44px -28px rgba(0,0,0,.92); | |||
} | |||
body.page-首页 .entry:hover:after{border-color:rgba(160,200,232,.18);transform:scale(1.07)} | |||
body.page-首页 .entry .en{display:flex;align-items:center;gap:14px} | |||
body.page-首页 .entry .bar{display:block;width:26px;height:1px;background:linear-gradient(90deg,rgba(217,180,120,1),rgba(217,180,120,.1))} | |||
body.page-首页 .entry .n{font-size:clamp(19px,2.3vw,24px);font-weight:500;letter-spacing:.2em;color:#edf5fc} | |||
body.page-首页 .entry .arrow{font-size:15px;color:rgba(160,196,228,.5);transition:transform .3s,color .3s;position:relative;z-index:2} | |||
body.page-首页 .entry:hover .arrow{transform:translateX(5px);color:var(--cyan)} | |||
body.page-首页 .pane{display:none;min-height:190px} | |||
body.page-首页 .pane.on{display:block;animation:paneIn .34s cubic-bezier(.22,.7,.3,1) both} | |||
@keyframes paneIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}} | |||
body.page-首页 .tab{ | |||
border:0;background:transparent;font-family:inherit;text-align:center; | |||
-webkit-appearance:none;appearance:none; | |||
} | |||
body.page-首页 .tab:focus-visible{outline:1px solid rgba(111,208,234,.55);outline-offset:-3px} | |||
body.page-首页 .cats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:clamp(34px,4vw,46px);align-items:stretch} | |||
body.page-首页 .cats.one{grid-template-columns:1fr} | |||
body.page-首页 .catcol{ | |||
display:flex;flex-direction:column;min-width:0; | |||
border:1px solid rgba(150,185,215,.20); | |||
background:linear-gradient(158deg,rgba(44,63,82,.40),rgba(12,21,32,.52)); | |||
transition:border-color .28s,background .28s; | |||
} | |||
body.page-首页 .catcol:hover{border-color:rgba(178,212,242,.34);background:linear-gradient(158deg,rgba(52,74,96,.44),rgba(15,26,38,.54))} | |||
body.page-首页 .cathead{ | |||
display:flex;align-items:center;justify-content:space-between;gap:14px; | |||
padding:16px 20px 15px;text-decoration:none;color:inherit; | |||
border-bottom:1px solid rgba(150,185,215,.16); | |||
} | |||
body.page-首页 .cathead .ch-t{ | |||
font-size:clamp(15px,1.5vw,17px);font-weight:500;letter-spacing:.08em;color:#e8f2fb; | |||
display:flex;align-items:center;gap:11px; | |||
} | |||
body.page-首页 .cathead .ch-t:before{ | |||
content:"";width:5px;height:5px;flex:none; | |||
border:1px solid rgba(111,208,234,.9);transform:rotate(45deg); | |||
} | |||
body.page-首页 .cathead .ch-a{font-size:13px;color:rgba(160,196,228,.45);transition:transform .26s,color .26s} | |||
body.page-首页 .cathead:hover .ch-a{transform:translateX(4px);color:var(--cyan)} | |||
body.page-首页 .catcol.empty{background:linear-gradient(180deg,rgba(22,35,48,.42),rgba(11,20,30,.5))} | |||
body.page-首页 .catcol.empty:after{ | |||
content:"";flex:1;min-height:52px; | |||
background:repeating-linear-gradient(180deg,transparent 0 19px,rgba(150,185,215,.038) 19px 20px); | |||
} | |||
body.page-首页 .catkids{ | |||
display:grid;grid-template-columns:1fr 1fr;gap:1px; | |||
background:rgba(150,185,215,.13); | |||
} | |||
body.page-首页 .catkids.three{grid-template-columns:repeat(3,1fr)} | |||
body.page-首页 .catkid{ | |||
display:flex;align-items:center;gap:9px;min-width:0;padding:11px 15px;min-height:46px; | |||
background:rgba(9,17,27,.80);text-decoration:none;color:inherit; | |||
transition:background .22s; | |||
} | |||
body.page-首页 .catkid:hover{background:rgba(30,47,64,.94)} | |||
body.page-首页 .catkid .sc{font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:rgba(160,196,228,.48);flex:none} | |||
body.page-首页 .catkid .st{ | |||
font-size:13.2px;letter-spacing:.03em;color:#c6d7e6; | |||
white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .22s; | |||
} | |||
body.page-首页 .catkid:hover .st{color:#eff7fe} | |||
body.page-首页 .catkid.blank{ | |||
background-color:rgba(10,18,28,.9); | |||
display:flex;align-items:center;justify-content:center; | |||
} | |||
body.page-首页 .catkid.blank:after{ | |||
content:"";width:7px;height:7px;border:1px solid rgba(150,185,215,.26); | |||
transform:rotate(45deg); | |||
} | |||
body.page-首页 .notes{border-top:1px solid var(--line2);padding-top:18px;display:flex;gap:16px} | |||
body.page-首页 .notes .fl{width:1px;flex:none;background:linear-gradient(180deg,rgba(217,180,120,.7),rgba(217,180,120,.05))} | |||
body.page-首页 .notes p{margin:0;font-size:12.1px;line-height:2.02;color:#97abbd;letter-spacing:.015em} | |||
body.page-首页 .notes p b{font-weight:500;color:#a8bccd} | |||
@media (max-width:1240px) and (min-width:761px){body.page-首页 .hero-media .hero-bg{background-position:53% 46%}} | |||
@media (max-width:900px) and (min-width:761px){body.page-首页 .hero{min-height:min(96vh,900px)} | |||
body.page-首页 .hero-media{ | |||
top:6%;bottom:auto;height:auto;aspect-ratio:1820/1024;transform:none; | |||
-webkit-mask-image:radial-gradient(ellipse 104% 100% at 50% 50%,#000 52%,rgba(0,0,0,.45) 78%,transparent 94%); | |||
mask-image:radial-gradient(ellipse 104% 100% at 50% 50%,#000 52%,rgba(0,0,0,.45) 78%,transparent 94%); | |||
} | |||
body.page-首页 .hero-media .hero-bg{ | |||
background-size:cover;background-position:50% 50%;animation:none; | |||
filter:saturate(1.12) brightness(1.16) contrast(1.02); | |||
}} | |||
@media (max-width:1080px){body.page-首页 .grid3{grid-template-columns:1fr 1fr} | |||
body.page-首页 .grid3 .card:last-child{grid-column:1/-1} | |||
body.page-首页 .ring{display:none}} | |||
@media (max-width:820px){body.page-首页 .tab{padding:0 12px;font-size:13px} | |||
body.page-首页 .chip{display:none}} | |||
@media (max-width:760px){body.page-首页 .hp{font-size:14.5px} | |||
body.page-首页 .hero{min-height:0;display:block;padding:0;--himg:clamp(178px,56vw,240px)} | |||
body.page-首页 .hero-media{position:absolute;top:0;left:0;right:0;bottom:auto;height:var(--himg);z-index:0} | |||
body.page-首页 .hero-media .hero-bg{background-position:52% 46%;filter:saturate(1.12) brightness(1.18) contrast(1.02);animation:none} | |||
body.page-首页 .hero-media:after{ | |||
content:"";position:absolute;left:0;right:0;bottom:-1px;height:78px;pointer-events:none; | |||
background:linear-gradient(180deg,transparent 0%,rgba(5,8,13,.40) 44%,rgba(5,8,13,.84) 78%,var(--bg) 100%); | |||
} | |||
body.page-首页 .hero-veil{ | |||
inset:0 0 auto 0;height:var(--himg); | |||
background: | |||
linear-gradient(180deg,rgba(5,8,13,.26) 0%,rgba(5,8,13,.04) 34%,rgba(5,8,13,.20) 74%,transparent 100%), | |||
linear-gradient(96deg,rgba(5,8,13,.18),transparent 70%); | |||
} | |||
body.page-首页 .hero-grid{background-size:38px 38px} | |||
body.page-首页 .scanbar{display:none} | |||
body.page-首页 .c-tl{display:none} | |||
body.page-首页 .c-br{display:none} | |||
body.page-首页 .gauge{display:none} | |||
body.page-首页 .hdr{padding:14px 14px 0;gap:8px} | |||
body.page-首页 .tag{padding:6px 11px 6px;gap:9px} | |||
body.page-首页 .tag b{font-size:13px;letter-spacing:.05em} | |||
body.page-首页 .tag s{font-size:10px} | |||
body.page-首页 .tag.r b{font-size:12.5px;letter-spacing:.1em} | |||
body.page-首页 .hero-in{padding:calc(var(--himg) - 18px) 16px 74px} | |||
body.page-首页 .kicker{margin-bottom:13px} | |||
body.page-首页 .kicker span{width:24px} | |||
body.page-首页 h1{font-size:clamp(28px,7.8vw,36px);letter-spacing:.05em} | |||
body.page-首页 .h-rule{margin:15px 0 13px;max-width:265px} | |||
body.page-首页 .hero-p{font-size:12.5px;line-height:1.9;letter-spacing:0;text-shadow:0 1px 12px rgba(3,8,14,.9)} | |||
body.page-首页 .hero-p .sep{display:none} | |||
body.page-首页 .hero-p .t2{display:block} | |||
body.page-首页 .stage{margin-top:-34px;padding:0 12px 42px} | |||
body.page-首页 .tabbar{height:42px} | |||
body.page-首页 .nav{width:34px;font-size:17px} | |||
body.page-首页 .tab{padding:0 6px;font-size:12px;letter-spacing:0;gap:5px} | |||
body.page-首页 .tabs{overflow-x:auto;scrollbar-width:none} | |||
body.page-首页 .tabs::-webkit-scrollbar{display:none} | |||
body.page-首页 .logbar{height:36px;padding:0 14px} | |||
body.page-首页 .li{padding:0 10px;gap:7px} | |||
body.page-首页 .li s{font-size:10px;letter-spacing:.1em} | |||
body.page-首页 .li b{font-size:11px;letter-spacing:.04em;padding:1px 6px 2px} | |||
body.page-首页 .lg-tail{display:none} | |||
body.page-首页 .body{padding:24px 16px 30px} | |||
body.page-首页 .body:before{display:none} | |||
body.page-首页 .panel:before, | |||
body.page-首页 .panel:after{width:9px;height:9px} | |||
body.page-首页 .sec h2{font-size:15px;letter-spacing:.06em} | |||
body.page-首页 .grid3, | |||
body.page-首页 .duo{grid-template-columns:1fr;gap:10px} | |||
body.page-首页 .cats, | |||
body.page-首页 .cats.one{grid-template-columns:1fr;gap:10px} | |||
body.page-首页 .cathead{padding:14px 16px 13px} | |||
body.page-首页 .cathead .ch-t{font-size:15px;gap:9px} | |||
body.page-首页 .catkids.three{grid-template-columns:1fr 1fr} | |||
body.page-首页 .catkid{padding:10px 12px;min-height:42px;gap:8px} | |||
body.page-首页 .catkid .st{font-size:12.6px;letter-spacing:0} | |||
body.page-首页 .catkid .sc{font-size:9.5px} | |||
body.page-首页 .catcol.empty:after{display:none} | |||
body.page-首页 .grid3 .card:last-child{grid-column:auto} | |||
body.page-首页 .card{padding:16px 16px 15px;min-height:0} | |||
body.page-首页 .card p{min-height:0;font-size:12.3px;padding-right:14px} | |||
body.page-首页 .entry{min-height:96px;padding:20px 18px} | |||
body.page-首页 .entry:after{width:110px;height:110px;right:-38px;top:-38px} | |||
body.page-首页 .entry .n{font-size:19px} | |||
body.page-首页 .notes p{font-size:12px;line-height:2}} | |||
@media (prefers-reduced-motion:reduce){body.page-首页 .scanbar, | |||
body.page-首页 .ring:after, | |||
body.page-首页 .hero-media .hero-bg{animation:none}} | |||
/* ===== 首页皮肤适配 ===== */ | |||
/* 1. 页面底色与容器放开 */ | |||
body.page-首页{margin:0!important;padding:0!important;background:#05080d} | |||
html{scroll-padding-top:0} | |||
body.page-首页 .mw-page-container, | |||
body.page-首页 .mw-page-container-inner, | |||
body.page-首页 #content, | |||
body.page-首页 .vector-body, | |||
body.page-首页 #bodyContent, | |||
body.page-首页 #mw-content-text, | |||
body.page-首页 .mw-parser-output{ | |||
margin:0;padding:0;border:0;background:transparent; | |||
max-width:none;width:auto; | |||
} | |||
body.page-首页 .mw-page-container{position:relative;display:block} | |||
body.page-首页 .mw-page-container-inner, | |||
body.page-首页 .mw-content-container, | |||
body.page-首页 #content{display:block;padding:0!important;margin:0!important;min-height:0} | |||
body.page-首页 .vector-body{padding:0!important;margin:0!important} | |||
/* 2. 隐藏首页不需要的外壳件 */ | |||
body.page-首页 .vector-column-start, | |||
body.page-首页 .vector-column-end, | |||
body.page-首页 .mw-body-header, | |||
body.page-首页 #siteSub, | |||
body.page-首页 #contentSub, | |||
body.page-首页 #catlinks, | |||
body.page-首页 .mw-indicators, | |||
body.page-首页 .vector-page-toolbar, | |||
body.page-首页 .mw-jump-link{display:none} | |||
/* 3. 顶部导航:透明叠在首屏上 */ | |||
body.page-首页 .vector-header-container{ | |||
position:absolute;top:0;left:0;right:0;z-index:90; | |||
background:linear-gradient(180deg,rgba(4,8,14,.72) 0%,rgba(4,8,14,.34) 62%,rgba(4,8,14,0) 100%); | |||
border:0;box-shadow:none;padding:0;width:100%;max-width:100%; | |||
} | |||
body.page-首页 .vector-header, | |||
body.page-首页 .mw-header{ | |||
background:transparent!important;border:0!important;box-shadow:none!important; | |||
} | |||
body.page-首页 .vector-header-container .vector-header{margin:0;max-width:none} | |||
body.page-首页 .cdx-search-input{background:transparent!important;border:0!important} | |||
body.page-首页 .vector-header-container .vector-icon{filter:invert(1) brightness(1.55) saturate(.3)} | |||
body.page-首页 .vector-dropdown-content{ | |||
background:#0b1622!important;border:1px solid rgba(150,185,215,.22)!important; | |||
box-shadow:0 18px 40px -20px rgba(0,0,0,.9)!important; | |||
} | |||
body.page-首页 .vector-header-container a, | |||
body.page-首页 .vector-header-container .vector-menu-heading, | |||
body.page-首页 .vector-header-container .mw-logo-wordmark, | |||
body.page-首页 .vector-header-container .mw-logo-tagline{color:#dbe8f4} | |||
body.page-首页 .vector-header-container .vector-menu-heading:hover, | |||
body.page-首页 .vector-header-container a:hover, | |||
body.page-首页 .vector-header-container .vector-dropdown-label:hover{color:#fff} | |||
body.page-首页 .vector-header-container .vector-search-box-input, | |||
body.page-首页 .vector-header-container .cdx-text-input__input{ | |||
background:rgba(8,17,27,.62);color:#e2eef8; | |||
border-color:rgba(150,185,215,.34);box-shadow:none; | |||
} | |||
body.page-首页 .vector-header-container .cdx-text-input__input::placeholder{color:rgba(200,220,238,.55)} | |||
body.page-首页 .vector-header-container .cdx-button{ | |||
background:rgba(20,36,52,.62);color:#dbe8f4;border-color:rgba(150,185,215,.34); | |||
} | |||
body.page-首页 .vector-header-container .vector-menu-dropdown .vector-menu-content{ | |||
background:#0d1826;border-color:rgba(150,185,215,.24); | |||
} | |||
/* 4. 抵消 Vector 顶部占位,让首屏贴顶 */ | |||
body.page-首页 .hp{position:relative;margin-top:-24px} | |||
/* 5. 首屏标签让出导航高度 */ | |||
body.page-首页 .hp .hdr{padding-top:calc(50px + clamp(16px,2.4vw,28px))} | |||
/* 6. 页脚 */ | |||
body.page-首页 #footer{ | |||
background:transparent!important;border-top:1px solid rgba(150,185,215,.14); | |||
color:#7c91a4!important;padding:22px clamp(16px,3vw,40px) 28px;margin:0; | |||
} | |||
body.page-首页 #footer a, | |||
body.page-首页 #footer li{color:#93a8ba!important} | |||
body.page-首页 #footer a:hover{color:#d6e6f4!important} | |||
body.page-首页 #footer .cdx-button, | |||
body.page-首页 .footer-icons, | |||
body.page-首页 .poweredby, | |||
body.page-首页 #p-dock-bottom{display:none!important} | |||
body.page-首页 .vector-header-container .cdx-button, | |||
body.page-首页 .vector-header-container .cdx-button--fake-button{color:#dfe9f3!important} | |||
/* 7. 移动端(Minerva 皮肤) */ | |||
body.skin-minerva.page-首页 .header-container, | |||
body.skin-minerva.page-首页 .minerva-header{position:absolute;top:0;left:0;right:0;z-index:90;background:transparent;border:0} | |||
body.skin-minerva.page-首页 .page-container, | |||
body.skin-minerva.page-首页 #content, | |||
body.skin-minerva.page-首页 .content, | |||
body.skin-minerva.page-首页 #bodyContent, | |||
body.skin-minerva.page-首页 #mw-content-text{padding:0;margin:0;border:0;max-width:none} | |||
body.skin-minerva.page-首页 .minerva-header a, | |||
body.skin-minerva.page-首页 .minerva-header .branding-box{color:#dbe8f4} | |||
body.skin-minerva.page-首页 .pre-content, | |||
body.skin-minerva.page-首页 .post-content{display:none} | |||
body.skin-minerva.page-首页 .hp .hdr{padding-top:calc(48px + 14px)} | |||
/* ===== 首页 v1.1 修正(2026-11-13) ===== */ | |||
/* 抵消顶部留白只在 Vector 皮肤下进行 */ | |||
body.skin-vector.page-首页 .hp{margin-top:-24px} | |||
body.skin-minerva.page-首页 .hp{margin-top:0} | |||
/* 覆盖 Minerva 对 .card 的居中 */ | |||
body.page-首页 .hp .card, | |||
body.page-首页 .hp .entry, | |||
body.page-首页 .hp .cathead, | |||
body.page-首页 .hp .catkid, | |||
body.page-首页 .hp .notes, | |||
body.page-首页 .hp .sec, | |||
body.page-首页 .hp .logbar{text-align:left} | |||
/* Minerva 头部图标反色 */ | |||
body.skin-minerva.page-首页 .minerva-header .mw-ui-icon, | |||
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%)} | |||
/* ============================================================ | |||
记忆战场 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(19px,2.4vw,24px);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:18px;gap:7px} | |||
.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} | |||
/* 跟随系统夜间 */ | |||
@media (prefers-color-scheme: dark){ | |||
html.skin-theme-clientpref-os .bdet{background:linear-gradient(172deg,#23272e,#1b1e24);border-color:#3c4043;color:#d8dde4} | |||
html.skin-theme-clientpref-os .bdet-lab{color:#c9a860} | |||
html.skin-theme-clientpref-os .bdet-intro{color:#c6ccd4;border-left-color:#5b5238} | |||
html.skin-theme-clientpref-os .bdet-sk{background:rgba(255,255,255,.05);border-color:#3c4043} | |||
html.skin-theme-clientpref-os .bdet-sk-n{color:#7fb6dd} | |||
html.skin-theme-clientpref-os .bdet-sk-d{color:#c6ccd4} | |||
html.skin-theme-clientpref-os .bdet-back a{color:#c9a860;border-bottom-color:rgba(201,168,96,.45)} | |||
html.skin-theme-clientpref-os .bcard{background:linear-gradient(172deg,#23272e,#1b1e24);border-color:#3c4043} | |||
html.skin-theme-clientpref-os .bcard-n{color:#e6eaf0} | |||
html.skin-theme-clientpref-os .bcard-m{color:#9aa5b1} | |||
html.skin-theme-clientpref-os .mz-lead{color:#9aa5b1} | |||
} | |||
/* 出战特性标签 */ | |||
.bdet-tags{display:flex;flex-wrap:wrap;gap:8px} | |||
.bdet-tag{display:inline-flex;align-items:center;gap:8px;padding:7px 13px; | |||
border:1px solid #e6dcc6;border-radius:4px;background:rgba(255,255,255,.6); | |||
font-size:13px;line-height:1;color:#3a3327} | |||
.bdet-tag b{font-weight:700} | |||
.bdet-tag em{font-style:normal;font-size:14px;font-weight:700;line-height:1} | |||
.bdet-tag.up em{color:#1d8a55} | |||
.bdet-tag.down em{color:#c0392b} | |||
html.skin-theme-clientpref-night .bdet-tag{background:rgba(255,255,255,.05);border-color:#3c4043;color:#d8dde4} | |||
html.skin-theme-clientpref-night .bdet-tag.up em{color:#6fce9b} | |||
html.skin-theme-clientpref-night .bdet-tag.down em{color:#e08b76} | |||
@media (prefers-color-scheme: dark){ | |||
html.skin-theme-clientpref-os .bdet-tag{background:rgba(255,255,255,.05);border-color:#3c4043;color:#d8dde4} | |||
html.skin-theme-clientpref-os .bdet-tag.up em{color:#6fce9b} | |||
html.skin-theme-clientpref-os .bdet-tag.down em{color:#e08b76} | |||
} | |||
/* 单个技能占满整行 */ | |||
.bdet-skills:has(> .bdet-sk:only-child) > .bdet-sk{grid-column:1/-1} | |||
/* ===== 记忆战场 v1 结束 ===== */ | |||
/* ===== 首页 v1.2(2026-11-15)记忆战场入口 ===== */ | |||
body.page-首页 .catkids.single .catkid{align-items:center} | |||
/* ============================================================ | |||
敌人档案 v1(2026-11-24) | |||
.edet 详情 / 首页图鉴三列 | |||
============================================================ */ | |||
.edet{max-width:100%;margin:0 0 1.4em;box-sizing:border-box; | |||
border:1px solid #e2d7bd;border-radius:6px;overflow:hidden; | |||
background:linear-gradient(172deg,#fcf8ee,#f4ecda);color:#3a3327; | |||
box-shadow:0 2px 10px rgba(120,100,60,.08)} | |||
.edet-head{position:relative;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px; | |||
padding:16px 20px 15px;background:linear-gradient(118deg,#2b3646,#1b232f 58%,#26384c);color:#eaf3fa} | |||
.edet-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px; | |||
background:linear-gradient(90deg,#e8b53a,rgba(232,181,58,0) 72%)} | |||
.edet-cls{font-size:11px;letter-spacing:.22em;color:#9fb2c8} | |||
.edet-name{font-size:clamp(19px,2.4vw,24px);font-weight:700;line-height:1.24;letter-spacing:.02em;color:#fff} | |||
.edet-meta{margin-left:auto;display:flex;align-items:center;gap:8px} | |||
.edet-org,.edet-tag{font-size:11.5px;letter-spacing:.06em;line-height:1;padding:4px 8px;border-radius:3px;white-space:nowrap} | |||
.edet-org{color:#e3c58c;border:1px solid rgba(217,180,120,.5);background:rgba(217,180,120,.08)} | |||
.edet-tag{color:#f0a864;border:1px solid rgba(240,168,100,.5);background:rgba(240,168,100,.08)} | |||
.edet-body{padding:18px 20px 0;font-size:14.5px;line-height:2;color:#4a4232} | |||
.edet-body p{margin:0 0 .6em} | |||
.edet-lines{padding:0 20px 18px} | |||
.edet-line{margin-top:14px;padding-top:12px;border-top:1px dashed rgba(160,130,60,.46)} | |||
.edet-say{font-size:13.8px;line-height:1.95;color:#453e30} | |||
.edet-who{margin-top:5px;text-align:right;font-size:12.5px;color:#8a6d33;letter-spacing:.02em} | |||
html.skin-theme-clientpref-night .edet{background:linear-gradient(172deg,#23272e,#1b1e24);border-color:#3c4043;color:#d8dde4} | |||
html.skin-theme-clientpref-night .edet-body, | |||
html.skin-theme-clientpref-night .edet-say{color:#c6ccd4} | |||
html.skin-theme-clientpref-night .edet-who{color:#c9a860} | |||
html.skin-theme-clientpref-night .edet-line{border-top-color:#3c4043} | |||
html.skin-theme-clientpref-night .edet-cls{color:#8b9dad} | |||
@media (prefers-color-scheme: dark){ | |||
html.skin-theme-clientpref-os .edet{background:linear-gradient(172deg,#23272e,#1b1e24);border-color:#3c4043;color:#d8dde4} | |||
html.skin-theme-clientpref-os .edet-body, | |||
html.skin-theme-clientpref-os .edet-say{color:#c6ccd4} | |||
html.skin-theme-clientpref-os .edet-who{color:#c9a860} | |||
html.skin-theme-clientpref-os .edet-line{border-top-color:#3c4043} | |||
} | |||
@media screen and (max-width:720px){ | |||
.edet-head{padding:14px 14px 13px;gap:3px 10px} | |||
.edet-name{font-size:19px} | |||
.edet-meta{margin-left:0;flex-basis:100%;margin-top:6px} | |||
.edet-body{padding:15px 14px 0;font-size:14px;line-height:1.9} | |||
.edet-lines{padding:0 14px 16px} | |||
.edet-line{margin-top:12px;padding-top:10px} | |||
.edet-say{font-size:13px;line-height:1.85} | |||
.edet-who{font-size:12px} | |||
} | |||
/* 首页图鉴:三列 */ | |||
body.page-首页 .cats.c3{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px} | |||
body.page-首页 .cats.c3 .catkids{grid-template-columns:1fr} | |||
@media screen and (max-width:760px){ | |||
body.page-首页 .cats.c3{grid-template-columns:1fr;gap:10px} | |||
} | |||
/* ===== 敌人档案 v1 结束 ===== */ | |||