MediaWiki:Common.css:修订间差异
外观
无编辑摘要 |
无编辑摘要 |
||
| 第46行: | 第46行: | ||
.vector-page-toolbar { | .vector-page-toolbar { | ||
background-color: rgba(255, 255, 255, 0.65) !important; | background-color: rgba(255, 255, 255, 0.65) !important; | ||
} | |||
/* 正文文字框圆角 */ | |||
.mw-body { | |||
border-radius: 16px !important; | |||
overflow: hidden; | |||
} | |||
/* 正文内部留出一点边距 */ | |||
.mw-body-content { | |||
padding: 12px !important; | |||
} | } | ||
2026年10月25日 (日) 11:24的版本
/* ===== 顶部背景图片 ===== */
.vector-header-container {
background-image: url("https://pvzauu.cn/images/d/de/Mainbg.jpg") !important;
background-position: center center !important;
background-repeat: no-repeat !important;
background-size: cover !important;
background-color: transparent !important;
}
/* ===== 顶部内部区域透明 ===== */
.vector-header-container .mw-header,
.vector-header-container .vector-sticky-header {
background-color: transparent !important;
}
/* ===== 页面整体背景半透明 ===== */
body {
background-image: url("https://pvzauu.cn/images/d/de/Mainbg.jpg") !important;
background-repeat: no-repeat !important;
background-position: center top !important;
background-size: 100% auto !important;
background-attachment: fixed !important;
background-color: transparent !important;
}
.mw-page-container {
background-color: rgba(255, 255, 255, 0.65) !important;
}
/* ===== 正文区域半透明 ===== */
.mw-body,
.vector-body {
background-color: rgba(255, 255, 255, 0.65) !important;
}
/* ===== 左右侧栏半透明 ===== */
.vector-main-menu,
.vector-main-menu-container,
.vector-pinnable-element,
.vector-page-tools,
.vector-toc {
background-color: rgba(255, 255, 255, 0.65) !important;
}
/* ===== 页面工具栏半透明 ===== */
.vector-page-toolbar {
background-color: rgba(255, 255, 255, 0.65) !important;
}
/* 正文文字框圆角 */
.mw-body {
border-radius: 16px !important;
overflow: hidden;
}
/* 正文内部留出一点边距 */
.mw-body-content {
padding: 12px !important;
}