“花夜前行解雨臣黑眼镜为双主角状态”
——公众号 南派三叔盗墓笔记

MediaWiki:Common.css:修订间差异

来自瑞恩罗恰德资料库
跳转到导航 跳转到搜索
Koiori留言 | 贡献
无编辑摘要
Koiori留言 | 贡献
无编辑摘要
 
(未显示同一用户的55个中间版本)
第9行: 第9行:
/* WIKI背景图 */
/* WIKI背景图 */
body {
body {
background:url("https://patchwiki.biligame.com/images/umamusume/a/ae/0o5v7jr3cqggjele4zr8jl2rrhvbzp4.png") no-repeat fixed 50% 0;
background:url("https://i.postimg.cc/4Nqz8kRj/beijing2.jpg") no-repeat fixed 50% 0;
background-size:cover;
background-size:cover;
}
/* 图片未加载完成时页面显示纯黑,消除空白闪烁 */
/* WIKI页面透明化 */
background-color:#000;
.game-bg {
    background: rgb(255 255 255 / 84%);
}
}
.wiki-header {
.wiki-header {
第31行: 第29行:
     border-bottom: 0px solid rgba(0, 0, 0, 0.16);
     border-bottom: 0px solid rgba(0, 0, 0, 0.16);
}
}
.mw-body {
.mw-body {
     background-color: rgba(255, 255, 255, 0.5) !important;
     background-color: transparent !important;
}
}


/* ################新版页面开始################ */
/* 全局正文、侧边栏文字白色 */
/* 添加毛玻璃效果 */
.mw-body, .portal {
.game-bg {
    color: #ffffff !important;
  position:relative;
}
  margin-top: 10px;
/* 所有超链接文字粉色 */
  border-radius: 16px;
.mw-body a, .portal a {
    color: #ff88bb !important;
}
/* 鼠标悬浮链接加深粉色 */
.mw-body a:hover, .portal a:hover {
    color: #ff5599 !important;
}
}


.game-bg:before {
/* 页面主大标题统一金色 */
  content:"";
h1.firstHeading {
  position:absolute;
    color: #ffcc00 !important;
  top: 0;
}
  left: 0;
/* 页面二级小标题 h2 */
  backdrop-filter: blur(12px);
.mw-content-ltr h2 {
  width: 100%;
    color: #ffcc00 !important;
  height: 100%;
}
  border-radius: 16px;
/* 页面三级小标题 h3 */
.mw-content-ltr h3 {
    color: #ffcc00 !important;
}
/* 页面四级小标题 h4 */
.mw-content-ltr h4 {
    color: #ffcc00 !important;
}
}


/* 顶部菜单美化 -部分参考自原神WIKI */
/* 侧边栏整体基础 */
.menu-wrap .wiki-menu-li-1 {
.portal {
     background: -10px -1px,linear-gradient(#B0E13E,#6BC30F) !important;
     background: transparent !important;
    position: relative;
    background-repeat: no-repeat !important;
    box-shadow: -1px -1px 2px rgba(102,102,102,0.33) inset, 1px 1px 2px rgba(255,255,255,0.66) inset;
    border-radius: 2px;
    font-size: 16px;
}
}
 
/* 侧边栏带*一级大标题 h3:粉色、字号放大2倍 */
.menu-wrap .wiki-menu-li-1>a {
.portal h3 {
     color: white !important;
     color: #ff88bb !important;
     text-shadow: 1px 2px 2px rgba(102,102,102,0.33);
     font-size: 1.5em !important;
     font-weight: bold;
     font-weight: bold;
    margin-top: 12px;
}
/* 侧边栏小目录文字:白色,放大字号 1.15倍,铺满整行 */
.portal li a {
    color: #ffffff !important;
    font-size: 1.2em;
    display: block !important;
    /* 文字向右缩进10px,恢复你原来的偏移 */
    padding: 8px 12px 8px 22px !important;
    margin: 0 -12px !important;
}
/* 鼠标悬浮小目录:金色底色 + 白色文字 */
.portal li a:hover {
    background-color: #ffcc00 !important;
    color: #ffffff !important;
}
}


.menu-wrap .wiki-menu-li-1 a:hover {
/* 清除顶部渐变遮罩,彻底消失 */
filter: brightness(0.9);
#mw-page-base {
    background-image: none !important;
    background: transparent !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
}
 
/* 导航外层容器同步透明 */
.menu-wrap .wiki-menu-li-1 a:hover::before {
#mw-head-base {
content: "";
    background: transparent !important;
position: absolute;
    height: auto !important;
left: 8px;
}
top: 8px;
/* 导航菜单盒子透明 */
background: url("https://patchwiki.biligame.com/images/umamusume/thumb/8/8c/f2vchfk2k64m6tca70w0517i66ktu3h.svg/24px-UI_Mark.svg.png") no-repeat;
.wiki-header .wiki-nav {
width: 18px;
    background: transparent !important;
background-size: 100% 100%;
height: 36px;
filter: brightness(0.9);
z-index: 999;
cursor: url(https://patchwiki.biligame.com/images/umamusume/a/ae/o0htx7vga5rt00mdmj8lee5unlcfz8y.png),auto;
}
}


.menu-wrap .wiki-menu-li-1:first-child {
/* 正文整体向下偏移,拉开导航与内容间距 */
     border-radius: 6px 0 0 6px;
#content {
    background: url(https://patchwiki.biligame.com/images/umamusume/1/1c/mlt9l0x6gk94abmu7kgwg56q44j4gcp.png) -10px -1px,linear-gradient(#B0E13E,#6BC30F) !important;
     margin-top: 120px !important;
}
}
 
#siteNotice {
.menu-wrap .wiki-menu-li-1:last-child {
    padding-top: 40px !important;
     border-radius: 0 6px 6px 0;
     margin: 0 !important;
}
}


