Skip to content

Commit 0a81758

Browse files
committed
caption conflict
1 parent f1faa9c commit 0a81758

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

assets/css/style.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,4 +1296,15 @@ h1, h2, h3, p, li, .caption, .small {
12961296
}
12971297

12981298

1299-
main .caption { opacity: 1 !important; }
1299+
main .caption { opacity: 1 !important; }
1300+
1301+
@media (max-width: 768px) {
1302+
.hero-overlay .hero-links {
1303+
margin-top: 10px; /* 可选:按钮离上方稍微留一点 */
1304+
margin-bottom: 20px; /* 关键:拉开和标题的距离,建议 18~28px */
1305+
}
1306+
1307+
.hero-overlay .hero-title {
1308+
margin-top: 0;
1309+
}
1310+
}

0 commit comments

Comments
 (0)