MediaWiki:Common.css:修订间差异

来自The Land of StarLight
无编辑摘要
无编辑摘要
 
(未显示2个用户的3个中间版本)
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 */
/* 这里放置的CSS将应用于所有皮肤 */
#ca-talk {
#ignore-ca-talk {
display: none !important;
display: none !important;
}
}


#pt-mytalk{
#ignore-pt-mytalk{
display: none !important;
display: none !important;
}
}
第15行: 第15行:
display: none !important;
display: none !important;
}
}


/* 悬浮 */
/* 悬浮 */
第33行: 第32行:
}
}


 
/* 模板:主页磁贴 */
@import url(https://wiki.biligame.com/mc/index.php?title=MediaWiki:Gadget-site-styles.css&action=raw&ctype=text/css);
.block-container-frame.mainpage-tile>div img{
 
    position: absolute;
/*
    max-width: 80%;
* CSS for the Minecraft-style skin can be found at [[MediaWiki:Hydra.css]].
    max-height: calc(100% - 3.5em);
* This stylesheet is for desktop only; see [[MediaWiki:Mobile.css]] for mobile styles, and [[MediaWiki:Gadget-site-styles.css]] for global styles.
    /*特殊的居中操作*/
*/
    left: 50%;
/* Note: Color styles may need to be coded as variables to support light, dark,
    bottom: calc(50% - 3em);
* and per-namespace themes correctly.
    transform: translate(-50%,calc(50% - 4.5em));
*
     transition: 0.3s ease;
* Note 2: Currently the variable names aren't stable; they may be stabilized
/*     border: 1px solid grey; */
* in the future to allow for inline `var()` declarations, but for now you
* should not do that, things may break if you do.
*
* Note 3: Some parts of the code written, with or without changes, by
* User:ItsPlantseed, some of which are also originally written by
* User:SansUT1.
*/
/* Defaults assume a namespace without a custom theme, and light theme. */
:root {
--custom-background-blue: hsl(215, 75%, 92%);
--custom-background-cyan: #cef;
--custom-background-green: #cfc;
--custom-background-gray: #eee;
--custom-background-grey: var(--custom-background-gray);
--custom-background-magenta: #fdf;
--custom-background-orange: #fdb;
--custom-background-purple: #ecf;
--custom-background-red: #fcc;
--custom-background-yellow: #ffc;
--custom-border-blue: #36c;
--custom-border-cyan: #9df;
--custom-border-green: #5d5;
--custom-border-gray: #eee;
--custom-border-grey: var(--custom-border-gray);
--custom-border-magenta: #f9f;
--custom-border-orange: #f90;
--custom-border-purple: #96c;
--custom-border-red: #e44;
--custom-border-yellow: #fc3;
--custom-closed-topic-neutral: #eef;
--custom-closed-topic-no: #fee;
--custom-closed-topic-yes: #efe;
--custom-documentation: #eaf4f9;
--custom-documentation-baddoc: #f9f2ea;
--custom-documentation-nodoc: #f9eaea;
--custom-load-page-button-color: #fff8;
--custom-main-page-background: #fcfcfc;
--custom-main-page-border: #ccc;
--custom-main-page-edition-subheader: #333;
--custom-mcwiki-header-color: #bcd4f5;
--custom-navbox-background: #fff;
--custom-navbox-top: #ccc;
--custom-navbox-middle: #ddd;
--custom-navbox-thru: #eee;
--custom-nbt-inherit-color: #e6e6fa;
--custom-table-background: #f8f9fa;
--custom-table-alternate-background: #f0f1f2;
--custom-table-choice-always: #004100;
--custom-table-choice-always-background: #5dcc5d;
--custom-table-choice-default: #fff;
--custom-table-choice-in-off-background: #060;
--custom-table-choice-in-on-background: #0c0;
--custom-table-choice-na: #000;
--custom-table-choice-neutral: #9c6500;
--custom-table-choice-neutral-background: #ffeb9c;
--custom-table-choice-never: #700005;
--custom-table-choice-never-background: #ff5757;
--custom-table-choice-no: #9c0006;
--custom-table-choice-no-background: #ffc7ce;
--custom-table-choice-out-off-background: #900;
--custom-table-choice-out-on-background: #f00;
--custom-table-choice-partial: #8a7600;
--custom-table-choice-partial-background: #ffd;
--custom-table-choice-planned: #0131b7;
--custom-table-choice-planned-background: #dfdfff;
--custom-table-choice-rarely: #835400;
--custom-table-choice-rarely-background: #fdce5e;
--custom-table-choice-unknown: #222;
--custom-table-choice-unknown-background: #ccc;
--custom-table-choice-yes: #006100;
--custom-table-choice-yes-background: #c6efce;
--custom-table-header-background: #eaecf0;
--custom-topic-30-days: #bbb;
--custom-topic-7-days: #ddd;
}
 
body.theme-fandomdesktop-dark {  
--custom-background-blue: hsl(215, 25%, 8%);
--custom-background-cyan: hsl(190, 25%, 8%);
--custom-background-green: hsl(120, 25%, 8%);
--custom-background-gray: hsl(0, 0%, 8%);
--custom-background-grey: var(--custom-background-gray);
--custom-background-magenta: hsl(310, 25%, 8%);
--custom-background-orange: hsl(40, 25%, 8%);
--custom-background-purple: hsl(260, 25%, 8%);
--custom-background-red: hsl(0, 25%, 8%);
--custom-background-yellow: hsl(60, 25%, 8%);
--custom-border-blue: hsl(215, 15%, 36%);
--custom-border-cyan: hsl(190, 15%, 36%);
--custom-border-green: hsl(120, 15%, 36%);
--custom-border-gray: hsl(0, 0%, 36%);
--custom-border-grey: var(--custom-border-gray);
--custom-border-magenta: hsl(310, 15%, 36%);
--custom-border-orange: hsl(40, 15%, 36%);
--custom-border-purple: hsl(260, 15%, 36%);
--custom-border-red: hsl(0, 15%, 36%);
--custom-border-yellow: hsl(60, 15%, 36%);
--custom-closed-topic-neutral: #2a2a33;
--custom-closed-topic-no: #332a2a;
--custom-closed-topic-yes: #2a332a;
--custom-documentation: #393e3f;
--custom-documentation-baddoc: #3f3c39;
--custom-documentation-nodoc: #3f3939;
--custom-load-page-button-color: #fff2;
--custom-main-page-background: #202125;
--custom-main-page-border: #2e2e2e;
--custom-main-page-edition-subheader: #ddd;
--custom-mcwiki-header-color: #222c39;
--custom-navbox-background: #131313;
--custom-navbox-top: #363636;
--custom-navbox-middle: #2d2d2d;
--custom-navbox-thru: #202020;
--custom-nbt-inherit-color: #404050;
--custom-table-background: #131313;
--custom-table-alternate-background: #202020;
--custom-table-header-background: #363636;
--custom-topic-30-days: #303030;
--custom-topic-7-days: #242424;
}
 
/* Minecraft font */
@font-face {
font-family: Minecraft;
src: url("https://patchwiki.biligame.com/images/mc/hydra/fonts/minecraft.woff") format('woff'),
    url("https://patchwiki.biligame.com/images/mc/hydra/fonts/minecraft.ttf") format('truetype');
}
 
#biliContributors {
     display:none;
}
 
/* Replace logo with HiDPI version on HiDPI screens */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
.mw-wiki-logo {
background-image: url(https://patchwiki.biligame.com/images/mc/8/81/Wiki_HiDPI.png);
background-size: 160px auto;
}
}
 
/** Main page stylings **/
/* Remove the header from the main page */
body.page-Minecraft_Wiki.action-view h1.firstHeading,
body.page-Minecraft_Wiki.action-view #contentSub {
display: none;
}
 
