Skip to content

Commit 121c434

Browse files
2 parents 60d0cb7 + 00afaf7 commit 121c434

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed

assets/css/style.css

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ canvas.chart{width:100%; height:340px; display:block;}
591591
display: block;
592592
}
593593

594-
.carousel-card .caption {
594+
/* .carousel-card .caption {
595595
margin-top: 15px;
596596
font-size: 18px;
597597
font-weight: bold;
@@ -603,6 +603,19 @@ canvas.chart{width:100%; height:340px; display:block;}
603603
604604
.carousel-card.is-active .caption {
605605
opacity: 1;
606+
} */
607+
608+
.carousel-caption {
609+
margin-top: 15px;
610+
font-size: 18px;
611+
font-weight: bold;
612+
color: #333;
613+
text-align: center;
614+
opacity: 0;
615+
transition: opacity 0.3s;
616+
}
617+
.carousel-card.is-active .carousel-caption {
618+
opacity: 1;
606619
}
607620

608621
.nav-btn {
@@ -935,7 +948,7 @@ h1, h2, h3, p, li, .caption, .small {
935948
object-fit: cover;
936949
display: block;
937950
}
938-
951+
/*
939952
.caption {
940953
margin-top: 12px;
941954
font-size: 16px;
@@ -944,8 +957,8 @@ h1, h2, h3, p, li, .caption, .small {
944957
text-align: center;
945958
opacity: 0;
946959
transition: opacity 0.3s;
947-
}
948-
.carousel-card.is-active .caption { opacity: 1; }
960+
} */
961+
/* .carousel-card.is-active .caption { opacity: 1; } */
949962

950963
/* --- 按钮样式 (核弹级层级) --- */
951964
.nav-btn {
@@ -994,3 +1007,6 @@ h1, h2, h3, p, li, .caption, .small {
9941007
box-shadow: 0 4px 15px rgba(0,0,0,0.4);
9951008
}
9961009
}
1010+
1011+
1012+
main .caption { opacity: 1 !important; }

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,21 +179,21 @@ <h3>Continuous Success achieved by RISE</h3>
179179
<div class="video-wrapper">
180180
<video style="pointer-events: none;" src="https://assets.kinetixai.cn/rise3/backpack_continuous_21_RISE_compressed.mp4" autoplay muted loop playsinline preload="metadata"></video>
181181
</div>
182-
<div class="caption">Backpack Packing</div>
182+
<div class="carousel-caption">Backpack Packing</div>
183183
</article>
184184

185185
<article class="carousel-card">
186186
<div class="video-wrapper">
187187
<video style="pointer-events: none;" src="https://assets.kinetixai.cn/rise3/conveyor_continuous_11_RISE_compressed.mp4" autoplay muted loop playsinline preload="metadata"></video>
188188
</div>
189-
<div class="caption">Dynamic Brick Sorting</div>
189+
<div class="carousel-caption">Dynamic Brick Sorting</div>
190190
</article>
191191

192192
<article class="carousel-card">
193193
<div class="video-wrapper">
194194
<video style="pointer-events: none;" src="https://assets.kinetixai.cn/rise3/box_continuous_10_RISE_compressed.mp4" autoplay muted loop playsinline preload="metadata"></video>
195195
</div>
196-
<div class="caption">Box Closing</div>
196+
<div class="carousel-caption">Box Closing</div>
197197
</article>
198198
</div>
199199
</div>

0 commit comments

Comments
 (0)