跳转到内容
打开/关闭菜单
  • 451 条目
  • 802 文件
  • 22 用户
  • 9001 编辑
Blockland Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Background/styles.css:修订间差异

来自Blockland Wiki
创建页面,内容为“.background-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center center; background-repeat: no-repeat; z-index: -100; } .background-dark { display: none; } .skin-theme-clientpref-night .background-light { display: none; } .skin-theme-clientpref-night .background-dark { display: block; }”
 
无编辑摘要
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
.background-container {
.bl-page-bg {
position: fixed;
position: fixed;
top: 0;
top: 0;
left: 0;
left: 0;
width: 100%;
width: 100%;
height: 100%;
height: 100%;
background-size: cover;
z-index: 0;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
z-index: -100;
background-repeat: no-repeat;
}
}


.background-dark {
#mw-content-container {
display: none;
position: relative;
}
z-index: 1;
 
.skin-theme-clientpref-night .background-light {
display: none;
}
 
.skin-theme-clientpref-night .background-dark {
display: block;
}
}

2026年10月9日 (五) 22:06的最新版本

.bl-page-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

#mw-content-container {
position: relative;
z-index: 1;
}