Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tsinghua
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
Package registry
Model registry
Operate
Terraform modules
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
Zhefu Li
Tsinghua
Commits
9ebb63b0
Commit
9ebb63b0
authored
8 months ago
by
HouTeng Chan
Browse files
Options
Downloads
Patches
Plain Diff
Update file team.html
parent
79395fa9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wiki/pages/team.html
+79
-72
79 additions, 72 deletions
wiki/pages/team.html
with
79 additions
and
72 deletions
wiki/pages/team.html
+
79
−
72
View file @
9ebb63b0
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Tsinghua - IGEM 2024
</title>
<style>
body
{
font-family
:
Arial
,
sans-serif
;
margin
:
0
;
padding
:
0
;
}
.team-grid
{
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
);
gap
:
10px
;
/* Reduced gap to bring frames closer */
max-width
:
1200px
;
margin
:
20px
auto
;
padding
:
0
10px
;
}
.team-member
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
text-align
:
center
;
background-color
:
#f9f9f9
;
border-radius
:
10px
;
overflow
:
hidden
;
box-shadow
:
0
2px
5px
rgba
(
0
,
0
,
0
,
0.1
);
}
.image-container
,
.image-placeholder
{
width
:
100%
;
height
:
300px
;
overflow
:
hidden
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.image-container
img
{
width
:
100%
;
height
:
100%
;
object-fit
:
cover
;
}
.image-placeholder
{
background-color
:
#ddd
;
}
.text-area
{
padding
:
15px
;
width
:
100%
;
box-sizing
:
border-box
;
}
.text-area
.name
{
font-size
:
18px
;
font-weight
:
bold
;
margin-bottom
:
5px
;
}
.text-area
.bio
{
font-size
:
14px
;
text-align
:
left
;
}
@media
(
max-width
:
768px
)
{
.team-grid
{
grid-template-columns
:
repeat
(
2
,
1
fr
);
gap
:
8px
;
}
}
@media
(
max-width
:
480px
)
{
.team-grid
{
grid-template-columns
:
1
fr
;
gap
:
10px
;
}
}
</style>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Tsinghua - IGEM 2024
</title>
<style>
.team-grid
{
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
);
gap
:
3px
;
/* Reduced from the previous value to bring frames closer */
max-width
:
1200px
;
margin
:
0
auto
;
}
.team-member
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
text-align
:
center
;
}
.image-container
,
.image-placeholder
{
width
:
300px
;
/* Kept original size */
height
:
300px
;
/* Kept original size */
overflow
:
hidden
;
margin-bottom
:
10px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
border-radius
:
20px
;
}
.image-container
img
{
max-width
:
100%
;
max-height
:
100%
;
object-fit
:
cover
;
}
.image-placeholder
{
background-color
:
#000
;
}
.text-area
{
width
:
350px
;
/* Kept original size */
min-height
:
100px
;
/* Kept original size */
border
:
1px
solid
#ccc
;
padding
:
10px
;
box-sizing
:
border-box
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
flex-start
;
border-radius
:
20px
;
}
.text-area
.name
{
font-size
:
18px
;
font-weight
:
bold
;
margin-bottom
:
10px
;
}
.text-area
.bio
{
font-size
:
14px
;
text-align
:
left
;
}
@media
(
max-width
:
768px
)
{
.team-grid
{
grid-template-columns
:
repeat
(
2
,
1
fr
);
gap
:
15px
;
/* Slightly reduced gap for tablet view */
}
}
@media
(
max-width
:
480px
)
{
.team-grid
{
grid-template-columns
:
1
fr
;
gap
:
10px
;
/* Further reduced gap for mobile view */
}
}
</style>
</head>
{% extends "layout.html" %}
...
...
@@ -218,3 +224,4 @@ Meet Our Team Members
{% endblock %}
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