刘嘉昕 | 07fee5f | 2025-06-09 17:18:47 +0800 | [diff] [blame^] | 1 | /* TorrentDetail.css */ |
| 2 | |
| 3 | body, html, #root { |
| 4 | margin: 0; |
| 5 | padding: 0; |
| 6 | height: 100%; |
| 7 | background-color: #f4f6f9; |
| 8 | font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif; |
| 9 | } |
| 10 | |
| 11 | .torrent-detail-page { |
| 12 | min-height: 100vh; |
| 13 | padding: 32px 48px; |
| 14 | background-color: #f4f6f9; |
| 15 | box-sizing: border-box; |
| 16 | } |
| 17 | |
| 18 | .torrent1-card { |
| 19 | width: 100%; |
| 20 | max-width: 1080px; |
| 21 | min-width: 1000px; /* 确保不会太窄 */ |
| 22 | margin: 0 auto; |
| 23 | border-radius: 16px; |
| 24 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); |
| 25 | border: none; |
| 26 | background: #fff; |
| 27 | padding: 32px; |
| 28 | } |
| 29 | |
| 30 | .torrent-title { |
| 31 | font-size: 28px; |
| 32 | font-weight: 600; |
| 33 | color: #d46b08; |
| 34 | margin-bottom: 20px; |
| 35 | } |
| 36 | |
| 37 | .torrent-cover-image { |
| 38 | border-radius: 12px; |
| 39 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); |
| 40 | border: 1px solid #eee; |
| 41 | } |
| 42 | |
| 43 | .torrent-buttons { |
| 44 | margin-top: 32px; |
| 45 | display: flex; |
| 46 | justify-content: flex-end; |
| 47 | gap: 20px; |
| 48 | } |
| 49 | |
| 50 | .torrent-buttons .ant-btn { |
| 51 | font-size: 16px; |
| 52 | padding: 10px 28px; |
| 53 | } |