◆42Lab是非盈利性、非官方的云图计划维基百科。 ◆诚邀指挥官们加入编辑部共同建设wiki。点这里加入42Lab ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易! ◆有任何意见、建议、纠错,欢迎在任意评论区评论 ◆编辑讨论QQ群741423564 微博@GFwiki少前百科 欢迎您 |
“MediaWiki:Common.css”的版本间的差异
来自42LAB
小 (上升infobox) |
|||
第98行: | 第98行: | ||
font-size: 2rem; | font-size: 2rem; | ||
width:128px; | width:128px; | ||
+ | min-width:64px; | ||
} | } | ||
@media screen and (max-width:600px){ | @media screen and (max-width:600px){ |
2021年10月23日 (六) 16:00的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* custom font */
@font-face {
font-family: 'novecento sans widemedium';
src: url('fonts/Novecentosanswide-Medium-webfont.woff2') format('woff2'),
url('fonts/Novecentosanswide-Medium-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: '思源黑体';
src: url('fonts/SourceHanSansCN-Regular.otf') format('opentype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: '思源黑体';
src: url('fonts/SourceHanSansCN-Medium.otf') format('opentype');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: '思源黑体';
src: url('fonts/SourceHanSansCN-Light.otf') format('opentype');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: '思源黑体';
src: url('fonts/SourceHanSansCN-Heavy.otf') format('opentype');
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: '思源黑体';
src: url('fonts/SourceHanSansCN-ExtraLight.otf') format('opentype');
font-weight: 200;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: '思源黑体';
src: url('fonts/SourceHanSansCN-Bold.otf') format('opentype');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Mohave';
src: url('fonts/Mohave-Light.woff2') format('woff2'),
url('fonts/Mohave-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
font-display: swap;
}
.invertBlack {filter:invert(1)}
.noHighlight {user-select:none}
.noLeftClick {pointer-events:none}
.dropShadow{filter: drop-shadow(-3px 4px 3px gray);}
/* template:物品图标 assests */
.icon.smallbox img.mainicon {background-size:80%}
.icon .back {
clip-path: polygon(91.92% 0.00%, 8.08% 0.00%, 0.00% 8.08%, 0.00% 91.92%, 8.08% 100.00%, 42.19% 100.00%, 42.19% 96.87%, 9.38% 96.87%, 3.13% 90.62%, 3.13% 9.38%, 9.38% 3.13%, 90.63% 3.13%, 96.88% 9.38%, 96.88% 90.63%, 90.63% 96.88%, 42.19% 96.88%, 42.19% 100.00%, 91.92% 100.00%, 100.00% 91.92%, 100.00% 8.08%, 91.92% 0.00%);
position: absolute;
display: block;
width: 100%;
height: 100%;
top: 0;
left: 0px;
z-index: 3;
}
.icon .plate {
clip-path: polygon(8.83% 97.50%, 2.50% 91.17%, 2.50% 8.83%, 8.83% 2.50%, 91.16% 2.50%, 97.49% 8.83%, 97.49% 91.16%, 91.16% 97.49%, 8.83% 97.49%);
position: absolute;
background-image: radial-gradient(circle, transparent 60%, rgb(0 0 0 / 50%) 150%);
display: block;
width: 100%;
height: 100%;
top: 0;
left: 0px;
z-index: 0;
}
.icon {
position: relative;
display: inline-block;
aspect-ratio: auto 1 / 1;
font-size: 2rem;
width:128px;
min-width:64px;
}
@media screen and (max-width:600px){
.icon {
width:64px;
}
}
.icon .mainicon{
z-index:0;
height:auto;
width:100%;
position:relative;
z-index:1;
background-size: 100%;
background-repeat: no-repeat;
background-position:center;
clip-path: polygon(8.83% 97.50%,2.50% 91.17%,2.50% 8.83%,8.83% 2.50%,91.16% 2.50%,97.49% 8.83%,97.49% 91.16%,91.16% 97.49%,8.83% 97.49%);
}
.icon .subicon{z-index:10;position:absolute;height:auto;}
.icon .subicon.rb{
right: 10%;
bottom: 10%;
width:20%;
height:20%;
}
.icon .subicon.tl{
left: 3%;
top: 3%;
width: 25%;
height: 25%;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
.icon .overclip{
clip-path: polygon(91.92% 0%, 8.08% 0%, 0% 8.08%, 0% 91.92%, 8.08% 100%, 91.92% 100%, 100% 91.92%, 100% 8.08%);
position: absolute;
width: 100%;
height: 100%;
z-index: 2;
}
.icon span.quantity {
font-family:"Agency FB";
position: absolute;
right: 0;
bottom: 0;
display: block;
color: white;
line-height: 100%;
background-color: rgb(0 0 0 / 50%);
padding: 1% 6% 3% 3%;
}
.icon.rarity1 .back {background-color:#7D7D7D}
.icon.rarity1 .plate {background-color:#606060}
.icon.rarity1.blend .subicon.tl{filter:url(#blendColor1)}
.icon.rarity2 .back {background-color:#60c030}
.icon.rarity2 .plate {background-color:#507040}
.icon.rarity2.blend .subicon.tl{filter:url(#blendColor2)}
.icon.rarity3 .back {background-color:#5CB7EC}
.icon.rarity3 .plate {background-color:#256070}
.icon.rarity3.blend .subicon.tl{filter:url(#blendColor3)}
.icon.rarity4 .back {background-color:#BA77FF}
.icon.rarity4 .plate {background-color:#6C4466}
.icon.rarity4.blend .subicon.tl{filter:url(#blendColor4)}
.icon.rarity5 .back {background-color:#FF8000}
.icon.rarity5 .plate {background-color:#805530}
.icon.rarity5.blend .subicon.tl{filter:url(#blendColor5)}
.icon .overlay{
clip-path: polygon(91.92% 0%, 8.08% 0%, 0% 8.08%, 0% 91.92%, 8.08% 100%, 91.92% 100%, 100% 91.92%, 100% 8.08%);
position: absolute;
width: 100%;
height: 100%;
z-index: 4;
}
.icon .overlay::before {
content:"";
width:50%;
height:50%;
display:block;
position:absolute;
left:0;
top:0;
background-image:linear-gradient(135deg,black 50%,transparent 50%);
z-index:0;
}
/* template:技能图标 assests */
.skillIcon {
position: relative;
display: inline-block;
width: 180px;
overflow: hidden;
margin-right: 5px;
border-radius: 10px 10px 5px 5px;
transition: all 0.15s ease-in-out;
}
.skillIcon:hover {
box-shadow: 0 0 10px white;
}
.skillIcon img {position:absolute;left:0;height:auto;bottom:0px;pointer-events:none;width:100%;height:auto}
.skillIcon * {user-select:none}
.skillIcon .skillBase {
position: relative;width:100%;height:auto;
}
.skillIcon .skillContent {
width: 72%;
height: auto;
margin: 14.444%;
}
/* template:MainCard assests */
@media screen and (max-width: 420px) {
.charCard {
transform: scale(0.5);
margin: 0;
margin-bottom: -126px;
margin-right: -64px !important;
transform-origin: 0 0;}
}
.charCard {
position: relative;
display: inline-block;
width: 128px;
overflow: hidden;
margin-right: 5px;
border-radius: 10px 10px 5px 5px;
transition: all 0.15s ease-in-out;
}
.charCard:hover {
box-shadow: 0 0 10px black;
}
.charCard img {position:absolute;left:0;height:auto;bottom:0px;pointer-events:none}
.charCard * {user-select:none}
.charCard .cardBase {
position: relative;
}
.charCard .cardFaction {
left: 16%;
top: -5%;
width: 145px;
opacity: 0.3;
}
.charCard .cardChar {
width:100%;
pointer-events:all;
}
.charCard .cardCharNopic {
width:100%;
filter:contrast(0);
pointer-events:all;
}
.charCard .cardClass {
top: 11px;
left: 2px;
bottom: unset;
height: 15px;
width: auto;
}
.charCard .cardID{
position: absolute;
right: 2px;
top: 6px;
font-size: 15px;
font-family: Mohave;
}
.charCard .cardName {
position: absolute;
left: 2px;
bottom: 5px;
font-size: 1rem;
}
.charCard.rarity3::after {
content: '';
transform: perspective(190px) rotateY(-45deg);
height: 148px;
width: 8px;
background-color: #ff8b08;
background-image: linear-gradient(to top,rgb(255 255 255 / .3),transparent);
position: absolute;
top: 28px;
right: 2px;
box-shadow: 5px 0 10px #ff8c14;
}
.charCard.rarity2::after {
content: '';
transform: perspective(190px) rotateY(-45deg);
height: 148px;
width: 8px;
background-color: #b268f3;
background-image: linear-gradient(to top,rgb(255 255 255 / .3),transparent);
position: absolute;
top: 28px;
right: 2px;
box-shadow: 5px 0 10px #af64ff;
}
.charCard.rarity1::after {
content: '';
transform: perspective(190px) rotateY(-45deg);
height: 148px;
width: 8px;
background-color: #2c99ff;
background-image: linear-gradient(to top,rgb(255 255 255 / .3),transparent);
position: absolute;
top: 28px;
right: 2px;
box-shadow: 5px 0 10px #2896ff;
}
/* End MainCard */
/* 技能和函数效果描述注释高亮 */
.commented-beneficial { color: #5b9606; }
.commented-harmful { color: #d92525; }
.commented-neutral { color: #256ecf; }
/* 表格logo */
table.logo::after{
content: "";
position: absolute;
bottom: 00px;
right:00px;
pointer-events: none;
width: 250px;
height: 250px;
opacity:0.1;
background: url(/images/vectorize_logo/GFWiki_LOGO_Square_Filled.svg) no-repeat right bottom;
background-size: 80%;
}
table.logo{position:relative;}
/* Sidebar Glass effect
div#MenuSidebar > ul{backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);} */
.lazyload,
.lazyloading {
opacity: 0;
}
.lazyloaded {
opacity: 1;
transition: opacity 300ms;
}
.stattable th .mw-collapsible-text {color:black !important}
/* spine 全局样式 */
div[data-tdoll-id] {
position: relative;
justify-content: center;
align-items: center;
display: flex;
}
/* template:折叠 样式 */
div.simpleCollapse span {
border: 4px solid;
display: inline-block;
color: #000;
padding: 0.5rem 1rem;
border-radius: 0px;
cursor: pointer;
background: #f4c430;
border-image: url(//www.gfwiki.org/images/vectorize_border/border_dot.svg);
border-image-slice: 2;
border-image-width: 2px;
background-clip: padding-box;
transition: all 0.1s ease-in-out;
user-select: none;
}
div.simpleCollapse span.silver {
border: 4px solid;
display: inline-block;
color: #fff;
padding: 0.5rem 1rem;
border-radius: 0px;
cursor: pointer;
background: #333;
border-image: url(//www.gfwiki.org/images/vectorize_border/border_dot.svg);
border-image-slice: 2;
border-image-width: 2px;
background-clip: padding-box;
transition: all 0.1s ease-in-out;
user-select: none;
}
/* 回到顶部 */
.backToTop { opacity: 1;
filter: alpha(opacity=100);
position: fixed;
z-index: 9999;
bottom: 10px;
right: 5px;
display: none;
height: 160px;
width: 100px;
background-repeat: no-repeat;
background-image: url(//www.gfwiki.org/images/d/df/Up_btn.gif);
background-color: transparent;
background-size: 100%;
cursor: pointer;
}
/* 隐藏编辑页面中的返回顶部按钮 */
.action-edit .backToTop,
.action-submit .backToTop {
display: none !important;
}
/* 小头像通用样式 */
div.NSavatar {
position: relative;
width: 100px;
height: 100px;
background-repeat: no-repeat;
background-size: 100% 100%;
display: inline-block
}
div.NSavatar img {
padding: 10%;
width: 80% !important;
height: 80% !important;
}
div.NSavatar::after {
left: 0px;
top: 0px;
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: 100% 100%;
pointer-events: none;
z-index: 1
}
/* 小头像稀有度样式 */
div.NSavatar.rareBlank {
background-image: url(/images/8/84/Item_blank.png);
}
div.NSavatar.rare1::after {
content:" ";
background-image:url(/images/9/9a/Icon_1x_star.png);
position: absolute;
}
div.NSavatar.rare2::after {
content:" ";
background-image:url(/images/8/84/Icon_2x_star.png);
position: absolute;
}
div.NSavatar.rare2 {
background-image: url(/images/b/b4/Icon_2x.png);
}
div.NSavatar.rare3::after {
content:" ";
background-image:url(/images/4/45/Icon_3x_star.png);
position: absolute;
}
div.NSavatar.rare3 {
background-image: url(/images/3/31/Icon_3x.png);
}
div.TDavatar.rareEX::after ,div.TDavatar.rare1::after {
content:" ";
background-image:url(/images/0/05/Icon_Ex_star.png);
position: absolute;
}
div.TDavatar.rareEX , div.TDavatar.rare1 {
background-image: url(/images/8/8a/Icon_Ex.png);
}
div.TDavatar.SF::after {
content:" ";
background-image:url(/images/b/b0/Icon_SF_star.png);
position: absolute;
}
div.TDavatar.SF {
background-image: url(/images/3/38/Icon_SF.png);
}
div.TDavatar.none::after {
content:" ";
background-image:url(/images/5/5f/Icon_none_star.png);
position: absolute;
}
div.TDavatar.none {
background-image: url(/images/3/37/Icon_none.png);
}
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
position: relative;
z-index: 1;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
/* tabber样式(在tabber上级元素中加入class="pretab") */
.pretab > .tabber ul.tabbernav {
margin: 0px;
padding: 0px 0px !important;
border-bottom: 0px solid #CCC;
font-family: "Microsoft YaHei",Sans-Serif !important;
font-size: 1em !important;
font-weight: normal !important;
margin-bottom: 3px;
}
.pretab > .tabber .tabbertab {
padding: 0px;
border: 0px solid #CCC;
border-bottom: 2px solid #f4c430;
border-right: 2px solid #f4c430;
background-image: linear-gradient(135deg, #f4c430 5px,transparent 5px);
padding: 10px;
background-color:#333
}
/* 人形页spine动画 */
.spinebox > p{
height:25px;
text-align:center;
line-height:25px;
font-weight:bold;
margin:0px;
margin-bottom:2px;
display: block;
flex-basis: 300px;
flex-shrink: 1;
flex: 1;
min-width: 300px;
color: #333;
}
.spinebox > p:nth-child(2) {height: 0px;position: relative;z-index: 1;text-align: right;margin: 0px;padding-right:5px;}
.spinebox > div {
background:rgba(119, 119, 119, 0.33);
flex-basis: 300px;
flex-shrink: 1;
flex-grow: 1;
}
.spinebox {
border: 10px double;
border-image: url(/images/vectorize_border/BORDER_BIG.svg);
border-image-slice: 10;
border-image-width: 10px;
background: rgba(51,51,51,0.7);
background-clip: content-box;
flex-flow: row wrap;
max-width: 920px;
min-width: 304px;
display: block;
}
/* Quote 样式 (配合模板使用) */
table.cquote {
text-shadow: 0 0 5px black;
padding: 0.5em 1em 0em 0em;
}
table.cquote.type1 {
border-left: 5px solid #f4c430;
border-spacing: 0;
background-image: linear-gradient(0deg,rgba(244, 196, 48, 0.2) 1px,transparent 1px),linear-gradient(90deg,rgba(0, 0, 0, 0.5) 35%,transparent 100%);
background-size: 100% 3px;
}
table.cquote.type2 {
border-left: 5px solid #e00000;
border-spacing: 0;
background-image: linear-gradient(0deg,rgba(244, 48, 48, 0.2) 1px,transparent 1px),linear-gradient(90deg,rgba(51, 0, 0, 0.5) 35%,transparent 100%);
background-size: 100% 3px;
}
table.cquote > tbody td.content {
padding-left: 1em;
font-style:italic;
}
table.cquote > tbody td.character {
padding-left: 2em;
vertical-align: bottom;
}
table.cquote > tbody td.character > p{
font-size:smaller;
text-align:right;
margin: 0px;
margin-top: 1em;
}
table.cquote > tbody td.content > p:last-child {
color: #f4c430;
font-weight: bold;
font-style: normal;
text-align: center;
}
/*标签头像样式*/
div.TDnavbar {
position: relative;
vertical-align: middle;
font-size: 15pt;
background-color:rgba(85, 85, 85, 0.9);
padding:3px 5px;
font-family:'Linux Libertine','Georgia','Times',serif;
margin-right: 5px;
}
div.TDnavbar:before{
content:"";
z-index:11;
position:absolute;
width:100%;
left:0px;
padding-right: 5px;
height:100%;
background-image:linear-gradient(0deg,transparent 49%,#fff 49%,#fff 51%,transparent 50%);
}
div.TDnavbar {display:none;transition: 0.5s all ease-in;opacity:0;position:absolute;z-index:100;min-width:100px;word-break:keep-all;right:70px;border-right:5px solid;}
a:hover + div.TDnavbar {opacity:1;display:block}
div.TDnavbox.r5 img {
position: relative;
Z-INDEX:10;
width:65px;
border-right: 5px solid #feb300 ;
background-color: rgba(85, 85, 85, 0.65);
background-image: linear-gradient(-70deg,#aa7746 34px,transparent 35px);
background-repeat: no-repeat;
}
div.TDnavbox.r5 div.TDnavbar{
color:#feb300;
}
div.TDnavbox.r4 img { position: relative;
Z-INDEX:10;
width:65px;
border-right: 5px solid #d1df5b ;
background-color: rgba(85, 85, 85, 0.65);
background-image: linear-gradient(-70deg,#81824b 34px,transparent 35px);
background-repeat: no-repeat;
}
div.TDnavbox.r4 div.TDnavbar{
color:#d1df5b ;
}
div.TDnavbox.r3 img { position: relative;
Z-INDEX:10;
width:65px;
border-right: 5px solid #6bdac7 ;
background-color: rgba(85, 85, 85, 0.65);
background-image: linear-gradient(-70deg,#32506e 34px,transparent 35px);
background-repeat: no-repeat;
}
div.TDnavbox.r3 div.TDnavbar{
color:#6bdac7 ;
}
div.TDnavbox.r2 img { position: relative;
Z-INDEX:10;
width:65px;
border-right: 5px solid #fff ;
background-color: rgba(85, 85, 85, 0.65);
background-image: linear-gradient(-70deg,#747474 34px,transparent 35px);
background-repeat: no-repeat;
}
div.TDnavbox.r2 div.TDnavbar{
color:#fff ;
}
div.TDnavbox.r6 img { position: relative;
Z-INDEX:10;
width:65px;
border-right: 5px solid #deb6ff ;
background-color: rgba(85, 85, 85, 0.65);
background-image: linear-gradient(-70deg,#68517b 34px,transparent 35px);
background-repeat: no-repeat;
}
div.TDnavbox.r6 div.TDnavbar{
color:#deb6ff ;
}
div.TDnavbar > p { position: relative;
display: block;
padding:4px 10px;
margin:0px;
text-align:center;
line-height:1em;
word-break: keep-all;
white-space: nowrap;
}
div.TDnavbox{
word-break: keep-all;
min-width: auto;
flex-wrap: nowrap;
display: inline-flex;
padding: 3px 5px;
position: relative;
}
/*标签式头像图鉴样式2*/
table.iconbox tr > td:first-child {padding-top:4px;vertical-align:top;}
table.iconbox tr > td:last-child {padding:0px;font-size:0px;}
div.TDnavbox.lead div.TDnavbar {left:75px;right:auto;}
/* 折叠部分 */
/* Default styling for Navbar template */
.navbar {
display: inline;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.navbar li {
word-spacing: -0.125em;
}
/* Navbar styling when nested in navbox */
.navbox .navbar {
display: block;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 8em;
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
width: 8em;
}
/* Footer */
div#footer #footer-icons li {
margin-left: 0;
}
#footer-poweredbyico a {
margin-right: 0.5em;
}
/* Tooltips */
a.top_tooltip {
display: inline;
position: relative;
}
a.top_tooltip span {
width: 140px;
height: auto;
color: #fff;
background: #2b2b2b;
position: absolute;
font-size: 13px;
text-align: center;
padding: 10px;
line-height: 20px;
visibility: hidden;
border-radius: 10px;
}
a.top_tooltip span:after {
content: '';
position: absolute;
top: 100%;
left: 50%;
margin-left: -8px;
width: 0;
height: 0;
border-top: 8px solid #2b2b2b;
border-right: 8px solid transparent;
border-left: 8px solid transparent;
}
a:hover.top_tooltip span {
visibility: visible;
opacity: 0.8;
bottom: 30px;
left: 50%;
margin-left: -76px;
z-index: 999;
}
#cnzz_stat_icon_1260801769 {
visibility: hidden;
}
/* Slider */
.csslider1 > ul {
height: 280px;
}
/* diff-context */
.diff-context {
color: #9e9e9e ;
}
td.diff-addedline .diffchange {
color: #9e9e9e;
}
td.diff-context>div {
color: #9e9e9e ;
}
/* goTop */
.goTop {
height: 64px;
width: 64px;
background: rgba(244, 196, 48, 0.8);
position: fixed;
border-radius: 50px;
top: 80%;
right: 1%;
display: none;
}
.goTop span {
color: #fff;
background-image: url('/resources/assets/rocket.png');
position: absolute;
width: 90%;
height: 90%;
}
.sm2-bar-ui {
font-size: 16px;
}
.sm2-bar-ui .sm2-inline-texture {
background: transparent;
}
.sm2-widget-3f4e46fe-0b3e-4e01-83f2-44dd887e0f8b .sm2-bar-ui .sm2-main-controls,
.sm2-widget-3f4e46fe-0b3e-4e01-83f2-44dd887e0f8b .sm2-bar-ui .sm2-playlist-drawer,
.sm2-widget-3f4e46fe-0b3e-4e01-83f2-44dd887e0f8b .sm2-bar-ui .sm2-lyric-drawer {background-color: #F4C430;
}
/* SMW 样式 */
.smw-editpage-help {
background-color: #333;
border: 1px solid silver;
padding: 0.5em 1em 0.5em 1em;
margin-bottom: 1em;
}
.iteminfo {
display: none;
}
.itemhover:hover .iteminfo {
display: block;
}
.nodesktop {
display: none !important;
}
.mw-collapsible-toggle{
position:relative;
Z-index:50;
}
.gfbackground{
border-radius:10px;
background:url(/images/9/99/BG_1.png);
background-size: 50px;
}
.smw-ask-otheroptions tr{background:#333 !important;}
/* 替代筛选表格样式 Start */
table.wikitable > tr > th, table.wikitable > * > tr > th {
background-color: #B5B5B5;
}
/* 替代筛选表格样式 End */
/* tab body*/
.tabber{
display:block;
}
.tabbertab p{
margin:0px;
}
.tabber .tabbertab {
padding: 0px;
border: 0px solid #CCC;
}
.tabber ul.tabbernav {
margin: 0px;
padding: 0px 0px !important;
border-bottom: 0px solid #CCC;
font-family: "Microsoft YaHei",Sans-Serif !important;
font-size: 1em !important;
font-weight: normal !important;
}
/* inactive tab */
ul.tabbernav li a{
border: 1px double;
border-image: url(/images/vectorize_border/BUTTON_AT.svg);
border-image-slice: 7;
border-image-width: 7px;
background: #333;
background-clip: padding-box;
color: #FFF;
text-shadow:none;
z-index:5;
height:21px;
padding: 0px 5px 0px 5px !important;
margin-right: 9px;
margin-left: 0px !important;
}
ul.tabbernav li a:visited {
color: #fff;
}
ul.tabbernav li a:link {
color: #fff;
}
ul.tabbernav li a:hover {
background-color: #333;
background-clip: padding-box;
color: #fff;
}
ul.tabbernav li.tabberactive a:visited {
color: #333;
}
ul.tabbernav li.tabberactive a:link {
color: #333;
}
ul.tabbernav li.tabberactive a:hover {
background-color: #F4C430;
background-clip: padding-box;
color: #333;
}
/* active tab */
ul.tabbernav li.tabberactive a{
border: 1px double;
border-image: url(/images/vectorize_border/BUTTON_DA.svg);
border-image-slice: 7;
border-image-width: 7px;
background-color: #F4C430;
background-clip: padding-box;
color: #333;
height: 21px;
z-index:6;
text-shadow:none;
}
/* GF Style table */
.stattable{
text-shadow: 0 0 1px rgba(0, 0, 0, 0.67);
}
table.stattable th{
background: #f4c430;
color: #111;
background-position: right -5px center !important;
padding: 2px 10px 2px 5px !important;
white-space: nowrap;
}
table.stattable{
border: 0px solid transparent;
border-spacing: 2px;
border-color: transparent;
background: transparent;
}
table.stattable1{
border: 0px solid transparent;
border-spacing: 2px;
border-color: transparent;
background: transparent;
}
td.tiles > table {width:60px;height:60px;}
table.stattable>tbody,tfoot{
background: rgba(119,119,119,0.33);
}
table.stattable td{
border: 0px solid transparent;
border-spacing: 2px;
border-color: transparent;
}
div.stattable>div{
margin:0px;
}
table.stattable p.rankSS{
background:transparent;
background-image:url(/images/f/f7/RANK-SS.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankS{
background:transparent;
background-image:url(/images/e/e0/RANK-S.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankA{
background:transparent;
background-image:url(/images/4/42/RANK-A.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankB{
background:transparent;
background-image:url(/images/2/22/RANK-B.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankC{
background:transparent;
background-image:url(/images/6/61/RANK-C.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankD{
background:transparent;
background-image:url(/images/b/be/RANK-D.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankE{
background:transparent;
background-image:url(/images/3/32/RANK-E.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankN{
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
/* 标签背景样式 */
.gflabelbg{
background:linear-gradient(-45deg,transparent 6px,#F4C430 5px),linear-gradient(-45deg,transparent 6px,#F4C430 5px),linear-gradient(-45deg,transparent 6px,#F4C430 5px),linear-gradient(-45deg,transparent 6px,#F4C430 5px),linear-gradient(-45deg,transparent 6px,#F4C430 5px);
}
.gflabelbg1{
background: linear-gradient(-45deg,#F4C430 6px,transparent 5px),linear-gradient(-45deg,#F4C430 6px,transparent 5px),linear-gradient(-45deg,#F4C430 6px,transparent 5px),linear-gradient(-45deg,#F4C430 6px,transparent 5px),linear-gradient(-45deg,#F4C430 6px,transparent 5px);
}
/* 战术人形基础信息表样式 */
skill{
color:#f4c430;
font-weight:bold
}
div.TDollInformation{
flex-flow: row wrap;
align-items: flex-start;
display: inline-flex;
max-width: 920px;
flex: auto;
border: 10px double;
border-image: url(/images/vectorize_border/BORDER_BIG.svg);
border-image-slice: 10 fill;
border-image-width: 10px;
background-clip: content-box;
}
div.TDollInformation .tabber ul.tabbernav {
position: absolute;
top: -20px;
left: 2px;
}
div.TDollInformation > div.TDollStattables{
float: left;
min-width: 300px;
flex-grow: 1;
flex-shrink: 1;
flex-basis: 300px;
position: relative;
}
div.TDollInformation > div.TDollSkilltables{
position: relative;
width: auto;
height: fit-content;
min-width: 300px;
flex-grow: 3;
flex-basis: 600px;
max-width: 100%;
}
.abtb1{padding:0px;}
.abtb2{padding:0px;}
.obtainflag{
border: 1px solid transparent;
border-radius: 2px;
margin-right: 2px;
padding-left: 2px;
padding-right: 2px;
clear: both;
}
.obtainflagcontainer {
float: left;
color: black;
text-shadow: none;
display: inline-block;
width: 72px;
}
.obtainflag.normalcraft{
background:#50ee50;
}
.obtainflag.heavycraft{
background:#ff5050;
}
.obtainflag.drop{
background:#F4C430;
}
.obtainflag.extra{
background:#ff4ce8;
}
.obtainflag.unable{
opacity: 0.25;
}
.spoiler {filter:blur(3px); text-shadow: 0px 0px 5px black;transition: all 0.1s ease-in-out;}
.spoiler:hover {filter:none;text-shadow:none;}
/* Character Page Menu */
/*
ul.charnav {
list-style-type: none;
list-style-image: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color:rgba(0,0,0,0.4);
}
ul.charnav li {float: left;}
ul.charnav li {
display: block;
text-align: center;
padding: 14px 16px;
text-decoration: none;
color:#252525;
}
ul.charnav li:hover {background-color: #252525;color:white;}
ul.charnav li a:hover {background-color:#252525;color:#ffb400;}
ul.charnav li.active {background-color:#FFB400;color:black;}
ul.charnav li.right {float: right;}
@media screen and (max-width: 600px){
ul.charnav li.right,
ul.charnav li {float: none;}
} */
/* Spine animation */
.profiletable .tdoll_chibi,
.profiletable .chibiAnimationContainer,
.chibiAnimationContainer.commander-chibi {
background: repeating-linear-gradient(-55deg,#22222266,#22222266 10px,#33333366 10px,#33333366 20px);
}
.profiletable .tdoll_chibi .chibiAnimation,
.profiletable .chibiAnimationContainer .chibiAnimation {
margin-top: 80px;
}
.profiletable .tdoll_chibi .chibiAnimationClickArea,
.profiletable .chibiAnimationContainer .chibiAnimationClickArea {
height: 260px;
}
.tdoll_chibi .chibiAnimation,
.chibiAnimationContainer .chibiAnimation {
flex-shrink: 0;
pointer-events: none;
}
.commander-chibi-container {
display: inline-block;
}
.commander-chibi-container .chibiAnimationClickArea {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.commander-chibi-container .chibiAnimation {
position: absolute;
}
/** tree.css*/
.tree ul {
padding-top: 20px; position: relative;
transition: all 0.5s;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
}
.tree li {
float: left; text-align: center;
list-style-type: none;
position: relative;
padding: 20px 5px 0 5px;
transition: all 0.5s;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
}
/*We will use ::before and ::after to draw the connectors*/
.tree li::before, .tree li::after{
content: '';
position: absolute; top: 0; right: 50%;
border-top: 1px solid #ccc;
width: 50%; height: 20px;
}
.tree li::after{
right: auto; left: 50%;
border-left: 1px solid #ccc;
}
/*We need to remove left-right connectors from elements without
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
display: none;
}
/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}
/*Remove left connector from first child and
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
border-right: 1px solid #ccc;
border-radius: 0 5px 0 0;
-webkit-border-radius: 0 5px 0 0;
-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
border-radius: 5px 0 0 0;
-webkit-border-radius: 5px 0 0 0;
-moz-border-radius: 5px 0 0 0;
}
/*Time to add downward connectors from parents*/
.tree ul ul::before{
content: '';
position: absolute; top: 0; left: 50%;
border-left: 1px solid #ccc;
width: 0; height: 20px;
}
.tree li a{
border: 1px solid #ccc;
padding: 5px 10px;
text-decoration: none;
color: #666;
font-family: arial, verdana, tahoma;
font-size: 11px;
display: inline-block;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
transition: all 0.5s;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
}
/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover, .tree li a:hover+ul li a {
background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after,
.tree li a:hover+ul li::before,
.tree li a:hover+ul::before,
.tree li a:hover+ul ul::before{
border-color: #94a0b4;
}
/** 应该是加边框 */
.tree span{display:inline-block;box-sizing:border-box;height:30px;line-height:28px;min-width:60px;text-align:center;color:#888;border:1px solid #ddd;border-radius:5px;padding:0 8px;}
/** 控制鼠标移上去的颜色 */
.tree span:hover, .tree span:hover+ul span{color:#fff;background-color:orange;}
.tree span:hover, .tree span:hover+ul span, .tree span:hover+ul li:before, .tree span:hover+ul li:after{border-color:orange;}
/* 对话框样式 */
.leftDialog {
display: block !important;
position: relative;
min-height: 80px;
min-width: 330px;
border: 0px solid;
border-image-source: url(/images/vectorize_border/dialog.svg);
border-image-width: 26px 55px 15px 265px;
border-image-slice: 26 55 15 265 fill;
border-image-repeat: repeat;
margin:0rem auto 1rem auto !important;
max-width: 640px;
}
.rightDialog {
display: block !important;
position: relative;
min-height: 80px;
min-width: 330px;
border: 0px solid;
border-image-source: url(/images/vectorize_border/dialog_right.svg);
border-image-width: 9px 265px 26px 55px;
border-image-slice: 9 265 26 55 fill;
border-image-repeat: repeat;
margin:1rem auto 0rem auto !important;
max-width: 640px;
direction:rtl
}
.leftDialog td.headicon {padding:5px;vertical-align:top;}
.leftDialog td.headicon img {border:1px solid #f4c430;background:#333}
.leftDialog td.dialogbox {margin: 0 5px 0.6rem 1rem;display:block;min-width:210px;word-break: break-all;}
.leftDialog td.namebox { display: block; color: #f4c430; padding-top: 0.4rem;}
.rightDialog td.headicon {padding:5px;vertical-align: bottom;}
.rightDialog td.headicon img {border:1px solid #f4c430;background:#333}
.rightDialog td.dialogbox {display: block;margin: 10px 1rem 1.5rem 5px !important;word-break: break-all;direction: ltr;}
.rightDialog td.namebox {display: block;color: #f4c430;position: relative;bottom: 3px;}
/* 对话框样式End */
/* 页面底部导航框(萌百模板) */
table.navbox {
border: 1px solid #aaa;
clear: both;
margin: auto;
padding: 1px;
text-align: center;
width: 100%;
}
table.navbox+table.navbox {
margin-top: -1px;
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
padding-left: 1em;
padding-right: 1em;
text-align: center;
}
.navbox-group {
font-weight: 700;
padding-left: 1em;
padding-right: 1em;
white-space: nowrap;
}
.navbox,
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
background: none repeat scroll 0 0 #555;
}
.navbox-title, table.navbox th {
background: none repeat scroll 0 0 #777;
}
.navbox-subgroup {
background: none repeat scroll 0 0 #fdfdfd;
}
.navbox-list {
border-color: #fdfdfd;
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: none repeat scroll 0 0 #e6f6e6;
}
.navbox-even {
background: none repeat scroll 0 0 #f5fcf5;
}
.navbox-odd {
background: none repeat scroll 0 0 transparent;
}
.collapseButton {
float: right;
font-weight: 400;
text-align: right;
width: auto;
}
.navbox .collapseButton {
width: 6em;
}
/* Fix by case : Rev 1327309 ([[Special:Permalink/1327309]])
Address alignment issue of nested tabs in Navbox */
.navbox .TabLabel {
text-align: left;
}
/* 底部框样式End */
.commander-chibi-container {
display: inline-block;
}
.commander-chibi-container .chibiAnimationClickArea {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.commander-chibi-container .chibiAnimation {
position: absolute;
}
.chibiScreenshotButton {
position: absolute;
top: 5px;
left: 5px;
width: 30px;
height: 30px;
display: inline-block;
color:white;
-moz-transition: all .2s ease-in;
-o-transition: all .2s ease-in;
-webkit-transition: all .2s ease-in;
transition: all .2s ease-in;
opacity:0.5;
text-decoration:none !important;
}
.chibiScreenshotButton::after {
content: "\f030";
font-family: 'Font Awesome 5 Free';
font-weight: 900;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 100%;
font-size: 1rem;
padding-top: 2%;
margin-right: 3px;
}
.chibiScreenshotButton:hover {opacity:1}
.bigScale canvas{transform: scale(0.6) translateY(75px);}
/* 公告栏滚动Rollnews 转自萌百 */
#scrollDiv {
width: 100%;
height: 25px;
line-height: 25px;
overflow: hidden
}
#scrollDiv ul {
margin-left: 0!important;
}
#scrollDiv li {
height: 25px;
padding-left: 0px;
list-style: none;
}
/* 滚动缩略图 转自EN_GFwiki */
.banners .jcarousel-item {
max-height: 200px;
}
.banners .jcarousel-item img {
display: block;
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
/* Spine and Live2D assest*/
.loading .chibiAnimationClickArea,
.loading {
background-image: url('/images/8/88/gfloading.gif');
background-repeat: no-repeat;
background-attachment: local;
background-position: bottom right;
background-size: 50px;
}
.loading2 {
background-image: url("/images/5/5e/gf_loading2.gif");
background-repeat: no-repeat;
background-attachment: local;
background-position: bottom right;
background-size: 18px;
}
/* 模板文档*/
.template-documention
.style {
background: #eee;
padding: 1em;
border: 1px solid #eee;
}
/* imbox 转自MediaWiki */
.imbox {
border: 3px solid #f4c430;
border-collapse: collapse;
margin: 4px 10%;
}
.imbox .mbox-image { padding: 2px 0 2px 0.9em; }
.imbox .mbox-text {
padding: 0.25em 0.9em;
width: 100%;
}
.imbox-license {
background-color: #f7f8ff;
border-color: #88a;
}
/* 技能描述高亮 */
.hgl-atk { color: #ed362e; }
.hgl-life { color: #44b164; }
.hgl-negative { color: #ed372e; }
.hgl-positive { color: #44b163; }
.hgl-realdmg { color: #b99534; }
.hgl-skill { color: #2ba8c4; }
/* 技能数值高亮 */
span.skill { color: #ff8400; }
/* 注释 */
.rich-intro {
padding: 0 4px;
border-left: 4px solid;
margin: 0;
}
.rich-intro img { filter: invert() }
.rich-intro-1 { border-color: #8bf56c }
.rich-intro-2 { border-color: #d63633 }
.rich-intro-3 { border-color: #ffd261 }
/* 道具图文 */
abbr > img {
background-position: center;
background-repeat: no-repeat;
height: 128px;
margin: -48px;
-webkit-mask-position: center;
-webkit-mask-repeat: no-repeat;
mask-position: center;
mask-repeat: no-repeat;
transform: scale(0.25);
width: 128px;
}