fix: 优化 home 在不同分辨率下的展示效果
This commit is contained in:
parent
f1abd1725b
commit
7ec26120be
@ -123,18 +123,16 @@ body {
|
|||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100%;
|
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 {
|
.site-download {
|
||||||
margin-top: 72px;
|
margin-top: 72px;
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user