Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SMU-GDMU-CHINA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2024 Competition
SMU-GDMU-CHINA
Commits
2a44bebe
Commit
2a44bebe
authored
6 months ago
by
Xingan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
better team member page
parent
c8faa5bb
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/containers/App/App.css
+15
-3
15 additions, 3 deletions
src/containers/App/App.css
src/contents/team.tsx
+225
-204
225 additions, 204 deletions
src/contents/team.tsx
with
240 additions
and
207 deletions
src/containers/App/App.css
+
15
−
3
View file @
2a44bebe
...
...
@@ -358,6 +358,8 @@ footer a:hover {
.card-body
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
...
...
@@ -379,25 +381,35 @@ footer a:hover {
.sticky-container
{
position
:
sticky
;
top
:
2
0
0px
;
/* 设置元素在滚动时保持与页面顶部的距离 */
top
:
1
20px
;
/* 设置元素在滚动时保持与页面顶部的距离 */
margin
:
10px
;
margin-bottom
:
150px
;
padding
:
30px
;
border
:
2
px
solid
#f7a901
;
border
:
5
px
solid
rgba
(
114
,
47
,
55
,
1
)
;
border-radius
:
10px
;
background-color
:
#f77001
a6
;
height
:
auto
;
padding-bottom
:
0px
;
}
.sticky-words
{
font-size
:
large
;
/* display: flex;
align-items: center;
justify-items: center; */
}
.sticky-img
{
width
:
100%
;
/* 图片宽度自适应容器 */
height
:
auto
;
/* 保持图片纵横比 */
/* display: block; 去掉图片下方的空隙 */
margin
:
2px
;
max-height
:
60vh
;
/* max-height: 60vh; */
}
.sticky-description
{
background-color
:
#e4dfb4
b0
;
border-radius
:
20px
;
padding
:
5px
;
margin-top
:
5px
;
}
.row-custom-height-card
{
...
...
This diff is collapsed.
Click to expand it.
src/contents/team.tsx
+
225
−
204
View file @
2a44bebe
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment