MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第16行: | 第16行: | ||
} | } | ||
/* | /* ===== 战略配备 - 引用卡片样式 ===== */ | ||
. | .stratagem-card { | ||
border-left: 8px solid rgb(255, 242, 0); | border-left: 8px solid rgb(255, 242, 0); | ||
padding: 12px 16px 12px 20px; | padding: 12px 16px 12px 20px; | ||
| 第25行: | 第25行: | ||
} | } | ||
. | .stratagem-card .license { | ||
font-size: 1.1em; | font-size: 1.1em; | ||
line-height: 1.3; | line-height: 1.3; | ||
| 第31行: | 第31行: | ||
} | } | ||
. | .stratagem-card .title { | ||
font-size: 2em; | font-size: 2em; | ||
font-weight: bold; | font-weight: bold; | ||
| 第39行: | 第39行: | ||
} | } | ||
. | .stratagem-card .desc { | ||
font-size: 1em; | font-size: 1em; | ||
margin-top: 4px; | margin-top: 4px; | ||
| 第45行: | 第45行: | ||
} | } | ||
/* ===== | /* ===== 战略配备 - 右侧信息框 ===== */ | ||
. | .stratagem-info { | ||
border-left: 8px solid rgb(255, 242, 0); | border-left: 8px solid rgb(255, 242, 0); | ||
border-right: 8px solid rgb(255, 242, 0); | border-right: 8px solid rgb(255, 242, 0); | ||
| 第55行: | 第55行: | ||
} | } | ||
. | .stratagem-info .info-image { | ||
text-align: center; | text-align: center; | ||
margin-bottom: 12px; | margin-bottom: 12px; | ||
} | } | ||
. | .stratagem-info .info-table { | ||
width: 100%; | width: 100%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| 第67行: | 第67行: | ||
} | } | ||
. | .stratagem-info .info-table td { | ||
padding: 4px 0; | padding: 4px 0; | ||
border-bottom: 1px solid rgba(255, 255, 255, 0.1); | border-bottom: 1px solid rgba(255, 255, 255, 0.1); | ||
} | } | ||
. | .stratagem-info .info-table .label { | ||
padding-right: 8px; | padding-right: 8px; | ||
font-weight: bold; | font-weight: bold; | ||
| 第78行: | 第78行: | ||
} | } | ||
. | .stratagem-info .info-table .last-row td { | ||
border-bottom: none; | border-bottom: none; | ||
} | } | ||
2026年7月11日 (六) 05:04的版本
/* 图标列 - 自适应宽度 */
.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 {
border-left: 8px solid rgb(255, 242, 0);
padding: 12px 16px 12px 20px;
margin: 1em 0;
background: rgb(55, 55, 55);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.stratagem-card .license {
font-size: 1.1em;
line-height: 1.3;
color: #cccccc;
}
.stratagem-card .title {
font-size: 2em;
font-weight: bold;
line-height: 1.2;
color: #ffffff;
margin-top: 2px;
}
.stratagem-card .desc {
font-size: 1em;
margin-top: 4px;
color: #cccccc;
}
/* ===== 战略配备 - 右侧信息框 ===== */
.stratagem-info {
border-left: 8px solid rgb(255, 242, 0);
border-right: 8px solid rgb(255, 242, 0);
padding: 12px 16px 12px 20px;
margin: 1em 0;
background: rgb(55, 55, 55);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.stratagem-info .info-image {
text-align: center;
margin-bottom: 12px;
}
.stratagem-info .info-table {
width: 100%;
border-collapse: collapse;
font-size: 0.95em;
color: #cccccc;
}
.stratagem-info .info-table td {
padding: 4px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.stratagem-info .info-table .label {
padding-right: 8px;
font-weight: bold;
color: #ffffff;
}
.stratagem-info .info-table .last-row td {
border-bottom: none;
}