公告:本站正处于条目建设期。编辑前请阅读 编辑原则;事务讨论请至 管理员告示板。

或许你可以看看这个致全体读者的一封信

MediaWiki:Common.css:修订间差异

来自2b2t.xin wiki
跳转到导航 跳转到搜索
Admin​(留言 | 贡献)
(添加 infotable 信息框样式)
 
Admin​(留言 | 贡献)
(关闭圆角,标题栏改为浅蓝渐变(下深蓝→上淡白))
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 *//* ===== infotable 信息框样式(2b2t.xin wiki 风格)===== */
/* ===== 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;
   border-radius: 10px;
    overflow: hidden;
    overflow: hidden;
    background: #fff;
    background: #fff;
第12行: 第11行:
}
}
.infotable-head {
.infotable-head {
    background: linear-gradient(135deg, #5b7cfa, #2b6cb0);
    background: linear-gradient(to top, #bcd4ff, #ffffff);
    color: #fff;
    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;
   border-radius: 6px;
}
}
.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; }