MediaWiki:Common.css

来自圣洛神教
圣洛管理员留言 | 贡献2026年9月3日 (四) 06:19的版本
跳转到导航 跳转到搜索

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/* 全局背景 */
body {
    background-image: url("https://tc.alcy.cc/tc/20260429/0250621d810c416de209f19d011ae10e.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

/* 主页面容器透明 */
.mw-page-container {
    background: transparent !important;
}
/* 顶部导航栏 */
.vector-header-container {
    background: transparent !important;
}
/* 侧边栏 */
.vector-sidebar-container {
    background: transparent !important;
}
.vector-menu-content {
    background: transparent !important;
}
/* 文章正文卡片白色底色 */
.mw-body {
    background: transparent !important;
}
/* 顶部标签栏(首页/讨论那条白块) */
.vector-tabs-wrapper {
    background: transparent !important;
}
/* 页面控制按钮区域(阅读、编辑) */
.vector-page-toolbar-container {
    background: transparent !important;
}
/* 页面内容最外层包裹 */
.vector-column-end, .vector-column-start {
    background: transparent !important;
}
/* 分割线淡白背景清除 */
.mw-parser-output hr {
    background-color: rgba(255,255,255,0.2);
}