MediaWiki:Common.css:修订间差异

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


/* Homepage: castle atmosphere, wider image with soft fade */
/* Homepage: smaller castle image, same soft fade height */
body.page-首页 .mw-body {
body.page-首页 .mw-body {
   position: relative;
   position: relative;
第622行: 第622行:
     linear-gradient(
     linear-gradient(
       180deg,
       180deg,
       rgba(245,246,248,.08) 0%,
       rgba(245,246,248,.10) 0%,
       rgba(245,246,248,.28) 45%,
       rgba(245,246,248,.24) 38%,
       rgba(245,246,248,.72) 78%,
       rgba(245,246,248,.72) 72%,
       rgba(245,246,248,1) 100%
       rgba(245,246,248,1) 100%
     ),
     ),
     url("https://wiki.noblecraftmusic.cloud/index.php/Special:Redirect/file/首页背景备选3.jpg");
     url("https://wiki.noblecraftmusic.cloud/index.php/Special:Redirect/file/首页背景备选2.jpg"),
    url("https://wiki.noblecraftmusic.cloud/index.php/Special:Redirect/file/首页背景备选2.jpg");


   background-size:
   background-size:
     100% 100%,
     100% 100%,
     min(1900px, 108vw) auto;
     min(1500px, 82vw) auto,
    cover;


   background-position:
   background-position:
     center top,
     center top,
     center 8%;
     center top,
    center top;


   background-repeat: no-repeat;
   background-repeat: no-repeat;
   opacity: .9;
   opacity: .9;
   filter: blur(1.5px);
   filter: blur(1.4px);
   pointer-events: none;
   pointer-events: none;
   z-index: 0;
   z-index: 0;
第662行: 第665行:
   position: relative;
   position: relative;
   z-index: 1;
   z-index: 1;
}
@media screen and (max-width: 700px) {
  body.page-首页 .mw-body::before {
    height: 360px;
    background-size:
      100% 100%,
      1050px auto;
    background-position:
      center top,
      center 5%;
    opacity: .72;
    filter: blur(1.5px);
  }
}
}