.menu-wrap .wiki-menu-ul-2 {
/* ========== 1. 右上角文字配色区分 ========== */
background: #fff !important;
#mw-head a:not(.userpage-link):not(.talk-link) {
border-radius: 0 8px 8px 8px;
    color: #ffcc00 !important;
box-shadow: 0 1px 4px #ccc;
}
}
.menu-wrap .wiki-menu-li-2 {
#mw-head a:not(.userpage-link):not(.talk-link):link,
position: relative;
#mw-head a:not(.userpage-link):not(.talk-link):visited,
#mw-head a:not(.userpage-link):not(.talk-link):hover {
    color: #ffcc00 !important;
}
}
.menu-wrap .wiki-menu-li-2 a {
#mw-head .userpage-link,
     background: #fff !important;  
#mw-head .talk-link {
    color: rgb(121,90,54) !important;
     color: #ffffff !important;
 
}
}
 
#mw-head .userpage-link:link,
.menu-wrap .wiki-menu-li-2:hover {
#mw-head .userpage-link:visited,
filter: brightness(0.9);
#mw-head .userpage-link:hover,
font-weight: bold !important;
#mw-head .talk-link:link,
#mw-head .talk-link:visited,
#mw-head .talk-link:hover {
    color: #ffffff !important;
}
}


