MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
(添加 infotable 信息框样式) |
(关闭圆角,标题栏改为浅蓝渐变(下深蓝→上淡白)) |
||
| 第1行: | 第1行: | ||
/* ===== infotable 信息框样式(2b2t.xin wiki 风格)===== */ | |||
.infotable { | .infotable { | ||
float: right; | float: right; | ||
| 第5行: | 第5行: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
border: 1px solid #e3e6ef; | border: 1px solid #e3e6ef; | ||
overflow: hidden; | overflow: hidden; | ||
background: #fff; | background: #fff; | ||
| 第12行: | 第11行: | ||
} | } | ||
.infotable-head { | .infotable-head { | ||
background: linear-gradient( | background: linear-gradient(to top, #bcd4ff, #ffffff); | ||
color: # | color: #234785; | ||
padding: 10px 14px; | padding: 10px 14px; | ||
text-align: center; | text-align: center; | ||
font-weight: 700; | font-weight: 700; | ||
font-size: 16px; | font-size: 16px; | ||
border-bottom: 1px solid #cfe0ff; | |||
} | } | ||
.infotable-figure { | .infotable-figure { | ||
| 第28行: | 第28行: | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
} | } | ||
.infotable-rows { padding: 4px 0; } | .infotable-rows { padding: 4px 0; } | ||
2026年9月13日 (日) 15:29的版本
/* ===== infotable 信息框样式(2b2t.xin wiki 风格)===== */
.infotable {
float: right;
width: 300px;
margin: 0 0 1em 1em;
border: 1px solid #e3e6ef;
overflow: hidden;
background: #fff;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
font-size: 14px;
}
.infotable-head {
background: linear-gradient(to top, #bcd4ff, #ffffff);
color: #234785;
padding: 10px 14px;
text-align: center;
font-weight: 700;
font-size: 16px;
border-bottom: 1px solid #cfe0ff;
}
.infotable-figure {
text-align: center;
padding: 12px;
background: #f7f9ff;
border-bottom: 1px solid #eef0f7;
}
.infotable-figure img {
max-width: 100%;
height: auto;
}
.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; }