MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 标签:已被回退 |
||
| 第62行: | 第62行: | ||
color: #fff; | color: #fff; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
.stratagem-stats { | |||
display: flex; | |||
flex-direction: column; /* 纵向排列行 */ | |||
gap: 8px; | |||
border-top: 1px solid #333; | |||
padding-top: 12px; | |||
font-size: 13px; | |||
} | |||
.stat-row { | |||
display: flex; | |||
justify-content: space-between; | |||
gap: 20px; | |||
} | } | ||
2026年7月11日 (六) 05:51的版本
/* 图标列 - 自适应宽度 */
.wikitable .icon-cell {
width: 1%;
white-space: nowrap;
text-align: center;
vertical-align: middle;
}
/* 图标容器 - 固定大小并居中裁剪大图 */
.wikitable .icon-cell img {
width: 32px;
height: 32px;
object-fit: contain;
display: block;
margin: 0 auto;
}
/* ===== 战略配备 - 引用卡片样式 ===== */
.stratagem-card {
flex: 1;
border: 2px solid #ffd700;
border-radius: 8px;
padding: 16px 20px;
background: #1a1a2e;
color: #fff;
font-family: Arial, sans-serif;
}
.stratagem-badge {
font-size: 12px;
color: #ffd700;
letter-spacing: 2px;
font-weight: bold;
margin-bottom: 4px;
}
.stratagem-title {
font-size: 22px;
font-weight: bold;
margin-bottom: 6px;
}
.stratagem-desc {
font-size: 14px;
color: #aaa;
margin-bottom: 14px;
}
.stratagem-stats {
display: flex;
justify-content: space-between;
border-top: 1px solid #333;
padding-top: 12px;
font-size: 13px;
}
.stat-label {
color: #888;
}
.stat-value {
color: #fff;
font-weight: bold;
}
.stratagem-stats {
display: flex;
flex-direction: column; /* 纵向排列行 */
gap: 8px;
border-top: 1px solid #333;
padding-top: 12px;
font-size: 13px;
}
.stat-row {
display: flex;
justify-content: space-between;
gap: 20px;
}