MediaWiki:Common.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/* 这里放置的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; }