Skip to content

Commit 8dd9c03

Browse files
update
2 parents c17bdda + 134ac9a commit 8dd9c03

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

assets/css/style.css

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,28 +1465,13 @@ h1, h2, h3, p, li, .caption, .small {
14651465

14661466
main .caption { opacity: 1 !important; }
14671467

1468-
/* Fade-in Animation */
1469-
.fade-in{
1470-
opacity: 0;
1471-
transform: translateY(20px);
1472-
transition: opacity 0.6s ease, transform 0.6s ease;
1473-
}
1474-
.fade-in.visible{
1475-
opacity: 1;
1476-
transform: translateY(0);
1477-
}
1478-
.fade-in:nth-child(1) { transition-delay: 0.1s; }
1479-
.fade-in:nth-child(2) { transition-delay: 0.2s; }
1480-
.fade-in:nth-child(3) { transition-delay: 0.3s; }
1481-
.fade-in:nth-child(4) { transition-delay: 0.4s; }
1468+
@media (max-width: 768px) {
1469+
.hero-overlay .hero-links {
1470+
margin-top: 10px; /* 可选:按钮离上方稍微留一点 */
1471+
margin-bottom: 30px; /* 关键:拉开和标题的距离,建议 18~28px */
1472+
}
14821473

1483-
/* Section fade-in */
1484-
section.fade-in-section{
1485-
opacity: 0;
1486-
transform: translateY(30px);
1487-
transition: opacity 0.8s ease, transform 0.8s ease;
1488-
}
1489-
section.fade-in-section.visible{
1490-
opacity: 1;
1491-
transform: translateY(0);
1474+
.hero-overlay .hero-title {
1475+
margin-top: 0;
1476+
}
14921477
}

0 commit comments

Comments
 (0)