MediaWiki:Common.css:修订间差异

Baneq留言 | 贡献
无编辑摘要
Baneq留言 | 贡献
无编辑摘要
标签手工回退
 
(未显示同一用户的15个中间版本)
第591行: 第591行:
background: linear-gradient(90deg, #e08a3e, #c45fa0, #7d6bd6);
background: linear-gradient(90deg, #e08a3e, #c45fa0, #7d6bd6);
opacity: .58;
opacity: .58;
}
/* Homepage: single castle background with soft fade */
body.page-首页 .mw-body {
  position: relative;
  overflow: hidden;
}
body.page-首页 .mw-body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 520px;
  background-image:
    linear-gradient(
      180deg,
      rgba(245,246,248,.08) 0%,
      rgba(245,246,248,.22) 38%,
      rgba(245,246,248,.68) 72%,
      rgba(245,246,248,1) 100%
    ),
    url("https://wiki.noblecraftmusic.cloud/images/d/da/%E9%A6%96%E9%A1%B5%E8%83%8C%E6%99%AF%E5%A4%87%E9%80%892.jpg");
  background-size:
    100% 100%,
    min(1500px, 82vw) auto;
  background-position:
    center top,
    center top;
  background-repeat: no-repeat;
  opacity: .92;
  filter: blur(1.2px);
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 48%,
    rgba(0,0,0,.58) 72%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 48%,
    rgba(0,0,0,.58) 72%,
    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: 360px;
    background-size:
      100% 100%,
      1050px auto;
    opacity: .76;
  }
}
}