MediaWiki:Common.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-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;
}
/* 主内容框完全透明,去除边框 */
#content {
background-color: transparent !important;
border: none !important;
}
/* 左侧侧边栏全部透明 */
#mw-panel {
background: transparent !important;
}
#mw-panel div.portal {
background: transparent !important;
border: none !important;
}
/* 顶部头部区域透明 */
#mw-head {
background-color: transparent !important;
}
#p-logo {
background: transparent !important;
}
/* 顶部标签栏(阅读/讨论)透明 */
div.vectorTabs ul li {
background-color: transparent !important;
}
div.vectorTabs span {
background: transparent !important;
}
/* 右上角工具下拉菜单透明 */
#p-cactions li {
background-color: transparent !important;
}
#p-cactions li a {
background: transparent !important;
}
/* 底部页脚透明 */
#footer {
background-color: transparent !important;
border: none !important;
}