Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
e61d2c5b
Unverified
Commit
e61d2c5b
authored
Mar 26, 2024
by
Zzm0809
Committed by
GitHub
Mar 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Doc] Fix doc home page layout (#3329)
parent
236a1909
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
25 deletions
+8
-25
custom.css
docs/src/css/custom.css
+3
-20
index.js
docs/src/pages/index.js
+2
-2
index.module.css
docs/src/pages/index.module.css
+3
-3
No files found.
docs/src/css/custom.css
View file @
e61d2c5b
...
@@ -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
:
10
0%
;
width
:
5
0%
;
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
{
...
@@ -273,10 +268,8 @@ div[class^='announcementBar_'] {
...
@@ -273,10 +268,8 @@ div[class^='announcementBar_'] {
}
}
.container
.desc_left
{
.container
.desc_left
{
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;} !* //已访问:紫色、无下划线 *!*/
...
...
docs/src/pages/index.js
View file @
e61d2c5b
...
@@ -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
>
);
);
...
...
docs/src/pages/index.module.css
View file @
e61d2c5b
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment