MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
/* 黑色主背景 */ | |||
html, body { | html, body { | ||
background-color: #000 !important; | background-color: #000 !important; | ||
color: #f0f0f0 !important; | color: #f0f0f0 !important; | ||
} | } | ||
/* | /* 内容区块暗灰背景 + 阴影 */ | ||
. | .mw-parser-output > * { | ||
background-color: #1a1a1a !important; | |||
color: #f0f0f0 !important; | |||
background-color: # | padding: 16px 24px; | ||
color: # | margin-bottom: 16px; | ||
border: | border-radius: 12px; | ||
box-shadow: 0 0 10px rgba(0,0,0,0.4); | |||
border: 1px solid #333 !important; | |||
} | } | ||
/* | /* 表格视觉层次 */ | ||
.wikitable { | .wikitable { | ||
background-color: #111 !important; | background-color: #111 !important; | ||
border: 1px solid #444 !important; | |||
color: #ccc !important; | |||
} | } | ||
.wikitable th { | .wikitable th { | ||
第41行: | 第29行: | ||
background-color: #111 !important; | background-color: #111 !important; | ||
color: #ccc !important; | color: #ccc !important; | ||
} | |||
/* 顶部区域保持纯黑,但文字亮一点 */ | |||
.vector-header, | |||
.vector-sticky-header, | |||
.vector-header-container { | |||
background-color: #000 !important; | |||
color: #eee !important; | |||
border: none !important; | |||
} | |||
/* 左侧边栏改为深灰 */ | |||
#mw-panel { | |||
background-color: #111 !important; | |||
border-right: 1px solid #333 !important; | |||
color: #eee !important; | |||
} | |||
/* 卡片 hover 提亮 */ | |||
.mw-parser-output > *:hover { | |||
background-color: #222 !important; | |||
box-shadow: 0 0 12px rgba(255,255,255,0.05); | |||
transition: background-color 0.2s ease; | |||
} | } |
2025年5月26日 (一) 20:53的版本
/* 黑色主背景 */
html, body {
background-color: #000 !important;
color: #f0f0f0 !important;
}
/* 内容区块暗灰背景 + 阴影 */
.mw-parser-output > * {
background-color: #1a1a1a !important;
color: #f0f0f0 !important;
padding: 16px 24px;
margin-bottom: 16px;
border-radius: 12px;
box-shadow: 0 0 10px rgba(0,0,0,0.4);
border: 1px solid #333 !important;
}
/* 表格视觉层次 */
.wikitable {
background-color: #111 !important;
border: 1px solid #444 !important;
color: #ccc !important;
}
.wikitable th {
background-color: #222 !important;
color: #fff !important;
}
.wikitable td {
background-color: #111 !important;
color: #ccc !important;
}
/* 顶部区域保持纯黑,但文字亮一点 */
.vector-header,
.vector-sticky-header,
.vector-header-container {
background-color: #000 !important;
color: #eee !important;
border: none !important;
}
/* 左侧边栏改为深灰 */
#mw-panel {
background-color: #111 !important;
border-right: 1px solid #333 !important;
color: #eee !important;
}
/* 卡片 hover 提亮 */
.mw-parser-output > *:hover {
background-color: #222 !important;
box-shadow: 0 0 12px rgba(255,255,255,0.05);
transition: background-color 0.2s ease;
}