MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第593行: | 第593行: | ||
} | } | ||
/* Homepage: | /* Homepage: subtle server screenshot atmosphere */ | ||
body.page-首页 .mw-body { | body.page-首页 .mw-body { | ||
position: relative; | |||
overflow: hidden; | |||
} | } | ||
body.page-首页 .mw-body::before { | body.page-首页 .mw-body::before { | ||
content: ""; | |||
position: absolute; | |||
left: 0; | |||
right: 0; | |||
top: 0; | |||
height: 260px; | |||
background-image: | |||
linear-gradient(180deg, rgba(245,246,248,.68), rgba(245,246,248,.98)), | |||
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-position: center 34%; | |||
background-repeat: no-repeat; | |||
filter: blur(4px); | |||
opacity: .52; | |||
pointer-events: none; | |||
z-index: 0; | |||
transform: scale(1.02); | |||
} | } | ||
body.page-首页 .mw-body > * { | body.page-首页 .mw-body > * { | ||
position: relative; | |||
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; | |||
} | |||
} | } | ||