——公众号 南派三叔盗墓笔记
MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第93行: | 第93行: | ||
} | } | ||
/* | /* 1. 所有链接默认金色,排除用户名、讨论 */ | ||
#mw-head a { | #mw-head a:not(.userpage-link):not(.talk-link) { | ||
color: # | color: #ffcc00 !important; | ||
} | } | ||
#mw-head a:link { | #mw-head a:not(.userpage-link):not(.talk-link):link, | ||
#mw-head a:not(.userpage-link):not(.talk-link):visited, | |||
#mw-head a:not(.userpage-link):not(.talk-link):hover { | |||
color: #ffcc00 !important; | color: #ffcc00 !important; | ||
} | } | ||
/* | /* 2. 右上角用户名、讨论 纯白色 */ | ||
#mw-head .userpage-link, | #mw-head .userpage-link, | ||
#mw-head .talk-link { | #mw-head .talk-link { | ||
| 第116行: | 第109行: | ||
} | } | ||
#mw-head .userpage-link:link, | #mw-head .userpage-link:link, | ||
#mw-head .userpage-link:visited, | #mw-head .userpage-link:visited, | ||
#mw-head .userpage-link:hover, | #mw-head .userpage-link:hover, | ||
#mw-head .talk-link:link, | |||
#mw-head .talk-link:visited, | |||
#mw-head .talk-link:hover { | #mw-head .talk-link:hover { | ||
color: #ffffff !important; | color: #ffffff !important; | ||
} | } | ||
#mw-head . | |||
#mw-head . | /* 3. 左侧页面导航、中间操作按钮:黑底色 + 金色字 */ | ||
#mw-head .mw-navigation a { | |||
background: #000000 !important; | |||
padding: 6px 12px !important; | |||
} | |||
#mw-head .vector-menu-tabs a, | |||
#mw-head .vector-page-actions a { | |||
background: #000000 !important; | |||
padding: 6px 12px !important; | |||
} | } | ||
2026年6月16日 (二) 23:15的版本
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: 120px !important;
}
#siteNotice {
padding-top: 40px !important;
margin: 0 !important;
}
/* 1. 所有链接默认金色,排除用户名、讨论 */
#mw-head a:not(.userpage-link):not(.talk-link) {
color: #ffcc00 !important;
}
#mw-head a:not(.userpage-link):not(.talk-link):link,
#mw-head a:not(.userpage-link):not(.talk-link):visited,
#mw-head a:not(.userpage-link):not(.talk-link):hover {
color: #ffcc00 !important;
}
/* 2. 右上角用户名、讨论 纯白色 */
#mw-head .userpage-link,
#mw-head .talk-link {
color: #ffffff !important;
}
#mw-head .userpage-link:link,
#mw-head .userpage-link:visited,
#mw-head .userpage-link:hover,
#mw-head .talk-link:link,
#mw-head .talk-link:visited,
#mw-head .talk-link:hover {
color: #ffffff !important;
}
/* 3. 左侧页面导航、中间操作按钮:黑底色 + 金色字 */
#mw-head .mw-navigation a {
background: #000000 !important;
padding: 6px 12px !important;
}
#mw-head .vector-menu-tabs a,
#mw-head .vector-page-actions a {
background: #000000 !important;
padding: 6px 12px !important;
}