跳转到内容

MediaWiki:Common.css:修订间差异

来自休伯利安数据库
Plmxs42​(留言 | 贡献)
无编辑摘要
标签:移动版编辑 移动版网页编辑 高级移动版编辑
Plmxs42​(留言 | 贡献)
无编辑摘要
标签:移动版编辑 移动版网页编辑 高级移动版编辑
第1行: 第1行:
/* ===== 时间线网格行 ===== */
/* ===== 时间线网格行 ===== */
.tl-head,.tl-row{display:grid;grid-template-columns:7em 1fr 9em;gap:8px;padding:7px 8px;box-sizing:border-box}
.tl-head,.tl-row{display:grid;grid-template-columns:minmax(7em,max-content) 1fr 9em;gap:8px;padding:7px 8px;box-sizing:border-box}
 
.tl-head{font-weight:600;background:#eaecf0;border-bottom:1px solid #c8ccd1}
.tl-head{font-weight:600;background:#eaecf0;border-bottom:1px solid #c8ccd1}
.tl-row{border-bottom:1px solid #eaecf0}
.tl-row{border-bottom:1px solid #eaecf0}

2026年10月23日 (五) 15:54的版本

/* ===== 时间线网格行 ===== */
.tl-head,.tl-row{display:grid;grid-template-columns:minmax(7em,max-content) 1fr 9em;gap:8px;padding:7px 8px;box-sizing:border-box}

.tl-head{font-weight:600;background:#eaecf0;border-bottom:1px solid #c8ccd1}
.tl-row{border-bottom:1px solid #eaecf0}
.tl-row:hover{background:#f8f9fa}
.tl-time{white-space:nowrap}
.tl-todo{color:#ac6600}

/* ===== 事件信息框 ===== */
div.event-infobox{float:right;clear:right;width:300px;max-width:100%;box-sizing:border-box;margin:0 0 1em 1.5em;border:1px solid #c8ccd1;background:#f8f9fa;font-size:0.9em;line-height:1.5}
div.event-infobox .ei-title{background:#eaecf0;border-bottom:1px solid #c8ccd1;padding:8px 10px;font-weight:bold;text-align:center}
div.event-infobox .ei-row{display:flex;border-top:1px solid #eaecf0}
div.event-infobox .ei-row:first-child{border-top:0}
div.event-infobox .ei-label{flex:0 0 5.5em;padding:6px 8px;background:#f1f3f5;font-weight:bold;color:#54595d}
div.event-infobox .ei-value{flex:1 1 auto;min-width:0;padding:6px 8px;word-break:break-word}

/* ===== 手机端 ===== */
@media screen and (max-width:720px){
 .tl-head{display:none}
 .tl-row{grid-template-columns:1fr;gap:2px;padding:10px 8px}
 .tl-time{font-size:.9em;color:#54595d}
 div.event-infobox{float:none !important;clear:both;width:auto !important;max-width:100% !important;margin:0 0 1em 0 !important}
 div.event-infobox .ei-label{flex:0 0 4.5em}
}

/* ===== 暗色 ===== */
html.skin-theme-clientpref-night div.event-infobox{background:#27292d;border-color:#54595d}
html.skin-theme-clientpref-night div.event-infobox .ei-title{background:#3c4043;border-color:#54595d}
html.skin-theme-clientpref-night div.event-infobox .ei-label{background:#33363a;color:#c8ccd1}
html.skin-theme-clientpref-night div.event-infobox .ei-row{border-color:#3c4043}
html.skin-theme-clientpref-night .tl-row{border-color:#3c4043}
html.skin-theme-clientpref-night .tl-head{background:#3c4043}