MediaWiki:Common.css:修订间差异

来自Helldivers资料站
跳转到导航 跳转到搜索
无编辑摘要
标签手工回退
Lyx讨论 | 贡献
无编辑摘要
第63行: 第63行:
   color: #fff;
   color: #fff;
   font-weight: bold;
   font-weight: bold;
}
/* common.css */
table {
  border-collapse: collapse;
  margin: 20px 0;
  width: 100%;
}
td {
  padding: 12px 16px;
  border: 1px solid #ccc;
  vertical-align: middle;
  text-align: center;
}
/* 第一列(数据 / 满级舰船模块) */
td:nth-child(1),
td:nth-child(3),
td:nth-child(5) {
  font-weight: bold;
  background: #f5f7fa;
}
/* 第二、四、六列(数值列) */
td:nth-child(2),
td:nth-child(4),
td:nth-child(6) {
  font-weight: normal;
}
}

2026年7月11日 (六) 06:20的版本

/* 图标列 - 自适应宽度 */
.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;
  padding-bottom: 6px;
  font-size: 13px;
}

.stat-label {
  color: #888;
}

.stat-value {
  color: #fff;
  font-weight: bold;
}









/* common.css */

table {
  border-collapse: collapse;
  margin: 20px 0;
  width: 100%;
}

td {
  padding: 12px 16px;
  border: 1px solid #ccc;
  vertical-align: middle;
  text-align: center;
}

/* 第一列(数据 / 满级舰船模块) */
td:nth-child(1),
td:nth-child(3),
td:nth-child(5) {
  font-weight: bold;
  background: #f5f7fa;
}

/* 第二、四、六列(数值列) */
td:nth-child(2),
td:nth-child(4),
td:nth-child(6) {
  font-weight: normal;
}