MediaWiki:Common.css:修订间差异
超限(6星)武器卡片底色由玫紫改为暖金;筛选条色点同步 |
新增武器详情页样式(武器图 / 介绍 / 基本信息 / 属性 / 技能) |
||
| 第319行: | 第319行: | ||
body.page-Main_Page #firstHeading, | body.page-Main_Page #firstHeading, | ||
body.page-首页 #firstHeading{display:none} | body.page-首页 #firstHeading{display:none} | ||
/* ===== 武器详情页 v1(2026-11-10)===== */ | |||
.wdet{max-width:100%;margin:1.2em 0;padding:18px 18px 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)} | |||
.wdet-top{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;align-items:start} | |||
.wdet-pic{position:relative;aspect-ratio:1/1;border-radius:5px;overflow:hidden; | |||
border:1px solid rgba(40,30,10,.28);display:flex;align-items:center;justify-content:center; | |||
box-shadow:inset 0 0 18px rgba(0,0,0,.3)} | |||
.wdet-pic img{width:86%;height:86%;object-fit:contain;display:block;filter:drop-shadow(0 3px 7px rgba(0,0,0,.35))} | |||
.wdet-ph{font-size:12px;letter-spacing:.12em;color:rgba(255,255,255,.8)} | |||
.wdet-pic.r1{background:radial-gradient(ellipse at 50% 36%,#74c79b 0%,#2f8a60 42%,#144a38 100%)} | |||
.wdet-pic.r2{background:radial-gradient(ellipse at 50% 36%,#82bde8 0%,#3d7fb8 44%,#164a72 100%)} | |||
.wdet-pic.r3{background:radial-gradient(ellipse at 50% 36%,#5fa3dd 0%,#2c6da8 44%,#0f3a61 100%)} | |||
.wdet-pic.r4{background:radial-gradient(ellipse at 50% 36%,#c47fdc 0%,#8b45b0 44%,#472060 100%)} | |||
.wdet-pic.r5{background:radial-gradient(ellipse at 50% 36%,#b96ad4 0%,#7d35a3 44%,#3a1554 100%)} | |||
.wdet-pic.r6{background:radial-gradient(ellipse at 50% 36%,#ffe6a8 0%,#f0c274 40%,#b9812f 100%)} | |||
.wdet-lab{display:flex;align-items:center;gap:8px;margin:20px 0 10px; | |||
font-size:12.5px;font-weight:700;letter-spacing:.14em;color:#8a6d33} | |||
.wdet-lab::before{content:"";width:3px;height:13px;background:linear-gradient(#e8b53a,#c99422);border-radius:1px} | |||
.wdet-top .wdet-lab{margin-top:0} | |||
.wdet-intro{font-size:14.5px;line-height:1.95;color:#4a4232; | |||
border-left:3px solid rgba(200,160,80,.35);padding-left:12px} | |||
.wdet-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px} | |||
.wdet-fact{background:rgba(255,255,255,.6);border:1px solid #e6dcc6;border-radius:4px; | |||
padding:9px 12px;display:flex;flex-direction:column;gap:2px} | |||
.wdet-fact span{font-size:11.5px;color:#8a8171;letter-spacing:.06em} | |||
.wdet-fact b{font-size:15px;color:#2f2a20;font-weight:700} | |||
.wdet-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px} | |||
.wdet-stat{background:linear-gradient(160deg,#2b3646,#1b232f);border-radius:5px; | |||
padding:12px 16px;display:flex;align-items:baseline;justify-content:space-between; | |||
box-shadow:inset 0 1px 0 rgba(255,255,255,.1)} | |||
.wdet-stat span{font-size:12.5px;color:#9fb2c8;letter-spacing:.1em} | |||
.wdet-stat b{font-size:26px;color:#ffd66b;font-weight:700;line-height:1;font-variant-numeric:tabular-nums} | |||
.wdet-skill{background:rgba(255,255,255,.55);border:1px solid #e6dcc6;border-radius:5px;padding:14px 16px} | |||
.wdet-skill-n{font-size:15px;font-weight:700;color:#1f4e79;margin-bottom:6px} | |||
.wdet-skill-d{font-size:14px;line-height:1.9;color:#453e30} | |||
.wdet-skill-d p{margin:0 0 .5em} | |||
.wdet-skill-d p:last-child{margin-bottom:0} | |||
@media screen and (max-width:720px){ | |||
.wdet{padding:12px} | |||
.wdet-top{grid-template-columns:1fr;gap:12px} | |||
.wdet-pic{max-width:240px;margin:0 auto} | |||
.wdet-facts{grid-template-columns:1fr 1fr} | |||
.wdet-stats{grid-template-columns:1fr} | |||
.wdet-stat b{font-size:22px} | |||
} | |||
html.skin-theme-clientpref-night .wdet{background:linear-gradient(172deg,#23272e,#1b1e24);border-color:#3c4043;color:#d8dde4} | |||
html.skin-theme-clientpref-night .wdet-intro{color:#c6ccd4;border-left-color:#5b5238} | |||
html.skin-theme-clientpref-night .wdet-fact, | |||
html.skin-theme-clientpref-night .wdet-skill{background:rgba(255,255,255,.05);border-color:#3c4043} | |||
html.skin-theme-clientpref-night .wdet-fact b{color:#e6eaf0} | |||
html.skin-theme-clientpref-night .wdet-fact span{color:#9aa5b1} | |||
html.skin-theme-clientpref-night .wdet-lab{color:#c9a860} | |||
html.skin-theme-clientpref-night .wdet-skill-n{color:#7fb6dd} | |||
html.skin-theme-clientpref-night .wdet-skill-d{color:#c6ccd4} | |||
/* ===== 武器详情页 v1 结束 ===== */ | |||