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

MediaWiki:Common.css:修订间差异

来自瑞恩罗恰德资料库
跳转到导航 跳转到搜索
Koiori留言 | 贡献
无编辑摘要
Koiori留言 | 贡献
无编辑摘要
第1行: 第1行:
html {
/* WIKI全局背景图(适配Vector默认皮肤,!important强制覆盖原生白色) */
    scroll-padding-top: 60px;
}
 
/* 全局背景,锁定Vector皮肤,强制最高优先级 */
body.skin-vector {
body.skin-vector {
     background: url("shturl.cc/aG1wflGIQJsYApmUjHAXZRkK5QPziH8") no-repeat fixed center !important;
     background: url("shturl.cc/aJRA9LDwmtss76JczbRu32is8b2CfeX") no-repeat fixed 50% 0 !important;
     background-size: cover !important;
     background-size: cover !important;
}
}


/* 正文半透明白底,文字看得清 */
body.skin-vector,
.mw-body {
html {
     background-color: rgba(255, 255, 255, 0.85);
     width: 100%;
    height: 100%;
    padding: 0;
    margin: 0
}
}


/* 左侧侧边栏半透明 */
/* 全局文字行高 */
.portal {
#mw-content-text {
    background-color: rgba(255, 255, 255, 0.85);
line-height: 1.6;
}
}


/* 顶部导航栏清除纯白遮挡 */
/* 首页内容半透明白底色 */
#mw-page-base {
.page-首页 .mw-content-ltr {
     background: none !important;
    direction: ltr;
    padding: 30px;
     background: rgba(255, 255, 255, 0.84);
}
}


.mw-special-ApiHelp {
/* 通用页面内容半透明 */
    background: url("shturl.cc/aG1wflGIQJsYApmUjHAXZRkK5QPziH8") no-repeat fixed center !important;
    background-size: cover !important;
    color:#ffffff;
}
 
p {
    margin: 0;
}
 
.resp-tab-content p {
    margin:0;
}
 
.full-width {
    width: 100% !important;
}
 
.mw-indicators {
    display: none;
}
 
.comment-container {
    margin-top: 1em;
    background: white;
}
 
/* Nav */
.wiki-header {
z-index: 1;
}
 
.wiki-header .wiki-nav-celling {
background: transparent;
}
.wiki-header .wiki-nav .celling-box {
background: #2D2D2D;
box-shadow: 0 6px 12px 0 rgba(0,0,0,0.6);
}
 
 
.menu-wrap .wiki-menu-li-1 {
background: transparent;
}
 
.menu-wrap .wiki-menu-li-1>a {
color: white;
}
 
/* Sep out local notice */
#bodyContent, #flowthread {
padding: 2rem;
    background: white;
}
 
@media (min-width: 768px){
.game-bg {
.game-bg {
     background: transparent;
     background: rgba(255, 255, 255, 0.84);
    padding: 0;
    box-shadow: none;
}
.firstHeadingTools {
    margin-bottom: 0px;
    background: #fff;
    padding-left: 10px;
}
#firstHeading {
    background: #fff;
    padding-left: 10px;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
    margin-bottom: 0px;
}
}
}


@media (max-width: 759px) {
/* 顶部导航栏透明,不遮挡背景 */
#bodyContent {
.wiki-header,
padding: 0;
#mw-page-base {
}
    background: transparent !important;
}
}


.page-首页 > .game-bg > .mw-body > #bodyContent {
@media (min-width: 1200px) {
padding: 0;
    .page-首页 .container {
        width: 1220px;
    }
}
}


/*#contentSub{
/* 侧边栏半透明,避免纯白方块 */
display:none;
.portal {
} */
     background-color: rgba(255, 255, 255, 0.84);
 
@media (min-width: 982px){
.client-js #mw-content-text {
     margin: 0;
}
}
}

2026年6月16日 (二) 21:14的版本

/* WIKI全局背景图(适配Vector默认皮肤,!important强制覆盖原生白色) */
body.skin-vector {
    background: url("shturl.cc/aJRA9LDwmtss76JczbRu32is8b2CfeX") no-repeat fixed 50% 0 !important;
    background-size: cover !important;
}

body.skin-vector,
html {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0
}

/* 全局文字行高 */
#mw-content-text {
	line-height: 1.6;
}

/* 首页内容半透明白底色 */
.page-首页 .mw-content-ltr {
    direction: ltr;
    padding: 30px;
    background: rgba(255, 255, 255, 0.84);
}

/* 通用页面内容半透明 */
.game-bg {
    background: rgba(255, 255, 255, 0.84);
}

/* 顶部导航栏透明,不遮挡背景 */
.wiki-header,
#mw-page-base {
    background: transparent !important;
}

@media (min-width: 1200px) {
    .page-首页 .container {
        width: 1220px;
    }
}

/* 侧边栏半透明,避免纯白方块 */
.portal {
    background-color: rgba(255, 255, 255, 0.84);
}