/*
@supports (flex-wrap: wrap) {
.edition-group {
display: flex;
flex-wrap: wrap;
}
.edition-group .edition-box {
flex: 17.4em;
}
}*/
 
/** Template stylings **/
/* [[Template:SimpleNavbox]] */
.navbox {
background: #FFF;
border: 1px solid #CCC;
margin: 1em auto 0;
width: 100%;
}
 
.navbox table {
background: #FFF;
margin-left: -4px;
margin-right: -2px;
}
.navbox table:first-child {
margin-top: -2px;
}
.navbox table:last-child {
margin-bottom: -2px;
}
 
.navbox .navbox-top {
white-space: nowrap;
background-color: #CCC;
padding: 0 3px;
text-align: center;
}
 
.navbox .navbox-middle {
white-space: nowrap;
background-color: #DDD;
padding: 0 3px;
text-align: center;
}
 
.navbox .navbox-thru {
white-space: nowrap;
background-color: #EEE;
padding: 0 3px;
text-align: center;
}
 
.navbox-navbar,
.navbox-navbar-mini {
float: left;
font-size: 80%;
}
 
.navbox-title {
padding: 0 10px;
font-size: 110%;
}
 
.navbox th {
background-color: #EEE;
padding: 0 10px;
white-space: nowrap;
text-align: right;
}
 
