跳转到内容

MediaWiki:Common.css

来自另一时空
讲究的末云​(留言 | 贡献)2026年10月25日 (日) 11:21的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
  • Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
/* 顶部背景图片 */
.vector-header-container {
	background-image: url("https://pvzauu.cn/images/d/de/Mainbg.jpg") !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: cover !important;
	background-color: transparent !important;
}

/* 顶部内部区域透明 */
.vector-header-container .mw-header,
.vector-header-container .vector-sticky-header {
	background-color: transparent !important;
}

/* 下方导航栏、页面工具栏半透明 */
.vector-body,
.vector-column-start,
.vector-column-end,
.vector-page-toolbar,
.vector-sticky-pinned-container,
.vector-toc {
	background-color: rgba(255, 255, 255, 0.65) !important;
}

/* 页面正文半透明 */
#content,
.mw-body,
.mw-page-container,
.vector-body-container {
	background-color: rgba(255, 255, 255, 0.65) !important;
}

/* 侧边栏半透明 */
.vector-sidebar-container