MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
(添加 infotable 信息框样式) |
(没有差异)
|
2026年9月13日 (日) 15:21的版本
/* 这里放置的CSS将应用于所有皮肤 *//* ===== infotable 信息框样式(2b2t.xin wiki 风格)===== */
.infotable {
float: right;
width: 300px;
margin: 0 0 1em 1em;
border: 1px solid #e3e6ef;
border-radius: 10px;
overflow: hidden;
background: #fff;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
font-size: 14px;
}
.infotable-head {
background: linear-gradient(135deg, #5b7cfa, #2b6cb0);
color: #fff;
padding: 10px 14px;
text-align: center;
font-weight: 700;
font-size: 16px;
}
.infotable-figure {
text-align: center;
padding: 12px;
background: #f7f9ff;
border-bottom: 1px solid #eef0f7;
}
.infotable-figure img {
max-width: 100%;
height: auto;
border-radius: 6px;
}
.infotable-rows { padding: 4px 0; }
.infotable-row {
display: flex;
padding: 6px 14px;
border-bottom: 1px solid #f0f2f8;
}
.infotable-row:last-child { border-bottom: none; }
.infotable-key { flex: 0 0 36%; color: #555; font-weight: 600; }
.infotable-val { flex: 1; }