diff --git a/static/style.css b/static/style.css index cf817c0..2c0c51a 100644 --- a/static/style.css +++ b/static/style.css @@ -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); }