MediaWiki:Common.css:修订间差异

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


/* Homepage: castle atmosphere, wider image with soft fade */
/* Homepage: large castle atmosphere with later fade */
body.page-首页 .mw-body {
body.page-首页 .mw-body {
   position: relative;
   position: relative;
第617行: 第617行:
   right: 0;
   right: 0;
   top: 0;
   top: 0;
   height: 520px;
   height: 760px;


   background-image:
   background-image:
     linear-gradient(
     linear-gradient(
       180deg,
       180deg,
       rgba(245,246,248,.08) 0%,
       rgba(245,246,248,.04) 0%,
       rgba(245,246,248,.28) 45%,
       rgba(245,246,248,.10) 32%,
       rgba(245,246,248,.72) 78%,
       rgba(245,246,248,.34) 62%,
      rgba(245,246,248,.78) 84%,
       rgba(245,246,248,1) 100%
       rgba(245,246,248,1) 100%
     ),
     ),
第631行: 第632行:
   background-size:
   background-size:
     100% 100%,
     100% 100%,
     min(1900px, 108vw) auto;
     min(2300px, 112vw) auto;


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


   background-repeat: no-repeat;
   background-repeat: no-repeat;
   opacity: .9;
   opacity: .92;
   filter: blur(1.5px);
   filter: blur(1.2px);
   pointer-events: none;
   pointer-events: none;
   z-index: 0;
   z-index: 0;
第646行: 第647行:
     180deg,
     180deg,
     rgba(0,0,0,1) 0%,
     rgba(0,0,0,1) 0%,
     rgba(0,0,0,1) 48%,
     rgba(0,0,0,1) 64%,
     rgba(0,0,0,.55) 72%,
     rgba(0,0,0,.72) 80%,
     rgba(0,0,0,0) 100%
     rgba(0,0,0,0) 100%
   );
   );
第653行: 第654行:
     180deg,
     180deg,
     rgba(0,0,0,1) 0%,
     rgba(0,0,0,1) 0%,
     rgba(0,0,0,1) 48%,
     rgba(0,0,0,1) 64%,
     rgba(0,0,0,.55) 72%,
     rgba(0,0,0,.72) 80%,
    rgba(0,0,0,0) 100%
  );
}
 
body.page-首页 .mw-body > * {
  position: relative;
  z-index: 1;
}
 
@media screen and (max-width: 700px) {
  body.page-首页 .mw-body::before {
    height: 480px;
 
    background-size:
      100% 100%,
      1180px auto;
 
    background-position:
      center top,
      center top;
 
    opacity: .74;
    filter: blur(1.4px);
  }
}