|
|
第1行: |
第1行: |
| /* | | /* 全站CSS,对所有用户加载。*/ |
| == 书写规范 ==
| |
| # 使用4个空格来缩进
| |
| # 每行只书写一个选择器
| |
| # 每行只书写一个样式属性
| |
|
| |
|
| # 将样式按照下面归类到对应的位置
| | /* 参考bwiki |
| # 特定页面的样式注明页面的名字
| |
| # 组件的样式注明模板、模块或JS页面
| |
|
| |
|
| == 样式分类 == | | == 基础样式 == |
| $ 网页框架 :用户可编辑区以外的布局和样式,如header、footer、body等
| |
| $ 全局样式 :出现在绝大多sy-left ul 数页面上的元素,如a、li等
| |
| $ 定义工具类:在本页面中定义的工具类,如.nowarp、.timeline等
| |
| $ 内置样式 :调整Wiki原本的样式、bootstrap的样式,如.panel、.break等
| |
| $ 内置组件 :Wiki自带的组件,如.iteminfo等
| |
| $ 模板组件 :模板相关的样式
| |
| $ 模块组件 :LUA模块相关的样式
| |
| $ JS组件 :JS脚本相关的样式(MediaWiki命名空间下的js)
| |
| $ 首页样式 :首页的布局和样式
| |
| $ 特定页面 :特定页面的样式,如舰娘页面、分类筛选等
| |
| $ 用途不明 :不知道具体作用未能分类
| |
|
| |
|
| == 标记 ==
| |
| 【警告】
| |
| 【注意】
| |
| 【TODO】
| |
| 【废弃】
| |
| */ | | */ |
|
| |
|
| /* -------------------------------------------------- */ | | /* 颜色 暗色主题 */ |
| /* -------------------------------------------------- */
| | html { |
| | | --bg-color: #1b1b1b; /* 背景色 */ |
| .post-content,.comment-component {display: none!important;}
| | --font-color: #c6c6c6; /* 文字色 */ |
| | | --unit-color: #5c5c5c; /* 组件背景色 */ |
| /* 页面背景 */ | | --box-color: #c6c6c6; /* 容器背景色、组件提示颜色 */ |
| body {
| | --title-color: #000000; /* 标题文字色 */ |
| background-image: url(https://patchwiki.biligame.com/images/blhx/c/cb/48ehi5635b410czg1uflwg83s57h6f1.png); | | --table-odd-color: #3A3A3A; /* 表格深背景色 */ |
| background-attachment: fixed; | | --table-even-color: #444444; /* 表格浅背景色 */ |
| background-size: cover; | | --a-color:#4493f8; /* 链接色 */ |
| background-position: 70% center;
| | --a-hover-color:#ddbf6f; /* 已浏览链接色 */ |
| background-repeat: no-repeat;
| | --new-a-color:#ff84af; /* 不存在链接色 */ |
| transition: background 1.5s;
| |
| } | | } |
|
| |
|
| /* 定义滚动区域顶部偏移量修正顶部固定导航栏遮挡锚点问题 */ | | /* 字体 */ |
| @media only screen and (min-width: 767px) {
| | html body { |
| html { | | font-family: "Microsoft YaHei", Arial, sans-serif, "PingFang SC"; |
| scroll-padding-top: 55px;
| |
| }
| |
| } | | } |
|
| |
|
| /* 全局行高 */ | | /* 调整鼠标样式 */ |
| #mw-content-text {
| | html, body{ |
| line-height: 1.6;
| | cursor: url("https://patchwiki.biligame.com/images/wukong/b/bb/sb51zsgl3cjtl7eapbp6f8q651rtyn0.png"),auto; |
| } | | } |
|
| |
|
| /*全局标题样式*/ | | /* 自定义logo */ |
| /* -------------------------------------------------- */
| | .wiki-logo > .pic-logo { |
| #mw-content-text h1,
| | display: none !important; |
| #mw-content-text h2,
| |
| #mw-content-text h3,
| |
| #mw-content-text h4,
| |
| #mw-content-text h5 {
| |
| clear: both;
| |
| } | | } |
| #mw-content-text h1 {
| | .wiki-logo:after { |
| border-color: #526FA9;
| | content: ""; |
| | display: inline-block; |
| | background: url("https://patchwiki.biligame.com/images/wukong/3/3f/th32vv1paik3a8wbwkmn4z73fyn8p2c.png") center no-repeat; |
| | background-size:contain; |
| | width: 100%; |
| | height: 100%; |
| } | | } |
| #mw-content-text h2 {
| | @media (max-width: 768px) { |
| border: none;
| | .wiki-logo:after { |
| font-family: "Source Han Serif","Source Han Serif SC","sourceHanSansCN","Microsoft YaHei",serif;
| | position: relative; |
| font-size: 20px;
| | top: 50%; |
| color: #fff;
| | transform: translateY(-50%); |
| margin: 3px 0 5px;
| | } |
| padding-left: 10px;
| |
| padding-right: 60px;
| |
| font-weight: bold;
| |
| height: 36px;
| |
| line-height: 36px;
| |
| display: flex;
| |
| align-items: center;
| |
| flex-wrap: wrap;
| |
| background-image: url(https://patchwiki.biligame.com/images/blhx/c/c9/90j7asc4v8jfc6eaf17xua4t13x2mth.png),url(https://patchwiki.biligame.com/images/blhx/0/02/osu2f6jg6cwlvudz1nrezm6yhj1coyv.png),url(https://patchwiki.biligame.com/images/blhx/5/5c/j4qy80wiq05s4a5pb4xr6c79evile4i.png);
| |
| background-repeat: no-repeat,no-repeat,repeat-x;
| |
| background-attachment: scroll,scroll,scroll;
| |
| background-size: 95px 36px,85px 36px,100% 36px;
| |
| background-position: left,right,center;
| |
| background-clip: border-box,border-box,content-box;
| |
| background-origin: padding-box,padding-box,padding-box;
| |
| } | | } |
| #mw-content-text h2 .mw-editsection-bracket,
| | .mediawiki .wiki-header .wiki-logo{ |
| #mw-content-text h2 .mw-editsection-divider {
| | height: 60px; |
| color: #fff;
| |
| } | | } |
| #mw-content-text h3 {
| | |
| margin: 0.5em 0em 0.5em 0.2em;
| | /* 隐藏移动端菜单logo*/ |
| padding: 0 0 0 10px;
| | .mediawiki .mobile-nav-menu .navTop{ |
| height: 29px;
| | display: none; |
| line-height: 29px;
| |
| color: #000;
| |
| font-size: 17px;
| |
| font-weight: normal;
| |
| border-left: 4px solid #526FA9;
| |
| border-bottom: 1px solid #526fa9; | |
| } | | } |
| #mw-content-text h4 {
| | .mediawiki .mobile-nav-menu .menutop{ |
| padding-left: 15px;
| | height: auto; |
| border-bottom: 1px solid #99ACCE;
| |
| font-size: 15px;
| |
| line-height: 25px;
| |
| margin: 5px 0;
| |
| } | | } |
| #mw-content-text h5 { | | |
| padding-left: 20px;
| | /* 隐藏 手机端:顶栏打开app,下方悬浮的打开app*/ |
| font-size: 14px;
| | #wikiToapp{ |
| | display:none !important; |
| } | | } |
| /*目录取消二级标题样式*/
| | .btn-open-app{ |
| #mw-content-text .toc h2 {
| | display:none !important; |
| font-size: inherit;
| |
| color: inherit;
| |
| background: inherit;
| |
| padding: inherit;
| |
| margin: inherit;
| |
| font-weight: inherit;
| |
| height: inherit;
| |
| line-height: inherit;
| |
| letter-spacing: normal;
| |
| display: unset;
| |
| } | | } |
| /*全局标题样式*/
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /*全局编辑按钮*/ | | /* === 清除部分元素背景 === */ |
| .mw-editsection a{ | | .mediawiki .game-bg{ |
| color: #00B6FF; | | background: transparent; |
| | box-shadow: none; |
| } | | } |
| .mw-editsection a:hover { | | .mediawiki .wiki-header{ |
| color: #fff!important;
| | background: transparent; |
| background-color:#505965; | |
| } | | } |
| .mw-editsection a:visited { | | .mediawiki .bili-game-header-nav .bili-game-header-nav-bar{ /*bili游戏 导航*/ |
| color:#00B6FF; | | background: transparent; |
| } | | } |
| | | /* mediawiki 导航栏 */ |
| /*全局评论区*/ | | .mediawiki .menu-wrap .wiki-menu-li-1, |
| .comment-toolbar { | | .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; | | background: transparent; |
| | border:none; |
| } | | } |
| .comment-submit { | | |
| background: rgb(50,150,255,0.6); | | /* === 背景设置 === */ |
| | body.mediawiki{ |
| | background-image: |
| | url('https://patchwiki.biligame.com/images/wukong/6/6b/f1432i4nm7ma2gqc72kvrqpq3ua3wi3.png'), /* 顶部背景图像,平铺 */ |
| | 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;/* 混合模式 使用背景图像和背景色中较亮的颜色。*/ |
| | |
| } | | } |
| .lazy-alert .alert-btn-ok {
| | @media (max-width: 992px){ /* 窄屏幕更好的显示背景图片 */ |
| background: rgb(50,150,255,0.6);
| | body.mediawiki { |
| | background-size: auto; |
| | background-position: center top; |
| | } |
| } | | } |
|
| |
|
| /* -------------------------------------------------- */ | | /* 基本文字颜色设置 */ |
| /*全局页面样式开始*/
| | .pc-serve-msg, |
| .bili-game-header-nav .bili-game-header-nav-bar { | | .wiki-componment-rank .rank-num, |
| background: rgb(255 255 255 / 80%)!important; | | .wiki-componment-rank .rank-title, |
| | .parsoid-body, |
| | .pc-serve-msg .serve-cont{ |
| | color: inherit; |
| } | | } |
| .bui-sns-info { | | |
| background: rgb(255 255 255 / 80%); | | .mediawiki .container .mw-body, |
| | .mediawiki #flowthread *, |
| | table{ |
| | color:var(--font-color); |
| } | | } |
| .footer-public {
| | h1, h2{ |
| background: rgb(250 251 252 / 80%);
| | color: var(--a-hover-color); |
| } | | } |
| .game-bg {
| | h3, h4, h5, h6{ |
| background: rgb(255 255 255 / 80%); | | color:var(--font-color); |
| } | | } |
| .game-bg::before { | | .vectorMenu h3 span, |
| position: absolute; | | .vectorMenu h3 .glyphicon-menu-down{ |
| width: 100%;
| | color:var(--a-color); |
| height: 100%;
| |
| top: 0;
| |
| left: 0;
| |
| backdrop-filter: blur(10px);
| |
| } | | } |
| @media only screen and (max-width: 768px) {
| | .vectorMenu h3:hover span, .vectorMenu h3:focus span, |
| .wiki-header {
| | .vectorMenu:hover h3 .glyphicon-menu-down{ |
| margin-top: 0;
| | color:var(--a-hover-color); |
| }
| |
| } | | } |
| .wiki-header { | | .navpopup table { /* navpopup 的文字颜色 */ |
| background: transparent;
| | color: black; |
| } | | } |
| .wiki-header .wiki-nav { | | |
| border-top: none;
| | /* 链接颜色 使用使用更高优先级的选择器,可以少写很多覆盖样式 */ |
| | .mediawiki .mw-body #bodyContent a{ /* 页面名颜色 */ |
| | color: #3e85de; /* 跟背景的对比度约4.5 */ |
| } | | } |
| .menu-box.fr .menu-wrap { | | .mediawiki .mw-body #bodyContent a:visited{ |
| border: none;
| | color: #3e85de; |
| } | | } |
| .fr .menu-wrap .wiki-menu-li-1 { | | .mediawiki .mw-body #bodyContent a.mw-selflink{ |
| border-top: none; | | color:var(--font-color); |
| border-bottom: none;
| |
| } | | } |
| .wiki-header .wiki-nav .fr .nav-search-box { | | .mediawiki .mw-body #bodyContent a:hover { |
| border-top: none;
| | color: var(--a-hover-color); |
| } | | } |
| .menu-wrap .wiki-menu-li-1 .wiki-menu-ul-2 { | | |
| margin-top: -1px;
| | .mediawiki .mw-body #bodyContent a.new, |
| position: absolute;/*修正导航栏抖动问题*/
| | .mediawiki .mw-body #bodyContent a.new:hover { |
| | color: #ff4400; |
| } | | } |
| .menu-wrap .wiki-menu-li-1 { | | .mediawiki .comment-user a, |
| background: rgb(255 255 255 / 80%);
| | .mediawiki .comment-user-name a{ |
| border-top: 1px solid rgba(0,0,0,.16);
| | color: var(--a-color) !important; |
| } | | } |
| .wiki-header .wiki-nav .nav-search-box { | | |
| background: rgb(255 255 255 / 80%); | | |
| border-top: 1px solid rgba(0,0,0,.16);
| | .mediawiki .wiki-header{ |
| padding: 8px 0;
| | padding: 0 0 12px 0; |
| } | | } |
| /*全局页面样式结束*/
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* 小屏幕导航栏置顶屏幕 */ | | |
| @media only screen and (max-width:450px){
| | |
| .navbar {
| | /* === 全局样式优化 === */ |
| position: sticky;
| | |
| top: 0;
| | .client-js #mw-content-text{ /* 原来是2em,但.client-js由js添加会导致页面动一下,直接扬了强制给0 */ |
| left: 0;
| | margin-top:0em !important; |
| background: #ffffff;
| |
| margin: 0 -15px 10px;
| |
| }
| |
| .nav-head {
| |
| margin: 0 15px;
| |
| }
| |
| html {
| |
| scroll-padding-top: 75px;
| |
| }
| |
| } | | } |
|
| |
|
| /*首页隐藏标题,修复极小概率下wiki样式加载失效导致首页显示错误问题*/ | | /* 斜体字右边距加大以防止文字挤叠在一起 */ |
| .page-首页 #firstHeading, | | .mw-parser-output i { |
| .page-首页 #firstHeadingTools,
| | margin-right: 2px; |
| .page-首页 .wiki-componment-rank {
| |
| display: none; | |
| } | | } |
|
| |
|
| /* -------------------------------------------------- */ | | |
| /*首页样式开始*/
| | /* === 通用样式 === */ |
| /*首页标题*/ | | |
| .page-首页 #mw-content-text h2 { | | /* 设置垂直居中方式为sub */ |
| letter-spacing: 3px; | | .align-sub{ |
| | vertical-align: sub; |
| } | | } |
| .page-首页 #mw-content-text h3 {
| | |
| color: #2c2c2c;
| | |
| font-size: 18px;
| | /* |
| height: 32px;
| | |
| line-height: 32px;
| | == 组件 == |
| background: rgb(243 243 243 / 60%);
| | |
| border-color: rgb(188 191 194 / 80%);
| | */ |
| border-bottom: 0px;
| | |
| | /* === 全站通告 === */ |
| | /* 全站通告背景色移除,在hover时显示背景色 */ |
| | .top-news { |
| | background: transparent; |
| } | | } |
| /*首页页面布局*/
| | .top-news:hover { |
| @media only screen and (min-width: 992px) {
| | background: #2b2b2b; |
| .sy-content-1 {
| |
| padding-right: 10px;
| |
| }
| |
| .sy-content-3,.sy-content-4,.sy-content-5 {
| |
| padding-left: 10px;
| |
| }
| |
| } | | } |
| @media only screen and (min-width: 992px) {
| | |
| .sy-content-2 {
| | /* === 贡献者列表 === */ |
| padding: 0 2.5px;
| | /* 贡献者列表的错误z-index设置,会遮挡「Wiki功能」菜单(仅当此菜单通过js置底时) */ |
| }
| | .container #content .wiki-componment-rank { |
| | z-index: unset; |
| } | | } |
| @media only screen and (min-width: 768px) and (max-width: 991px) { | | /* 移动端贡献者相关适配 */ |
| .sy-content-1 { | | @media (max-width: 768px){ |
| float: right;
| | .mediawiki .serve-msg p:last-child .serve-cont { |
| padding-left: 0px;
| | color: #b6b6b6; |
| } | | } |
| .sy-content-2 { | | .mediawiki .serve-msg { |
| padding-right: 10px;
| | color: #6b6b6b; |
| } | | } |
| .sy-content-3 { | | .mediawiki .wiki-componment-rank{ |
| padding-left: 5px;
| | justify-content: center; |
| }
| |
| .sy-content-4 {
| |
| padding-right: 5px;
| |
| clear: both;
| |
| }
| |
| .sy-content-5 { | |
| padding-left: 5px;
| |
| } | | } |
| } | | } |
| /*首页手机端顶部*/ | | |
| .sy-m-top { | | /* === 右侧导航栏=== */ |
| margin-left: -5px; | | /* 位置调整,右侧官方按钮组,bui-sns-info */ |
| margin-right: -5px;
| | .mediawiki .bui-sns-info { /* 调整按钮栏定位 */ |
| overflow: hidden;
| | 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; |
| | } |
| } | | } |
| .sy-m-top-box {
| | #goScroll { /* 始终显示回到顶部的小火箭 */ |
| width: 25%;
| | display: block !important; |
| padding: 0 5px;
| |
| float: left;
| |
| text-align: center;
| |
| } | | } |
| .sy-m-top-box:hover { | | .bui-sns-info a div { |
| opacity: 0.5;
| | color: rgb(0 0 0 / 60%); |
| } | | } |
| /*首页常用内容*/ | | .bui-sns-info a svg{ /* 右侧按钮颜色,但是客服是图片,通过调整透明度实现*/ |
| .sy-cy-box {
| | opacity: 0.6; |
| margin-left: -6px; | |
| margin-right: -6px;
| |
| overflow: hidden;
| |
| display: flex;
| |
| flex-wrap: wrap;
| |
| } | | } |
| .sy-cy-box-icon { | | .bui-sns-info .bili-kf-1{ |
| width: 20%; | | opacity: 0.6; |
| padding: 6px;
| |
| display: flex;
| |
| justify-content: center;
| |
| } | | } |
| .sy-cy-box-icon-1 { | | |
| position: relative; | | /* === 顶部导航栏 === */ |
| | |
| | /* biligame 导航栏*/ |
| | .mediawiki .bili-game-header-nav li a{ /* 顶部链接颜色 */ |
| | color:var(--font-color); |
| } | | } |
| .sy-cy-box-icon-1 > a { | | .mediawiki .bili-game-header-nav-search { |
| opacity: 1;
| | display: none; |
| transition: all 0.5s;
| |
| } | | } |
| .sy-cy-box-icon-1:hover > a { | | /* 由于全局搜索栏隐藏,这里的主题适配无意义 |
| opacity: 0; | | .mediawiki .bili-game-header-nav-search input{ |
| | background: none; |
| } | | } |
| .sy-cy-box-icon-1 .sy-cy-box-icon-2 { | | .mediawiki .bili-game-header-nav-search { |
| opacity: 0; | | position: relative; |
| position: absolute; | | background: url(https://patchwiki.biligame.com/images/wukong/d/d1/ly326npb5sjd51rkd2slkdtnyt7io6u.png) center no-repeat; |
| left: 0;
| | background-size: 108% 128%; |
| top: 0; | | opacity: 0.7; |
| transition: all 0.5s; | |
| } | | } |
| .sy-cy-box-icon-1:hover .sy-cy-box-icon-2 { | | .mediawiki .bili-game-header-nav-search input::placeholder { |
| opacity: 1;
| | 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; |
| } | | } |
| @media only screen and (max-width:767px){
| | |
| .sy-cy-box {
| | /* header 我的消息 和 关于本站 的颜色,暗色主题适配 */ |
| margin-left: -3px;
| | .mediawiki #pt-notifications-alert a, |
| margin-right: -3px;
| | .mediawiki .about-site .about-site-title{ |
| } | | color: var(--font-color) !important; |
| .sy-cy-box-icon {
| |
| padding: 3px;
| |
| }
| |
| } | | } |
| @media only screen and (min-width: 768px) and (max-width: 991px) {
| | .about-site .about-site-des{ |
| .sy-cy-box {
| | background: var(--bg-color); |
| margin-left: -5px;
| | color: var(--font-color); |
| margin-right: -5px;
| |
| } | |
| .sy-cy-box-icon {
| |
| padding: 5px;
| |
| }
| |
| } | | } |
| /*首页轮播图*/
| | .about-site .about-site-des a{ |
| .carousel.big-carousel { | | color: var(--a-color) |
| margin-bottom: 20px;
| |
| } | | } |
| .carousel.big-carousel .carousel-indicators li, .carousel.big-carousel .carousel-indicators li.active { | | |
| width: calc(100% / 6 - 0.6em);
| | |
| height: 8px;
| | /* 关于本站 移动到顶部后的样式 */ |
| border-radius: 0;
| | .bili-game-header-nav .about-site { |
| border: none;
| | position: static; |
| background-color: #6C7A99;
| |
| } | | } |
| .carousel.big-carousel .carousel-indicators li.active { | | .bili-game-header-nav .about-site .about-site-des { |
| background-color: #fff;
| | width: 230px; |
| | right: unset; |
| | top: unset; |
| } | | } |
| .carousel.big-carousel .carousel-indicators { | | .bili-game-header-nav .about-site .about-site-des a { |
| transform: translateX(-50%);
| | display: inline-block !important; |
| margin: 0;
| |
| bottom: -18px;
| |
| } | | } |
| @media only screen and (max-width: 767px) {
| | |
| .carousel.big-carousel .carousel-indicators li, .carousel.big-carousel .carousel-indicators li.active {
| | .bili-game-header-nav .about-site .about-site-title { |
| height: 5px;
| | color: rgb(24 25 28 / 90%); |
| }
| |
| .carousel.big-carousel .carousel-indicators {
| |
| bottom: -15px;
| |
| }
| |
| } | | } |
| .sy-lbt-border-1, .sy-lbt-border-2{ | | |
| border: 4px solid rgb(255,255,255,0.5);
| | /* 我的消息 移动到顶部后的样式 */ |
| position: absolute;
| | .mediawiki .bili-game-header-nav #p-personal { |
| width: 20px;
| | position: static; |
| height: 20px;
| |
| pointer-events: none;
| |
| } | | } |
| .sy-lbt-border-1{ | | .mediawiki .bili-game-header-nav #p-personal #pt-notifications-alert { |
| border-top: none;
| | margin: 0; |
| border-left: none;
| | padding: 0; |
| right: 0px;
| | position: relative; |
| bottom: 0px;
| | top: unset; |
| | line-height: unset; |
| | width: unset; |
| } | | } |
| .sy-lbt-border-2{ | | .bili-game-header-nav #pt-notifications-alert a { |
| border-bottom: none;
| | color: rgb(24 25 28 / 90%) !important; |
| border-right: none;
| |
| left: 0px;
| |
| top: 0px;
| |
| } | | } |
| /*首页更新日志*/ | | |
| .update-log .log-title{ | | /* 我的消息 移动端图标,在768px以上不显示,因为下方强制显示了电脑版本 */ |
| display: none;
| | /* 关于本站 按钮,强制在768以上宽度显示 */ |
| | @media screen and (min-width: 768px) { |
| | #navNote, .mobile-mask, .mobile-operation { |
| | display: none; |
| | } |
| | .about-site { |
| | display: block !important; |
| | } |
| } | | } |
| .update-log .bili-list-group .bili-list-group-item .log-label { | | /* 强制显示顶部导航栏中的 我的消息 (否则会窄屏自动隐藏,强制显示后可以与顶部导航共存亡)*/ |
| border-radius:0;
| | .bili-game-header-nav #p-personal .mw-echo-notification-badge-nojs{ |
| | display: block !important; |
| } | | } |
| /*首页新闻列表*/ | | |
| .page-首页 .bili-list-order .list-order-content:before { | | |
| margin-right:5px;
| | /* 尽量保证顶部导航栏显示。默认窄了会隐藏 */ |
| | @media screen and (min-width: 768px) { |
| | .mediawiki > .visible-md-block.visible-lg-block { |
| | display: block !important; |
| | } |
| } | | } |
| .page-首页 .bili-list-order .list-order-content:hover { | | |
| text-decoration: underline;
| | /* === 导航栏 Sidebar === */ |
| color: #4CC3FF !important;
| | .wiki-header .wiki-nav-celling{ /* 隐藏页面滚动后的导航栏 */ |
| | /*top: -50px;*/ |
| | top: -300px; /* 50px就够,但罕见情况可能导致搜索框被挤下来,写大点保险 */ |
| } | | } |
| .circle-grey:before{ | | /* 缩窄下滑后上方导航栏的宽度 */ |
| background: rgb(0,0,0,0.16)!important;
| | /* .wiki-nav.wiki-nav-celling #simpleSearch1 { |
| | width: 179px; |
| | } */ |
| | /* 如果不隐藏滚动后固定在顶部的导航栏,为其设置透明黑色背景色 */ |
| | /* .wiki-header .wiki-nav-celling { |
| | background: #000000c4; |
| | } */ |
| | |
| | /* 移动端导航栏 */ |
| | .navbar-default .navbar-toggle .icon-bar{ |
| | background: white; |
| } | | } |
| .circle-blue:before{
| | #navNote{ |
| background: #4cc3ff!important;
| | filter: invert(100%) hue-rotate(180deg); |
| } | | } |
| /*首页攻略文章*/
| | #navSearch.visible-xs{ |
| .sy-gl-box { | | filter: invert(100%) hue-rotate(180deg); |
| padding: 2px; | |
| margin: 10px 0;
| |
| } | | } |
| .sy-gl-title { | | |
| color: #fff; | | |
| margin: 0 -2px; | | /* 搜索框 */ |
| height: 25px; | | .mediawiki .wiki-header .wiki-nav .nav-search-box { /* 导航栏搜索框背景 */ |
| position: relative;
| | padding: 0; |
| font-weight: bold; | | border: none; |
| font-size: 18px; | | background: url(https://patchwiki.biligame.com/images/wukong/d/d1/ly326npb5sjd51rkd2slkdtnyt7io6u.png) no-repeat; |
| line-height: 34px; | | background-color: transparent !important; |
| letter-spacing: 1px;
| | background-size: 108% 128%; |
| | background-position: -8px -3px; |
| } | | } |
| .sy-gl-title-1 {
| | #simpleSearch1 #searchInput{ /* 导航栏搜索框 输入框的大小和文字颜色 */ |
| background: #5297A9; | | line-height: 48px; |
| | height: 48px; |
| | width: 85%; |
| | color:var(--font-color); |
| } | | } |
| .sy-gl-title-2 {
| | #simpleSearch1, #searchButton, #searchDelete{ /* 移除搜索框在鼠标移入时的背景 */ |
| background: #B076A1; | | background-color:unset !important; |
| } | | } |
| .sy-gl-text {
| | #searchInput:focus, #simpleSearch:hover #searchInput:focus{ /* 移除搜索框激活时的边框 */ |
| position: absolute;
| | box-shadow: none; |
| left: 0;
| |
| right: 33px;
| |
| top: -4.5px;
| |
| bottom: -4.5px;
| |
| padding-left: 15px;
| |
| background-repeat: no-repeat;
| |
| background-size: 100% 34px; | |
| } | | } |
| .sy-gl-text-1 {
| | #simpleSearch1 #searchDelete{ /* 搜索框删除按钮,反色 */ |
| background-image: url(https://patchwiki.biligame.com/images/blhx/1/1f/b71v0pg8ps22k9jtcxgrzx9j8azvmot.png); | | filter: invert(80%); |
| | opacity: 0.6; |
| } | | } |
| .sy-gl-text-2 {
| | #simpleSearch1 #searchButton{ /* 搜索框搜索按钮,反色 */ |
| background-image: url(https://patchwiki.biligame.com/images/blhx/5/55/r1z4nwdy7xkiswu5jbl22kbwagb5qd1.png); | | filter: invert(60%); |
| | opacity: 0.8; |
| } | | } |
| .sy-gl-an { | | .mediawiki .wiki-nav{ /* 移除导航栏上下边框 */ |
| position: absolute;
| | border: none; |
| top: 2px;
| |
| right: 5px;
| |
| width: 21px;
| |
| height: 21px;
| |
| background: url(https://patchwiki.biligame.com/images/blhx/0/07/ov7nabiucdfel3u954f9oscj1hj7ksz.png);
| |
| background-size: contain; | |
| background-repeat: no-repeat;
| |
| background-position: center;
| |
| } | | } |
| .sy-gl-content { | | .suggestions-results, |
| overflow: hidden; | | .suggestions-special{ /* 搜索栏下放列出的搜索建议 */ |
| white-space: nowrap; | | background: var(--bg-color); |
| text-overflow: clip;
| | color: var(--font-color); |
| border: 1.5px solid #a8b6d1; | | border: solid 1px #555; |
| border-top: none; | | margin-top:3px |
| padding: 5px 0 0 4px;
| |
| } | | } |
| .sy-gl-content-1 { | | .suggestions-result, |
| background: rgb(192 214 223 / 60%); | | .suggestions-special .special-query{ |
| | color: var(--font-color); |
| } | | } |
| .sy-gl-content-2 { | | .suggestions-result-current, |
| background: rgb(216 203 220 / 60%); | | .suggestions-result-current .special-query{ |
| | background: var(--bg-color); |
| | color: var(--a-color); |
| } | | } |
| .sy-gl-content a:hover span, | | |
| .sy-gl-content span:hover a,
| | |
| #gametutorials a:hover span,
| | /* 导航栏 一级按钮 */ |
| #gametutorials span:hover a {
| | .mediawiki .menu-wrap .wiki-menu-li-1>a{ /* 一级导航文字 */ |
| text-decoration: underline; | | color: var(--font-color); |
| color: #4CC3FF!important; | | font-size: 1.2em; |
| } | | } |
| /*首页剧情/考究/同人区*/ | | .mediawiki .menu-wrap .wiki-menu-li-1 a .caret{/* 隐藏 ▲ 小箭头,因为hover时使用了墨迹背景,这可以让文字更居中 */ |
| .sy-ex-content {
| | display: none; |
| display: flex; | |
| flex-wrap: wrap;
| |
| justify-content: center;
| |
| } | | } |
| .sy-ex-content > div { | | .mediawiki .menu-wrap .wiki-menu-li-1.title_active { /* 白色墨迹背景 文件:Button-primary-white.png */ |
| margin: 5px 0; | | background: round url('https://patchwiki.biligame.com/images/wukong/0/0d/darlo5cge1cluktfi4yi9qkw9mipsog.png'); |
| width: 100%;
| |
| } | | } |
| @media only screen and (max-width:767px) and (min-width:501px) {
| | .mediawiki .menu-wrap .wiki-menu-li-1.title_active>a{ /* hover时文字颜色为黑色 */ |
| .sy-ex-content > div {
| | color: #000000; |
| margin: 5px;
| |
| width: calc(50% - 10px);
| |
| }
| |
| } | | } |
| /*首页词条框*/ | | |
| .sy-box { | | |
| position: relative; | | /* 二级菜单 */ |
| width: calc(100% - 10px);
| | .mediawiki .menu-wrap .wiki-menu-li-1 .wiki-menu-ul-2 .wiki-menu-li-2 a{ /* 文字颜色 */ |
| margin:10px 5px; | | color: var(--font-color); |
| box-shadow: 0 0 6px 4px rgb(65,69,88,0.2);
| | font-size: 1.1em; |
| } | | } |
| .sy-box-title-1 { | | .mediawiki .menu-wrap .wiki-menu-li-1 .wiki-menu-ul-2 .wiki-menu-li-2:hover a{ /* 文字颜色 */ |
| width: 100%; | | color: var(--a-hover-color); |
| height: 38px;
| |
| line-height: 32px;
| |
| position: relative;
| |
| } | | } |
| .sy-box-title-1-1 { | | .mediawiki .menu-wrap .wiki-menu-li-2:before{ /* 噪声边框使用 before + 背景filter实现。奇偶使用不同的参数避免重复 */ |
| background: rgb(188 202 227 / 50%); | | background-image: radial-gradient(var(--bg-color),var(--bg-color)); |
| | content: ' '; |
| position: absolute; | | position: absolute; |
| right: 0; | | top: 0px; |
| bottom: 0; | | right: 0px; |
| width: calc(48% + 52% * 0.065 * 13 / 19); | | bottom: 0px; |
| height: 26px; | | left: 0px; |
| padding: 2px; | | z-index: -3; |
| padding-left: 0px; | | display: block; |
| clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 4.5% 100%); | | /*margin: -3px 3px 0;*/ |
| | margin: -3px -3px 0 -5px; |
| } | | } |
| .sy-box-title-1-2 { | | .mediawiki .menu-wrap .wiki-menu-li-2:nth-child(odd):before{ /* 背景色,以及噪声边 */ |
| display: flex;
| | 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"); |
| width: 100%;
| |
| height: 18px; | |
| background-image: url(https://patchwiki.biligame.com/images/blhx/e/ef/hbxic5zvcsr14pehqq5y7k8c5kyu4m8.png);
| |
| background-repeat: no-repeat;
| |
| background-size: 100% 18px;
| |
| background-position: right;
| |
| } | | } |
| .sy-box-title-1-3 { | | .mediawiki .menu-wrap .wiki-menu-li-2:nth-child(even):before{ /* 背景色,以及噪声边,奇偶参数略有不同 */ |
| background: rgb(188 202 227 / 50%);
| | 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"); |
| position: absolute;
| |
| left: 0; | |
| width: 52%;
| |
| padding: 2px;
| |
| padding-right: 5px;
| |
| clip-path: polygon(0% 0%, 93.5% 0%, 100% 100%, 0% 100%);
| |
| } | | } |
| .sy-box-title-1-4 { | | .mediawiki .menu-wrap .wiki-menu-li-2.li_active:before{ /* 为激活的二级菜单增加渐变背景 */ |
| font-family: "Source Han Serif","Source Han Serif SC","sourceHanSansCN","Microsoft YaHei",serif; | | background-image: radial-gradient(#444444,var(--bg-color)); |
| display: flex;
| | z-index: -1; |
| align-items: center;
| |
| flex-wrap: nowrap;
| |
| color: #fff;
| |
| font-size: 20px;
| |
| font-weight: bold;
| |
| padding-left: 10px;
| |
| padding-bottom: 1px;
| |
| width: 100%;
| |
| height: 34px;
| |
| letter-spacing: 3px;
| |
| background-image: url(https://patchwiki.biligame.com/images/blhx/2/27/58lyczo4ml8mq6y4bzkix0a371mjp8g.png);
| |
| background-repeat: no-repeat; | |
| background-size: 100% 34px;
| |
| background-position: left;
| |
| } | | } |
| .sy-box-ex { | | |
| position: absolute;
| | /* 手机菜单 */ |
| left: -2px;
| | .mediawiki .mobile-nav-menu, |
| top: -2px;
| | .mediawiki .mobile-nav-menu .ul-menu-2 { |
| width: 6px;
| | background: var(--bg-color); |
| height: 6px;
| |
| background: url(https://patchwiki.biligame.com/images/blhx/5/57/e9doc0qb3kjcovzt1wohir6cauh2exs.png);
| |
| background-size: cover;
| |
| } | | } |
| .sy-box-border { | | .mediawiki .mobile-nav-menu a:not(.menu-title-1) { |
| border: 2px solid rgb(255,255,255,0.5);
| | color: var(--font-color) !important; |
| position: absolute;
| |
| top: -4px;
| |
| left: -4px;
| |
| right: -4px;
| |
| bottom: 4px;
| |
| pointer-events: none;
| |
| } | | } |
| .sy-box-title-2 { | | .mediawiki .mobile-nav-menu .bg-c { |
| height: 35px;
| | background: var(--a-hover-color); |
| margin-bottom: -5px;
| |
| margin-left: -11px;
| |
| } | | } |
| .sy-box-title-2-1 { | | |
| position: absolute;
| | .mediawiki .mobile-nav-menu .bg-c>a:not(.menu-title-1) { |
| width: 80px;
| | color: white !important; |
| color: #fff;
| |
| font-size: 15px;
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| height: 35px;
| |
| padding-left: 7px;
| |
| padding-right: 12px;
| |
| font-weight: bold;
| |
| background: url(https://patchwiki.biligame.com/images/blhx/c/ce/1zp3e01ngo1n8shktg6xnlklwsfmfcj.png);
| |
| background-size: contain;
| |
| background-repeat: no-repeat;
| |
| background-position: center;
| |
| } | | } |
| .sy-box-content { | | |
| background: rgb(188 202 227 / 50%); | | /* 「Wiki功能」 菜单 */ |
| width:100%;
| | .vectorMenu li a:hover { |
| padding:0 5px 10px;
| | background-color: var(--a-hover-color); |
| } | | } |
| .sy-box-content-1 {
| | #firstHeadingTools { |
| padding: 0 5px;
| | border-bottom: 1px solid #a2a9b14a; /* 减弱wiki功能菜单栏下方的边框 */ |
| display: inline-block;
| |
| width: 100%;
| |
| } | | } |
| @media only screen and (max-width:600px) {
| | .firstHeadingTools .vectorMenu h3 .glyphicon-menu-down { |
| .sy-box-title-1-1 {
| | top: 15px; |
| width: calc(48% + 52% * 0.11 * 13 / 19);
| | right: 10px; |
| clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 7.5% 100%);
| |
| }
| |
| .sy-box-title-1-2 {
| |
| background-image: url(https://patchwiki.biligame.com/images/blhx/4/4c/2madcboi4uz95joxebbtg7k96l6ehld.png);
| |
| }
| |
| .sy-box-title-1-3 {
| |
| clip-path: polygon(0% 0%, 89% 0%, 100% 100%, 0% 100%);
| |
| } | |
| .sy-box-title-1-4 {
| |
| background-image: url(https://patchwiki.biligame.com/images/blhx/e/e5/4cdkpkl8jrf3o3po2xyxp4mruhyvqf6.png);
| |
| } | |
| .sy-box-content-1 {
| |
| padding: 0;
| |
| }
| |
| } | | } |
| /*首页词条*/ | | |
| .sy-ct { | | /* 评论 */ |
| float: left; | | .comments-title { |
| width: calc(25% - 4px);
| | border-bottom: 1px solid var(--font-color); |
| margin: 2px;
| |
| } | | } |
| .sy-ct-1 { | | .comment-body textarea, |
| display: inline-block;
| | .comment-toolbar{ |
| color: rgb(0, 0, 0, 0.85);
| | background: #232323; |
| line-height: 25px;
| |
| max-width: 100%;
| |
| white-space: nowrap;
| |
| overflow: hidden; | |
| text-overflow: ellipsis;
| |
| } | | } |
| .sy-ct-1:before { | | .comment-submit{ /* 提交按钮 */ |
| content: " "; | | border:1px solid #232323; |
| display: inline-block;
| | font-size: 1.5em; |
| background: rgb(0,0,0,0.16);
| | text-shadow: none; |
| width: 10px;
| |
| height: 10px;
| |
| margin-right: 5px;
| |
| border-radius: 50%;
| |
| } | | } |
| .sy-ct-2:before { | | .comment-submit:hover { |
| background: #4cc3ff;
| | 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; |
| } | | } |
| .sy-ct-1:hover {
| | :focus { /* 提交框 */ |
| text-decoration: underline; | | outline-color: #ddbf6f; |
| color: #4CC3FF;
| |
| } | | } |
| .sy-dt-box { | | /* 手机评论区 底部输入框颜色 */ |
| width: 100%; | | .mediawiki .h5-wiki-comment { |
| overflow: hidden; | | background: #1b1b1b; |
| margin: -8px 0 -2px; | | } |
| | .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; |
| } | | } |
| .sy-ct-3 { | | |
| | .footer-public:before{ /* 页尾图片 */ |
| | content: ""; |
| | display: block; |
| | pointer-events: none; |
| | height: 550px; |
| position: relative; | | position: relative; |
| float: left; | | 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'); |
| width: calc(50% - 8px);
| | background-repeat: no-repeat; |
| margin:2px 4px;
| | background-size: 100% auto; |
| font-weight: bold;
| |
| font-size: 15px;
| |
| height: 45px;
| |
| line-height: 45px;
| |
| padding-left: 60px; | |
| padding-right: 60px;
| |
| background-size: 61px 45px,64px 45px,100% 45px; | |
| background-clip: border-box,border-box,content-box;
| |
| background-position: left,right,center;
| |
| background-repeat: no-repeat,no-repeat,repeat-x;
| |
| } | | } |
| .sy-ct-3 > span { | | .footer-public{ |
| position: absolute; | | background: unset; |
| top: 0;
| |
| bottom: 0;
| |
| left: 10px;
| |
| right: 50px;
| |
| display: flex;
| |
| align-items: center;
| |
| } | | } |
| .sy-ct-3 > span > a {
| | /* 窄屏幕仍然显示底部footer图片 */ |
| color: #fff;
| | @media (max-width: 992px){ |
| white-space: nowrap;
| | .mediawiki .footer-public{ |
| overflow: hidden; | | display: block !important; |
| text-overflow: ellipsis;
| | } |
| }
| | .mediawiki .footer-box{ /* 保持底部信息不显示 */ |
| .sy-ct-3 > span > a:hover { | | display: none; |
| text-decoration: underline;
| | } |
| color: #4CC3FF; | | .footer-public:before { |
| } | | height: 200px; |
| .sy-ct-3 {
| |
| background-image: url(https://patchwiki.biligame.com/images/blhx/5/56/2u89fhaxt3ui2fdgizp7rgqjdwj7ol4.png),url(https://patchwiki.biligame.com/images/blhx/c/c8/ovv58pecup6vma3fmz6mos6r1flj4o5.png),url(https://patchwiki.biligame.com/images/blhx/4/4c/47labbmqrtzk7xjsre9sk61do9105lo.png); | |
| }
| |
| .sy-ct-4 {
| |
| background-image: url(https://patchwiki.biligame.com/images/blhx/5/56/2u89fhaxt3ui2fdgizp7rgqjdwj7ol4.png),url(https://patchwiki.biligame.com/images/blhx/b/b2/7z1fj2rw7flxfmy0l2zdaqvzid5f55t.png),url(https://patchwiki.biligame.com/images/blhx/4/4c/47labbmqrtzk7xjsre9sk61do9105lo.png);
| |
| } | |
| .sy-ct-5 {
| |
| background-image: url(https://patchwiki.biligame.com/images/blhx/5/56/2u89fhaxt3ui2fdgizp7rgqjdwj7ol4.png),url(https://patchwiki.biligame.com/images/blhx/2/25/tr1mpku9h6wvo2ilv2yx5eqgl1liq5t.png),url(https://patchwiki.biligame.com/images/blhx/4/4c/47labbmqrtzk7xjsre9sk61do9105lo.png); | |
| }
| |
| @media only screen and (max-width:600px) {
| |
| .sy-ct {
| |
| width: calc(100% / 3 - 4px);
| |
| } | | } |
| .sy-ct-3 { | | .footer-public .footer-box { |
| width: 100%;
| | max-width: 95%; |
| margin:2px 0;
| |
| } | | } |
| } | | } |
| /*首页内容框背景*/ | | |
| .sy-content-background { | | |
| background: url(https://patchwiki.biligame.com/images/blhx/8/82/d33x7m7356v7oxch809b8cib6xra2e7.png);
| | /* 页面 杂项 */ |
| background-position: bottom center;
| | .catlinks{ /* 分类 (位于页尾 */ |
| background-repeat: no-repeat;
| | background: none; |
| background-size: contain; | |
| } | | } |
| /*首页用户关注按钮*/
| | .catlinks .mw-normal-catlinks > ul > li { /* 多个分类之间的分割线,用了相同颜色 */ |
| .page-首页 .user-follow-wrap { | | border-left: 1px solid #a2a9b1; |
| width: 100%; | |
| background: transparent;
| |
| border: none;
| |
| margin: 0;
| |
| } | | } |
| .page-首页 .user-follow-wrap .user-item-detail {
| | #catlinks a { |
| background-color: transparent;
| | color: #3e85de; |
| padding: 10px;
| |
| } | | } |
| .page-首页 .user-follow-wrap .user-item-detail .detail-follow-normal {
| | #catlinks a:hover { |
| border: none;
| | color: #ddbf6f; |
| } | | } |
| .page-首页 .user-follow-wrap .user-item-detail .detail-des { | | #catlinks a.new { |
| padding-right: 10px;
| | color: #dd3333; |
| } | | } |
| /*首页样式结束*/
| | #catlinks a.new:hover { |
| /* -------------------------------------------------- */
| | color: #dd3333; |
| /* -------------------------------------------------- */
| |
| | |
| /* -------------------------------------------------- */
| |
| /* -------------------------------------------------- */
| |
| /*全局样式修正开始*/
| |
| /* Firefox浏览器样式调整 */
| |
| .wiki-hoverbox-inner,.wiki-menu-ul-2 { | |
| scrollbar-width: thin;
| |
| scrollbar-color: rgb(77, 77, 77) rgb(0, 0, 0);
| |
| } | | } |
| | | #catlinks { |
| /*图片调整*/ | | border: none; /* 分类栏的边框,移除 */ |
| img{
| |
| max-width: 100%;
| |
| height: auto;
| |
| margin: 0 auto;
| |
| text-align: center;
| |
| } | | } |
|
| |
|
| /*修正手机端样式 新版本bootstrap已修复
| | .rank-item-detail-wrap span { /* 贡献者浮窗的文字颜色,适配 localusercard */ |
| @media only screen and (max-width:759px){
| | color: black; |
| .row {
| |
| margin-right: -15px;
| |
| margin-left: -15px;
| |
| }
| |
| }*/
| |
| | |
| /*屏蔽会员购*/ | |
| #bili-header-m .nav-wrapper-left li:not([report-id=playpage_main]),
| |
| #bili-header-m .nav-wrapper-right li[report-id=big_tab_click] {
| |
| display: none; | |
| } | | } |
| | | #redirectsub{ |
| /*隐藏app打开*/
| | color: var(--font-color); |
| .app-download-bar{
| |
| display: none!important; | |
| }
| |
| .btn-open-app{
| |
| display: none!important;
| |
| } | | } |
|
| |
|
| /*讨论版临时修正*/ | | /* 图片 缩略图 暗色主题 */ |
| .flow-board-navigation{ | | div.thumbinner{ |
| display:none
| | background: none; |
| | border: 1px solid #373737; |
| } | | } |
| /* 修正已提交版主审核的通知弹出框 */
| | html .thumbimage{ |
| .postedit { | | border: none; |
| margin-top: 50px; | |
| } | | } |
| | | /* gallery slideshow 的按钮是黑色图片,反色成白色 */ |
| /*标题行高调整*/ | | .mediawiki .mw-gallery-slideshow-buttons.oo-ui-layout.oo-ui-panelLayout { |
| .mw-content-ltr h2 span.mw-headline, | | filter: invert(100%) hue-rotate(180deg); |
| .mw-content-ltr h3 span.mw-headline, | |
| .mw-content-ltr h4 span.mw-headline { | |
| padding-top: 0; | |
| margin-top: 0;
| |
| } | | } |
|
| |
|
| /*修正gallery边框问题*/
| | li.gallerybox div.thumb { |
| .mw-parser-output ul.gallery { | | border: 1px solid #555; |
| margin: 0;
| | background-color: transparent; |
| padding: 0;
| |
| display: block;
| |
| } | | } |
|
| |
|
| /*修复水平分割线样式冲突问题*/
| |
| .mw-parser-output hr {
| |
| height: 0.8px;
| |
| }
| |
|
| |
|
| /*缩略图调整*/
| |
| @media only screen and (max-width: 600px) {
| |
| div.thumbinner {
| |
| max-width: 45vw;
| |
| }
| |
| }
| |
| div.tleft {
| |
| margin-right: 0.5em;
| |
| margin-top: 0;
| |
| margin-bottom: 0.5em;
| |
| }
| |
| div.tright {
| |
| margin-left: 0.5em;
| |
| margin-top: 0;
| |
| margin-bottom: 0.5em;
| |
| }
| |
|
| |
|
| /*隐藏可视化编辑*/ | | /* 用户卡片适配暗色主题 */ |
| li#ca-ve-edit {
| | .user-follow-wrap{ |
| display: none!important;
| | border: 1px solid #424242; |
| } | | } |
| a.mw-editsection-visualeditor {
| | .user-follow-wrap .user-item-detail { |
| display: none!important;
| | background-color: var(--bg-color); |
| } | | } |
| span.mw-editsection-divider {
| | .user-follow-wrap .user-item-detail .detail-des .des-name { |
| display: none;
| | color:white; |
| } | | } |
| | .user-follow-wrap .user-item-detail .detail-follow-normal { |
| | background: #ddbf6f; |
| | color: #000; |
| | } |
|
| |
|
| /*中屏幕搜索栏调整*/ | | /* |
| @media only screen and (max-width: 768px) {
| |
| input#searchInput {
| |
| padding: 1.5rem 0!important;
| |
| }
| |
| }
| |
|
| |
|
| /*修正tabber样式*/
| | == 标签 == |
| ul.tabbernav {
| |
| line-height: 1.5;
| |
| font-size: 13px;
| |
| }
| |
| ul.tabbernav li {
| |
| margin-top: 5px;
| |
| }
| |
| ul.tabbernav li a {
| |
| padding: 4px 0.5em;
| |
| margin: 0 1px;
| |
| }
| |
| ul.tabbernav li a:link,ul.tabbernav li a {
| |
| color: #0645ad!important;
| |
| }
| |
| ul.tabbernav li.tabberactive a:link,ul.tabbernav li.tabberactive a {
| |
| color: #000!important;
| |
| }
| |
| .tabber .tabbertab {
| |
| margin: 0 1px;
| |
| }
| |
|
| |
|
| /*调整info信息框高*/
| | */ |
| .tippy-content-container {
| |
| max-height: 525px;
| |
| }
| |
|
| |
|
| /*修正小屏幕画廊宽度超出屏幕问题*/ | | /* 标题风格化(主页可能使用了单独的css样式) */ |
| li.gallerybox {
| | #content h1 { |
| max-width: 100%; | | 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; |
| } | | } |
| li.gallerybox div {
| | /* h2 标题 风格化*/ |
| max-width: 100%; | | #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; |
| } | | } |
| li.gallerybox div.thumb {
| | #bodyContent h2::before { |
| margin: auto; | | 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: ""; |
| .mw-body .firstHeading, | | display: block; |
| a.mw-changeslist-title,
| | height: 3px; |
| .mw-changeslist-log-entry a.new, | | 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"); |
| td.mw-enhanced-rc-nested,
| | background-repeat: no-repeat; |
| span.comment,
| | margin-top: -2px; |
| .fl.log-content, | | margin-left: 26px; |
| .mw-changeslist-line-inner-userLink bdi{ | |
| word-break: break-all;
| |
| } | | } |
| | | #bodyContent #toc h2:before, |
| /*修正wikitable边框粗细问题*/
| | #bodyContent #toc h2:after{ |
| .wikitable {
| | display: none; |
| border-width: 0.8px!important; | |
| } | | } |
| .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { | | /* 章节编辑按钮 悬浮出现*/ |
| border-width: 0.8px!important;
| | h2 .mw-editsection, h3 .mw-editsection, h4 .mw-editsection, h5 .mw-editsection { |
| | opacity: 0; |
| } | | } |
| | | h2:hover .mw-editsection, h3:hover .mw-editsection, h4:hover .mw-editsection, h5:hover .mw-editsection { |
| /*修正部分屏幕侧边导航位置错误*/
| | opacity: 1; |
| .bui-sns-info { | | transition: opacity 0.5s; |
| margin-left: 1230px!important;
| |
| } | | } |
|
| |
|
| /*调整blockquote边框颜色*/ | | /* 表格样式 */ |
| blockquote {
| | .mediawiki .wikitable{ |
| border-color: rgb(188 191 194 / 80%);
| | 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; |
| @media screen and (max-width: 600px){
| |
| .wiki-componment-rank{
| |
| justify-content: normal;
| |
| padding-left: 80px;
| |
| margin-bottom: 15px;
| |
| padding-bottom: 10px;
| |
| border-bottom: 1px solid rgba(0,0,0,.1);
| |
| }
| |
| } | | } |
| | | .mediawiki .wikitable th{ |
| /*微调手机端目录*/
| | color: #ddbf6f; |
| @media screen and (max-width: 600px) {
| | padding: 10px 15px; |
| #toc ul>li.toclevel-1 {
| | background: #8a86831a; |
| margin-left: 15px;
| | 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; |
| @media screen and (max-width: 600px) {
| | font-size: 16px; |
| #toc {
| |
| z-index: 999!important;
| |
| }
| |
| } | | } |
| @media screen and (max-width: 767px) {
| | .wikitable, |
| .mobile-nav-menu { | | .wikitable > tr > th, .wikitable > * > tr > th, |
| z-index: 999!important;
| | .mw-datatable td, |
| }
| | .mw-datatable tr:hover td{ |
| | color: var(--font-color); |
| } | | } |
| .mobile-mask {
| |
| z-index: 998!important;
| |
| }
| |
|
| |
| /*隐藏评论区
| |
| .post-content,.comment-component {
| |
| display: none!important;
| |
| }*/
| |
| /*全局样式修正结束*/
| |
| /* -------------------------------------------------- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* 部分页面的表格内边距需要更大 */ |
| /* -------------------------------------------------- */
| | .client-js .mediawiki .wikitable.sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), |
| /*追加样式开始*/
| | .mediawiki .wikitable.jquery-tablesorter th.headerSort{ |
| /* -------------------------------------------------- */
| | padding-right: 21px; |
| /* ==anchor== */
| |
| .anchor {padding:30px 111px;}
| |
| .anchor-main {width:100%;margin:0 auto;}
| |
| .anchor-main2 {
| |
| margin: 0px auto;
| |
| width: 100%;
| |
| text-align: center;
| |
| padding: 0px 130px;
| |
| }
| |
| .anchor a {display:block;width:100px;height:42px;float:left;margin-right:20px;background:url(https://patchwiki.biligame.com/images/blhx/d/da/0uvqbmshuyo2uv7x8ubppr2e72urqy8.png) no-repeat 0 0;color: #fff;font-size:16px;line-height:42px;text-align:center;margin: 0px 10px 10px 0px;} | |
| .anchor a:hover {background-position:0 -42px;} | |
| .anchor a:nth-child(2) {background-position:0 -84px;} | |
| .anchor a:nth-child(2):hover {background-position:0 -126px;} | |
| .anchor a:nth-child(3) {background-position:0 -168px;}
| |
| .anchor a:nth-child(3):hover {background-position:0 -210px;}
| |
| .anchor a:nth-child(4) {background-position:0 -252px;}
| |
| .anchor a:nth-child(4):hover {background-position:0 -294px;} | |
| .anchor a:nth-child(5) {background-position:0 -336px;} | |
| .anchor a:nth-child(5):hover {background-position:0 -378px;} | |
| .anchor a:nth-child(6) {background-position:0 -168px;} | |
| .anchor a:nth-child(6):hover {background-position:0 -210px;}
| |
| .anchor a:nth-child(7) {background-position:0 -84px;}
| |
| .anchor a:nth-child(7):hover {background-position:0 -126px;}
| |
| .anchor a:nth-child(8) {background-position:0 -168px;;margin:0;}
| |
| .anchor a:nth-child(8):hover {background-position:0 -210px;} | |
| /*IE8*/ | |
| .anchor a+a {background-position:0 -84px;}
| |
| .anchor a+a:hover {background-position:0 -126px;}
| |
| .anchor a+a+a {background-position:0 -168px;}
| |
| .anchor a+a+a:hover {background-position:0 -210px;}
| |
| .anchor a+a+a+a {background-position:0 -252px;}
| |
| .anchor a+a+a+a:hover {background-position:0 -294px;}
| |
| .anchor a+a+a+a+a {background-position:0 -336px;}
| |
| .anchor a+a+a+a+a:hover{background-position:0 -378px;}
| |
| .anchor a+a+a+a+a+a {background-position:0 -168px;}
| |
| .anchor a+a+a+a+a+a:hover {background-position:0 -210px;}
| |
| .anchor a+a+a+a+a+a+a {background-position:0 -84px;}
| |
| .anchor a+a+a+a+a+a+a:hover {background-position:0 -126px;}
| |
| .anchor a+a+a+a+a+a+a+a {background-position:0 -168px;;margin:0;}
| |
| .anchor a+a+a+a+a+a+a+a:hover {background-position:0 -210px;}
| |
| @media only screen and (max-width: 480px){
| |
| .anchor-main, .anchor-main2 {width:auto;}
| |
| .anchor a {margin-right: 5px;margin-bottom: 5px;}
| |
| } | | } |
| /* --anchor-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /*用途不明*/
| |
| /* -------------------------------------------------- */
| |
| .down-main {padding:40px;border:20px solid #e7e7e7;margin-top:20px;}
| |
| .down-main-left {width:266px;padding-right:40px;color:#6a6b6c;line-height:26px;text-align:center;}
| |
| .down-main-left p {text-align:left;}
| |
| .download-title {font-size:20px;color:#333;height:40px;}
| |
| .download-title span {color:#666;padding-left:10px;}
| |
| .downloadbtn {background: #7d6a58 none repeat scroll 0 0;color: #fff !important;display: block;font-size: 18px;height: 40px;line-height: 40px;margin: 10px 0;outline: 2px outset #a99580;outline-offset: 0;text-align: center;width: 82px;}
| |
| .downloadbtn:hover {background:#4ca046;outline: #72cb6b outset 2px;text-decoration:none !important;}
| |
| .appdownload {display:block;width:253px;height:54px;background:url(https://patchwiki.biligame.com/images/blhx/7/7f/ic04ban51mw8r9cp8lnp7eaolcmm55v.jpg) no-repeat 0 0;text-indent:-999em;margin-bottom:35px;}
| |
| .appdownload:hover {background-position:0 -54px;}
| |
| .wiki_hide .appdownload {margin:0 auto 35px;}
| |
| .wiki_hide .downloadbtn {margin:10px auto;}
| |
|
| |
|
| | | /* reference 增加间隙 */ |
| .tt-style cite {font-style: normal;width: 115px;text-align: center;line-height: 35px;color: #cbb791;font-weight: bolder;font-size: 18px;background: url(https://patchwiki.biligame.com/images/blhx/5/57/ryhhrcbybauwnupov5kj08l90i80cnc.png) center no-repeat;padding: 15px;-webkit-text-shadow:2px 0 2px #574738;-moz-text-shadow:2px 0 2px #574738; text-shadow:2px 0 2px #574738; filter: Glow(Color=#5d2b08, Strength=1);
| | .mediawiki ol.references > li { |
| | margin-bottom: 0.5em; |
| } | | } |
| .tt-style span {color: #ffce0a;font-weight: bolder;text-shadow: 0.08em 0.07em 0px #5D2B09;font-size: 26px;padding-left: 10px;line-height: 35px;-webkit-text-shadow:#763c12 -1px 0 0,#763c12 0 -1px 0,#5d2b08 1px 0 0,#763c12 0 3px 0;-moz-text-shadow:#763c12 -1px 0 0,#763c12 0 -1px 0,#5d2b08 1px 0 0,#763c12 0 3px 0; text-shadow:#763c12 -1px 0 0,#763c12 0 -1px 0,#5d2b08 1px 0 0,#763c12 0 3px 0; filter: Glow(Color=#5d2b08, Strength=1);}
| |
|
| |
|
| |
|
| .tt-style-m cite {width: 58px;text-align: center;line-height: 35px;color: #cbb791;font-weight: bolder;font-size: 10px;background: url(https://patchwiki.biligame.com/images/blhx/5/57/ryhhrcbybauwnupov5kj08l90i80cnc.png) center no-repeat;background-size:80px auto;padding: 15px;-webkit-text-shadow:2px 0 2px #574738;-moz-text-shadow:2px 0 2px #574738; text-shadow:2px 0 2px #574738; filter: Glow(Color=#5d2b08, Strength=1);
| | /* pre 和 code */ |
| | .mediawiki pre, |
| | .mediawiki code, |
| | .mediawiki .mw-code { |
| | background-color: #22222299; |
| | color: #c6c6c6; |
| | border: 1px solid #46464677; |
| } | | } |
| .tt-style-m span {color: #ffce0a;font-weight: bolder;text-shadow: 0.08em 0.07em 0px #5D2B09;font-size: 13px;padding-left: 5px;line-height: 35px;-webkit-text-shadow:#763c12 -1px 0 0,#763c12 0 -1px 0,#5d2b08 1px 0 0,#763c12 0 1px 0;-moz-text-shadow:#763c12 -1px 0 0,#763c12 0 -1px 0,#5d2b08 1px 0 0,#763c12 0 1px 0; text-shadow:#763c12 -1px 0 0,#763c12 0 -1px 0,#5d2b08 1px 0 0,#763c12 0 1px 0; filter: Glow(Color=#5d2b08, Strength=1);} | | .mediawiki .mw-highlight pre{ |
| /* -------------------------------------------------- */
| | filter: invert(100%) hue-rotate(180deg); |
| | | background: white; |
| | | color: black; |
| /*输入框样式*/
| |
| .mw-ui-button.mw-ui-progressive:disabled, .mw-ui-button.mw-ui-primary:disabled {
| |
| background: #4a495b;
| |
| border-color: #fcfcfc;
| |
| margin-top: 5px;
| |
| } | | } |
|
| |
|
| .mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-primary { | | /* ul */ |
| background: #347bff;
| | .ns-0.mediawiki #mw-content-text ul { |
| color: #fff;
| | margin: 0.3em 0 0 0.6em; |
| border: 1px solid #347bff;
| | list-style-image: none; |
| text-shadow: 0 1px rgba(0,0,0,0.1);
| | list-style-type: disc; |
| margin-top: 5px;
| | padding: 0; |
| } | | } |
|
| |
|
| /* -------------------------------------------------- */
| |
|
| |
|
| /*将UID数字替换为B站个人动态页面 源自CQ WIKI*/
| |
| .mw-userlink bdi:hover {
| |
| opacity: 0.8;
| |
| -webkit-filter: unset;
| |
| -moz-filter: unset;
| |
| -ms-filter: unset;
| |
| -o-filter: unset;
| |
| filter: unset;
| |
| }
| |
| .mw-userlink bdi {
| |
| background-image: url(/images/blhx/1/1e/khjb32eg6r2emnmadvzi9mx3zqdmkmg.png);
| |
| background-repeat: no-repeat;
| |
| background-size:15px 15px;
| |
| /* background-position: center center;*/
| |
| width: 15px;
| |
| height: 15px;
| |
| padding-left: 16px;
| |
| -webkit-filter: grayscale(90%);
| |
| -moz-filter: grayscale(90%);
| |
| -ms-filter: grayscale(90%);
| |
| -o-filter: grayscale(90%);
| |
| filter: grayscale(90%);
| |
| filter: gray;
| |
| }
| |
|
| |
|
| /* 鼠标指针 */ | | /* |
| .character,
| |
| a[target],
| |
| a[href],
| |
| button,
| |
| area {
| |
| cursor: url(https://patchwiki.biligame.com/images/wukong/b/bb/sb51zsgl3cjtl7eapbp6f8q651rtyn0.png), auto;
| |
| }
| |
| | |
| /*参考 下加一段横线*/
| |
| .references {
| |
| margin-top: 30px !important;
| |
| border-top: 1px solid #aaa;
| |
| margin-left: 5px !important;
| |
| padding: 3px !important;
| |
| word-wrap: break-word;
| |
| }
| |
|
| |
|
| /* -------------------------------------------------- */
| | == 编辑器 == |
| /* ==带项目符号的项目列表== */
| |
| .symbol-list ul li { list-style-type:disc; }
| |
| .symbol-list ul li li { list-style-type:circle; }
| |
| .symbol-list ul li li li { list-style-type:square; }
| |
| .symbol-list ol li { list-style-type:decimal; }
| |
| .symbol-list ol li li { list-style-type:lower-roman; }
| |
| /* --带项目符号的项目列表结束-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* 禁止选中 */
| | */ |
| .noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
| |
| .nopoint {pointer-events:none}
| |
| | |
| /* 禁止自动换行 */
| |
| .nowrap {white-space:nowrap;}
| |
|
| |
|
| /*关闭按钮*/ | | /* 隐藏 编辑器按钮 “切换至富文本编辑器” */ |
| .icon-arrow-close {
| | #editor-switch-button{ |
| background: url("http://wiki.biligame.com/images/blhx/e/ea/iqetk3teafr06w524ji6rhacok2xuyn.png") no-repeat 0 0;
| | display:none; |
| width: 16px;
| |
| height: 16px;
| |
| display: inline-block;
| |
| background-size: 100%;
| |
| } | | } |
|
| |
|
| /* -------------------------------------------------- */
| | .mediawiki .mw-body #bodyContent .wikiEditor-ui a, /* 编辑器,白色主题的话链接用蓝色 */ |
| /* ==手机端/电脑端== */ | | .mediawiki .mw-body #bodyContent .editOptions a{ |
| @media only screen and (max-width:991px){
| | color: royalblue; |
| .mwiki_hide{
| |
| display:none;
| |
| } | |
| }
| |
| @media only screen and (min-width:992px){
| |
| .wiki_hide{
| |
| display:none;
| |
| }
| |
| } | | } |
| /* --手机端/电脑端结束-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | #editform .booklet.section{ /* 编辑器菜单 如特殊字符、快速插入等子菜单左侧列表的颜色 */ |
| /* ==垂直时间轴== */
| | color: black; |
| .timeline {
| |
| margin-left:1em;
| |
| }
| |
| .timeline dl {
| |
| position: relative;
| |
| margin-left:10em;
| |
| border-left: 1px solid;
| |
| }
| |
| .timeline dt {
| |
| position: absolute;
| |
| margin-left: 0;
| |
| margin-top: 8px;
| |
| padding-top: 0;
| |
| padding-right: 10px;
| |
| left: -10em;
| |
| width: 10em;
| |
| text-align: right;
| |
| font-weight: bold;
| |
| color: black;
| |
| }
| |
| .timeline dt:hover {
| |
| color: #337ab7;
| |
| }
| |
| .timeline dd {
| |
| margin-left: 2em;
| |
| margin-bottom: 8px;
| |
| padding-top: 8px;
| |
| }
| |
| .timeline dd + dd {
| |
| padding-top: 0px;
| |
| }
| |
| .timeline dt:after {
| |
| display: block;
| |
| position: absolute;
| |
| right: -2px;
| |
| top: 8px;
| |
| margin-top: 0;
| |
| margin-left: 0;
| |
| width: 5px;
| |
| height: 5px;
| |
| content: "";
| |
| border-radius: 2.5px;
| |
| background-color: #337ab7;
| |
| }
| |
| @media only screen and (max-width:600px){
| |
| .timeline {
| |
| margin-left: 0em;
| |
| }
| |
| .timeline dl {
| |
| margin-left: 6em;
| |
| }
| |
| .timeline dt {
| |
| left: -6em;
| |
| width: 6em;
| |
| line-height: 1;
| |
| font-size: 13px;
| |
| }
| |
| .timeline dd {
| |
| margin-left: 1em;
| |
| }
| |
| } | | } |
| | | .CodeMirror-scroll{ /* 编辑器背景,不使用纯白 */ |
| /*时间轴的另一种用法*/ | | background: #f5f5f5; |
| .timeline2 {
| |
| margin-left:2em; | |
| } | | } |
| .timeline2 dl { | | .wikiEditor-ui .wikiEditor-ui-top{ /* 避免深色背景漏出黑边 */ |
| border-left: 1px solid; | | background: #f5f5f5; |
| } | | } |
| .timeline2 dt { | | /* 编辑器不加载时设置背景 */ |
| font-weight: bold;
| | .mediawiki .mw-editform textarea { |
| margin-left: 14px;
| | background: #dddddd; |
| padding-top: 1em; | |
| color: black; | | color: black; |
| } | | } |
| .timeline2 dt:hover { | | /* 更改 */ |
| color: #337ab7;
| | .mediawiki td.diff-addedline.diff-side-added { |
| | color: black; |
| | background: aliceblue; |
| } | | } |
| .timeline2 dd { | | .mediawiki td.diff-deletedline.diff-side-deleted { |
| margin-left: 2em; | | color: black; |
| margin-bottom: 8px;
| | background: #fffaed; |
| padding-top: 8px; | |
| } | | } |
| .timeline2 dt:after {
| |
| content: "";
| |
| display: block;
| |
| width: 5px;
| |
| height: 5px;
| |
| position: absolute;
| |
| margin-top: -13px;
| |
| margin-left: -17px;
| |
| border-radius: 2.5px;
| |
| background-color: #337ab7;
| |
| }
| |
| /* --垂直时间轴结束-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* ==面包屑== */
| |
| .bread {
| |
| background: #ffffff!important;
| |
| font-size: 15px;
| |
| line-height: 30px;
| |
| clear: both;
| |
| height: auto;
| |
| padding: 0px 13px;
| |
| border: 1px solid #bdbdbd!important;
| |
| border-radius: 5px;
| |
| margin: 2px auto;
| |
| }
| |
| /* --面包屑-- */
| |
|
| |
|
| /* -------------------------------------------------- */
| |
| /* ==悬浮弹出框== */
| |
| /*舰娘图鉴潜艇狩猎范围使用*/
| |
| /*该代码会产生部分样式冲突,应减少使用,*/
| |
| .iteminfo{
| |
| display: none;
| |
| }
| |
| .itemhover:hover .iteminfo{
| |
| display: block;
| |
| }
| |
| /* --悬浮弹出框-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* |
| /* ==内置标签页== */
| |
| .MenuBox li,
| |
| .tab_li {
| |
| list-style: none;
| |
| background: url(https://patchwiki.biligame.com/images/blhx/6/65/g997jb92lfeojz43oeoddipjycfvr40.png);
| |
| background-size: 100% 100%;
| |
| display: inline-block;
| |
| width: 70px;
| |
| height: 30px;
| |
| line-height: 32px;
| |
| text-align: center;
| |
| margin: 2px 4px;
| |
| font-weight: bold;
| |
| color:#ffffff;
| |
| transition: all .6s;
| |
| }
| |
| .MenuBox li:hover,
| |
| .MenuBox li.hover,
| |
| li.tab_li:hover,
| |
| li.tab_li.active {
| |
| background: url(https://patchwiki.biligame.com/images/blhx/e/e6/jl56sh5ao4s8hrizoyr6yv2fllp13f4.png);
| |
| background-size: 100% 100%;
| |
| color:#fffa6c;
| |
| cursor: pointer;
| |
| }
| |
| .tab_con { display: none; }
| |
| .tab_con.active { display: block; }
| |
| .TabContainer ul { margin-left: 0; }
| |
| /* --内置标签页-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /*圆形小图标*/ | | == 非官方插件 == */ |
| .圆 img{ | | /* SmartClick css (指 MediaWiki:SmartClick.js) */ |
| border-radius: 50%;
| | .popover-content{word-break:break-all} |
| } | |
|
| |
|
| /*小图标样式*/
| |
| .xtb-image {
| |
| display: inline-block;
| |
| }
| |
| .xtb-image img{
| |
| width: 30px;
| |
| height: 30px;
| |
| box-shadow: 0 0 2px #000;
| |
| border-radius: 7px;
| |
| margin:0 2px
| |
| }
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* |
| /* ==[[模板:黑幕]]== */
| |
| .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}}
| |
| /* --[[模板:黑幕]]-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */
| | == 特定页面优化 == |
| /* ==[[模板:人物对话]]== */
| |
| .shipChat {
| |
| position: relative;
| |
| min-height: 80px;
| |
| font-family: 微软雅黑;
| |
| text-align:left;
| |
| margin-top:5px;
| |
| margin-bottom:5px;
| |
| width: 425px
| |
| }
| |
|
| |
|
| /* 头像 */
| | */ |
| .shipChat .head_wrap,
| |
| .shipChat .head_bg {
| |
| position: absolute;
| |
| border-radius: 35px;
| |
| left: 0;
| |
| top: 5px;
| |
| width: 70px;
| |
| height: 70px;
| |
| }
| |
| .shipChat .head_wrap {
| |
| overflow: hidden;
| |
| }
| |
| .shipChat .head_wrap img {
| |
| width: 70px;
| |
| height: 70px;
| |
| }
| |
| .shipChat .head_bg {
| |
| box-sizing: border-box;
| |
| background: #333333;
| |
| border: 3px solid #777777;
| |
| }
| |
|
| |
|
| /* 台词 */ | | /* 特殊页面 */ |
| .shipChat .chatBox { | | .ns-special h2, |
| margin-left: 110px;
| | .ns-special h3, |
| width: 315px;
| | .ns-special h4, |
| position: relative;
| | .ns-special h5{ |
| padding-top: 28px;
| |
| }
| |
| .shipChat .chat_textbox { | |
| min-height: 47px;
| |
| width:100%;
| |
| border-radius: 6px;
| |
| background: #4a4a4a;
| |
| padding: 13px 12px;
| |
| color: white; | | color: white; |
| font-size: 105%;
| |
| } | | } |
| .shipChat .chat_title { | | .ns-special .oo-ui-iconElement-icon, |
| position: absolute; | | .ns-special .oo-ui-indicator-down{ |
| left: 0;
| | filter: invert(100%) hue-rotate(180deg); |
| top:0;
| |
| padding:4px;
| |
| } | | } |
| .shipChat .chat_remark { | | .ns-special .oo-ui-icon-highlight{ /* 最近更改的高亮结果 */ |
| position: absolute;
| | filter:none; |
| right: 0;
| |
| top:0;
| |
| padding-top:6px;
| |
| font-size: 85%;
| |
| color: gray;
| |
| }
| |
| .shipChat .arrow {
| |
| position: absolute; | |
| left: -15px;
| |
| top: 44px;
| |
| width: 0;
| |
| height: 0;
| |
| border-top: 15px solid #4a4a4a;
| |
| border-left: 15px solid transparent;
| |
| } | | } |
| /* --[[模板:人物对话]]-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */
| |
| /* ==[[模板:Math]]== */
| |
| .texhtml {
| |
| -moz-font-feature-settings: "lnum","tnum","kern" 0;
| |
| -webkit-font-feature-settings: "lnum","tnum","kern" 0;
| |
| font-feature-settings: "lnum","tnum","kern" 0;
| |
| font-variant-numeric: lining-nums tabular-nums;
| |
| font-kerning: none;
| |
| font-family: "Nimbus Roman No9 L","Times New Roman",Times,"楷体",serif;
| |
| font-size: 118%;
| |
| line-height: 1;
| |
| white-space: nowrap;
| |
| color:black;
| |
| }
| |
| .texhtml .radic-symbol { font-size:1em !important; }
| |
| /* --[[模板:Math]]-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */
| |
| /* --[[模板:装备研发]]-- */
| |
| .equipTechTree .icon{text-align:center}
| |
| .equipTechTree .branch{display:flex;justify-content:center;align-items:center}
| |
| .equipTechTree .equip,.equipTechTree .equipPlaceholder{display:inline-block;margin:1em 1em;padding:0.5em 0.5em}
| |
| .equipTechTree .equipIcon{width:60px;border:2px solid #c8c7c7;box-shadow:0px 0px 2px 2px #7e7575}
| |
| .equipTechTree .equipAlt{width:60px;border:2px solid #c8c7c7;border-radius:6px;overflow:hidden;box-shadow:0px 0px 2px 2px #7e7575;opacity:0}
| |
| .equipRDinfo .modal-dialog{margin-top:200px!important}
| |
| .equipRDinfo .itemIcon{display:inline-block;padding:0 0.5em}
| |
| .equipRDinfo .equipth{border-top:2px black solid;border-bottom:2px black solid}
| |
| .equipRDinfo .equiptr{border-top:1px black solid}
| |
| /* --[[模板:装备研发]]-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* --[[模板:道具]]-- */ | | /* 特殊:版本 让「解析器扩展标签」正确换行 */ |
| .itemNumber { | | .rootpage-特殊_版本 #mw-content-text{ |
| position: absolute;
| | line-break: anywhere; |
| bottom: -3px;
| |
| right: 2px;
| |
| color: black!important;
| |
| font-weight: bold;
| |
| text-shadow: -1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF, 1px 1px 0 #FFFFFF, -2px -2px 4px #FFFFFF, 2px -2px 4px #FFFFFF, -2px 2px 4px #FFFFFF, 2px 2px 4px #FFFFFF;
| |
| }
| |
| | |
| /* -------------------------------------------------- */
| |
| /* --[[模板:音频]] -- */
| |
| .audio-wrapper audio {
| |
| position: fixed;
| |
| left: -99999px;
| |
| }
| |
| .audio-controls {
| |
| display: inline-block;
| |
| width: 50px;
| |
| height: 50px;
| |
| padding: 0;
| |
| position: relative;
| |
| text-align: center;
| |
| background-color: #f1f3f4;
| |
| cursor: pointer;
| |
| border-radius: 50%;
| |
| border: 1px solid #dddddd;
| |
| box-sizing: border-box;
| |
| } | | } |
| .audio-controls .icon-btn { | | .rootpage-特殊_版本 .wikitable { |
| display: inline-block;
| | line-break: auto; |
| width: 100%;
| |
| height: 100%;
| |
| } | | } |
| .audio-controls .icon-play { | | .rootpage-特殊_版本 p{ |
| background: url("https://patchwiki.biligame.com/images/blhx/9/90/1tg75ar2mq110pxbmcze33cy0xlbrk0.png");/*文件:Play.png*/
| | line-break: auto; |
| background-size: 60% 60%;
| |
| background-repeat: no-repeat;
| |
| background-position: center;
| |
| } | | } |
| .audio-controls .icon-pause { | | .rootpage-特殊_版本 div{ |
| background: url("https://patchwiki.biligame.com/images/blhx/4/47/afe454y0obdwci3azwzc66j7jx9ge0r.png");/*文件:Pause.png*/
| | line-break: auto; |
| background-size: 60% 60%;
| |
| background-repeat: no-repeat;
| |
| background-position: center;
| |
| } | | } |
| /* --[[模板:音频]] -- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */
| |
| /* ==面板样式[[模块:选项卡面板]][[模板:选项卡面板]][[模板:折叠面板]][[模板:提示消息]]== */
| |
| .panel, .panel .row .panel-title {
| |
| padding: 0px;
| |
| }
| |
| .panel {
| |
| margin-bottom: 1em;
| |
| }
| |
| .panel-title{
| |
| cursor: pointer;
| |
| }
| |
| .panel-body {
| |
| padding: 5px;
| |
| }
| |
| .nav-tabs > li {
| |
| float: left;
| |
| margin-bottom: -1px;
| |
| }
| |
| .nav > li > span {
| |
| position: relative;
| |
| display: block;
| |
| padding: 10px 5px;
| |
| }
| |
| .nav-tabs > li > span {
| |
| margin-right: 2px;
| |
| line-height: 1.42857143;
| |
| border: 1px solid transparent;
| |
| border-radius: 4px 4px 0 0;
| |
| }
| |
| .nav-tabs > li.active > span, .nav-tabs > li.active > span:hover, .nav-tabs > li.active > span:focus {
| |
| color: #555;
| |
| cursor: default;
| |
| background-color: #fff;
| |
| }
| |
| /*舰娘图鉴面板*/
| |
| .panel-shiptable {
| |
| border-color: #5995D6;
| |
| border-radius: 0;
| |
| }
| |
| .panel-shiptable>.panel-heading {
| |
| color: #fff;
| |
| background-color: #5995D6;
| |
| border-color: #5995D6;
| |
| border-radius: 0!important;
| |
| }
| |
| .panel-shiptable>.panel-heading .badge {
| |
| color: #337ab7;
| |
| background-color: #fff;
| |
| border-radius: 0;
| |
| }
| |
| .panel-shiptable .nav-tabs > li > span {
| |
| border-radius: 0;
| |
| }
| |
| /* --面板-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* API页面 背景和基本样式 */ |
| /* ==[[模块:装备图鉴导航]]== */
| | body.mediawiki.mw-special-ApiHelp{ |
| /* 每一行 */
| | background: blanchedalmond url(https://patchwiki.biligame.com/images/wukong/a/ad/10ndnekw57c9izfsesypo8058t5q5z7.png) !important; |
| .table-ShowEquipNavPannel tr { | |
| border: none | |
| } | | } |
| .table-ShowEquipNavPannel tr.tr-top { } | | body.mediawiki.mw-special-ApiHelp #bodyContent:before{ |
| /* 装备大类表头【舰炮】 */
| | display:none; |
| .table-ShowEquipNavPannel th.th-equip-type {
| | background:none; |
| padding-top: 2px;
| |
| padding-bottom: 2px;
| |
| background: #5995D6;
| |
| color: white;
| |
| font-size: large;
| |
| text-align: center;
| |
| border: 1px solid white
| |
| } | | } |
| /* 装备小类表头【驱逐】 */
| | body.mediawiki.mw-special-ApiHelp h2{ |
| .table-ShowEquipNavPannel th.th-equip-subtype { | | color: black; |
| padding-top: 2px; | |
| padding-bottom: 2px;
| |
| background: #dbeef7;
| |
| text-align: center;
| |
| border: 1px solid white;
| |
| } | | } |
| /* 装备单元格【76mm火炮 ...】 */
| |
| .table-ShowEquipNavPannel td {
| |
| padding-top: 2px;
| |
| padding-bottom: 2px;
| |
| }
| |
| /*宽屏样式*/
| |
| @media only screen and (min-width: 992px) {
| |
| .table-ShowEquipNavPannel th.th-equip-type {
| |
| width: 80px;
| |
| padding-top: 0.4em;
| |
| padding-bottom: 0.4em;
| |
| }
| |
| .table-ShowEquipNavPannel th.th-equip-subtype {
| |
| width: 80px;
| |
| }
| |
| .table-ShowEquipNavPannel td {
| |
| padding-left: 1em;
| |
| padding-right: 1em
| |
| }
| |
| }
| |
| /*窄屏样式*/
| |
| @media only screen and (max-width: 991px) {
| |
| .table-ShowEquipNavPannel th.th-equip-type {
| |
| width: 70px;
| |
| min-width: 2em;
| |
| }
| |
| .table-ShowEquipNavPannel th.th-equip-subtype {
| |
| width: 80px;
| |
| }
| |
| .table-ShowEquipNavPannel td {
| |
| padding-left: 0.5em;
| |
| padding-right: 0.5em
| |
| }
| |
| }
| |
| @media only screen and (max-width: 360px) {
| |
| .table-ShowEquipNavPannel th.th-equip-subtype,
| |
| .table-ShowEquipNavPannel th.th-equip-type {
| |
| display:none
| |
| }
| |
| }
| |
| /* --[[模块:装备图鉴导航]]-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */
| |
| /* ==[[模块:舰娘图鉴导航]]== */
| |
| /* 每一行 */
| |
| .table-ShowShipClassNavPannel tr {
| |
| border: none;
| |
| }
| |
| .table-ShowShipClassNavPannel tr.tr-top { }
| |
|
| |
|
| /* 舰船类型表头【驱逐】 */ | | /* 最近更改页面。页面较宽时,尝试给予最小宽度,来纵向对齐*/ |
| .table-ShowShipClassNavPannel th.th-ship-type {
| | @media (min-width: 992px){ |
| /* width: 100px; */
| | .mediawiki .mw-changeslist-line-inner .mw-title { |
| padding-top: 2px;
| | min-width: 12em; |
| padding-bottom: 2px;
| | display: inline-block; |
| background: #5995D6;
| |
| color: white;
| |
| font-size: large;
| |
| text-align: center;
| |
| border: 1px solid white;
| |
| }
| |
| /* 舰船级别表头【马汉级】 */
| |
| .table-ShowShipClassNavPannel th.th-ship-class {
| |
| /* width: 250px; */
| |
| padding-top: 2px;
| |
| padding-bottom: 2px;
| |
| background: #dbeef7;
| |
| text-align: center;
| |
| border: 1px solid white;
| |
| }
| |
| /* 舰船列表【卡辛...】 */
| |
| .table-ShowShipClassNavPannel td {
| |
| line-height: 2;
| |
| }
| |
| /*宽屏样式*/
| |
| @media only screen and (min-width:992px) { | |
| .table-ShowShipClassNavPannel th.th-ship-type { | |
| width: 100px;
| |
| }
| |
| .table-ShowShipClassNavPannel th.th-ship-class {
| |
| width: 250px;
| |
| } | | } |
| .table-ShowShipClassNavPannel td { | | .mediawiki .mw-changeslist-links { |
| padding-left: 2em;
| | min-width: 8em; |
| padding-right: 2em;
| |
| } | | } |
| }
| | .mediawiki .mw-usertoollinks.mw-changeslist-links { |
| /*窄屏样式*/
| | min-width: auto; |
| @media only screen and (max-width:991px){
| |
| .table-ShowShipClassNavPannel th.th-ship-type { | |
| width: 50px;
| |
| } | | } |
| .table-ShowShipClassNavPannel .ship-class-postfix { | | .mediawiki .mw-diff-bytes { |
| display: none;
| | min-width: 5em; |
| | display: inline-block; |
| } | | } |
| .table-ShowShipClassNavPannel th.th-ship-class { | | .mw-special-Recentchanges table span.changedby, .mw-special-Recentchanges .mw-changeslist-line-inner-userLink { |
| width: 125px;
| | min-width: 13em; |
| }
| | display: inline-block; |
| .table-ShowShipClassNavPannel td {
| |
| padding-left: 0.5em;
| |
| padding-right: 0.5em;
| |
| } | | } |
| } | | } |
| @media only screen and (max-width:360px){
| |
| .table-ShowShipClassNavPannel th.th-ship-class {
| |
| display: none;
| |
| }
| |
| }
| |
| /* --[[模块:舰娘图鉴导航]]-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* 最近更改页面,将全角括号改为半角,减小所占空间 */ |
| /*== [[模块:舰娘台词]]== */
| | .mw-special-Recentchanges .comment--without-parentheses:before, |
| .table-ShipWordsTable {
| | .mw-special-Recentchanges .mw-changeslist-links:before, |
| width:100%;
| | .mw-special-Recentchanges .mw-diff-bytes:before, |
| | .mw-special-Recentchanges .mw-tag-markers:before, |
| | .mw-special-Recentchanges .mw-uctop:before{ |
| | content: '('; |
| } | | } |
| .table-ShipWordsTable tr { | | .mw-special-Recentchanges .comment--without-parentheses:after, |
| border-top: 0.8px solid #5995D6;
| | .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: ')'; |
| } | | } |
| .table-ShipWordsTable tr:first-of-type { | | |
| border: none;
| | /* 最近更改页面。页面名显示深蓝色,用户名显示暗金色*/ |
| | .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; |
| } | | } |
| .table-ShipWordsTable th { | | .mediawiki .mw-body #bodyContent a.mw-changeslist-title { /* 最近更改,页面名颜色 */ |
| width: 7em;
| | color: var(--a-hover-color); |
| padding: 0.75em;
| |
| } | | } |
| .table-ShipWordsTable td { | | .mw-special-Recentchanges .mw-plusminus-neg { /* 最近更改,增减文字的颜色标识 */ |
| padding: 0.3em; | | color: #ff2929; |
| padding-left: 0;
| |
| } | | } |
| @media only screen and (max-width:576px){
| | .mw-special-Recentchanges .mw-plusminus-pos { /* 最近更改,增减文字的颜色标识 */ |
| .table-ShipWordsTable th {
| | color: #009a00; |
| width: 6em;
| |
| padding: 0.25em;
| |
| }
| |
| .table-ShipWordsTable td {
| |
| padding: 0.25em;
| |
| padding-left: 0;
| |
| }
| |
| } | | } |
| .ship_word_media_wrap { | | .mediawiki #bodyContent span.mw-rollback-link a { /* 回退按钮颜色 */ |
| position:relative;
| | color: cornflowerblue; |
| min-height:29px;
| | opacity: 0.85; |
| } | | } |
| .ship_word_media_wrap .ship_word_line { | | .mediawiki #bodyContent span.mw-rollback-link a:hover { /* 回退按钮 hover 颜色 */ |
| margin: 5px 0 0 32px;
| | color: #cc4b3d; |
| line-height: 28px;
| | opacity: 1; |
| } | | } |
| .ship_word_media_wrap .sm-bar { | | .mw-special-Recentchanges table span.changedby, |
| position: absolute; | | .mw-special-Recentchanges .mw-changeslist-line-inner-userLink{ |
| top: 0;
| | color: var(--font-color); |
| bottom: 0;
| |
| margin: auto;
| |
| } | | } |
| /* --[[模块:舰娘台词]]-- */
| | .mw-special-Recentchanges table bdi{ |
| /* -------------------------------------------------- */
| | color: #bfa61c; |
| | |
| /* -------------------------------------------------- */
| |
| /* ==编辑摘要== */
| |
| /* 提交页面编辑时填写的编辑摘要 */
| |
| /* JS页面[[MediaWiki:Common.js]] */
| |
| .mw-summary-preset { | |
| display: inline;
| |
| margin: 0;
| |
| padding: 0;
| |
| } | | } |
| .mw-summary-preset-item { | | .mw-special-Recentchanges table a bdi{ |
| border-left: 1px solid #a2a9b1;
| | color: var(--font-color); |
| display: inline-block;
| |
| line-height: 1.25em;
| |
| margin: 0.125em 0;
| |
| padding: 0 0.5em;
| |
| }
| |
| .mw-summary-preset-item:first-child {
| |
| border-left: medium none;
| |
| padding-left: 0.25em;
| |
| } | | } |
| .mw-summary-preset-item:last-child { | | span.comment.comment--without-parentheses { /* 最近更改的更改摘要颜色 */ |
| padding-right: 0.25em; | | color: #a49aff; |
| } | | } |
| /* --编辑摘要结束-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
| /* -------------------------------------------------- */
| |
| /* ==B站视频== */
| |
| /* JS页面:[[MediaWiki:Common.js]] */
| |
| /* 模板[[模板:B站视频]] */
| |
| .BiliVideo span{display:none}
| |
| /* --B站视频-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* 最近更改页面,弱化部分链接,仅鼠标悬浮时,显示 */ |
| /* ==[[MediaWiki:FlourPackage.js]]== */
| | .mw-changeslist-line:hover { |
| .poreSize{padding-right:10px}
| | background: #333333; |
| .poreSize label{margin:0;padding:0;font-weight:inherit}
| |
| .poreName{display:none}
| |
| /* --[[MediaWiki:FlourPackage.js]]结束-- */
| |
| /* -------------------------------------------------- */
| |
| | |
| /* -------------------------------------------------- */
| |
| /* ==[[MediaWiki:LotusRoot.js]]== */
| |
| .Root:not(.Pick),.Lotuses{display:none}
| |
| /* 以上为必须样式 */
| |
| /* 参考样式
| |
| <style>
| |
| 所有按钮通用样式
| |
| .Lotus{width:138px;height:46px;display:inline-block;text-align:center;line-height:46px;color:white;font-weight:bold;font-size:1.25em;text-shadow:-1px 0 black,0 1px black,1px 0 black,0 -1px black} | |
| 所有按钮通用鼠标悬浮时样式
| |
| .Lotus:hover{}
| |
| 非活动按钮样式
| |
| .Lotus:not(.Pick){background-image:url(https://patchwiki.biligame.com/images/blhx/d/d3/13vf86x0fipb19egj76viid9uohxrqd.png)}
| |
| 非活动按钮鼠标悬浮时样式
| |
| .Lotus:not(.Pick):hover{color:orange}
| |
| 活动按钮样式
| |
| .Lotus.Pick{background-image:url(https://patchwiki.biligame.com/images/blhx/4/45/1cuoteyh4cfsklbj3x0bcfd3js1uabx.png)}
| |
| 活动按钮鼠标悬浮时样式
| |
| .Lotus.Pick:hover{}
| |
| </style>
| |
| */
| |
| /* --[[MediaWiki:LotusRoot.js]]-- */
| |
| /* -------------------------------------------------- */
| |
| | |
| /* -------------------------------------------------- */
| |
| /* ==[[MedaiWiki:PN.js]]== */
| |
| #PNlevel,#PNstrengthen,#PNupgrade,#PNintimacy{ | |
| padding: 0px 8px;
| |
| border: 1px solid;
| |
| } | | } |
| /* --[[MedaiWiki:PN.js]]-- */
| | .mw-special-Recentchanges .mw-usertoollinks-talk { /* 隐藏用户讨论页面 */ |
| /* -------------------------------------------------- */
| | display: none; |
| | |
| /* -------------------------------------------------- */
| |
| /* ==[[MediaWiki:Gadget-Giffer.js]]== */ | |
| /* 使GIF图片可以播放暂停 */
| |
| /* 【注意】小工具没有被启用
| |
| .giffer {
| |
| cursor:pointer; | |
| background:none;
| |
| border:none;
| |
| padding:0;
| |
| max-width: 100%;
| |
| margin:0 auto;
| |
| } | | } |
| .giffer> img { | | .mw-special-Recentchanges .mw-usertoollinks-block{ /* 隐藏封禁页面 */ |
| display:block; | | display: none; |
| max-width: 100%;
| |
| border:none;
| |
| padding:0;
| |
| } | | } |
| .giffer-canvas { | | .mw-special-Recentchanges .mw-usertoollinks.mw-changeslist-links > span:not(:first-child):before { |
| display:block;
| | display: none; /* 隐藏由于上方隐藏按钮多出来的的竖线 */ |
| cursor: pointer;
| |
| border:none;
| |
| padding:0;
| |
| max-width: 100%;
| |
| }*/
| |
| /* --[[MediaWiki:Gadget-Giffer.js]]-- */
| |
| /* -------------------------------------------------- */
| |
| | |
| /* -------------------------------------------------- */
| |
| /* ==舰娘页面== */
| |
| /* [[模板:舰娘图鉴]] */
| |
| @media only screen and (min-width:768px) {
| |
| .jntj-left { | |
| padding-right: 5px;
| |
| }
| |
| .jntj-right {
| |
| padding-left: 5px;
| |
| }
| |
| }
| |
| /* 潜艇狩猎范围 */ | |
| /* [[模块:舰娘图鉴]] */
| |
| table.submarineRange {
| |
| background-image:url("https://patchwiki.biligame.com/images/blhx/c/ca/fcd6t52t81pf8k03401tersr5u0yaeu.png");
| |
| background-size:cover;
| |
| float:left;
| |
| margin:0px 5px;
| |
| }
| |
| table.submarineRange td {
| |
| width:15px;
| |
| height:15px;
| |
| } | | } |
| table.submarineRange td.select {
| |
| background-color:#FF5722;
| |
| border:none;
| |
| }
| |
| table.submarineRange tr:nth-child(4) > td:nth-child(4) {
| |
| background-image:url("https://patchwiki.biligame.com/images/blhx/c/cc/7j26p0j40tn17aq03h22w10uexqe1am.png");
| |
| background-size:cover;
| |
| background-color:#FF5722;
| |
| border:none;
| |
| }
| |
| /* --舰娘页面结束-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */
| | .mw-special-Recentchanges .mw-changeslist-separator:empty:before{ |
| /* ==图鉴页面== */
| | content: ' '; |
| /* [[舰娘图鉴]][[装备图鉴]] */
| |
| .jntj-1 { | |
| float: left;
| |
| text-align: center;
| |
| width: 65px;
| |
| margin: 0 3px;
| |
| }
| |
| @media only screen and (max-width:600px) {
| |
| .jntj-1 {
| |
| margin: 0px;
| |
| }
| |
| }
| |
| .jntj-1 img {
| |
| pointer-events: none; | |
| }
| |
| .jntj-1 div a {
| |
| display: inline-block; | | display: inline-block; |
| } | | } |
| .jntj-2 { | | span.mw-rc-unwatched { |
| position: relative; | | font-weight: bold; |
| display: inline-block;
| |
| height: 60px;
| |
| } | | } |
| .jntj-2 img { | | .mw-special-Recentchanges .mw-changeslist ul, .mw-special-Recentchanges .mw-changeslist table.mw-enhanced-rc { /* 最近更改列表的左侧边距,缩小 */ |
| border-radius: 5px; | | margin-left: 0; |
| } | | } |
| .jntj-3 { | | .mw-changeslist { /* 最近更改列表集体左移 缩小文字 */ |
| position: absolute;
| | margin-left: -2em; |
| width: 60px;
| | font-size: 0.9em; |
| top: 0px;
| |
| left: 0px;
| |
| } | | } |
| .jntj-4 { | | .mw-changeslist h4 { |
| width: 65px;
| | margin-left: 2em; |
| font-size: 12px;
| |
| display: inline-block;
| |
| overflow: hidden;
| |
| white-space: nowrap;
| |
| text-overflow: ellipsis;
| |
| } | | } |
| /* --图鉴页面结束-- */
| |
|
| |
|
| /*应用目录样式,页面不显示标题*/
| |
| /*[[模板:舰娘图鉴]][[面板]]]]*/
| |
| .wiki-title-hide {
| |
| opacity: 0!important;
| |
| height: 0!important;
| |
| line-height: 0!important;
| |
| margin: 0!important;
| |
| padding: 0!important;
| |
| border: none!important;
| |
| }
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* == 特殊和其他mw页面中,暗色主题的是适配 == */ |
| /* ==决战方案/海上传奇舰船页面特效== */ | | .mediawiki .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input{ |
| .decisive {
| | color: var(--font-color); /* 移动页面表单输入框 */ |
| position: relative;
| |
| overflow: hidden;
| |
| } | | } |
| .decisive:before{ | | .ns-special select, |
| content: "";
| | .ns-special input, |
| position: absolute;
| | .ns-special textarea{ |
| width: 20px;
| | color: #fff; |
| height: calc(200% * 1.4142 + 20px);
| | background: #393939; |
| top: calc(-100% * 1.4142 - 20px);
| |
| left: calc(-10px * 1.4142);
| |
| background-color: rgba(255,255,255,0.3);
| |
| -webkit-transform: rotate(45deg);
| |
| -moz-transform: rotate(45deg); | |
| -ms-transform: rotate(45deg); | |
| -o-transform: rotate(45deg);
| |
| transform: rotate(45deg);
| |
| -webkit-animation: blink 5s linear infinite;
| |
| -o-animation: blink 5s linear infinite;
| |
| animation: blink 5s linear infinite;
| |
| } | | } |
| @-webkit-keyframes blink {
| | .ns-special .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle{ |
| 0% {
| | background: var(--bg-color); |
| top: calc(-100% * 1.4142);
| |
| left: calc(-30px * 1.4142);
| |
| } | |
| to {
| |
| top: calc(-20px * 1.4142);
| |
| left: calc(100% + 10px * 1.4142);
| |
| }
| |
| } | | } |
| @-o-keyframes blink {
| | .ns-special .oo-ui-dropdownWidget-handle .oo-ui-labelElement-label{ |
| 0% {
| | color: #fff; |
| top: calc(-100% * 1.4142);
| |
| left: calc(-30px * 1.4142);
| |
| }
| |
| to { | |
| top: calc(-20px * 1.4142);
| |
| left: calc(100% + 10px * 1.4142);
| |
| }
| |
| } | | } |
| @-moz-keyframes blink {
| | /* 最近更改页面 */ |
| 0% { | | .ns-special .oo-ui-textInputWidget input.oo-ui-inputWidget-input{ |
| top: calc(-100% * 1.4142);
| | color: white; |
| left: calc(-30px * 1.4142);
| | background: var(--bg-color); |
| }
| |
| to {
| |
| top: calc(-20px * 1.4142);
| |
| left: calc(100% + 10px * 1.4142);
| |
| }
| |
| } | | } |
| @keyframes blink {
| | .ns-special .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button, |
| 0% {
| | .ns-special .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover{ |
| top: calc(-100% * 1.4142);
| | color: white; |
| left: calc(-30px * 1.4142);
| | background: var(--bg-color); |
| }
| |
| to {
| |
| top: calc(-20px * 1.4142);
| |
| left: calc(100% + 10px * 1.4142);
| |
| }
| |
| }
| |
| /* --决战方案/海上传奇舰船页面特效结束-- */
| |
| /* -------------------------------------------------- */
| |
| | |
| /* -------------------------------------------------- */
| |
| /* ==关卡掉落== */
| |
| .table-DropList th {
| |
| width: 4em; | |
| text-align: center; | |
| font-weight: bold;
| |
| } | | } |
| .table-DropList tr { | | .ns-special .mw-rcfilters-ui-filterMenuHeaderWidget-header, |
| border-bottom:0.8px solid #337ab7; | | .ns-special .mw-rcfilters-ui-filterMenuSectionOptionWidget{ |
| | background: var(--bg-color); |
| } | | } |
| .table-DropList td { | | .mw-rcfilters-ui-filterMenuHeaderWidget-title, |
| padding: 12px; | | .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label{ |
| display: -webkit-inline-box;
| | 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); |
| | |
| /* -------------------------------------------------- */
| |
| /* 指挥喵图鉴 */
| |
| .commanderbg {
| |
| background:url("https://patchwiki.biligame.com/images/blhx/b/b6/85a0oimsbpuvic73g246092dkoixq69.jpg") no-repeat fixed 50% 0; | |
| background-size:cover;
| |
| background-attachment:fixed
| |
| } | | } |
| .commandermianbaoxie { | | .mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not(.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk) { |
| padding: 5px 10px;
| | border-bottom: 1px solid var(--font-color); |
| margin: 10px 0;
| |
| border: 1px solid #eee; | |
| border-left-width: 5px;
| |
| border-radius: 3px;
| |
| background: #F9F9F9;
| |
| } | | } |
| .commanderframe { | | .mw-rcfilters-ui-itemMenuOptionWidget-view-namespaces { |
| width:90%;
| | border-top: 2px solid var(--font-color); |
| margin:auto;
| |
| background: #c0c0c07d;
| |
| border: 2px solid #fff; | |
| border-radius: 5px;
| |
| box-shadow: #000 2px 2px 5px;
| |
| } | | } |
| .commanderbasicinfo { | | .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:#fff; | | background: var(--bg-color); |
| border:1px solid #ddd;
| |
| border-radius:5px;
| |
| color:#66472a;
| |
| text-align:center;
| |
| } | | } |
| .commandersubtitle { | | .mw-rcfilters-ui-menuSelectWidget-footer{ |
| background:#fff; | | background: var(--bg-color); |
| border-radius:5px;
| |
| margin:10px;
| |
| padding:5px
| |
| } | | } |
| .commandertag { | | .mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget{ |
| border-radius:10px;
| | color: white; |
| height:25px;
| |
| width:65px;
| |
| background-color:#ffa629;
| |
| padding-left:5px;
| |
| border:2px solid white;
| |
| box-shadow:0px 1px 1px #333333;
| |
| float:left;
| |
| margin-right:5px;
| |
| position:relative; | |
| } | | } |
| .commandertagbar {
| |
| text-align:left;
| |
| text-indent:1em
| |
| }
| |
| .commandertagdesc {
| |
| position:absolute;
| |
| top:28px;
| |
| left:-2px;
| |
| z-index:999;
| |
| min-width:140px;
| |
| text-align:left;
| |
| box-shadow: 0 6px 12px rgba(0,0,0,.175);
| |
| padding:5px
| |
| }
| |
| /* --指挥喵图鉴结束-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */
| |
| /* ==页面[[狗赛克托马斯腹肌]]== */
| |
| .xbq {position: relative;width: 210px;height:140px;border: 1px solid #C5C5C5;overflow: hidden;}
| |
| .xbq1 {display: block;position: absolute;width: 100%;height: 33px;top: 107px;left: 0px;background: rgba(24, 24, 24, 0.9) none repeat scroll 0% 0%;z-index: 1;color: #fff;text-align: center;padding-top: 7px;line-height: 18px;}
| |
| div.xbq1:hover .xbq1{display: block;color: #fff;}
| |
| div.xbq:hover .xbq1{display: block;color: #fff;}
| |
| /* --页面[[狗赛克托马斯腹肌]]结束-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */
| | |
| /* ==攻略列表== */ | | /* 特殊页面 */ |
| /*攻略列表*/ | | .ns-special .mw-datatable th{ /* 特殊:追踪分类 表头*/ |
| .gllb {float:left;width:49%;;font-size:15px}
| | color:black; |
| @media only screen and (max-width:759px){
| | } |
| .gllb {float:left;width:100%;} | | .ns-special .mw-widget-dateInputWidget-handle label{ /* 特殊:用户贡献 日期筛选*/ |
| | color:black; |
| } | | } |
|
| |
|
| /*攻略组成员*/
| | #mw-indicator-mw-helplink .mw-helplink{/* 特殊页面右上角的问号帮助 */ |
| ul.mainpage-editor-list{list-style: none; padding: 0 0px;margin-left: 2px;}
| | filter: invert(100%) hue-rotate(180deg); |
| ul.mainpage-editor-list>li{margin: 0 0 5px;}
| | color: var(--bg-color); |
| ul.mainpage-editor-list>li>div{display: inline-block;}
| |
| ul.mainpage-editor-list .editor-image{margin-right: 5px;}
| |
| ul.mainpage-editor-list .editor-image img{width: 30px; height: 30px; box-shadow: 0 0 2px #000;border-radius: 7px;}
| |
| ul.mainpage-editor-list .editor-name{font-size: 0.86em; font-weight: bold;}
| |
| ul.mainpage-editor-list>li {display: inline-block;width: 49%;}
| |
| /* --攻略列表结束-- */ | |
| /* -------------------------------------------------- */
| |
| | |
| /* -------------------------------------------------- */
| |
| /* ==页面[[图鉴模拟]]== */
| |
| .tjmn-main{position:relative}
| |
| .tjmn-blank{position:absolute}
| |
| @media only screen and (min-width:992px){
| |
| .tjmn-frame{float:left;width:16.6667%;height:232px}
| |
| .tjmn-rareback{position:absolute;top:9px;left:7px} | |
| .tjmn-yardicon{position:absolute;top:9px;left:7px}
| |
| .tjmn-rare{position:absolute}
| |
| .tjmn-ShipType{position:absolute;top:11px;left:11px;width:40px}
| |
| .tjmn-num4{position:absolute;top:14px;left:98px;width:12px}
| |
| .tjmn-num3{position:absolute;top:14px;left:110px;width:12px}
| |
| .tjmn-num2{position:absolute;top:14px;left:122px;width:12px}
| |
| .tjmn-num1{position:absolute;top:14px;left:134px;width:12px}
| |
| .tjmn-name{position:absolute;top:169px;left:9px}
| |
| } | | } |
| @media only screen and (max-width:991px){
| | #pt-notifications-alert .oo-ui-labelElement .oo-ui-labelElement-label, .oo-ui-labelElement.oo-ui-labelElement-label{ |
| .tjmn-frame{float:left;width:16.6667%;height:80px}
| | color:var(--font-color); |
| .tjmn-rareback{position:absolute;top:4px;left:3px;width:50px}
| |
| .tjmn-yardicon{position:absolute;top:4px;left:3px;width:50px}
| |
| .tjmn-rare{position:absolute;width:56px}
| |
| .tjmn-ShipType{position:absolute;top:4px;left:4px;width:14px}
| |
| .tjmn-num4{position:absolute;top:5px;left:35px;width:4px}
| |
| .tjmn-num3{position:absolute;top:5px;left:39px;width:4px} | |
| .tjmn-num2{position:absolute;top:5px;left:43px;width:4px}
| |
| .tjmn-num1{position:absolute;top:5px;left:47px;width:4px}
| |
| .tjmn-name{position:absolute;top:60px;left:3px;width:50px}
| |
| } | | } |
| /* --页面[[图鉴模拟]]结束-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* 参数设置 */ |
| /* ==页面[[模板:图鉴模拟new]]== */
| | .ns-special .mw-prefs-buttons{ |
| .tjmnn-frame{float:left;width:14%;margin-left:1.333%;margin-right:1.333%;}
| | background: var(--bg-color); |
| .tjmnn-main{position:relative;} | |
| .tjmnn-rareback{position:absolute;} | |
| .tjmnn-yardicon{position:absolute;}
| |
| .tjmnn-back{position:absolute;top:0px;left:0px;}
| |
| .tjmnn-ShipType{position:absolute;}
| |
| .tjmnn-num4{position:absolute;}
| |
| .tjmnn-num3{position:absolute;}
| |
| .tjmnn-num2{position:absolute;}
| |
| .tjmnn-num1{position:absolute;}
| |
| .tjmnn-name{position:absolute;left:0px;}
| |
| .tjmnn-rare{position:absolute;top:0px;left:0px;}
| |
| .tjmnn-blank{position:absolute;top:0px;left:0px;}
| |
| @media only screen and (min-width:992px){
| |
| .tjmnn-frame{height:227px;}
| |
| .tjmnn-rareback{top:12px;left:8.25px;width:138px;}
| |
| .tjmnn-yardicon{top:12px;left:5.25px;width:144px;}
| |
| .tjmnn-back{width:155px;}
| |
| .tjmnn-ShipType{top:12px;left:5.75px;width:34.5px;}
| |
| .tjmnn-num4{top:12.75px;left:88px;width:13.5px;}
| |
| .tjmnn-num3{top:12.75px;left:101.5px;width:13.5px;}
| |
| .tjmnn-num2{top:12.75px;left:115px;width:13.5px;}
| |
| .tjmnn-num1{top:12.75px;left:128.5px;width:13.5px;}
| |
| .tjmnn-name{top:168px;width:155px;}
| |
| .tjmnn-rare{width:155px;}
| |
| .tjmnn-blank{width:155px;}
| |
| } | | } |
| @media only screen and (max-width:991px) and (min-width:768px){
| | .ns-special .oo-ui-tabSelectWidget-framed{ |
| .tjmnn-frame{height:151px;}
| | background: var(--bg-color); |
| .tjmnn-rareback{top:8px;left:5.5px;width:92px;}
| |
| .tjmnn-yardicon{top:8px;left:3.5px;width:96px;}
| |
| .tjmnn-back{width:103px;}
| |
| .tjmnn-ShipType{top:8.5px;left:3.5px;width:23px;}
| |
| .tjmnn-num4{top:8.5px;left:58.5px;width:9px;}
| |
| .tjmnn-num3{top:8.5px;left:67.5px;width:9px;}
| |
| .tjmnn-num2{top:8.5px;left:76.5px;width:9px;}
| |
| .tjmnn-num1{top:8.5px;left:85.5px;width:9px;}
| |
| .tjmnn-name{top:112px;width:103px;}
| |
| .tjmnn-rare{width:103px;}
| |
| .tjmnn-blank{width:103px;}
| |
| } | | } |
| @media only screen and (max-width:767px){
| | .ns-special .oo-ui-tabOptionWidget > .oo-ui-labelElement-label{ |
| .tjmnn-frame{height:75px;}
| | color: white; |
| .tjmnn-rareback{top:4px;left:2.75px;width:46px;}
| |
| .tjmnn-yardicon{top:4px;left:1.75px;width:48px;}
| |
| .tjmnn-back{width:51.5px;}
| |
| .tjmnn-ShipType{top:4.25px;left:2px;width:11.5px;}
| |
| .tjmnn-num4{top:4.25px;left:29.3px;width:4.5px;}
| |
| .tjmnn-num3{top:4.25px;left:33.8px;width:4.5px;}
| |
| .tjmnn-num2{top:4.25px;left:38.3px;width:4.5px;}
| |
| .tjmnn-num1{top:4.25px;left:42.8px;width:4.5px;}
| |
| .tjmnn-name{top:56px;width:51.5px;}
| |
| .tjmnn-rare{width:51.5px;}
| |
| .tjmnn-blank{width:51.5px;}
| |
| } | | } |
| /* --页面[[模板:图鉴模拟new]]结束-- */
| | .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; |
| /* ==页面[[建造模拟器]]== */
| |
| #BuildingCombos,#BuildingSpeed{border:3px double blue;font-weight:bold;background-color:yellow;color:blue}
| |
| #BuildingBtn button,#EmptyBuildingBtn button,#TimeLimitBuildingBtn button,#TimeLimitEmptyBuildingBtn button,#TreviFountainBuildingBtn button,#TreviFountainEmptyBuildingBtn button{padding:4px;margin:2px}
| |
| #BuildResult{min-width:50%;text-align:center;}
| |
| .speciallist td:nth-child(1){text-align:right} | |
| .speciallist td:nth-child(2){text-align:left} | |
| @media only screen and (max-width:991px){
| |
| .BuildingList{font-size:0} /* 移动端隐藏文字 */ | |
| #BuildResult{font-size:0.75em} /* 移动端缩小建造记录文字 */ | |
| } | | } |
| /* --页面[[建造模拟器]]结束-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* 特殊 通知 */ |
| /* ==页面[[碧蓝回忆录]]== */
| | .ns-special .mw-echo-ui-notificationsInboxWidget-toolbarWrapper, |
| .memoryname{
| | .ns-special .mw-echo-ui-notificationsInboxWidget-main .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button{ |
| display: inline-block; | | background: var(--bg-color) !important; /* 原css滥用了important */ |
| max-width: 100%;
| |
| overflow: hidden;
| |
| white-space: nowrap;
| |
| text-overflow: ellipsis;
| |
| font-family: 思源黑体 CN Normal, 方正黑体_GB18030, 方正黑体_GBK, 方正黑体简体, 黑体;
| |
| } | | } |
| @media only screen and (min-width:992px) {
| | .ns-special .mw-echo-ui-notificationsInboxWidget-main .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button{ |
| .memoryname { | | color:var(--font-color) !important; |
| font-size: 20px;
| |
| }
| |
| } | | } |
| @media only screen and (max-width:991px) {
| | .ns-special .mw-echo-ui-notificationItemWidget{ |
| .memoryname { | | background: var(--bg-color) !important; |
| font-size: 16px;
| |
| }
| |
| } | | } |
| @media only screen and (max-width:600px) {
| | .ns-special .mw-echo-ui-notificationItemWidget *{ |
| .memoryname { | | color:var(--font-color) !important; |
| font-size: 12px;
| |
| }
| |
| } | | } |
| /* --页面[[碧蓝回忆录]]结束-- */ | | /* 编辑原始监视列表 */ |
| /* -------------------------------------------------- */
| | .mediawiki .oo-ui-textInputWidget.oo-ui-widget-enabled textarea.oo-ui-inputWidget-input{ |
| | | background: var(--bg-color); |
| /* -------------------------------------------------- */
| | color:var(--font-color); |
| /* == 筛选按钮 == */
| |
| li.btn.cardSelectOption.selected {
| |
| color: #333!important;
| |
| background-color: #e6e6e6!important;
| |
| border-color: #adadad!important;
| |
| outline: 0; | |
| -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
| |
| box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
| |
| } | | } |
| @media only screen and (max-width: 600px) {
| | /* 特殊:监视列表 */ |
| li.btn.cardSelectOption {
| | .ns-special .mw-rcfilters-ui-itemMenuOptionWidget-label-title, |
| padding: 4px 8px;
| | .ns-special .mw-rcfilters-ui-itemMenuOptionWidget-label-desc{ |
| font-size: 12px;
| | color:var(--font-color); |
| }
| |
| li.btn.cardSelectOption:hover {
| |
| color: #333;
| |
| background-color: #fff;
| |
| border-color: #ccc;
| |
| }
| |
| } | | } |
| /* -- 筛选按钮 -- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* api沙盒*/ |
| /* == 筛选表格 == */
| | .ns-special .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled, |
| table.wikitable.FilterTable,
| | .ns-special .oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle, |
| table.wikitable.CardSelect {
| | .ns-special .oo-ui-tagMultiselectWidget.oo-ui-widget-disabled .oo-ui-tagMultiselectWidget-handle{ |
| background-color: #fff;
| | background: var(--bg-color); |
| border: 1px solid #529aef;
| |
| } | | } |
| @media only screen and (max-width: 600px) {
| | .ns-special .mw-apisandbox-toolbar{ |
| table.wikitable.FilterTable tr th {
| | background: unset; |
| font-size: 13px;
| |
| }
| |
| } | | } |
| table.wikitable.FilterTable td {
| | .ns-special .oo-ui-labelWidget.oo-ui-inline-help{ |
| border: none;
| | color:var(--font-color); |
| padding: 0px;
| |
| } | | } |
| table.wikitable.FilterTable th {
| | .ns-special .oo-ui-toggleSwitchWidget{ |
| padding: 5px 0px;
| | background: unset; |
| color:#fff;
| |
| border:1px solid #529aef;
| |
| border-right-color: transparent;
| |
| background:linear-gradient(45deg,#4a89e6,#529aef,#58b4f5,#5abef7);
| |
| } | | } |
| table.wikitable.CardSelect td {
| | /* 替换页面 */ |
| border: none;
| | .ns-special .ext-replacetext-searchoptions{ |
| | background: unset; |
| } | | } |
| table.wikitable.CardSelect tr:nth-of-type(odd) {
| | /* 所有信息 */ |
| background-color: #e5f0fd;
| | .ns-special #mw-allmessagestable tbody:hover td{ |
| | background-color:#373737; |
| } | | } |
| table.wikitable.CardSelect th {
| | /* 特殊 询问*/ |
| background: linear-gradient(45deg,#4a89e6,#529aef,#58b4f5,#5abef7);
| | .ns-special .smw-ask-options-row-odd, |
| color: #fff;
| | .ns-special .smw-ask-options-row-even, |
| border: none;
| | .ns-special .smw-ask-toplinks{ |
| | background: unset; |
| } | | } |
| table.wikitable.CardSelect tr th.headerSort {
| | .ns-special .smw-tabs input.nav-tab:checked + label.nav-label{ |
| background: url(data:image/gif;base64,R0lGODlhFQAJAIABAAAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjAxODAxMTc0MDcyMDY4MTE4OEM2REYyN0ExMDhBNDJFIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjdCNTAyODcwMEY4NjExRTBBMzkyQzAyM0E1RDk3RDc3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjdCNTAyODZGMEY4NjExRTBBMzkyQzAyM0E1RDk3RDc3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzUgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTg4QzZERjI3QTEwOEE0MkUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTg4QzZERjI3QTEwOEE0MkUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQBAAABACwAAAAAFQAJAAACF4yPgMsJ2mJ4VDKKrd4GVz5lYPeMiVUAADs=) right center no-repeat,linear-gradient(45deg,#4a89e6,#529aef,#58b4f5,#5abef7);
| | color:var(--font-color); |
| padding-right: 21px;
| |
| cursor: pointer;
| |
| } | | } |
| table.wikitable.CardSelect tr th.headerSortUp {
| | .ns-special .smw-icon-compact, |
| background: url(data:image/gif;base64,R0lGODlhFQAEAIABAAAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjAzODAxMTc0MDcyMDY4MTE4OEM2REYyN0ExMDhBNDJFIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjdCNTAyODc0MEY4NjExRTBBMzkyQzAyM0E1RDk3RDc3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjdCNTAyODczMEY4NjExRTBBMzkyQzAyM0E1RDk3RDc3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzUgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDM4MDExNzQwNzIwNjgxMTg4QzZERjI3QTEwOEE0MkUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDM4MDExNzQwNzIwNjgxMTg4QzZERjI3QTEwOEE0MkUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQBAAABACwAAAAAFQAEAAACDYwfoAvoz9qbZ9FrJC0AOw==) right center no-repeat,linear-gradient(45deg,#4a89e6,#529aef,#58b4f5,#5abef7);
| | .ns-special .smw-icon-info{ |
| | filter: invert(100%) hue-rotate(180deg); |
| } | | } |
| table.wikitable.CardSelect tr th.headerSortDown {
| | /* 管理评论 */ |
| background:url(data:image/gif;base64,R0lGODlhFQAEAIABAAAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjAyODAxMTc0MDcyMDY4MTE4OEM2REYyN0ExMDhBNDJFIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhFNzNGQjI3MEY4NjExRTBBMzkyQzAyM0E1RDk3RDc3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhFNzNGQjI2MEY4NjExRTBBMzkyQzAyM0E1RDk3RDc3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzUgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDI4MDExNzQwNzIwNjgxMTg4QzZERjI3QTEwOEE0MkUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDI4MDExNzQwNzIwNjgxMTg4QzZERjI3QTEwOEE0MkUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQBAAABACwAAAAAFQAEAAACDYyPAcmtsJyDVDKKWQEAOw==) right center no-repeat,linear-gradient(45deg,#4a89e6,#529aef,#58b4f5,#5abef7);
| | .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, |
| #clearbody{
| | .mw-rcfilters-ui-savedLinksListItemWidget:hover, |
| display:none | | .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); |
| table.CVTable,
| |
| table.IllustratorTable {
| |
| background-color: #fff;
| |
| border: 1px solid transparent;
| |
| border-color: #337ab7;
| |
| width:100%;
| |
| } | | } |
| table.CVTable th,
| | .diffchange.diffchange-inline, |
| table.CVTable tr td:first-of-type,
| | .diffchange{ |
| table.IllustratorTable th{
| | color:var(--bg-color); |
| padding-top: 5px;
| |
| padding-bottom:5px;
| |
| text-align: center;
| |
| background-color:aliceblue;
| |
| color:black;
| |
| } | | } |
| @media only screen and (min-width:576px){
| | |
| table.CVTable th,
| | |
| table.CVTable tr td:first-of-type,
| | #filetoc{ |
| table.IllustratorTable th{ | | background-color: transparent; |
| min-width: 200px;
| |
| }
| |
| } | | } |
| table.CVTable tr,
| | .mw-userrights-groups label{ |
| table.IllustratorTable tr{
| | color: white; |
| border: 1px solid white;
| |
| border-color: #337ab7;
| |
| } | | } |
| table.CVTable td,
| | |
| table.IllustratorTable td {
| | .mw-search-profile-tabs, |
| padding: 0.5em;
| | #mw-searchoptions{ |
| line-height:3;
| | background: inherit; |
| } | | } |
| table.CVTable th,
| | |
| table.CVTable tr td:first-of-type{
| | /* 搜索结果页面的输入框下的自动列表 */ |
| line-height: 2;
| | .mediawiki .oo-ui-defaultOverlay a{ |
| | color: var(--a-color); |
| | } |
| | .mediawiki .oo-ui-defaultOverlay a:hover{ |
| | color: var(--a-hover-color); |
| } | | } |
| /* -- 声优表格 -- */
| |
| /* -------------------------------------------------- */
| |
|
| |
| /* -------------------------------------------------- */
| |
| /* ==计算器== */
| |
| /* 主要页面[[???]] */
| |
| /* JS页面[[MediaWiki:???]] */
| |
| .calculator ul,.calculator li{padding:0;margin:0;list-style:none;}
| |
| .calculator{width:90%;border:2px solid #4f9bd7;border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;-o-border-radius:10px;-ms-border-radius:10px;margin:0 auto;text-align:center;padding-bottom:30px;}
| |
| .calculator b{font-size:24px;color:#4f9bd7;font-weight:normal;display:inline-block;padding:40px 0 30px;}
| |
| .calculator span{display:block;text-align:left;padding:0 30px;line-height:1.5;}
| |
| .calculator ul{width:100%;font-size:0;padding:20px 0;overflow:hidden;}
| |
| .calculator li{width:20%;display:inline-block;text-align:center;padding-top:15px;}
| |
| .calculator ul.w-7 li{width:14.2%}
| |
| .calculator li font{font-size:14px;display:inline-block;padding-bottom:10px;}
| |
| .jsq-text{width:80%;display:inline-block;border:none;background:none;width: 80%;display: inline-block;border: 1px solid #dedfe0;height: 30px;line-height: 30px;font-size: 14px;color:#7c7c7c;}
| |
| .calculator code{background:none;border:none;display:inline-block;height:30px;border:1px solid #4f9bd7;color:#4f9bd7;font-size:14px;line-height:30px;border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;-o-border-radius:10px;-ms-border-radius:10px;cursor:pointer;padding:0 20px;margin-right:5px;}
| |
| .calculator em{font-size:20px;font-style:normal;}
| |
| .jsq-jg{display:inline-block;border:1px solid #dedfe0;height:30px;line-height:30px;font-size:14px;color:#7c7c7c;padding:0 10px;margin-left:5px;}
| |
| .calculator ul.phoneli li{display:block;width:100%;}
| |
| /* --计算器-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | /* 创建模版页面 */ |
| /* == 活动pt计算器 == */
| | .fieldBox{ |
| #ECALCPt td:nth-child(3),.ECALCinput {
| | background: inherit; |
| border: 3px double blue;
| |
| font-weight: bold;
| |
| background-color: yellow;
| |
| color: blue;
| |
| } | | } |
| /* --活动pt计算器-- */ | | /* 特殊:滥用日志 */ |
| /* -------------------------------------------------- */
| | .mw-widgets-datetime-dateTimeInputWidget-handle{ |
| | | background: inherit; |
| /*用途不明*/
| |
| /* -------------------------------------------------- */
| |
| /*mobiletablist*/
| |
| .resp-tabs-list {
| |
| zoom: 1
| |
| } | | } |
| .resp-tabs-list:after { | | .ns-special .mw-widgets-datetime-calendarWidget{ |
| visibility: hidden;
| | background: var(--bg-color); |
| display: block;
| |
| font-size: 0;
| |
| content: " ";
| |
| clear: both;
| |
| height: 0
| |
| } | | } |
| @media (max-width: 768px) {
| | .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:active, |
| .resp-tabs .resp-tabs-list {
| | .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select{ |
| white-space: nowrap;
| | background: var(--bg-color); |
| overflow-x: scroll
| | color: var(--font-color); |
| }
| |
| .resp-tabs .resp-tabs-list .bili-list-style {
| |
| float: none !important;
| |
| display: inline-block
| |
| }
| |
| } | | } |
| /* -------------------------------------------------- */
| |
|
| |
|
| | /* 历史页面 */ |
| | .mediawiki #pagehistory li.selected { |
| | background: #444444; |
| | color: inherit; |
| | outline: 1px dashed #767676; |
| | } |
|
| |
|
| /* -------------------------------------------------- */
| | .mediawiki .mw-echo-ui-placeholderItemWidget { |
| /* 短视频 */
| | background-color: #3d3d3d; |
| .dsp {background:#eee;border-radius: 10px 10px 0px 0px;overflow:hidden;box-shadow: 1px 2px 3px rgba(181, 181, 181, 0.73);} | |
| .dsp-25 {float:left;width:25%;padding:15px;} | |
| .dsp-box {line-height:22px;font-size:12px;padding: 5px 15px;}
| |
| .dsp-title {font-variant: normal;display: inline-block;text-overflow: ellipsis;white-space: nowrap;width: 90%;overflow: hidden;}
| |
| .dsp-mf {width:100%;height:120px;overflow:hidden;border-radius: 10px 10px 0px 0px;position:relative; display:inline-block;}
| |
| @media only screen and (max-width:759px){
| |
| .box-width {width:100%;}
| |
| .dsp-25 {padding:5px 0px;float:none;width:100%;}
| |
| } | | } |
| /* 短视频 end*/
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* -------------------------------------------------- */ | | /*跳转引文时,引文高亮色*/ |
| /* ==用于特定页面== */ | | ol.references li:target, sup.reference:target { |
| | background-color: #434343; |
| | } |
| | |
| | /* 版主页面的冲突词条背景 */ |
| | .mediawiki .modconflict { |
| | background-color: #ffaaaa70; |
| | } |
|
| |
|
| /* 数据页小导航 */
| |
| .dh {width:100%;border-radius: 8px;border: 1px solid #D1D1D1;padding: 10px;margin: 20px 0px;}
| |
|
| |
|
| /* 愿望便笺 */
| |
| .wish{background-image:url(https://patchwiki.biligame.com/images/blhx/7/71/hcpauuql4zumwwdq25c553ccci1khsd.png);width:290px;height:451px}
| |
|
| |
|
| /* 纯图片时添加不可见的搜索文本 */
| |
| .hidetext{
| |
| position: absolute;
| |
| opacity: 0;
| |
| }
| |
|
| |
|
| /* --用于特定页面-- */
| |
| /* -------------------------------------------------- */
| |
|
| |
|
| /* 底部虚线 */ | | /* == 响应式修复 == */ |
| .dbxx { | | /* 避免顶部导航超宽 */ |
| border-bottom: 1px dashed #717171;
| | .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 { |
| .bfb {text-align:center;width: 50%;}
| | width: auto; |
| .row .bfb {width: 100%;} | | max-width: 750px; |
| @media only screen and (max-width:759px){
| | } |
| .bfb {width: 100%;}
| |
| } | | } |
| | | @media (min-width: 992px) { |
| /* -------------------------------------------------- */
| | .mediawiki .bili-game-header-nav .bili-game-header-nav-main { |
| | | width: auto; |
| /*推荐装备*/
| | max-width: 970px; |
| .REt {
| | } |
| display: inline-block;
| |
| } | | } |
| @media only screen and (max-width:991px){ | | @media (min-width: 1200px) { |
| .REt {
| | .mediawiki .bili-game-header-nav .bili-game-header-nav-main { |
| font-size:0;
| | width: auto; |
| }
| | max-width: 1160px; |
| | } |
| } | | } |
| .equiptable > tr > th, .equiptable > tr > td, .equiptable > * > tr > th, .equiptable > * > tr > td { | | |
| padding: 0px;
| | /* 避免底部页脚超宽 */ |
| border-bottom: 0.8px solid #d0d0d0;
| | .mediawiki .footer-public .footer-box { |
| height: 41px;
| | max-width: 100%; |
| | width: auto; |
| } | | } |
| .equiptable .equipcell { | | |
| float: right;
| | /* 页面边距调整,避免超宽 */ |
| margin: 5px 0px;
| | @media (min-width: 768px) { |
| | .game-bg { |
| | padding: 0 6px 100px; |
| | padding: 0 min(calc((100% - 750px) / 2), 60px) 100px; |
| | } |
| } | | } |
| .equiptable .equiptext { | | @media (min-width: 992px) { |
| height: 40px;
| | .game-bg { |
| display: table-cell;
| | padding: 0 6px 100px; |
| vertical-align: middle;
| | padding: 0 min(calc((100% - 970px) / 2), 60px) 100px; |
| | } |
| } | | } |
| @media only screen and (max-width: 768px) { | | @media (min-width: 1200px) { |
| .equiptable .xtb-image img {
| | .game-bg { |
| margin:0 1px;
| | padding: 0 6px 100px; |
| }
| | padding: 0 min(calc((100% - 1160px) / 2), 60px) 100px; |
| | } |
| } | | } |
| /*推荐装备*/
| |
| /*追加样式结束*/
| |
| /* -------------------------------------------------- */
| |
| /* -------------------------------------------------- */
| |