——公众号 南派三叔盗墓笔记
MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第82行: | 第82行: | ||
.wiki-header .wiki-nav { | .wiki-header .wiki-nav { | ||
background: transparent !important; | background: transparent !important; | ||
} | |||
/* 正文整体向下偏移,拉开导航与内容间距 */ | |||
#content { | |||
margin-top: 80px !important; | |||
} | } | ||
2026年6月16日 (二) 22:42的版本
body,html {
width:100%;
height:100%;
padding:0;
margin:0
}
/* WIKI背景图 */
body {
background:url("https://i.postimg.cc/4Nqz8kRj/beijing2.jpg") no-repeat fixed 50% 0;
background-size:cover;
}
.wiki-header {
background: transparent;
}
/* 导航菜单 */
.wiki-header .wiki-nav {
border: 1px solid #d0d0d0;
background: #fff;
}
.menu-wrap .wiki-menu-li-1 {
border-bottom: 0px solid rgba(0,0,0,.16);
}
.wiki-header .wiki-nav .nav-search-box {
border-bottom: 0px solid rgba(0, 0, 0, 0.16);
}
.mw-body {
background-color: transparent !important;
}
/* 全局正文、侧边栏文字白色 */
.mw-body, .portal {
color: #ffffff !important;
}
/* 所有超链接文字粉色 */
.mw-body a, .portal a {
color: #ff88bb !important;
}
/* 鼠标悬浮链接加深粉色 */
.mw-body a:hover, .portal a:hover {
color: #ff5599 !important;
}
/* 侧边栏整体基础 */
.portal {
background: transparent !important;
}
/* 侧边栏带*一级大标题 h3:粉色、字号放大2倍 */
.portal h3 {
color: #ff88bb !important;
font-size: 1.5em !important;
font-weight: bold;
margin-top: 12px;
}
/* 侧边栏小目录文字:白色,放大字号 1.15倍,向右缩进10px */
.portal li a {
color: #ffffff !important;
font-size: 1.2em;
padding-left: 10px;
}
/* 鼠标悬浮小目录:粉色底色 + 白色文字 */
.portal li a:hover {
background-color: #ff88bb !important;
color: #ffffff !important;
}
/* 清除顶部渐变遮罩,彻底消失 */
#mw-page-base {
background-image: none !important;
background: transparent !important;
height: 0 !important;
padding: 0 !important;
margin: 0 !important;
}
/* 导航外层容器同步透明 */
#mw-head-base {
background: transparent !important;
height: auto !important;
}
/* 导航菜单盒子透明 */
.wiki-header .wiki-nav {
background: transparent !important;
}
/* 正文整体向下偏移,拉开导航与内容间距 */
#content {
margin-top: 80px !important;
}