MediaWiki:Common.css:修订间差异

来自圣洛神教
跳转到导航 跳转到搜索
无编辑摘要
标签已被回退
无编辑摘要
标签手工回退
第1行: 第1行:
/* 全局背景 */
/* 全局背景图 */
body {
body {
     background-image: url("https://tc.alcy.cc/tc/20260429/0250621d810c416de209f19d011ae10e.webp");
     background-image: url("https://tc.alcy.cc/tc/20260429/0250621d810c416de209f19d011ae10e.webp");
第8行: 第8行:
}
}


/* ===== 删除全部白色底层容器(关键缺失选择器) ===== */
/* 内容容器完全透明 */
div#mw-page-base {
.mw-page-container {
     background: transparent !important;
     background-color: transparent !important;
}
}
div#mw-head-base {
/* 顶部导航栏完全透明 */
    background: transparent !important;
.vector-header-container {
}
 
/* 主内容框 */
#content {
     background-color: transparent !important;
     background-color: transparent !important;
    border: none !important;
}
/* 左侧侧边栏区域 */
#mw-panel {
    background: transparent !important;
}
#mw-panel .portal {
    background: transparent !important;
}
}
 
/* 侧边栏背景清除 */
/* 顶部导航栏 */
.vector-sidebar-container {
#mw-head {
    background: transparent !important;
}
#p-logo {
    background: transparent !important;
}
 
/* 页面标签:首页 / 讨论 */
div.vectorTabs {
    background: transparent !important;
}
div.vectorTabs ul li {
    background: transparent !important;
}
div.vectorTabs span {
    background: transparent !important;
}
 
/* 操作下拉菜单 */
#p-cactions {
    background: transparent !important;
}
#p-cactions li {
    background: transparent !important;
}
 
/* 页脚底部 */
#footer {
     background-color: transparent !important;
     background-color: transparent !important;
    border: none !important;
}
}
 
/* 主菜单面板透明 */
/* 消除页面最外层空白底色 */
.vector-menu-content {
html, body {
     background-color: rgba(255,255,255,0) !important;
     background-color: transparent !important;
}
}

2026年9月3日 (四) 06:25的版本

/* 全局背景图 */
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-color: transparent !important;
}
/* 顶部导航栏完全透明 */
.vector-header-container {
    background-color: transparent !important;
}
/* 侧边栏背景清除 */
.vector-sidebar-container {
    background-color: transparent !important;
}
/* 主菜单面板透明 */
.vector-menu-content {
    background-color: rgba(255,255,255,0) !important;
}