MediaWiki:Common.css:修订间差异

来自圣洛神教
跳转到导航 跳转到搜索
无编辑摘要
标签已被回退
无编辑摘要
 
(未显示同一用户的2个中间版本)
第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 {
    background: transparent !important;
}
div#mw-head-base {
    background: transparent !important;
}
 
/* 主内容框 */
#content {
#content {
     background-color: transparent !important;
     background-color: transparent !important;
第22行: 第14行:
}
}


/* 左侧侧边栏区域 */
/* 左侧侧边栏全部透明 */
#mw-panel {
#mw-panel {
     background: transparent !important;
     background: transparent !important;
}
}
#mw-panel .portal {
#mw-panel div.portal {
     background: transparent !important;
     background: transparent !important;
    border: none !important;
}
}


/* 顶部导航栏 */
/* 顶部头部区域透明 */
#mw-head {
#mw-head {
     background: transparent !important;
     background-color: transparent !important;
}
}
#p-logo {
#p-logo {
第38行: 第31行:
}
}


/* 页面标签:首页 / 讨论 */
/* 顶部标签栏(阅读/讨论)透明 */
div.vectorTabs {
    background: transparent !important;
}
div.vectorTabs ul li {
div.vectorTabs ul li {
     background: transparent !important;
     background-color: transparent !important;
}
}
div.vectorTabs span {
div.vectorTabs span {
第49行: 第39行:
}
}


/* 操作下拉菜单 */
/* 右上角工具下拉菜单透明 */
#p-cactions {
#p-cactions li {
     background: transparent !important;
     background-color: transparent !important;
}
}
#p-cactions li {
#p-cactions li a {
     background: transparent !important;
     background: transparent !important;
}
}


/* 页脚底部 */
/* 底部页脚透明 */
#footer {
#footer {
     background-color: transparent !important;
     background-color: transparent !important;
     border: none !important;
     border: none !important;
}
/* 消除页面最外层空白底色 */
html, body {
    background-color: transparent !important;
}
}

2026年9月3日 (四) 06:33的最新版本

/* 全局固定背景图 */
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;
}