Skip to content

Commit c808866

Browse files
缩小截图展示尺寸
1 parent 844bdf2 commit c808866

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@
372372
/* Screenshots - 交互卡片 */
373373
.screenshots {
374374
display: grid;
375-
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
376-
gap: 2rem;
375+
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
376+
gap: 1.5rem;
377377
margin: 2rem 0;
378378
}
379379
.screenshot-item {
@@ -399,8 +399,10 @@
399399
.screenshot-item:hover::before { opacity: 1; }
400400
.screenshot-item img {
401401
width: 100%;
402+
max-width: 260px;
403+
margin: 0 auto;
402404
display: block;
403-
border-radius: 20px;
405+
border-radius: 16px;
404406
border: 1px solid var(--border);
405407
}
406408
.screenshot-item p {

0 commit comments

Comments
 (0)