MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第594行: | 第594行: | ||
/* Homepage: subtle server screenshot atmosphere */ | /* Homepage: subtle server screenshot atmosphere */ | ||
body.page-首页 .mw-body { | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
/* Homepage: visible server screenshot atmosphere */ | |||
body.page-首页 .mw-body { | body.page-首页 .mw-body { | ||
position: relative; | position: relative; | ||
| 第605行: | 第611行: | ||
right: 0; | right: 0; | ||
top: 0; | top: 0; | ||
height: | height: 340px; | ||
background-image: | background-image: | ||
linear-gradient(180deg, rgba(245,246,248,. | linear-gradient(180deg, rgba(245,246,248,.22), rgba(245,246,248,.72) 58%, 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/北侧城堡.jpg"); | ||
background-size: cover; | background-size: cover; | ||
background-position: center 34%; | background-position: center 34%; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
filter: blur( | filter: blur(2px); | ||
opacity: . | opacity: .82; | ||
pointer-events: none; | pointer-events: none; | ||
z-index: 0; | z-index: 0; | ||
transform: scale(1. | transform: scale(1.015); | ||
} | } | ||
| 第626行: | 第632行: | ||
@media screen and (max-width: 700px) { | @media screen and (max-width: 700px) { | ||
body.page-首页 .mw-body::before { | body.page-首页 .mw-body::before { | ||
height: | height: 260px; | ||
background-position: center 30%; | background-position: center 30%; | ||
filter: blur( | opacity: .66; | ||
filter: blur(2px); | |||
} | } | ||
} | |||
} | } | ||