|
|
(未显示同一用户的33个中间版本) |
第2行: |
第2行: |
|
| |
|
| /* 参考bwiki | | /* 参考bwiki |
|
| |
| == 基础样式 ==
| |
|
| |
| */
| |
|
| |
| /* 颜色 暗色主题 */
| |
| html {
| |
| --bg-color: #1b1b1b; /* 背景色 */
| |
| --font-color: #c6c6c6; /* 文字色 */
| |
| --unit-color: #5c5c5c; /* 组件背景色 */
| |
| --box-color: #c6c6c6; /* 容器背景色、组件提示颜色 */
| |
| --title-color: #000000; /* 标题文字色 */
| |
| --table-odd-color: #3A3A3A; /* 表格深背景色 */
| |
| --table-even-color: #444444; /* 表格浅背景色 */
| |
| --a-color:#4493f8; /* 链接色 */
| |
| --a-hover-color:#ddbf6f; /* 已浏览链接色 */
| |
| --new-a-color:#ff84af; /* 不存在链接色 */
| |
| }
| |
|
| |
| /* 字体 */
| |
| html body {
| |
| font-family: "Microsoft YaHei", Arial, sans-serif, "PingFang SC";
| |
| }
| |
|
| |
|
| /* 调整鼠标样式 */ | | /* 调整鼠标样式 */ |
第30行: |
第7行: |
| cursor: url("https://patchwiki.biligame.com/images/wukong/b/bb/sb51zsgl3cjtl7eapbp6f8q651rtyn0.png"),auto; | | cursor: url("https://patchwiki.biligame.com/images/wukong/b/bb/sb51zsgl3cjtl7eapbp6f8q651rtyn0.png"),auto; |
| } | | } |
| | /* ==[[模板:黑幕]]== */ |
| | .heimu,.heimu a:link,.heimu a:visited,.heimu a.external:visited,.heimu rt{background-color:#000;color:#000} |
| | .heimu:hover,.heimu:hover rt{-webkit-animation:heimugc 0.5s forwards;animation:heimugc 0.5s forwards;} |
| | .heimu:hover a:link,.heimu:hover a:visited{-webkit-animation:heimulinkgc 0.5s forwards;animation:heimulinkgc 0.5s forwards;} |
| | @-webkit-keyframes heimugc{to{color:#FFF}} |
| | @keyframes heimugc{to{color:#FFF}} |
| | @-webkit-keyframes heimulinkgc{to{color:#3B8BFF}} |
| | @keyframes heimulinkgc{to{color:#3B8BFF}} |
| | /* --[[模板:黑幕]]-- */ |
|
| |
|
| /* 自定义logo */ | | /* 赛季首页专用样式 v2.0 (2025-04-13) */ |
| .wiki-logo > .pic-logo { | | /* == 基础样式模块 == */ |
| display: none !important;
| | .season-block { |
| }
| | position: relative; |
| .wiki-logo:after { | | padding: 15px 20px 15px 35px; |
| content: ""; | | margin-bottom: 25px; |
| display: inline-block; | | border-radius: 4px; |
| background: url("https://patchwiki.biligame.com/images/wukong/3/3f/th32vv1paik3a8wbwkmn4z73fyn8p2c.png") center no-repeat; | | background: rgba(255,255,255,0.95); |
| background-size:contain; | | box-shadow: 0 2px 5px rgba(0,0,0,0.08); |
| width: 100%; | | transition: transform 0.2s ease; |
| height: 100%;
| |
| }
| |
| @media (max-width: 768px) {
| |
| .wiki-logo:after { | |
| position: relative;
| |
| top: 50%;
| |
| transform: translateY(-50%);
| |
| } | |
| }
| |
| .mediawiki .wiki-header .wiki-logo{
| |
| height: 60px;
| |
| } | | } |
|
| |
|
| /* 隐藏移动端菜单logo*/
| | .decorative-line { |
| .mediawiki .mobile-nav-menu .navTop{
| | position: absolute; |
| display: none;
| | left: 0; |
| }
| | top: 50%; |
| .mediawiki .mobile-nav-menu .menutop{
| | transform: translateY(-50%); |
| height: auto;
| | width: 5px; |
| | height: 90%; |
| | border-radius: 2px; |
| | background: #E67E22; |
| } | | } |
|
| |
|
| /* 隐藏 手机端:顶栏打开app,下方悬浮的打开app*/ | | .color-system-1 .decorative-line { background: #E67E22; } /* 物品系统橙色 */ |
| #wikiToapp{ | | .color-system-2 .decorative-line { background: #3498DB; } /* 游戏机制蓝色 */ |
| display:none !important;
| | .color-system-3 .decorative-line { background: #2ECC71; } /* 职业体系绿色 */ |
| } | | .color-system-4 .decorative-line { background: #9B59B6; } /* 终局内容紫色 */ |
| .btn-open-app{ | |
| display:none !important;
| |
| } | |
|
| |
|
| /* === 清除部分元素背景 === */
| | .season-block:hover { |
| .mediawiki .game-bg{
| | transform: translateX(5px); |
| background: transparent;
| |
| box-shadow: none;
| |
| }
| |
| .mediawiki .wiki-header{
| |
| background: transparent;
| |
| }
| |
| .mediawiki .bili-game-header-nav .bili-game-header-nav-bar{ /*bili游戏 导航*/
| |
| background: transparent;
| |
| }
| |
| /* mediawiki 导航栏 */
| |
| .mediawiki .menu-wrap .wiki-menu-li-1,
| |
| .mediawiki .menu-wrap .wiki-menu-li-1 .wiki-menu-ul-2,
| |
| .mediawiki .menu-wrap .wiki-menu-li-1 .wiki-menu-ul-2 .wiki-menu-li-2,
| |
| .mediawiki .menu-wrap .wiki-menu-li-1 .wiki-menu-ul-2 .wiki-menu-li-2 .wiki-menu-ul-3 .wiki-menu-li-3,
| |
| .wiki-hoverbox .wiki-hoverbox-inner .wiki-menu-li-3{
| |
| background: transparent;
| |
| border:none;
| |
| } | | } |
|
| |
|
| /* === 背景设置 === */
| | .season-block h3 { |
| body.mediawiki{
| | margin: 0 0 12px 0; |
| background-image:
| | padding-bottom: 8px; |
| url('https://patchwiki.biligame.com/images/wukong/6/6b/f1432i4nm7ma2gqc72kvrqpq3ua3wi3.png'), /* 顶部背景图像,平铺 */
| | border-bottom: 1px solid rgba(0,0,0,0.1); |
| url('https://patchwiki.biligame.com/images/wukong/c/c6/bycjvikiz3wjhc02wo017x60tbddoy8.png'); /* 暗金色纹理背景图,中间显示 */
| |
| background-repeat: | |
| no-repeat, /* 图像不重复 */
| |
| no-repeat; /* 图像不重复 */
| |
| background-position: | |
| 50% top, /* 第一个图像位置 */
| |
| 50% 0; /* 第二个图像位置 */
| |
| background-size:
| |
| 100%, /* 第一个图像保持原始尺寸 */
| |
| cover; /* 第二个图像覆盖整个元素 */
| |
| background-attachment:
| |
| scroll, /* 图像随着页面的其余部分滚动 */
| |
| fixed; /* 图像固定,不随着页面的其余部分滚动 */
| |
| background-color:#080606;
| |
| background-blend-mode:lighten;/* 混合模式 使用背景图像和背景色中较亮的颜色。*/
| |
|
| |
| } | | } |
| @media (max-width: 992px){ /* 窄屏幕更好的显示背景图片 */
| | /* 链接动态下划线 */ |
| body.mediawiki {
| | .season-nav a { |
| background-size: auto;
| | position: relative; |
| background-position: center top;
| | padding-bottom: 2px; |
| }
| |
| } | | } |
|
| |
|
| /* 基本文字颜色设置 */
| | .season-nav a::after { |
| .pc-serve-msg, | | content: ""; |
| .wiki-componment-rank .rank-num,
| | position: absolute; |
| .wiki-componment-rank .rank-title,
| | bottom: 0; |
| .parsoid-body,
| | left: 50%; |
| .pc-serve-msg .serve-cont{
| | width: 0; |
| color: inherit;
| | height: 1px; |
| | background: currentColor; |
| | transition: all 0.3s; |
| } | | } |
|
| |
|
| .mediawiki .container .mw-body, | | .season-nav a:hover::after { |
| .mediawiki #flowthread *,
| | left: 0; |
| table{
| | width: 100%; |
| color:var(--font-color);
| |
| } | | } |
| h1, h2{
| | /* 添加文字渐变色与悬停放大 */ |
| color: var(--a-hover-color); | | .season-block h3 { |
| }
| | background: linear-gradient(120deg, #2c3e50 30%, #3498db 70%); |
| h3, h4, h5, h6{
| | -webkit-background-clip: text; |
| color:var(--font-color);
| | background-clip: text; |
| }
| | -webkit-text-fill-color: transparent; |
| .vectorMenu h3 span,
| | transition: all 0.3s cubic-bezier(0.4,0,0.2,1); |
| .vectorMenu h3 .glyphicon-menu-down{
| | display: inline-block; |
| color:var(--a-color);
| | transform-origin: left center; |
| }
| |
| .vectorMenu h3:hover span, .vectorMenu h3:focus span,
| |
| .vectorMenu:hover h3 .glyphicon-menu-down{
| |
| color:var(--a-hover-color);
| |
| }
| |
| .navpopup table { /* navpopup 的文字颜色 */
| |
| color: black; | |
| }
| |
| | |
| /* 链接颜色 使用使用更高优先级的选择器,可以少写很多覆盖样式 */
| |
| .mediawiki .mw-body #bodyContent a{ /* 页面名颜色 */ | |
| color: #3e85de; /* 跟背景的对比度约4.5 */
| |
| }
| |
| .mediawiki .mw-body #bodyContent a:visited{ | |
| color: #3e85de; | |
| }
| |
| .mediawiki .mw-body #bodyContent a.mw-selflink{
| |
| color:var(--font-color);
| |
| }
| |
| .mediawiki .mw-body #bodyContent a:hover {
| |
| color: var(--a-hover-color);
| |
| } | | } |
|
| |
|
| .mediawiki .mw-body #bodyContent a.new,
| | /* 悬停文字放大+投影 */ |
| .mediawiki .mw-body #bodyContent a.new:hover { | | .season-block:hover h3 { |
| color: #ff4400; | | transform: scale(1.05); |
| }
| | text-shadow: 0 2px 8px rgba(52,152,219,0.2); |
| .mediawiki .comment-user a,
| |
| .mediawiki .comment-user-name a{
| |
| color: var(--a-color) !important;
| |
| } | | } |
|
| |
|
|
| |
|
| .mediawiki .wiki-header{ | | /* 悬停时线条生长动画 */ |
| padding: 0 0 12px 0;
| | .season-block:hover .decorative-line { |
| | height: 100%; |
| | opacity: 0.8; |
| | background-size: 100% 200%; |
| | animation: lineFlow 1.2s infinite linear; |
| } | | } |
|
| |
|
| | | @keyframes lineFlow { |
| | | 0% { background-position: 0 0; } |
| /* === 全局样式优化 === */
| | 100% { background-position: 0 200%; } |
| | |
| .client-js #mw-content-text{ /* 原来是2em,但.client-js由js添加会导致页面动一下,直接扬了强制给0 */
| |
| margin-top:0em !important; | |
| } | | } |
| | /* 列表 */ |
| | .season-block li { list-style: none; } |
| | .season-block li::before { content: "▸"; margin-right: 0.5em; } |
| | .season-block li li::before { content: "|"; color: #666; } |
|
| |
|
| /* 斜体字右边距加大以防止文字挤叠在一起 */ | | /* 列表项悬停效果 */ |
| .mw-parser-output i { | | .season-block li { |
| margin-right: 2px;
| |
| }
| |
| | |
| | |
| /* === 通用样式 === */
| |
| | |
| /* 设置垂直居中方式为sub */
| |
| .align-sub{
| |
| vertical-align: sub;
| |
| }
| |
| | |
| | |
| /*
| |
| | |
| == 组件 ==
| |
| | |
| */
| |
| | |
| /* === 全站通告 === */
| |
| /* 全站通告背景色移除,在hover时显示背景色 */
| |
| .top-news {
| |
| background: transparent;
| |
| }
| |
| .top-news:hover {
| |
| background: #2b2b2b;
| |
| }
| |
| | |
| /* === 贡献者列表 === */
| |
| /* 贡献者列表的错误z-index设置,会遮挡「Wiki功能」菜单(仅当此菜单通过js置底时) */
| |
| .container #content .wiki-componment-rank {
| |
| z-index: unset;
| |
| }
| |
| /* 移动端贡献者相关适配 */
| |
| @media (max-width: 768px){
| |
| .mediawiki .serve-msg p:last-child .serve-cont {
| |
| color: #b6b6b6;
| |
| }
| |
| .mediawiki .serve-msg {
| |
| color: #6b6b6b;
| |
| }
| |
| .mediawiki .wiki-componment-rank{
| |
| justify-content: center;
| |
| }
| |
| }
| |
| | |
| /* === 右侧导航栏=== */
| |
| /* 位置调整,右侧官方按钮组,bui-sns-info */
| |
| .mediawiki .bui-sns-info { /* 调整按钮栏定位 */
| |
| display: block !important;
| |
| | |
| filter: invert(100%) hue-rotate(10deg); /* 先反色临时用一下, */
| |
| position: fixed;
| |
| top: unset;
| |
| bottom: 5px;
| |
| right: 20px;
| |
| z-index: 1;
| |
| margin: 0 !important;
| |
| width: 65px;
| |
| background-color: unset;
| |
| }
| |
| | |
| @media (max-width: 1500px) { /* 较窄屏幕隐藏所有按钮,除了回到顶部的小火箭 */
| |
| .bui-sns-info a {
| |
| display: none;
| |
| }
| |
| }
| |
| #goScroll { /* 始终显示回到顶部的小火箭 */
| |
| display: block !important;
| |
| }
| |
| .bui-sns-info a div {
| |
| color: rgb(0 0 0 / 60%);
| |
| }
| |
| .bui-sns-info a svg{ /* 右侧按钮颜色,但是客服是图片,通过调整透明度实现*/
| |
| opacity: 0.6;
| |
| }
| |
| .bui-sns-info .bili-kf-1{
| |
| opacity: 0.6;
| |
| }
| |
| | |
| /* === 顶部导航栏 === */
| |
| | |
| /* biligame 导航栏*/
| |
| .mediawiki .bili-game-header-nav li a{ /* 顶部链接颜色 */
| |
| color:var(--font-color);
| |
| }
| |
| .mediawiki .bili-game-header-nav-search {
| |
| display: none;
| |
| }
| |
| /* 由于全局搜索栏隐藏,这里的主题适配无意义
| |
| .mediawiki .bili-game-header-nav-search input{
| |
| background: none;
| |
| }
| |
| .mediawiki .bili-game-header-nav-search {
| |
| position: relative;
| |
| background: url(https://patchwiki.biligame.com/images/wukong/d/d1/ly326npb5sjd51rkd2slkdtnyt7io6u.png) center no-repeat;
| |
| background-size: 108% 128%;
| |
| opacity: 0.7;
| |
| }
| |
| .mediawiki .bili-game-header-nav-search input::placeholder {
| |
| color: var(--font-color);
| |
| }
| |
| */
| |
| | |
| /* 偷偷隐藏几个按钮 */
| |
| .bili-game-header-nav-wrap li:nth-child(2),
| |
| .bili-game-header-nav-wrap li:nth-child(3),
| |
| .bili-game-header-nav-wrap li:nth-child(4),
| |
| .bili-game-header-nav-wrap li:nth-child(6),
| |
| .bili-game-header-nav-wrap li:nth-child(7) {
| |
| display: none;
| |
| }
| |
| | |
| /* header 我的消息 和 关于本站 的颜色,暗色主题适配 */
| |
| .mediawiki #pt-notifications-alert a,
| |
| .mediawiki .about-site .about-site-title{
| |
| color: var(--font-color) !important;
| |
| }
| |
| .about-site .about-site-des{
| |
| background: var(--bg-color);
| |
| color: var(--font-color);
| |
| }
| |
| .about-site .about-site-des a{
| |
| color: var(--a-color)
| |
| }
| |
| | |
| | |
| /* 关于本站 移动到顶部后的样式 */
| |
| .bili-game-header-nav .about-site {
| |
| position: static;
| |
| }
| |
| .bili-game-header-nav .about-site .about-site-des {
| |
| width: 230px;
| |
| right: unset;
| |
| top: unset;
| |
| }
| |
| .bili-game-header-nav .about-site .about-site-des a {
| |
| display: inline-block !important;
| |
| }
| |
| | |
| .bili-game-header-nav .about-site .about-site-title {
| |
| color: rgb(24 25 28 / 90%);
| |
| }
| |
| | |
| /* 我的消息 移动到顶部后的样式 */
| |
| .mediawiki .bili-game-header-nav #p-personal {
| |
| position: static;
| |
| }
| |
| .mediawiki .bili-game-header-nav #p-personal #pt-notifications-alert {
| |
| margin: 0;
| |
| padding: 0;
| |
| position: relative; | | position: relative; |
| top: unset; | | padding-left: 12px; |
| line-height: unset;
| | transition: transform 0.2s; |
| width: unset; | |
| }
| |
| .bili-game-header-nav #pt-notifications-alert a { | |
| color: rgb(24 25 28 / 90%) !important;
| |
| } | | } |
|
| |
|
| /* 我的消息 移动端图标,在768px以上不显示,因为下方强制显示了电脑版本 */
| | .season-block li::before { |
| /* 关于本站 按钮,强制在768以上宽度显示 */
| | content: "▶"; |
| @media screen and (min-width: 768px) {
| | position: absolute; |
| #navNote, .mobile-mask, .mobile-operation {
| | left: -15px; |
| display: none;
| | color: currentColor; |
| }
| |
| .about-site {
| |
| display: block !important;
| |
| }
| |
| }
| |
| /* 强制显示顶部导航栏中的 我的消息 (否则会窄屏自动隐藏,强制显示后可以与顶部导航共存亡)*/
| |
| .bili-game-header-nav #p-personal .mw-echo-notification-badge-nojs{
| |
| display: block !important;
| |
| }
| |
| | |
| | |
| /* 尽量保证顶部导航栏显示。默认窄了会隐藏 */
| |
| @media screen and (min-width: 768px) {
| |
| .mediawiki > .visible-md-block.visible-lg-block {
| |
| display: block !important;
| |
| }
| |
| }
| |
| | |
| /* === 导航栏 Sidebar === */
| |
| .wiki-header .wiki-nav-celling{ /* 隐藏页面滚动后的导航栏 */
| |
| /*top: -50px;*/
| |
| top: -300px; /* 50px就够,但罕见情况可能导致搜索框被挤下来,写大点保险 */
| |
| }
| |
| /* 缩窄下滑后上方导航栏的宽度 */
| |
| /* .wiki-nav.wiki-nav-celling #simpleSearch1 {
| |
| width: 179px;
| |
| } */
| |
| /* 如果不隐藏滚动后固定在顶部的导航栏,为其设置透明黑色背景色 */
| |
| /* .wiki-header .wiki-nav-celling {
| |
| background: #000000c4;
| |
| } */
| |
| | |
| /* 移动端导航栏 */
| |
| .navbar-default .navbar-toggle .icon-bar{
| |
| background: white;
| |
| }
| |
| #navNote{
| |
| filter: invert(100%) hue-rotate(180deg);
| |
| }
| |
| #navSearch.visible-xs{
| |
| filter: invert(100%) hue-rotate(180deg);
| |
| }
| |
| | |
| | |
| /* 搜索框 */
| |
| .mediawiki .wiki-header .wiki-nav .nav-search-box { /* 导航栏搜索框背景 */
| |
| padding: 0;
| |
| border: none;
| |
| background: url(https://patchwiki.biligame.com/images/wukong/d/d1/ly326npb5sjd51rkd2slkdtnyt7io6u.png) no-repeat;
| |
| background-color: transparent !important;
| |
| background-size: 108% 128%;
| |
| background-position: -8px -3px;
| |
| }
| |
| #simpleSearch1 #searchInput{ /* 导航栏搜索框 输入框的大小和文字颜色 */
| |
| line-height: 48px;
| |
| height: 48px;
| |
| width: 85%;
| |
| color:var(--font-color);
| |
| }
| |
| #simpleSearch1, #searchButton, #searchDelete{ /* 移除搜索框在鼠标移入时的背景 */
| |
| background-color:unset !important;
| |
| }
| |
| #searchInput:focus, #simpleSearch:hover #searchInput:focus{ /* 移除搜索框激活时的边框 */
| |
| box-shadow: none;
| |
| }
| |
| #simpleSearch1 #searchDelete{ /* 搜索框删除按钮,反色 */
| |
| filter: invert(80%);
| |
| opacity: 0.6;
| |
| }
| |
| #simpleSearch1 #searchButton{ /* 搜索框搜索按钮,反色 */
| |
| filter: invert(60%);
| |
| opacity: 0.8;
| |
| }
| |
| .mediawiki .wiki-nav{ /* 移除导航栏上下边框 */
| |
| border: none;
| |
| }
| |
| .suggestions-results,
| |
| .suggestions-special{ /* 搜索栏下放列出的搜索建议 */
| |
| background: var(--bg-color);
| |
| color: var(--font-color);
| |
| border: solid 1px #555;
| |
| margin-top:3px
| |
| }
| |
| .suggestions-result,
| |
| .suggestions-special .special-query{
| |
| color: var(--font-color);
| |
| }
| |
| .suggestions-result-current,
| |
| .suggestions-result-current .special-query{
| |
| background: var(--bg-color);
| |
| color: var(--a-color);
| |
| }
| |
| | |
| | |
| /* 导航栏 一级按钮 */
| |
| .mediawiki .menu-wrap .wiki-menu-li-1>a{ /* 一级导航文字 */
| |
| color: var(--font-color);
| |
| font-size: 1.2em;
| |
| }
| |
| .mediawiki .menu-wrap .wiki-menu-li-1 a .caret{/* 隐藏 ▲ 小箭头,因为hover时使用了墨迹背景,这可以让文字更居中 */
| |
| display: none;
| |
| }
| |
| .mediawiki .menu-wrap .wiki-menu-li-1.title_active { /* 白色墨迹背景 文件:Button-primary-white.png */
| |
| background: round url('https://patchwiki.biligame.com/images/wukong/0/0d/darlo5cge1cluktfi4yi9qkw9mipsog.png');
| |
| }
| |
| .mediawiki .menu-wrap .wiki-menu-li-1.title_active>a{ /* hover时文字颜色为黑色 */
| |
| color: #000000;
| |
| }
| |
| | |
| | |
| /* 二级菜单 */
| |
| .mediawiki .menu-wrap .wiki-menu-li-1 .wiki-menu-ul-2 .wiki-menu-li-2 a{ /* 文字颜色 */
| |
| color: var(--font-color);
| |
| font-size: 1.1em;
| |
| }
| |
| .mediawiki .menu-wrap .wiki-menu-li-1 .wiki-menu-ul-2 .wiki-menu-li-2:hover a{ /* 文字颜色 */
| |
| color: var(--a-hover-color);
| |
| }
| |
| .mediawiki .menu-wrap .wiki-menu-li-2:before{ /* 噪声边框使用 before + 背景filter实现。奇偶使用不同的参数避免重复 */
| |
| background-image: radial-gradient(var(--bg-color),var(--bg-color));
| |
| content: ' ';
| |
| position: absolute;
| |
| top: 0px;
| |
| right: 0px;
| |
| bottom: 0px;
| |
| left: 0px;
| |
| z-index: -3;
| |
| display: block;
| |
| /*margin: -3px 3px 0;*/
| |
| margin: -3px -3px 0 -5px;
| |
| }
| |
| .mediawiki .menu-wrap .wiki-menu-li-2:nth-child(odd):before{ /* 背景色,以及噪声边 */
| |
| filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='crumple-effect'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.07' numOctaves='3' result='turbulence'/%3E%3CfeDisplacementMap in2='turbulence' in='SourceGraphic' scale='6'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E#crumple-effect");
| |
| }
| |
| .mediawiki .menu-wrap .wiki-menu-li-2:nth-child(even):before{ /* 背景色,以及噪声边,奇偶参数略有不同 */
| |
| filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='crumple-effect'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='3' result='turbulence'/%3E%3CfeDisplacementMap in2='turbulence' in='SourceGraphic' scale='7'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E#crumple-effect");
| |
| }
| |
| .mediawiki .menu-wrap .wiki-menu-li-2.li_active:before{ /* 为激活的二级菜单增加渐变背景 */
| |
| background-image: radial-gradient(#444444,var(--bg-color));
| |
| z-index: -1;
| |
| }
| |
| | |
| /* 手机菜单 */
| |
| .mediawiki .mobile-nav-menu,
| |
| .mediawiki .mobile-nav-menu .ul-menu-2 {
| |
| background: var(--bg-color); | |
| }
| |
| .mediawiki .mobile-nav-menu a:not(.menu-title-1) {
| |
| color: var(--font-color) !important; | |
| }
| |
| .mediawiki .mobile-nav-menu .bg-c {
| |
| background: var(--a-hover-color);
| |
| }
| |
| | |
| .mediawiki .mobile-nav-menu .bg-c>a:not(.menu-title-1) {
| |
| color: white !important;
| |
| }
| |
| | |
| /* 「Wiki功能」 菜单 */
| |
| .vectorMenu li a:hover {
| |
| background-color: var(--a-hover-color);
| |
| }
| |
| #firstHeadingTools {
| |
| border-bottom: 1px solid #a2a9b14a; /* 减弱wiki功能菜单栏下方的边框 */
| |
| }
| |
| .firstHeadingTools .vectorMenu h3 .glyphicon-menu-down {
| |
| top: 15px;
| |
| right: 10px;
| |
| }
| |
| | |
| /* 评论 */
| |
| .comments-title {
| |
| border-bottom: 1px solid var(--font-color);
| |
| }
| |
| .comment-body textarea,
| |
| .comment-toolbar{
| |
| background: #232323;
| |
| }
| |
| .comment-submit{ /* 提交按钮 */
| |
| border:1px solid #232323;
| |
| font-size: 1.5em;
| |
| text-shadow: none;
| |
| }
| |
| .comment-submit:hover {
| |
| border: 1px solid #665725;
| |
| font-size: 1.5em;
| |
| box-shadow: 0px 0px 0px red inset, 0 5px 11px 0 #ddbf5f;
| |
| transition: all 0.3s ease-out;
| |
| text-shadow: none;
| |
| }
| |
| :focus { /* 提交框 */
| |
| outline-color: #ddbf6f;
| |
| }
| |
| /* 手机评论区 底部输入框颜色 */
| |
| .mediawiki .h5-wiki-comment {
| |
| background: #1b1b1b;
| |
| }
| |
| .mediawiki .h5-wiki-comment .bui-reply-box .bui-reply-table .bui-reply-container{
| |
| background: #363636;
| |
| }
| |
| .mediawiki .h5-wiki-comment .bui-reply-box .bui-reply-table .bui-reply-container .bui-reply-input {
| |
| background: #363636;
| |
| color: #c6c6c6;
| |
| }
| |
| | |
| | |
| /* 页尾 */
| |
| .mediawiki .game-bg{ /* 减小页尾边距,给图片腾地方 */
| |
| padding-bottom: 0px;
| |
| margin-bottom: 0px;
| |
| }
| |
| | |
| .footer-public:before{ /* 页尾图片 */
| |
| content: "";
| |
| display: block;
| |
| pointer-events: none;
| |
| height: 550px;
| |
| position: relative;
| |
| background-image: url('https://patchwiki.biligame.com/images/wukong/b/b1/9t6x44ni3xza23qstb2jn48wdyirn6e.png'),url('https://patchwiki.biligame.com/images/wukong/9/97/2nxeepxtpb3br3qphkcwzxru7rtp6ea.jpg'),url('https://wiki.biligame.com/wukong/%E6%96%87%E4%BB%B6:Feature-bottom-1-pc.DfZ55gaS.png');
| |
| background-repeat: no-repeat;
| |
| background-size: 100% auto;
| |
| }
| |
| .footer-public{
| |
| background: unset;
| |
| }
| |
| /* 窄屏幕仍然显示底部footer图片 */
| |
| @media (max-width: 992px){
| |
| .mediawiki .footer-public{
| |
| display: block !important;
| |
| }
| |
| .mediawiki .footer-box{ /* 保持底部信息不显示 */
| |
| display: none;
| |
| }
| |
| .footer-public:before {
| |
| height: 200px;
| |
| }
| |
| .footer-public .footer-box {
| |
| max-width: 95%;
| |
| }
| |
| }
| |
| | |
| | |
| /* 页面 杂项 */
| |
| .catlinks{ /* 分类 (位于页尾 */
| |
| background: none;
| |
| }
| |
| .catlinks .mw-normal-catlinks > ul > li { /* 多个分类之间的分割线,用了相同颜色 */
| |
| border-left: 1px solid #a2a9b1;
| |
| }
| |
| #catlinks a {
| |
| color: #3e85de; | |
| }
| |
| #catlinks a:hover {
| |
| color: #ddbf6f;
| |
| }
| |
| #catlinks a.new {
| |
| color: #dd3333;
| |
| }
| |
| #catlinks a.new:hover {
| |
| color: #dd3333;
| |
| }
| |
| #catlinks {
| |
| border: none; /* 分类栏的边框,移除 */
| |
| }
| |
| | |
| .rank-item-detail-wrap span { /* 贡献者浮窗的文字颜色,适配 localusercard */
| |
| color: black;
| |
| }
| |
| #redirectsub{
| |
| color: var(--font-color);
| |
| }
| |
| | |
| /* 图片 缩略图 暗色主题 */
| |
| div.thumbinner{
| |
| background: none;
| |
| border: 1px solid #373737;
| |
| }
| |
| html .thumbimage{
| |
| border: none;
| |
| }
| |
| /* gallery slideshow 的按钮是黑色图片,反色成白色 */
| |
| .mediawiki .mw-gallery-slideshow-buttons.oo-ui-layout.oo-ui-panelLayout {
| |
| filter: invert(100%) hue-rotate(180deg);
| |
| }
| |
| | |
| li.gallerybox div.thumb {
| |
| border: 1px solid #555;
| |
| background-color: transparent;
| |
| }
| |
| | |
| | |
| | |
| /* 用户卡片适配暗色主题 */
| |
| .user-follow-wrap{
| |
| border: 1px solid #424242;
| |
| }
| |
| .user-follow-wrap .user-item-detail {
| |
| background-color: var(--bg-color);
| |
| }
| |
| .user-follow-wrap .user-item-detail .detail-des .des-name {
| |
| color:white;
| |
| }
| |
| .user-follow-wrap .user-item-detail .detail-follow-normal {
| |
| background: #ddbf6f;
| |
| color: #000;
| |
| }
| |
| | |
| /*
| |
| | |
| == 标签 ==
| |
| | |
| */
| |
| | |
| /* 标题风格化(主页可能使用了单独的css样式) */
| |
| #content h1 {
| |
| font-family: STKaiti, Kaiti SC, Kaiti, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, Arial, sans-serif;
| |
| }
| |
| /* h2 标题 风格化*/
| |
| #bodyContent h2 {
| |
| border: none;
| |
| margin: 10px 0 5px 0;
| |
| font-size: 1.7em;
| |
| font-weight: bold;
| |
| font-family: STKaiti, Kaiti SC, Kaiti, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, Arial, sans-serif;
| |
| }
| |
| #bodyContent h2::before {
| |
| content: "";
| |
| background: no-repeat url(https://patchwiki.biligame.com/images/wukong/thumb/b/bd/hoji7so9dz13tqgpaw7spd83udm5aaq.png/20px-H2-%E5%A4%B4%E5%9B%BE.png);
| |
| width: 25px;
| |
| display: inline-block;
| |
| height: 40px;
| |
| margin-bottom: -11px;
| |
| vertical-align: middle;
| |
| }
| |
| #bodyContent h2:after {
| |
| content: "";
| |
| display: block;
| |
| height: 3px;
| |
| background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-type='color' viewBox='0 0 290 2' aria-hidden='true'%3E%3Cpath fill='%23c6c6c6' d='M281.448.82c.741 0 .185-.04.933-.172a2.74 2.74 0 0 1 1.111-.07c2.071.434 4.041.055 6.16.241 0 0 .452.209.326.307-1.853.165-3.83.49-5.673.404-1.245-.055-1.19.116-2.464-.193a1.883 1.883 0 0 0-.436-.043l.043-.475zm-6.756.306c-2.876.226-4.944.658-7.831.554-.273 0-.487-.19-.796-.117-.686.163-1.375 0-2.071-.046-.543-.045-1.199-.232-1.625-.055a1.93 1.93 0 0 1-1.391-.04 1.593 1.593 0 0 0-.829-.128 7.325 7.325 0 0 1-3.199 0c-.208-.037-.429-.049-.498-.236l.576-.633a.19.19 0 0 1 0 .088c.626-.007 1.252-.05 1.872-.131 2.598-.358 5.211-.267 7.831-.23 1.889.025 6.076.698 7.961.667v.307zm-25.355.266c-.108-.168-.218-.343-.469-.242-.672.266-1.371.132-2.064.123-.244 0-.53-.074-.65.223a.337.337 0 0 1-.127.135l-.435.018a1.084 1.084 0 0 1-.459-.233c-.364-.404-1.95-.514-2.451-.199-.097.307-.504-.104-.53.169-.052.526-.451.327-.725.34-.88.049-1.765-.545-2.649-.515-.376.087-.76.141-1.147.163-.472 0-.959.235-1.424-.028h-.293c-.452.061-.884.306-1.365.129-.875-.187-1.765-.114-2.65-.105-.364 0 .17.41-.188.334-1.271-.278-2.581-.257-3.865-.306-1.58-.073-3.17-.23-4.766-.12-1.664.117-3.345.074-5.003.233-1.04.098-2.083.141-3.124.187-1.43.058-2.873-.095-4.294.015-1.609.123-3.234.123-4.86.123-2.643 0-5.292-.113-7.938-.162-1.265-.022-2.523-.147-3.797-.086-1.086.052-2.185-.12-3.251-.046-1.066.073-2.11-.227-3.199-.116-1.089.11-2.168-.059-3.25-.105a.413.413 0 0 1-.221-.198h-.69a1.813 1.813 0 0 1-1.059.352c-2.081.052-4.155-.282-6.239.021-.843.09-1.693.127-2.542.11-1.95.037-3.868.162-5.815.055-1.317-.07-2.601-.29-3.992-.073-1.469.26-2.964.363-4.457.306a1.136 1.136 0 0 0-.601-.058c-1.301 0-2.585.156-3.885-.03-.608-.09-1.261-.212-1.889 0a1.893 1.893 0 0 0-1.027.051c-.19.02-.382.014-.569-.021a4.323 4.323 0 0 0-1.19-.101c-.156 0-.211.046-.36.046-5.249-.023-10.5-.041-15.754-.055-1.518 0-3.033.04-4.551.07-1.849.037-3.702.162-5.549.104-2.903-.089-5.802-.306-8.712-.288h-5.26c-.152-.257-.325-.306-.49-.021-.862-.022-1.727-.05-2.601-.067-1.375-.025-2.744.306-4.112.116a11.729 11.729 0 0 0-2.893-.11c-.9.076-1.803.098-2.705.067-1.898 0-3.8-.037-5.695.028-2.045.067-4.09-.07-6.138.11-1.388.12-2.818-.254-4.193.257-.075.027-.192-.022-.28-.055-1.2-.417-2.45-.334-3.686-.306-.446 0-.888.217-1.174-.282-.071-.125-.156-.092-.204 0-.153.306-.469.248-.722.251-1.684.025-3.358-.15-5.045-.165-3.378-.03-6.755-.205-10.133-.07-1.365.051-2.73-.184-4.102.018-.371.052-.768.56-1.174.052-.358-.055-.718-.233-1.07.024-.442.227-.903-.26-1.3 0-.27.178-.439.227-.65-.036-.16-.206-.38-.166-.598-.102a7.881 7.881 0 0 0-1.08.26c-1.205.393-2.457.307-3.699.307a.189.189 0 0 1-.133-.05c-.42-.667-1.05-.363-1.625-.305a1.31 1.31 0 0 1-.51.033c-1.44-.4-2.926-.208-4.37-.153l-4.2.15c-2.89.104-5.783.123-8.676.209-2.012.06-4.024.333-6.02-.172-.784-.199-1.401.135-2.195.113-.855-.021-1.723-.49-2.6 0-.407.23-.956.04-1.512.062-3.228.113-6.453.244-9.68.08C4.053 1.3 0 2.193 0 1.712V.49C1.651.489 4.327.25 5.978.464c.219.038.444.017.65-.06.855-.426 1.733 0 2.6-.08 1.067-.105 2.189.052 3.284.073 3.485.067 6.973-.453 10.455.055.325-.22.76.306 1.053-.138.364-.208.702.05 1.053.052 2.045 0 4.086-.046 6.131.074s4.05-.138 6.082 0c1.177.073 2.364-.03 3.55 0 2.718.1 5.435-.11 8.156-.034.741.022 1.564.285 2.208.025.76-.306 1.469-.052 2.158-.062.894 0 1.788.157 2.711 0 .325-.058.826-.147 1.102.334.163.288.504.429.67-.055.104-.306.325-.125.48-.125 1.363 0 2.725-.065 4.08-.025 1.255.04 2.487-.205 3.736-.174 1.047.056 2.096.056 3.143 0 2.403-.215 4.792.073 7.188.091 1.71 0 3.42.129 5.133.077 1.3-.04 2.616-.279 3.9-.187 2.344.165 4.682.107 7.025.169 1.447.04 2.884-.086 4.32-.175a49.484 49.484 0 0 1 4.766 0c1.626.055 3.251.242 4.876.12a81.77 81.77 0 0 1 5.257-.19c2.071 0 4.151.22 6.215.125 2.195-.1 4.392.015 6.57-.162 1.626-.135 3.306.514 4.909-.184a.188.188 0 0 1 .146.016c.673.38 1.427.11 2.129.235 1.047.184 2.13-.159 3.118 0 1.862.328 3.696-.125 5.542.068.539.015 1.076.07 1.606.165.361.361.728.398 1.102.018.761-.174 1.538-.588 2.24.129a.293.293 0 0 0 .178.114.308.308 0 0 0 .212-.032c.384-.19.826-.125 1.222-.26.755-.428 1.538.11 2.292-.058a.689.689 0 0 1 .461.035.631.631 0 0 1 .319.314c.735.113 1.476.276 2.123-.257.852-.092 1.7-.178 2.529.132.452.306.842.073 1.235-.129a.184.184 0 0 0 .127-.028c.28-.159.607-.23.933-.202h3.456c1.966 0 3.933.15 5.9-.046h.396c.914.062 1.795.463 2.738.23.126-.034.325-.034.325.08 0 .486.364.202.442.153.325-.211.627-.098.975-.04s.731-.03 1.109.04h.448c.156-.03.325.202.478.067.153-.135.325-.257.374-.067h1.736c-.28-.144-.65.12-.566-.306h.218c.676.046 1.352.171 2.028 0l8.267-.043c1.242.037 2.48-.086 3.725-.061 1.824.033 3.648.03 5.475.064 1.723.034 3.449.19 5.175.037l8.276.107c2.926.033 5.832.021 8.745-.153 1.648-.101 3.296-.227 4.941-.2 5.081.08 10.159.132 15.236.337 4.103.166 8.212-.272 12.321-.015l.166.94z'/%3E%3C/svg%3E");
| |
| background-repeat: no-repeat;
| |
| margin-top: -2px;
| |
| margin-left: 26px;
| |
| }
| |
| #bodyContent #toc h2:before,
| |
| #bodyContent #toc h2:after{
| |
| display: none;
| |
| }
| |
| /* 章节编辑按钮 悬浮出现*/
| |
| h2 .mw-editsection, h3 .mw-editsection, h4 .mw-editsection, h5 .mw-editsection {
| |
| opacity: 0; | | opacity: 0; |
| }
| | transition: all 0.3s; |
| h2:hover .mw-editsection, h3:hover .mw-editsection, h4:hover .mw-editsection, h5:hover .mw-editsection {
| |
| opacity: 1;
| |
| transition: opacity 0.5s; | |
| }
| |
| | |
| /* 表格样式 */
| |
| .mediawiki .wikitable{
| |
| border: 1px solid #debf6f7d;
| |
| background: #1b1b1bf0;
| |
| /*background-image: url('https://patchwiki.biligame.com/images/wukong/a/ac/byqa704g6kw6ap6p3zl48kp5vnrd8fq.png');*/
| |
| /*background-blend-mode: darken;*/
| |
| background-size: 1080px;
| |
| background-position: -60px 10px;
| |
| }
| |
| .mediawiki .wikitable th,.mediawiki .wikitable td{
| |
| border: 1px solid #c6c6c6;
| |
| }
| |
| .mediawiki .wikitable th{
| |
| color: #ddbf6f;
| |
| padding: 10px 15px;
| |
| background: #8a86831a;
| |
| font-size: 18px;
| |
| font-family: STKaiti, Kaiti SC, Kaiti, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, Arial, sans-serif;
| |
| font-weight: normal;
| |
| }
| |
| .mediawiki .wikitable td{
| |
| padding: 10px 15px;
| |
| font-size: 16px;
| |
| }
| |
| .wikitable,
| |
| .wikitable > tr > th, .wikitable > * > tr > th,
| |
| .mw-datatable td,
| |
| .mw-datatable tr:hover td{
| |
| color: var(--font-color);
| |
| }
| |
| | |
| /* 部分页面的表格内边距需要更大 */
| |
| .client-js .mediawiki .wikitable.sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
| |
| .mediawiki .wikitable.jquery-tablesorter th.headerSort{
| |
| padding-right: 21px;
| |
| }
| |
| | |
| | |
| /* reference 增加间隙 */
| |
| .mediawiki ol.references > li {
| |
| margin-bottom: 0.5em;
| |
| }
| |
| | |
| /* pre 和 code */
| |
| .mediawiki pre,
| |
| .mediawiki code,
| |
| .mediawiki .mw-code {
| |
| background-color: #22222299;
| |
| color: #c6c6c6;
| |
| border: 1px solid #46464677;
| |
| }
| |
| .mediawiki .mw-highlight pre{
| |
| filter: invert(100%) hue-rotate(180deg);
| |
| background: white;
| |
| color: black;
| |
| }
| |
| | |
| /* ul */
| |
| .ns-0.mediawiki #mw-content-text ul {
| |
| margin: 0.3em 0 0 0.6em;
| |
| list-style-image: none;
| |
| list-style-type: disc;
| |
| padding: 0;
| |
| }
| |
| | |
| | |
| | |
| /*
| |
| | |
| == 编辑器 ==
| |
| | |
| */
| |
| | |
| /* 隐藏 编辑器按钮 “切换至富文本编辑器” */
| |
| #editor-switch-button{
| |
| display:none;
| |
| }
| |
| | |
| .mediawiki .mw-body #bodyContent .wikiEditor-ui a, /* 编辑器,白色主题的话链接用蓝色 */
| |
| .mediawiki .mw-body #bodyContent .editOptions a{
| |
| color: royalblue;
| |
| }
| |
| | |
| #editform .booklet.section{ /* 编辑器菜单 如特殊字符、快速插入等子菜单左侧列表的颜色 */
| |
| color: black;
| |
| }
| |
| .CodeMirror-scroll{ /* 编辑器背景,不使用纯白 */
| |
| background: #f5f5f5;
| |
| }
| |
| .wikiEditor-ui .wikiEditor-ui-top{ /* 避免深色背景漏出黑边 */
| |
| background: #f5f5f5;
| |
| }
| |
| /* 编辑器不加载时设置背景 */
| |
| .mediawiki .mw-editform textarea {
| |
| background: #dddddd;
| |
| color: black;
| |
| }
| |
| /* 更改 */
| |
| .mediawiki td.diff-addedline.diff-side-added {
| |
| color: black;
| |
| background: aliceblue;
| |
| }
| |
| .mediawiki td.diff-deletedline.diff-side-deleted {
| |
| color: black;
| |
| background: #fffaed;
| |
| }
| |
| | |
| | |
| | |
| /*
| |
| | |
| == 非官方插件 == */
| |
| /* SmartClick css (指 MediaWiki:SmartClick.js) */
| |
| .popover-content{word-break:break-all}
| |
| | |
| | |
| /*
| |
| | |
| == 特定页面优化 ==
| |
| | |
| */
| |
| | |
| /* 特殊页面 */
| |
| .ns-special h2,
| |
| .ns-special h3,
| |
| .ns-special h4,
| |
| .ns-special h5{
| |
| color: white;
| |
| }
| |
| .ns-special .oo-ui-iconElement-icon,
| |
| .ns-special .oo-ui-indicator-down{
| |
| filter: invert(100%) hue-rotate(180deg);
| |
| }
| |
| .ns-special .oo-ui-icon-highlight{ /* 最近更改的高亮结果 */
| |
| filter:none;
| |
| }
| |
| | |
| | |
| | |
| /* 特殊:版本 让「解析器扩展标签」正确换行 */
| |
| .rootpage-特殊_版本 #mw-content-text{
| |
| line-break: anywhere;
| |
| }
| |
| .rootpage-特殊_版本 .wikitable {
| |
| line-break: auto;
| |
| }
| |
| .rootpage-特殊_版本 p{
| |
| line-break: auto;
| |
| }
| |
| .rootpage-特殊_版本 div{
| |
| line-break: auto;
| |
| }
| |
| | |
| | |
| /* API页面 背景和基本样式 */
| |
| body.mediawiki.mw-special-ApiHelp{
| |
| background: blanchedalmond url(https://patchwiki.biligame.com/images/wukong/a/ad/10ndnekw57c9izfsesypo8058t5q5z7.png) !important;
| |
| }
| |
| body.mediawiki.mw-special-ApiHelp #bodyContent:before{
| |
| display:none;
| |
| background:none;
| |
| }
| |
| body.mediawiki.mw-special-ApiHelp h2{
| |
| color: black;
| |
| }
| |
| | |
| | |
| /* 最近更改页面。页面较宽时,尝试给予最小宽度,来纵向对齐*/
| |
| @media (min-width: 992px){
| |
| .mediawiki .mw-changeslist-line-inner .mw-title {
| |
| min-width: 12em;
| |
| display: inline-block;
| |
| }
| |
| .mediawiki .mw-changeslist-links {
| |
| min-width: 8em;
| |
| }
| |
| .mediawiki .mw-usertoollinks.mw-changeslist-links {
| |
| min-width: auto;
| |
| }
| |
| .mediawiki .mw-diff-bytes {
| |
| min-width: 5em;
| |
| display: inline-block;
| |
| }
| |
| .mw-special-Recentchanges table span.changedby, .mw-special-Recentchanges .mw-changeslist-line-inner-userLink {
| |
| min-width: 13em;
| |
| display: inline-block;
| |
| }
| |
| }
| |
| | |
| /* 最近更改页面,将全角括号改为半角,减小所占空间 */
| |
| .mw-special-Recentchanges .comment--without-parentheses:before,
| |
| .mw-special-Recentchanges .mw-changeslist-links:before,
| |
| .mw-special-Recentchanges .mw-diff-bytes:before,
| |
| .mw-special-Recentchanges .mw-tag-markers:before,
| |
| .mw-special-Recentchanges .mw-uctop:before{
| |
| content: '(';
| |
| }
| |
| .mw-special-Recentchanges .comment--without-parentheses:after,
| |
| .mw-special-Recentchanges .mw-changeslist-links:after,
| |
| .mw-special-Recentchanges .mw-diff-bytes:after,
| |
| .mw-special-Recentchanges .mw-tag-markers:after,
| |
| .mw-special-Recentchanges .mw-uctop:after{
| |
| content: ')';
| |
| }
| |
| | |
| /* 最近更改页面。页面名显示深蓝色,用户名显示暗金色*/
| |
| .mw-special-Recentchanges .mw-body #bodyContent .mw-changeslist-links a,
| |
| .mw-special-Recentchanges .mw-body #bodyContent .mw-changeslist-links a:visited{
| |
| color: cornflowerblue !important;
| |
| opacity: 0.85;
| |
| }
| |
| .mediawiki .mw-body #bodyContent a.mw-changeslist-title { /* 最近更改,页面名颜色 */
| |
| color: var(--a-hover-color);
| |
| }
| |
| .mw-special-Recentchanges .mw-plusminus-neg { /* 最近更改,增减文字的颜色标识 */
| |
| color: #ff2929;
| |
| }
| |
| .mw-special-Recentchanges .mw-plusminus-pos { /* 最近更改,增减文字的颜色标识 */
| |
| color: #009a00;
| |
| }
| |
| .mediawiki #bodyContent span.mw-rollback-link a { /* 回退按钮颜色 */
| |
| color: cornflowerblue;
| |
| opacity: 0.85;
| |
| }
| |
| .mediawiki #bodyContent span.mw-rollback-link a:hover { /* 回退按钮 hover 颜色 */
| |
| color: #cc4b3d;
| |
| opacity: 1;
| |
| }
| |
| .mw-special-Recentchanges table span.changedby,
| |
| .mw-special-Recentchanges .mw-changeslist-line-inner-userLink{
| |
| color: var(--font-color);
| |
| }
| |
| .mw-special-Recentchanges table bdi{
| |
| color: #bfa61c;
| |
| }
| |
| .mw-special-Recentchanges table a bdi{
| |
| color: var(--font-color);
| |
| }
| |
| span.comment.comment--without-parentheses { /* 最近更改的更改摘要颜色 */
| |
| color: #a49aff;
| |
| }
| |
| | |
| /* 最近更改页面,弱化部分链接,仅鼠标悬浮时,显示 */
| |
| .mw-changeslist-line:hover {
| |
| background: #333333;
| |
| }
| |
| .mw-special-Recentchanges .mw-usertoollinks-talk { /* 隐藏用户讨论页面 */
| |
| display: none;
| |
| }
| |
| .mw-special-Recentchanges .mw-usertoollinks-block{ /* 隐藏封禁页面 */
| |
| display: none;
| |
| }
| |
| .mw-special-Recentchanges .mw-usertoollinks.mw-changeslist-links > span:not(:first-child):before {
| |
| display: none; /* 隐藏由于上方隐藏按钮多出来的的竖线 */
| |
| }
| |
| | |
| .mw-special-Recentchanges .mw-changeslist-separator:empty:before{
| |
| content: ' ';
| |
| display: inline-block;
| |
| }
| |
| span.mw-rc-unwatched {
| |
| font-weight: bold;
| |
| }
| |
| .mw-special-Recentchanges .mw-changeslist ul, .mw-special-Recentchanges .mw-changeslist table.mw-enhanced-rc { /* 最近更改列表的左侧边距,缩小 */
| |
| margin-left: 0;
| |
| }
| |
| .mw-changeslist { /* 最近更改列表集体左移 缩小文字 */
| |
| margin-left: -2em;
| |
| font-size: 0.9em;
| |
| }
| |
| .mw-changeslist h4 {
| |
| margin-left: 2em;
| |
| }
| |
| | |
| | |
| /* == 特殊和其他mw页面中,暗色主题的是适配 == */
| |
| .mediawiki .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input{
| |
| color: var(--font-color); /* 移动页面表单输入框 */
| |
| }
| |
| .ns-special select,
| |
| .ns-special input,
| |
| .ns-special textarea{
| |
| color: #fff;
| |
| background: #393939;
| |
| }
| |
| .ns-special .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle{
| |
| background: var(--bg-color);
| |
| }
| |
| .ns-special .oo-ui-dropdownWidget-handle .oo-ui-labelElement-label{
| |
| color: #fff;
| |
| }
| |
| /* 最近更改页面 */
| |
| .ns-special .oo-ui-textInputWidget input.oo-ui-inputWidget-input{
| |
| color: white;
| |
| background: var(--bg-color);
| |
| }
| |
| .ns-special .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
| |
| .ns-special .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover{
| |
| color: white;
| |
| background: var(--bg-color);
| |
| }
| |
| .ns-special .mw-rcfilters-ui-filterMenuHeaderWidget-header,
| |
| .ns-special .mw-rcfilters-ui-filterMenuSectionOptionWidget{
| |
| background: var(--bg-color);
| |
| }
| |
| .mw-rcfilters-ui-filterMenuHeaderWidget-title,
| |
| .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label{
| |
| color: white;
| |
| }
| |
| .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled{
| |
| background: var(--bg-color);
| |
| }
| |
| .mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not(.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk) {
| |
| border-bottom: 1px solid var(--font-color);
| |
| }
| |
| .mw-rcfilters-ui-itemMenuOptionWidget-view-namespaces { | |
| border-top: 2px solid var(--font-color);
| |
| }
| |
| .mw-rcfilters-ui-highlightColorPickerWidget-buttonSelect-color-none.oo-ui-buttonOptionWidget.oo-ui-buttonElement-active, .mw-rcfilters-ui-highlightColorPickerWidget-buttonSelect-color-none.oo-ui-buttonOptionWidget.oo-ui-optionWidget-pressed, .mw-rcfilters-ui-highlightColorPickerWidget-buttonSelect-color-none.oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected{
| |
| background: var(--bg-color);
| |
| }
| |
| .mw-rcfilters-ui-menuSelectWidget-footer{
| |
| background: var(--bg-color);
| |
| }
| |
| .mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget{
| |
| color: white;
| |
| }
| |
| | |
| | |
| | |
| /* 特殊页面 */
| |
| .ns-special .mw-datatable th{ /* 特殊:追踪分类 表头*/
| |
| color:black;
| |
| }
| |
| .ns-special .mw-widget-dateInputWidget-handle label{ /* 特殊:用户贡献 日期筛选*/
| |
| color:black;
| |
| }
| |
| | |
| #mw-indicator-mw-helplink .mw-helplink{/* 特殊页面右上角的问号帮助 */
| |
| filter: invert(100%) hue-rotate(180deg);
| |
| color: var(--bg-color);
| |
| }
| |
| #pt-notifications-alert .oo-ui-labelElement .oo-ui-labelElement-label, .oo-ui-labelElement.oo-ui-labelElement-label{
| |
| color:var(--font-color);
| |
| }
| |
| | |
| /* 参数设置 */
| |
| .ns-special .mw-prefs-buttons{
| |
| background: var(--bg-color);
| |
| }
| |
| .ns-special .oo-ui-tabSelectWidget-framed{
| |
| background: var(--bg-color);
| |
| }
| |
| .ns-special .oo-ui-tabOptionWidget > .oo-ui-labelElement-label{
| |
| color: white;
| |
| }
| |
| .ns-special .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected,
| |
| .ns-special .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected span{
| |
| background: #d0d0d0;
| |
| color: black;
| |
| }
| |
| | |
| /* 特殊 通知 */
| |
| .ns-special .mw-echo-ui-notificationsInboxWidget-toolbarWrapper,
| |
| .ns-special .mw-echo-ui-notificationsInboxWidget-main .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button{
| |
| background: var(--bg-color) !important; /* 原css滥用了important */
| |
| }
| |
| .ns-special .mw-echo-ui-notificationsInboxWidget-main .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button{
| |
| color:var(--font-color) !important;
| |
| }
| |
| .ns-special .mw-echo-ui-notificationItemWidget{
| |
| background: var(--bg-color) !important;
| |
| }
| |
| .ns-special .mw-echo-ui-notificationItemWidget *{
| |
| color:var(--font-color) !important;
| |
| }
| |
| /* 编辑原始监视列表 */
| |
| .mediawiki .oo-ui-textInputWidget.oo-ui-widget-enabled textarea.oo-ui-inputWidget-input{
| |
| background: var(--bg-color);
| |
| color:var(--font-color);
| |
| }
| |
| /* 特殊:监视列表 */
| |
| .ns-special .mw-rcfilters-ui-itemMenuOptionWidget-label-title,
| |
| .ns-special .mw-rcfilters-ui-itemMenuOptionWidget-label-desc{
| |
| color:var(--font-color);
| |
| }
| |
| | |
| /* api沙盒*/
| |
| .ns-special .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled,
| |
| .ns-special .oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle,
| |
| .ns-special .oo-ui-tagMultiselectWidget.oo-ui-widget-disabled .oo-ui-tagMultiselectWidget-handle{
| |
| background: var(--bg-color);
| |
| }
| |
| .ns-special .mw-apisandbox-toolbar{
| |
| background: unset;
| |
| }
| |
| .ns-special .oo-ui-labelWidget.oo-ui-inline-help{
| |
| color:var(--font-color);
| |
| }
| |
| .ns-special .oo-ui-toggleSwitchWidget{
| |
| background: unset;
| |
| }
| |
| /* 替换页面 */
| |
| .ns-special .ext-replacetext-searchoptions{
| |
| background: unset;
| |
| }
| |
| /* 所有信息 */
| |
| .ns-special #mw-allmessagestable tbody:hover td{
| |
| background-color:#373737;
| |
| }
| |
| /* 特殊 询问*/
| |
| .ns-special .smw-ask-options-row-odd,
| |
| .ns-special .smw-ask-options-row-even,
| |
| .ns-special .smw-ask-toplinks{
| |
| background: unset;
| |
| }
| |
| .ns-special .smw-tabs input.nav-tab:checked + label.nav-label{
| |
| color:var(--font-color);
| |
| }
| |
| .ns-special .smw-icon-compact,
| |
| .ns-special .smw-icon-info{
| |
| filter: invert(100%) hue-rotate(180deg);
| |
| }
| |
| /* 管理评论 */
| |
| .mw-special-FlowThreadManage button{
| |
| color:black;
| |
| }
| |
| | |
| | |
| /* 特殊页面页面细节 */
| |
| .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
| |
| .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
| |
| .mw-rcfilters-ui-savedLinksListItemWidget:hover,
| |
| .mw-rcfilters-ui-savedLinksListItemWidget-label,
| |
| .oo-ui-popupWidget-popup,
| |
| .oo-ui-menuSelectWidget,
| |
| .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget,
| |
| .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
| |
| .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled{
| |
| background: var(--bg-color);
| |
| color: white;
| |
| }
| |
| | |
| .updatedmarker{
| |
| color: var(--bg-color);
| |
| }
| |
| .diffchange.diffchange-inline,
| |
| .diffchange{
| |
| color:var(--bg-color);
| |
| }
| |
| | |
| | |
| #filetoc{
| |
| background-color: transparent;
| |
| }
| |
| .mw-userrights-groups label{
| |
| color: white;
| |
| } | | } |
|
| |
|
| .mw-search-profile-tabs, | | /* 悬停时项目符号显现与位移 */ |
| #mw-searchoptions{
| | .season-block li:hover { |
| background: inherit;
| | transform: translateX(8px); |
| } | | } |
|
| |
|
| /* 搜索结果页面的输入框下的自动列表 */
| | .season-block li:hover::before { |
| .mediawiki .oo-ui-defaultOverlay a{ | | opacity: 0.6; |
| color: var(--a-color);
| | left: -12px; |
| }
| |
| .mediawiki .oo-ui-defaultOverlay a:hover{
| |
| color: var(--a-hover-color);
| |
| }
| |
| | |
| /* 创建模版页面 */
| |
| .fieldBox{
| |
| background: inherit;
| |
| }
| |
| /* 特殊:滥用日志 */
| |
| .mw-widgets-datetime-dateTimeInputWidget-handle{
| |
| background: inherit;
| |
| }
| |
| .ns-special .mw-widgets-datetime-calendarWidget{
| |
| background: var(--bg-color);
| |
| }
| |
| .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:active,
| |
| .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select{
| |
| background: var(--bg-color);
| |
| color: var(--font-color);
| |
| }
| |
| | |
| /* 历史页面 */
| |
| .mediawiki #pagehistory li.selected {
| |
| background: #444444;
| |
| color: inherit;
| |
| outline: 1px dashed #767676;
| |
| }
| |
| | |
| .mediawiki .mw-echo-ui-placeholderItemWidget {
| |
| background-color: #3d3d3d;
| |
| }
| |
| | |
| /*跳转引文时,引文高亮色*/
| |
| ol.references li:target, sup.reference:target {
| |
| background-color: #434343;
| |
| }
| |
| | |
| /* 版主页面的冲突词条背景 */
| |
| .mediawiki .modconflict {
| |
| background-color: #ffaaaa70; | |
| }
| |
| | |
| | |
| | |
| | |
| | |
| /* == 响应式修复 == */
| |
| /* 避免顶部导航超宽 */
| |
| .mediawiki .bili-game-header-nav .bili-game-header-nav-bar {
| |
| min-width: auto;
| |
| max-width: 100%;
| |
| margin: 0 auto;
| |
| padding: 0;
| |
| }
| |
| @media (min-width: 768px) {
| |
| .mediawiki .bili-game-header-nav .bili-game-header-nav-main {
| |
| width: auto;
| |
| max-width: 750px;
| |
| }
| |
| }
| |
| @media (min-width: 992px) {
| |
| .mediawiki .bili-game-header-nav .bili-game-header-nav-main {
| |
| width: auto;
| |
| max-width: 970px;
| |
| } | |
| }
| |
| @media (min-width: 1200px) {
| |
| .mediawiki .bili-game-header-nav .bili-game-header-nav-main {
| |
| width: auto;
| |
| max-width: 1160px;
| |
| }
| |
| }
| |
| | |
| /* 避免底部页脚超宽 */
| |
| .mediawiki .footer-public .footer-box {
| |
| max-width: 100%;
| |
| width: auto;
| |
| }
| |
| | |
| /* 页面边距调整,避免超宽 */
| |
| @media (min-width: 768px) {
| |
| .game-bg {
| |
| padding: 0 6px 100px;
| |
| padding: 0 min(calc((100% - 750px) / 2), 60px) 100px;
| |
| }
| |
| }
| |
| @media (min-width: 992px) {
| |
| .game-bg {
| |
| padding: 0 6px 100px;
| |
| padding: 0 min(calc((100% - 970px) / 2), 60px) 100px;
| |
| }
| |
| }
| |
| @media (min-width: 1200px) {
| |
| .game-bg {
| |
| padding: 0 6px 100px;
| |
| padding: 0 min(calc((100% - 1160px) / 2), 60px) 100px;
| |
| }
| |
| } | | } |