MediaWiki:Common.css:修订间差异
外观
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的9个中间版本) | |||
| 第1行: | 第1行: | ||
/* | /* 顶部纯色背景 */ | ||
.vector-header-container { | .vector-header-container { | ||
background-image: none !important; | |||
background-color: #FFFFFF !important; | |||
} | |||
/* 顶部与正文之间的距离 */ | |||
.mw-page-container { | |||
margin-top: 20px !important; | |||
} | } | ||
/* | /* 顶部内部区域统一使用纯色 */ | ||
.vector-header-container .mw-header, | .vector-header-container .mw-header, | ||
.vector-header-container .vector-sticky-header { | .vector-header-container .vector-sticky-header { | ||
background-image: none !important; | |||
background-color: #ffffff !important; | |||
} | } | ||
/* ===== 页面整体背景半透明 ===== */ | /* ===== 页面整体背景半透明 ===== */ | ||
body { | 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; | background-color: transparent !important; | ||
} | } | ||
| 第41行: | 第49行: | ||
.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-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; | |||
} | |||
@font-face { | |||
font-family: "PVZBondFont"; | |||
src: url("/resources/fonts/font2.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; | |||
} | |||
/* 修改页面标题字体 */ | |||
.mw-page-title, | |||
.firstHeading, | |||
#firstHeading { | |||
font-family: "PVZBondFont", sans-serif !important; | |||
font-weight: 400 !important; | |||
} | } | ||
2026年10月25日 (日) 11:41的最新版本
/* 顶部纯色背景 */
.vector-header-container {
background-image: none !important;
background-color: #FFFFFF !important;
}
/* 顶部与正文之间的距离 */
.mw-page-container {
margin-top: 20px !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;
}
@font-face {
font-family: "PVZBondFont";
src: url("/resources/fonts/font2.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;
}
/* 修改页面标题字体 */
.mw-page-title,
.firstHeading,
#firstHeading {
font-family: "PVZBondFont", sans-serif !important;
font-weight: 400 !important;
}