MediaWiki:Common.css:修订间差异

Baneq留言 | 贡献
无编辑摘要
Baneq留言 | 贡献
无编辑摘要
第593行: 第593行:
}
}


/* Homepage: soft server screenshot atmosphere */
/* Homepage: subtle server screenshot atmosphere */
body.page-首页 .mw-body {
body.page-首页 .mw-body {
position: relative;
  position: relative;
overflow: hidden;
  overflow: hidden;
}
}


body.page-首页 .mw-body::before {
body.page-首页 .mw-body::before {
content: "";
  content: "";
position: absolute;
  position: absolute;
left: 0;
  left: 0;
right: 0;
  right: 0;
top: 0;
  top: 0;
height: 360px;
  height: 260px;
background-image:
  background-image:
linear-gradient(180deg, rgba(245,246,248,.50), rgba(245,246,248,.96)),
    linear-gradient(180deg, rgba(245,246,248,.68), rgba(245,246,248,.98)),
url("https://wiki.noblecraftmusic.cloud/index.php/Special:Redirect/file/北侧城堡.jpg");
    url("https://wiki.noblecraftmusic.cloud/index.php/Special:Redirect/file/%E9%A6%96%E9%A1%B5%E8%83%8C%E6%99%AF-%E4%B8%BB%E5%9F%8E.png");
background-size: cover;
  background-size: cover;
background-position: center 34%;
  background-position: center 34%;
background-repeat: no-repeat;
  background-repeat: no-repeat;
filter: blur(5px);
  filter: blur(4px);
opacity: .62;
  opacity: .52;
pointer-events: none;
  pointer-events: none;
z-index: 0;
  z-index: 0;
transform: scale(1.03);
  transform: scale(1.02);
}
}


body.page-首页 .mw-body > * {
body.page-首页 .mw-body > * {
position: relative;
  position: relative;
z-index: 1;
  z-index: 1;
}
 
@media screen and (max-width: 700px) {
  body.page-首页 .mw-body::before {
    height: 190px;
    background-position: center 30%;
    filter: blur(3px);
    opacity: .42;
  }
}
}