MediaWiki:Common.css:修订间差异

来自Helldivers资料站
跳转到导航 跳转到搜索
无编辑摘要
Lyx讨论 | 贡献
无编辑摘要
第22行: 第22行:
   border-radius: 8px;
   border-radius: 8px;
   padding: 16px 20px;
   padding: 16px 20px;
   /* 背景色改为雅黑风格深色渐变质感 */
   /* 雅黑风格深色渐变背景 - 从深蓝紫到炭黑 */
   background: linear-gradient(145deg, #1e1e32, #141425);
   background: linear-gradient(160deg, #0f0c29, #1a1a3e, #24243e);
   color: #fff;
   color: #fff;
   font-family: Arial, sans-serif;
   font-family: Arial, sans-serif;
   /* 增加微妙的深色内阴影,提升立体感(不影响布局) */
   /* 增加顶部高光线 + 底部深邃阴影,立体感强 */
   box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.05), 0 4px 12px rgba(0, 0, 0, 0.5);
   box-shadow:  
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.7);
}
}



2026年7月12日 (日) 01:11的版本

/* 图标列 - 自适应宽度 */
.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, #0f0c29, #1a1a3e, #24243e);
  color: #fff;
  font-family: Arial, sans-serif;
  /* 增加顶部高光线 + 底部深邃阴影,立体感强 */
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.7);
}

.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 {
  color: #fff;
}

/* 数值列白色加粗 */
.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;
}