v1.2.10 比赛卡片宽度加大50%(280→420px固定列宽)
This commit is contained in:
+1
-1
@@ -134,7 +134,7 @@ main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px 16
|
||||
.pager span { margin: 0 4px; }
|
||||
|
||||
/* ---------- 比赛网格卡片(固定宽度,宽度足够一行多个) ---------- */
|
||||
.games-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: stretch; }
|
||||
.games-grid { grid-template-columns: repeat(auto-fill, 420px); align-items: stretch; }
|
||||
.games-grid .list-item { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; height: 100%; padding: 14px 16px; }
|
||||
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; transition: .18s; }
|
||||
.card:hover { transform: translateY(-3px); border-color: var(--orange2); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
|
||||
|
||||
Reference in New Issue
Block a user