MediaWiki:Common.css:修订间差异
外观
无编辑摘要 |
无编辑摘要 |
||
| 第59行: | 第59行: | ||
@font-face { | @font-face { | ||
font-family: "PVZWikiFont"; | font-family: "PVZWikiFont"; | ||
src: url("/resources/fonts/font1.ttf") format(" | src: url("/resources/fonts/font1.ttf") format("truetype"); | ||
font-weight: 100 900; | font-weight: 100 900; | ||
font-style: normal; | font-style: normal; | ||
2026年10月25日 (日) 11:36的版本
/* 顶部纯色背景 */
.vector-header-container {
background-image: none !important;
background-color: #FFFFFF !important;
}
/* 顶部内部区域统一使用纯色 */
.vector-header-container .mw-header,
.vector-header-container .vector-sticky-header {
background-image: none !important;
background-color: #ffffff !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-page-container {
border-radius: 20px !important;
overflow: hidden;
}
/* 正文内容区域 */
.mw-body {
border-radius: 20px !important;
}
@font-face {
font-family: "PVZWikiFont";
src: url("/resources/fonts/font1.ttf") format("truetype");
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
body,
.mw-body,
.vector-header-container,
.vector-menu,
.vector-toc {
font-family: "PVZWikiFont", sans-serif !important;
}