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_'] { ...@@ -251,17 +251,12 @@ div[class^='announcementBar_'] {
text-decoration:none; text-decoration:none;
} }
.container{
width: 100%;
margin-right: 50vw;
}
.container .desc{ .container .desc{
width: 100%; width: 50%;
high: auto; high: auto;
display:flex; display:flex;
align-items: center; margin-inline-start: -5rem;
justify-content: space-between;
} }
.container .hero__title{ .container .hero__title{
...@@ -275,8 +270,6 @@ div[class^='announcementBar_'] { ...@@ -275,8 +270,6 @@ div[class^='announcementBar_'] {
width:50%; width:50%;
display:flex; display:flex;
flex-direction: column; flex-direction: column;
align-content: center;
align-items: center;
} }
.container .desc_left .hero__title{ .container .desc_left .hero__title{
font-size:2.5rem; font-size:2.5rem;
...@@ -295,16 +288,6 @@ div[class^='announcementBar_'] { ...@@ -295,16 +288,6 @@ div[class^='announcementBar_'] {
margin-bottom:1rem; 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:link {color: blue; text-decoration:none;} !* 未访问:蓝色、无下划线 *!*/
/*a:active { color: red; } !* //激活:红色 *!*/ /*a:active { color: red; } !* //激活:红色 *!*/
/*a:visited {color:purple;text-decoration:none;} !* //已访问:紫色、无下划线 *!*/ /*a:visited {color:purple;text-decoration:none;} !* //已访问:紫色、无下划线 *!*/
......
...@@ -115,12 +115,12 @@ function HomepageHeader() { ...@@ -115,12 +115,12 @@ function HomepageHeader() {
<div style={{ <div style={{
position: "absolute", position: "absolute",
width: "40vw", width: "40vw",
right: "10vw", right: "2vw",
zIndex: "1"
}}> }}>
<CarouselList items={info}/> <CarouselList items={info}/>
</div> </div>
</div> </div>
</div> </div>
</header> </header>
); );
......
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
.buttons { .buttons {
display: flex; display: flex;
align-items: center; flex-direction: row;
justify-content: center; margin-left: -6vw;
width: 30rem; width: 30rem;
height: 10rem; height: 10rem;
} }
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
.buttonLink{ .buttonLink{
width: 200px; width: 200px;
display: flex; display: flex;
justify-content: center; justify-content: flex-start;
align-items: center; align-items: center;
margin: 0.5rem; 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