Unverified Commit e61d2c5b authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Doc] Fix doc home page layout (#3329)

parent 236a1909
......@@ -251,17 +251,12 @@ div[class^='announcementBar_'] {
text-decoration:none;
}
.container{
width: 100%;
margin-right: 50vw;
}
.container .desc{
width: 100%;
width: 50%;
high: auto;
display:flex;
align-items: center;
justify-content: space-between;
margin-inline-start: -5rem;
}
.container .hero__title{
......@@ -273,10 +268,8 @@ div[class^='announcementBar_'] {
}
.container .desc_left{
width:50%;
display:flex;
display:flex;
flex-direction: column;
align-content: center;
align-items: center;
}
.container .desc_left .hero__title{
font-size:2.5rem;
......@@ -295,16 +288,6 @@ div[class^='announcementBar_'] {
margin-bottom:1rem;
}
.container .desc .desc_right{
display:flex;
position: relative;
width:100%;
height:100%;
}
.container .desc .desc_right img .fly_svg{
width:100%;
height:40%;
}
/*a:link {color: blue; text-decoration:none;} !* 未访问:蓝色、无下划线 *!*/
/*a:active { color: red; } !* //激活:红色 *!*/
/*a:visited {color:purple;text-decoration:none;} !* //已访问:紫色、无下划线 *!*/
......
......@@ -115,12 +115,12 @@ function HomepageHeader() {
<div style={{
position: "absolute",
width: "40vw",
right: "10vw",
zIndex: "1"
right: "2vw",
}}>
<CarouselList items={info}/>
</div>
</div>
</div>
</header>
);
......
......@@ -37,8 +37,8 @@
.buttons {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
margin-left: -6vw;
width: 30rem;
height: 10rem;
}
......@@ -65,7 +65,7 @@
.buttonLink{
width: 200px;
display: flex;
justify-content: center;
justify-content: flex-start;
align-items: center;
margin: 0.5rem;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment