Skip to content

Commit 5a4b422

Browse files
add mj team series
1 parent ff9eb4d commit 5a4b422

File tree

2 files changed

+23
-18
lines changed

2 files changed

+23
-18
lines changed

.DS_Store

0 Bytes
Binary file not shown.

index.html

+23-18
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,32 @@
4646

4747
.video-wrapper {
4848
display: flex;
49-
justify-content: center; /* Center the video containers horizontally */
50-
align-items: center; /* Center the video containers vertically */
49+
justify-content: center;
50+
align-items: stretch; /* Changed to stretch to ensure same height */
5151
position: relative;
52-
width: 70%; /* Adjust the width to make the whole container smaller */
53-
margin: auto; /* Center the container */
54-
gap: 1%; /* Adjust the gap between videos */
55-
border: none; /* Remove any border */
56-
padding: 0; /* Remove any padding */
57-
background: none; /* Remove any background */
52+
width: 70%;
53+
margin: auto;
54+
gap: 1%;
55+
border: none;
56+
padding: 0;
57+
background: none;
5858
}
5959

6060
.video-container {
6161
position: relative;
62-
width: 50%; /* Adjust the width of each video container */
63-
overflow: hidden; /* Ensure the video doesn't overflow the container */
64-
border-radius: 10px; /* Apply rounded corners */
62+
width: 50%;
63+
aspect-ratio: 16/9; /* Force a consistent aspect ratio */
64+
border-radius: 10px;
65+
display: flex; /* Added to help with centering */
66+
align-items: center; /* Center content vertically */
6567
}
6668

6769
.video-container video {
6870
width: 100%;
69-
height: auto;
70-
border-radius: 10px; /* Ensure the video itself has rounded corners */
71-
border: 1px solid #ccc; /* Add a border around the video */
71+
height: 100%; /* Force full height */
72+
object-fit: cover; /* Maintain aspect ratio while filling container */
73+
border-radius: 10px;
74+
border: 1px solid #ccc;
7275
}
7376

7477
.carousel-caption {
@@ -86,14 +89,13 @@
8689
}
8790
.text-box {
8891
position: absolute;
89-
top: 0; /* Adjust position above the video wrapper */
90-
left: 0; /* Position it in the left upper corner */
91-
/* background-color: black; */
92+
top: 0;
93+
left: 0;
9294
color: white;
9395
padding: 5px 10px;
9496
border-radius: 10px;
9597
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
96-
z-index: 1; /* Ensure it stays above other elements */
98+
z-index: 1;
9799
font-size: 12px;
98100

99101
}
@@ -272,6 +274,9 @@ <h1 class="title is-1 publication-title">MJ-Video: Fine-Grained Benchmarking and
272274
<a href="https://arxiv.org/pdf/2502.01719" class="btn btn-outline-secondary">
273275
<i class="fa-solid fa-file-pdf"></i> Paper
274276
</a>
277+
<a href="https://huggingface.co/datasets/MJ-Bench/MJ-BENCH-VIDEO" class="btn btn-outline-secondary">
278+
<i class="fa-solid fa-download"></i> Dataset
279+
</a>
275280
<a href="https://github.com/aiming-lab/MJ-Video" class="btn btn-outline-secondary">
276281
<i class="fa-brands fa-github"></i> Code
277282
</a>

0 commit comments

Comments
 (0)