.navbox td {
width: 100%;
padding: 0 0 0 2px;
}
 
/* [[Template:LoadBox]] with navbox */
.loadbox-navbox {
padding: 2px !important;
margin: 1em 0 0 !important;
clear: both;
}
#content .loadbox-navbox > p {
background-color: #CCC;
text-align: center;
margin: 0;
padding: 0 3px;
}
.loadbox-navbox > p > b {
font-size: 110%;
}
 
.loadbox-navbox .navbox {
margin: 0 -2px -2px;
border: 0;
}
}
.loadbox-navbox > .load-page-content > .mw-parser-output > .navbox > tbody > tr:first-child {
.block-container-frame.mainpage-tile>div>center{
display: none;
/*文字说明*/
}
    margin-top: calc(50% - 3.5em);
 
/* [[Template:Hatnote]] */
.hatnote {
padding-left: 2em;
}
}
 
.block-container-frame.mainpage-tile>div>center>a{
/* [[Template:Director table]] */
/*文字超出部分自动截取*/
.director-table {
    display: inline-block;
float: right;
    max-width: 100%;
width: 300px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
}
 
.block-container-frame.mainpage-tile>div>center>a:hover{
@media screen and (max-width: 720px) {
/*取消文字的下划线装饰*/
.director-table {
    text-decoration: none;
float: none;
width: 100%;
}
}
}
 
.block-container-frame.mainpage-tile>div>center>a>span[class]:after{
/* [[Template:Layered blueprint]] */
/*用after使得整个div变得可点击*/
@-webkit-keyframes layered-blueprint-fade-in {
    content: '';
0% {
    position: absolute;
opacity: 0;
    width: 100%;
visibility: hidden;
    height: calc(50% + 4em); /*使底下的API一栏不被这个after遮挡*/
}
    top: 0;
100% {
    left: 0;
opacity: 1;
visibility: visible;
}
}
}
@keyframes layered-blueprint-fade-in {
.block-container-frame.mainpage-tile>div:hover img{
0% {
/*鼠标移入放大图片*/
opacity: 0;
    /*transform: translate(-50%,-25%) scale(1.2);*/
visibility: hidden;
    max-width: 100%;
}
    max-height: 100%;
100% {
opacity: 1;
visibility: visible;
}
}
}
.layered-blueprint-layer {
.block-container-frame.mainpage-tile>div{
-webkit-animation: layered-blueprint-fade-in 200ms;
    z-index: 211;
animation: layered-blueprint-fade-in 200ms;
    transition: 0.3s ease;
}
}
 
.block-container-frame.mainpage-tile>div:hover{
@-webkit-keyframes layered-blueprint-fade-out {
/*鼠标移入放大*/
0% {
    /*transform: scale(1.05);*/
opacity: 1;
    z-index: 233;
visibility: visible;
}
100% {
opacity: 0;
visibility: hidden;
}
}
}
@keyframes layered-blueprint-fade-out {
/*主页磁贴拓展*/
0% {
.block-container-frame.mainpage-tile.main-tile-single-img>div>center{
opacity: 1;
margin-top: calc(50% - 1.5em);
visibility: visible;
}
100% {
opacity: 0;
visibility: hidden;
}
}
}
.layered-blueprint-radio:checked + .layered-blueprint-tab + .layered-blueprint-layer ~ .layered-blueprint-layer {
.block-container-frame.mainpage-tile.main-tile-single-img>div img{
-webkit-animation: layered-blueprint-fade-out 200ms;
max-height: calc(100% - 1.5em);
animation: layered-blueprint-fade-out 200ms;
transform: translate(-50%,calc(50% - 3.5em));
    -webkit-filter: brightness(1.0) drop-shadow(0px 0px 3px #888);
            filter: brightness(1.0) drop-shadow(0px 0px 3px #888);
}
}
 
.block-container-frame.mainpage-tile.main-tile-single-img:hover>div img{
/* Prevent page jump from the toolbar loading */
    max-width: 80%;
.client-js #editform {
    max-height: calc(100% - 1.5em);
/* To disable margin collapsing */
overflow: hidden;
}
}
.client-js .mw-editform > #wpTextbox1 {
.block-container-frame.mainpage-tile.main-tile-single-img>div:hover img{
     margin-top: 73px;
     -webkit-filter: brightness(1.1) drop-shadow(0px 0px 5px #222);
}
            filter: brightness(1.1) drop-shadow(0px 0px 5px #222);
.mw-editform .wikiEditor-ui-top {
min-height: 72px;
}
}


/* Alternating cell background */
/* 首页轮播图 */
.alternatecells:nth-child(2n+1) {
.carousel.big-carousel .carousel-indicators li, .carousel.big-carousel .carousel-indicators li.active {
background-color: var(--custom-table-alternate-background, #f9f9f9);
    width: 10px;
}
    height: 10px;
/* Alternating table rows, primarily used with [[Template:Infobox row]] */
    box-shadow: 0 0 4px #FAFAFA;
.alternaterows tr:nth-child(2n),
.infobox-rows tr:nth-child(2n) {
background-color: #F9F9F9;
}
}


/* Scale file page image to the width of the page */
/* 软重定向 */
#file img {
.SoftRedirect{
max-width: 100%;
display: inline;
height: auto;
    padding: 0;
    padding-left: 47px;
    background: transparent url(/resources/src/mediawiki.action/images/redirect-ltr.png?926f7) bottom left no-repeat;
}
}
 
.BILIBILI-BOX {width:100%;margin-bottom:20px;}
/* Highlight clicked reference in blue to help navigation */
.BOX-title-1 {width:100%;font-size:14px;padding:7px 10px;font-weight: bold;background:#404040;color:#fff;}
ol.references li:target,
.BOX-title-2 {padding: 10px 0px 5px 0px;font-size: 14px;font-weight: bold;border-bottom: 1px solid #384348;}
sup.reference:target,
.BOX-N {width:100%;padding:0px;}
span.citation:target {  
.BOX-GD {color:#f7f7f7;border: 1px solid #f7f7f7;padding: 0px 5px;border-radius: 50%;}
background-color: #C1DAF2;
.BOX-AN-50 {width:50%}
.BOX-AN-25 {width:25%}
.BOX-AN-20 {width:20%}
.BOX-AN2 {width:100%;display: inline-block;height:30px;line-height:30px;padding-left:35px;padding-right:5px;color:#404040;}
.BOX-AN2:hover {background:#000;color:#f7f7f7;}
@media only screen and (max-width:759px){
.BOX-AN-25 {width:50%}
.BOX-AN-20 {width:50%}
}
}


/* Style the sitenotice */
.update-log .log-title {display: none;}
#siteNotice #localNotice,
.update-log .bili-list-group {padding: 0px 0px;}
#siteNotice .globalNotice,
.update-log .read-more {display: none;}
.page-MediaWiki_Sitenotice .mw-content-ltr {
background-color: #FFF;
border: 1px solid #D3D3D3;
margin-bottom: 12px;
text-align: center;
height: fit-content;
font-size: 16px;
font-family: sans-serif;
display: flex;
justify-content: center;
align-items: center;
}


#localNotice {
.carousel.big-carousel .carousel-indicators li, .carousel.big-carousel .carousel-indicators li.active {width: 8px;height: 8px;}
height: 60px;
.carousel.big-carousel .carousel-indicators {bottom: -2.4em;margin-left: -30%;margin-bottom: 45px;}
overflow: hidden;
.carousel.big-carousel {margin-bottom: 15px;}
}


/* Allow parts of toc to be hidden */
.BOX-1 .BOX-title-2 {padding: 10px 0px 5px 0px;}
/* Section levels */
.BOX-1 {background:#f7f7f7;border:1px solid #404040;}
.toc-hidelevel2 .toclevel-1 ul,
.BOX-1 .BOX-N {padding:5px 10px;}
.toc-hidelevel3 .toclevel-2 ul,
.toc-hidelevel4 .toclevel-3 ul,
/* Numbers */
.toc-nonumbers .tocnumber {
display: none;
}


/* Turn a list into a tree view style (See [[.minecraft]]) */
.BOX-2 .BOX-title-1 {border-radius: 8px;}
.treeview {
.BOX-2 {border:1px solid #404040;border-radius: 4px;padding:2px}
margin-top: 0.3em;
.BOX-2 .BOX-2-1 {background:#f7f7f7;border:1px solid #404040;border-radius: 8px;padding:10px;}
}


.treeview .treeview-header {
.BOX-3 .BOX-title-1 {border-radius: 8px;}
padding-left: 3px;
.BOX-3 {background:#f7f7f7;border-radius: 8px;padding:10px}
font-weight: bold;
}
.treeview .treeview-header:last-child {
border-color: #636363 !important;
border-left-style: dotted;
}
.treeview .treeview-header:not(:last-child)::before {
content: none;
}
.treeview .treeview-header:last-child::before {
border-bottom: 0;
}
 
.treeview ul,
.treeview li {
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none;
}
 
.treeview li li {
position: relative;
padding-left: 13px;
margin-left: 7px;
border-left: 1px solid #636363;
}
.treeview li li::before {
content: "";
position: absolute;
top: 0;
left: -1px;
width: 11px;
height: 11px;
border-bottom: 1px solid #636363;
}
 
.treeview li li:last-child:not(.treeview-continue) {
border-color: transparent;
}
.treeview li li:last-child:not(.treeview-continue)::before {
border-left: 1px solid #636363;
width: 10px;
}


.nbttree-inherited {
.BOX-4 .BOX-title-1 {border-radius: 8px 8px 0px 0px;}
background-color: #E6E6FA;
.BOX-4 {background:#f7f7f7;border-radius: 8px;padding:0px;}
}
.BOX-4 .BOX-N {padding:5px 10px;}


/* Simulate link styling for JS only links */
.BOX-5 .BOX-title-1 {border-radius: 8px 8px 0px 0px;background:#262626;color:#f7f7f7;}
.jslink {
.BOX-5 .BOX-title-2 {padding: 10px 0px 5px 0px;border-bottom: 1px solid #262626;}
color: #0645AD;
.BOX-5 {background:#404040;border-radius: 8px;padding:0px;}
-webkit-user-select: none;
.BOX-5 .BOX-N {padding:5px 10px;border:2px solid #262626;border-top:0px solid ;box-shadow: inset 0 0 1px 2px #000;color:#f7f7f7;border-radius: 0px 0px 8px 8px;}
  -moz-user-select: none;
.BOX-5 .bili-section-normal,.BOX-5 .bili-section-primary {color: #f7f7f7;background: #626262;border: 1px solid rgb(0, 0, 0);}
    -ms-user-select: none;
.BOX-5 .bili-section-normal:hover {color: #fff;background: #000;border: 1px solid rgba(0, 0, 0, 0.1);cursor: pointer;}
        user-select: none;
.BOX-5 .BOX-zt {color:#f7f7f7}
}
.BOX-5 .update-log a {color: #f7f7f7 !important;}
.jslink:hover {
.BOX-5 .BOX-AN2 {width:100%;display: inline-block;height:30px;line-height:30px;padding-left:35px;padding-right:5px;color: #f7f7f7;background: #626262;}
text-decoration: underline;
.BOX-5 .BOX-AN2:hover {color: #fff;background: #000;}
cursor: pointer;
}
.jslink:active {
color: #FAA700;
}
 
/* Try to use nearest neighbour scaling for pixelated images */
.filehistory a img,
.msgbox img,
.pixel-image,
.invslot-item-image,
.spriteedit-new-image,
.sprite {
image-rendering: optimizeSpeed;
image-rendering: -webkit-optimize-contrast;
image-rendering: optimize-contrast;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: crisp-edges;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
 
/* Make external links the same colour as internal links, the icon is enough to differentiate them */
#mw-content-text a.external {
color: #0645ad;
}
#mw-content-text a.external:visited {
color: #0b0080;
}
#mw-content-text a.external:active {
color: #faa700;
}
 
/* Mark internal links as plain
But something went wrong at bwiki
#content a.external[href^="https://wiki.biligame.com"],
#content a.external[href^="//wiki.biligame.com"] {
background: none;
padding-right: 0;
}
*/
/* Make tabs the correct size */
body {
-moz-tab-size: 4;
  -o-tab-size: 4;
    tab-size: 4;
}
 
/* Classes corresponding to Minecraft formatting codes */
.format-0 {
color: #000;
text-shadow: 0.125em 0.125em 0 #000;
}
.format-1 {
color: #00A;
text-shadow: 0.125em 0.125em 0 #00002A;
}
.format-2 {
color: #0A0;
text-shadow: 0.125em 0.125em 0 #002A00;
}
.format-3 {
color: #0AA;
text-shadow: 0.125em 0.125em 0 #002A2A;
}
.format-4 {
color: #A00;
text-shadow: 0.125em 0.125em 0 #2A0000;
}
.format-5 {
color: #A0A;
text-shadow: 0.125em 0.125em 0 #2A002A;
}
.format-6 {
color: #FA0;
text-shadow: 0.125em 0.125em 0 #2A2A00;
}
.format-7 {
color: #AAA;
text-shadow: 0.125em 0.125em 0 #2A2A2A;
}
.format-8 {
color: #555;
text-shadow: 0.125em 0.125em 0 #151515;
}
.format-9 {
color: #55F;
text-shadow: 0.125em 0.125em 0 #15153F;
}
.format-a {
color: #5F5;
text-shadow: 0.125em 0.125em 0 #153F15;
}
.format-b {
color: #5FF;
text-shadow: 0.125em 0.125em 0 #153F3F;
}
.format-c {
color: #F55;
text-shadow: 0.125em 0.125em 0 #3F1515;
}
.format-d {
color: #F5F;
text-shadow: 0.125em 0.125em 0 #3F153F;
}
.format-e {
color: #FF5;
text-shadow: 0.125em 0.125em 0 #3F3F15;
}
.format-f,
#minetip-tooltip {
color: #FFF;
text-shadow: 0.125em 0.125em 0 #3F3F3F;
}
.format-l {
font-weight: bold;
letter-spacing: 0.125em;
}
.format-m {
text-decoration: line-through;
}
.format-n {
text-decoration: underline;
}
.format-o {
font-style: italic;
}
 
/* Styling for minecraft style tooltip */
.explain.minetip {
border-bottom: 0;
text-decoration: underline dotted;
}
 
#minetip-tooltip {
position: fixed;
top: 0;
left: 0;
background-color: #100010;
background-color: rgba(16, 0, 16, 0.94);
padding: 0.375em;
font-family: Minecraft, "Arial Black", Unifont, "WenQuanYi Bitmap Song", SimSun, MingLiU, "GB18030 Bitmap", Beijing, sans-serif;
font-size: 0.99em;
word-spacing: 4px;
white-space: nowrap;
line-height: 1.25em;
margin: 0.125em 0.25em;
pointer-events: none;
z-index: 9999;
}
#minetip-tooltip::before {
content: "";
position: absolute;
top: 0.125em;
right: -0.125em;
bottom: 0.125em;
left: -0.125em;
border: 0.125em solid #100010;
border-style: none solid;
border-color: rgba(16, 0, 16, 0.94);
}
#minetip-tooltip::after {
content: "";
position: absolute;
top: 0.125em;
right: 0;
bottom: 0.125em;
left: 0;
border: 0.125em solid #2D0A63;
border-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
border-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
}
 
#minetip-tooltip > .description,
#minetip-tooltip > .minetip-description {
display: block;
margin-top: 0.25em;
}
 
.invslot-stacksize {
font-family: Minecraft, "Arial Black", sans-serif !important;
}
 
/* prevent sitenotice show/hide toggle from moving page contents down after pageload */
.globalNotice .globalNoticeDismiss {
float: right;
}
 
/* history table wrapping issue */
td > code {
display: inline-block;
line-height: 1.2;
}
 
/* Show abusefilter error footer only once at the end */
.errorbox li:not(:last-child) .abusefilter-message-footer {
    display: none;
}
 
/* CUSTOMIZED RULES */
 
#siteNotice #localNotice, #siteNotice .globalNotice {
background-color: transparent;
border: none;
}
 
#localNotice .globalNoticeDismiss {
display: none;
}
 
/* Add icons for administrations, hide some Chinese varients */
#ca-varlang-1, #ca-varlang-2, #ca-varlang-5, #ca-varlang-6, #ca-varlang-7 {
display: none;
}
 
pre, tt, samp, .mw-code {
font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace, Courier;
}
 
code {
display: inline-block;
}
 
.load-page-button {
    background-color: var(--custom-load-page-button-color);
}
 
@media screen and (max-width: 720px) {
    div#mw-navigation div#mw-panel {
position: static !important;
}
 
    body.page-Minecraft_Wiki.action-view img.banner-image {
display: none;
}
}
 
div.footer-post {
    padding-bottom: 0;
}
 
/* search on small screens */
@media screen and (max-width: 720px) {
#mw-head {
top: 13px;
}
div#p-search form {
background: none;
border: none;
margin: 0;
}
div#p-search form::before,
div#p-search form::after {
border: none;
}
div#simpleSearch::before {
border-left-color: transparent;
}
div#simpleSearch::after {
border-top-color: transparent;
}
}
th,td{
padding: 4px;
}
 
.layered-blueprint-layer th, .layered-blueprint-layer td{
padding: 0px;
}
 
.mcui{
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
 
.layered-blueprint-layer table{
    border-spacing: 0px;
    border-collapse: inherit;
}
 
table {
    border-spacing: 2px;
    border-collapse: inherit;
}
 
.bili-game-header-nav .bili-game-header-nav-main .bili-game-header-nav-wrap li:nth-child(6) {
    display: none;
}

2023年1月20日 (五) 19:13的最新版本

/* 这里放置的CSS将应用于所有皮肤 */
#ignore-ca-talk {
	display: none !important;
}

#ignore-pt-mytalk{
	display: none !important;
}

#site-tools{
	display: none !important;
}

#page-tools{
	display: none !important;
}

/* 悬浮 */
.iteminfo {display:none;}
.itemhover:hover  .iteminfo{display:block;}
/* 黑幕 */
.heimu,.blackcurtain{
    transition: all .3s;
    background: var(--heimu);
    color: var(--heimu);
    /* 黑幕:一块黑色区域,鼠标移入后显示内容
       使用方法:将heimu类或者blackcurtain类附加到你想实现黑幕的元素上
       彩色黑幕:将元素的--heimu变量变为你想要的颜色 */
}
.heimu:hover,.blackcurtain:hover{ /*黑幕,鼠标移入后文字背景透明*/
    background: transparent;
}

/* 模板:主页磁贴 */
.block-container-frame.mainpage-tile>div img{
    position: absolute;
    max-width: 80%;
    max-height: calc(100% - 3.5em);
    /*特殊的居中操作*/
    left: 50%;
    bottom: calc(50% - 3em);
    transform: translate(-50%,calc(50% - 4.5em));
    transition: 0.3s ease;
/*     border: 1px solid grey; */
}
.block-container-frame.mainpage-tile>div>center{
	/*文字说明*/
    margin-top: calc(50% - 3.5em);
}
.block-container-frame.mainpage-tile>div>center>a{
	/*文字超出部分自动截取*/
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.block-container-frame.mainpage-tile>div>center>a:hover{
	/*取消文字的下划线装饰*/
    text-decoration: none;
}
.block-container-frame.mainpage-tile>div>center>a>span[class]:after{
	/*用after使得整个div变得可点击*/
    content: '';
    position: absolute;
    width: 100%;
    height: calc(50% + 4em); /*使底下的API一栏不被这个after遮挡*/
    top: 0;
    left: 0;
}
.block-container-frame.mainpage-tile>div:hover img{
	/*鼠标移入放大图片*/
    /*transform: translate(-50%,-25%) scale(1.2);*/
    max-width: 100%;
    max-height: 100%;
}
.block-container-frame.mainpage-tile>div{
    z-index: 211;
    transition: 0.3s ease;
}
.block-container-frame.mainpage-tile>div:hover{
	/*鼠标移入放大*/
    /*transform: scale(1.05);*/
    z-index: 233;
}
/*主页磁贴拓展*/
.block-container-frame.mainpage-tile.main-tile-single-img>div>center{
	margin-top: calc(50% - 1.5em);
}
.block-container-frame.mainpage-tile.main-tile-single-img>div img{
	max-height: calc(100% - 1.5em);
	transform: translate(-50%,calc(50% - 3.5em));
    -webkit-filter: brightness(1.0) drop-shadow(0px 0px 3px #888);
            filter: brightness(1.0) drop-shadow(0px 0px 3px #888);
}
.block-container-frame.mainpage-tile.main-tile-single-img:hover>div img{
    max-width: 80%;
    max-height: calc(100% - 1.5em);
}
.block-container-frame.mainpage-tile.main-tile-single-img>div:hover img{
    -webkit-filter: brightness(1.1) drop-shadow(0px 0px 5px #222);
            filter: brightness(1.1) drop-shadow(0px 0px 5px #222);
}

/* 首页轮播图 */
.carousel.big-carousel .carousel-indicators li, .carousel.big-carousel .carousel-indicators li.active {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 4px #FAFAFA;
}

/* 软重定向 */
.SoftRedirect{
	display: inline;
    padding: 0;
    padding-left: 47px;
    background: transparent url(/resources/src/mediawiki.action/images/redirect-ltr.png?926f7) bottom left no-repeat;
}
.BILIBILI-BOX {width:100%;margin-bottom:20px;}
.BOX-title-1 {width:100%;font-size:14px;padding:7px 10px;font-weight: bold;background:#404040;color:#fff;}
.BOX-title-2 {padding: 10px 0px 5px 0px;font-size: 14px;font-weight: bold;border-bottom: 1px solid #384348;}
.BOX-N {width:100%;padding:0px;}
.BOX-GD {color:#f7f7f7;border: 1px solid #f7f7f7;padding: 0px 5px;border-radius: 50%;}
.BOX-AN-50 {width:50%}
.BOX-AN-25 {width:25%}
.BOX-AN-20 {width:20%}
.BOX-AN2 {width:100%;display: inline-block;height:30px;line-height:30px;padding-left:35px;padding-right:5px;color:#404040;}
.BOX-AN2:hover {background:#000;color:#f7f7f7;}
@media only screen and (max-width:759px){
.BOX-AN-25 {width:50%}
.BOX-AN-20 {width:50%}
}

.update-log .log-title {display: none;}
.update-log .bili-list-group {padding: 0px 0px;}
.update-log .read-more {display: none;}

.carousel.big-carousel .carousel-indicators li, .carousel.big-carousel .carousel-indicators li.active {width: 8px;height: 8px;}
.carousel.big-carousel .carousel-indicators {bottom: -2.4em;margin-left: -30%;margin-bottom: 45px;}
.carousel.big-carousel {margin-bottom: 15px;}

.BOX-1 .BOX-title-2 {padding: 10px 0px 5px 0px;}
.BOX-1 {background:#f7f7f7;border:1px solid #404040;}
.BOX-1 .BOX-N {padding:5px 10px;}

.BOX-2 .BOX-title-1 {border-radius: 8px;}
.BOX-2 {border:1px solid #404040;border-radius: 4px;padding:2px}
.BOX-2 .BOX-2-1 {background:#f7f7f7;border:1px solid #404040;border-radius: 8px;padding:10px;}

.BOX-3 .BOX-title-1 {border-radius: 8px;}
.BOX-3 {background:#f7f7f7;border-radius: 8px;padding:10px}

.BOX-4 .BOX-title-1 {border-radius: 8px 8px 0px 0px;}
.BOX-4 {background:#f7f7f7;border-radius: 8px;padding:0px;}
.BOX-4 .BOX-N {padding:5px 10px;}

.BOX-5 .BOX-title-1 {border-radius: 8px 8px 0px 0px;background:#262626;color:#f7f7f7;}
.BOX-5 .BOX-title-2 {padding: 10px 0px 5px 0px;border-bottom: 1px solid #262626;}
.BOX-5 {background:#404040;border-radius: 8px;padding:0px;}
.BOX-5 .BOX-N {padding:5px 10px;border:2px solid #262626;border-top:0px solid ;box-shadow: inset 0 0 1px 2px #000;color:#f7f7f7;border-radius: 0px 0px 8px 8px;}
.BOX-5 .bili-section-normal,.BOX-5 .bili-section-primary {color: #f7f7f7;background: #626262;border: 1px solid rgb(0, 0, 0);}
.BOX-5 .bili-section-normal:hover {color: #fff;background: #000;border: 1px solid rgba(0, 0, 0, 0.1);cursor: pointer;}
.BOX-5 .BOX-zt {color:#f7f7f7}
.BOX-5 .update-log a {color: #f7f7f7 !important;}
.BOX-5 .BOX-AN2 {width:100%;display: inline-block;height:30px;line-height:30px;padding-left:35px;padding-right:5px;color: #f7f7f7;background: #626262;}
.BOX-5 .BOX-AN2:hover {color: #fff;background: #000;}