MediaWiki:Common.css:修订间差异

来自圣洛神教
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
第1行: 第1行:
/* 全局固定背景图 */
/* 全局固定背景图 */
body {
body {
     background-image: url("https://tncache1-f1.v3mh.com/image/2026/09/03/f90ba01fffca9afcd9fef2b6aadfb9b6.webp");
     background-image: url("https://tc.alcy.cc/tc/20260429/0250621d810c416de209f19d011ae10e.webp");
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-position: center center;
     background-position: center center;
第51行: 第51行:
     background-color: transparent !important;
     background-color: transparent !important;
     border: none !important;
     border: none !important;
}
/* ===== 双端黑幕样式(PC悬浮 / 手机点击切换) ===== */
.touch‑heimu,
.touch‑heimu a:link,
.touch‑heimu a:visited,
.touch‑heimu a.external {
background-color: #000000;
color: #000000;
transition: color 0.3s ease;
cursor: pointer;
user‑select: none;
}
/*电脑悬浮效果*/
@media (hover: hover) and (pointer: fine) {
.touch‑heimu:hover,
.touch‑heimu:hover a:link,
.touch‑heimu:hover a:visited {
color: #ffffff;
}
}
/*手机点击激活类*/
.touch‑heimu.active,
.touch‑heimu.active a:link,
.touch‑heimu.active a:visited {
color: #ffffff;
}
}

2026年9月3日 (四) 10:37的版本

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

/* ===== 双端黑幕样式(PC悬浮 / 手机点击切换) ===== */
.touch‑heimu,
.touch‑heimu a:link,
.touch‑heimu a:visited,
.touch‑heimu a.external {
	background-color: #000000;
	color: #000000;
	transition: color 0.3s ease;
	cursor: pointer;
	user‑select: none;
}
/*电脑悬浮效果*/
@media (hover: hover) and (pointer: fine) {
	.touch‑heimu:hover,
	.touch‑heimu:hover a:link,
	.touch‑heimu:hover a:visited {
		color: #ffffff;
	}
}
/*手机点击激活类*/
.touch‑heimu.active,
.touch‑heimu.active a:link,
.touch‑heimu.active a:visited {
	color: #ffffff;
}