.menu-wrap .wiki-menu-li-2:hover::before {
/* ========== 2. 左侧首页/讨论 顶部操作按钮 样式(图一效果) ========== */
  content: "";
/* 容器基础:深灰黑底色 */
  position: absolute;
.vector-menu-tabs li a,
  left: 6px;
.vector-page-actions li a {
  top: 8px;
    background: #222222 !important;
  background: url("https://patchwiki.biligame.com/images/umamusume/thumb/8/8c/f2vchfk2k64m6tca70w0517i66ktu3h.svg/24px-UI_Mark.svg.png") no-repeat;
    padding: 10px 16px !important;
  width: 18px;
    position: relative !important;
  background-size: 100% 100%;
    border: none !important;
  height: 36px;
    color: #ffcc00 !important;
  filter: invert(0.7) sepia(1);
  z-index: 9999;
  cursor: url(https://patchwiki.biligame.com/images/umamusume/a/ae/o0htx7vga5rt00mdmj8lee5unlcfz8y.png),auto;
}
}
 
/* 顶部金色横条 */
.wiki-hoverbox .wiki-hoverbox-inner {
.vector-menu-tabs li a::before,
background: #fff;
.vector-page-actions li a::before {
box-shadow: 0 1px 4px #ccc;
    content: "" !important;
border-radius: 8px;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background: #fff !important;
}
}
 
/* 悬浮金色下划线 */
.wiki-hoverbox .wiki-hoverbox-inner .wiki-menu-li-3 {
.vector-menu-tabs li a:hover,
position: relative;
.vector-page-actions li a:hover {
    text-decoration: none !important;
}
}
.wiki-hoverbox .wiki-hoverbox-inner .wiki-menu-li-3 a {
.vector-menu-tabs li a::after,
     background: #fff !important;  
.vector-page-actions li a::after {
     color: rgb(121,90,54) !important;
     content: "" !important;
     text-decoration: none;
    position: absolute !important;
    bottom: 6px !important;
    left: 12px !important;
    right: 12px !important;
    height: 2px !important;
     background: transparent !important;
     transition: 0.2s !important;
}
}
 
.vector-menu-tabs li a:hover::after,
.wiki-hoverbox .wiki-hoverbox-inner .wiki-menu-li-3:hover {
.vector-page-actions li a:hover::after {
filter: brightness(0.9);
    background: #ffcc00 !important;
font-weight: bold !important;
}
}
 
/* 去除原生白色选中底色 */
.wiki-hoverbox .wiki-hoverbox-inner .wiki-menu-li-3:hover::before {
.vector-menu-tabs li.selected a,
  content: "";
.vector-page-actions li.selected a {
  position: absolute;
    background: #222222 !important;
  left: 6px;
  top: 8px;
  background: url("https://patchwiki.biligame.com/images/umamusume/thumb/8/8c/f2vchfk2k64m6tca70w0517i66ktu3h.svg/24px-UI_Mark.svg.png") no-repeat;
  width: 18px;
  background-size: 100% 100%;
  height: 36px;
  filter: invert(0.7) sepia(1);
  z-index: 9999;
  cursor: url(https://patchwiki.biligame.com/images/umamusume/a/ae/o0htx7vga5rt00mdmj8lee5unlcfz8y.png),auto;
}
}

2026年6月16日 (二) 23:54的最新版本

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;
	/* 图片未加载完成时页面显示纯黑,消除空白闪烁 */
	background-color:#000;
}
.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;
}

/* 页面主大标题统一金色 */
h1.firstHeading {
    color: #ffcc00 !important;
}
/* 页面二级小标题 h2 */
.mw-content-ltr h2 {
    color: #ffcc00 !important;
}
/* 页面三级小标题 h3 */
.mw-content-ltr h3 {
    color: #ffcc00 !important;
}
/* 页面四级小标题 h4 */
.mw-content-ltr h4 {
    color: #ffcc00 !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倍,铺满整行 */
.portal li a {
    color: #ffffff !important;
    font-size: 1.2em;
    display: block !important;
    /* 文字向右缩进10px,恢复你原来的偏移 */
    padding: 8px 12px 8px 22px !important;
    margin: 0 -12px !important;
}
/* 鼠标悬浮小目录:金色底色 + 白色文字 */
.portal li a:hover {
    background-color: #ffcc00 !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;
}
#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;
}

/* ========== 2. 左侧首页/讨论 顶部操作按钮 样式(图一效果) ========== */
/* 容器基础:深灰黑底色 */
.vector-menu-tabs li a,
.vector-page-actions li a {
    background: #222222 !important;
    padding: 10px 16px !important;
    position: relative !important;
    border: none !important;
    color: #ffcc00 !important;
}
/* 顶部金色横条 */
.vector-menu-tabs li a::before,
.vector-page-actions li a::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background: #fff !important;
}
/* 悬浮金色下划线 */
.vector-menu-tabs li a:hover,
.vector-page-actions li a:hover {
    text-decoration: none !important;
}
.vector-menu-tabs li a::after,
.vector-page-actions li a::after {
    content: "" !important;
    position: absolute !important;
    bottom: 6px !important;
    left: 12px !important;
    right: 12px !important;
    height: 2px !important;
    background: transparent !important;
    transition: 0.2s !important;
}
.vector-menu-tabs li a:hover::after,
.vector-page-actions li a:hover::after {
    background: #ffcc00 !important;
}
/* 去除原生白色选中底色 */
.vector-menu-tabs li.selected a,
.vector-page-actions li.selected a {
    background: #222222 !important;
}