fix: 优化 home 在不同分辨率下的展示效果

This commit is contained in:
就眠儀式 2022-04-12 08:31:12 +08:00
parent f1abd1725b
commit 7ec26120be

View File

@ -123,18 +123,16 @@ body {
background-repeat: no-repeat;
background-size: 100%;
}
.site-banner-bg {
background-position: center 0;
.site-banner-main {
display: flex;
flex-direction: column;
height: calc(100vh - 180px);
justify-content: center;
position: relative;
text-align: center;
}
.site-banner-bg,
.site-banner-main {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.site-download {
margin-top: 72px;
font-size: 0;