MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第105行: | 第105行: | ||
/* ===== | /* ===== 战略配备弹头属性表格样式 ===== */ | ||
.table- | .table-stratagem { | ||
width: 100%; | width: 100%; | ||
text-align: center; | text-align: center; | ||
| 第114行: | 第114行: | ||
} | } | ||
.table- | .table-stratagem .header-title { | ||
background-color: #FFE900; | background-color: #FFE900; | ||
color: #1F1F1F; | color: #1F1F1F; | ||
| 第124行: | 第124行: | ||
} | } | ||
.table- | .table-stratagem .header-col { | ||
background-color: #1F1F1F; | background-color: #1F1F1F; | ||
color: #FFE900; | color: #FFE900; | ||
| 第133行: | 第133行: | ||
} | } | ||
.table- | .table-stratagem .header-col-left { | ||
border-right: 2px solid #FFE900; | border-right: 2px solid #FFE900; | ||
} | } | ||
.table- | .table-stratagem .cell-key { | ||
background-color: #fafafa; | background-color: #fafafa; | ||
color: #1F1F1F; | color: #1F1F1F; | ||
| 第148行: | 第148行: | ||
} | } | ||
.table- | .table-stratagem .cell-value { | ||
background-color: #ffffff; | background-color: #ffffff; | ||
color: #1F1F1F; | color: #1F1F1F; | ||
| 第157行: | 第157行: | ||
} | } | ||
.table- | .table-stratagem .cell-value .main-value { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.table- | .table-stratagem .cell-value .desc { | ||
color: #888; | color: #888; | ||
font-size: 12px; | font-size: 12px; | ||
font-weight: 400; | font-weight: 400; | ||
} | } | ||
2026年7月12日 (日) 14:58的版本
/* 图标列 - 自适应宽度 */
.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: linear-gradient(160deg, #2a2a2a, #1a1a1a, #121212);
color: #fff;
font-family: Arial, sans-serif;
}
.stratagem-badge {
font-size: 18px;
color: #ffd700;
font-weight: bold;
margin-bottom: -6px;
}
.stratagem-title {
font-size: 28px;
font-weight: bold;
margin-top: 8px;
}
.stratagem-desc {
font-size: 14px;
color: #aaa;
}
/* common.css */
.stratagem-table {
border-collapse: collapse;
width: 100%;
font-size: 18px;
}
.stratagem-table td {
padding: 6px 8px;
border: none;
vertical-align: middle;
}
.stratagem-table tr {
border-top: 1px solid #333;
}
.stratagem-table tr:first-child {
border-top: none;
}
/* "数据"和"满级舰船模块"保持灰色 */
.label-main {
color: #888;
}
/* "呼叫时间""使用次数""冷却时间"白色 */
/* 标签颜色条 */
.label-sub {
display: inline-flex;
align-items: center;
vertical-align: middle;
}
.label-sub .color-bar {
display: inline-block;
width: 6px;
height: 1em;
background: #ffffff;
flex-shrink: 0;
margin-right: 4px;
transform: translateY(-1px); /* 上移2px,如果还不够就继续加大数值 */
}
/* 数值列白色加粗 */
.stratagem-table td:nth-child(2),
.stratagem-table td:nth-child(4),
.stratagem-table td:nth-child(6) {
color: #fff;
font-weight: bold;
text-align: right;
}
/* ===== 战略配备弹头属性表格样式 ===== */
.table-stratagem {
width: 100%;
text-align: center;
border-collapse: collapse;
border: 2px solid #1F1F1F;
font-family: 'Segoe UI', Arial, sans-serif;
}
.table-stratagem .header-title {
background-color: #FFE900;
color: #1F1F1F;
font-size: 20px;
font-weight: bold;
padding: 12px 10px;
border-bottom: 3px solid #1F1F1F;
letter-spacing: 2px;
}
.table-stratagem .header-col {
background-color: #1F1F1F;
color: #FFE900;
font-size: 16px;
font-weight: bold;
text-align: center;
padding: 10px 12px;
}
.table-stratagem .header-col-left {
border-right: 2px solid #FFE900;
}
.table-stratagem .cell-key {
background-color: #fafafa;
color: #1F1F1F;
font-size: 15px;
font-weight: 600;
text-align: center;
padding: 8px 12px;
border-bottom: 1px solid #e0e0e0;
border-right: 1px solid #e0e0e0;
}
.table-stratagem .cell-value {
background-color: #ffffff;
color: #1F1F1F;
font-size: 14px;
text-align: center;
padding: 8px 12px;
border-bottom: 1px solid #e0e0e0;
}
.table-stratagem .cell-value .main-value {
font-weight: bold;
}
.table-stratagem .cell-value .desc {
color: #888;
font-size: 12px;
font-weight: 400;
}