Krishya | e71688a | 2025-04-10 21:25:17 +0800 | [diff] [blame] | 1 | .forum-page { |
| 2 | color: #fff; |
Krishya | f1d0ea8 | 2025-05-03 17:01:58 +0800 | [diff] [blame] | 3 | /* background-color: #5F4437; */ |
| 4 | /* background: linear-gradient(180deg, #5F4437, #9c737b); */ |
Krishya | 57cc17b | 2025-05-26 16:43:34 +0800 | [diff] [blame] | 5 | background: #333; |
Krishya | f1d0ea8 | 2025-05-03 17:01:58 +0800 | [diff] [blame] | 6 | /* background-color: #5F4437; */ |
Krishya | e71688a | 2025-04-10 21:25:17 +0800 | [diff] [blame] | 7 | min-height: 100vh; |
| 8 | font-family: Arial, sans-serif; |
| 9 | } |
| 10 | |
Krishya | e71688a | 2025-04-10 21:25:17 +0800 | [diff] [blame] | 11 | .forum-content { |
| 12 | padding: 20px; |
| 13 | } |
| 14 | |
| 15 | .post-list { |
| 16 | display: flex; |
| 17 | flex-direction: column; |
| 18 | gap: 20px; |
| 19 | } |
| 20 | |
| 21 | .post-card { |
Krishya | 1300cad | 2025-04-20 22:16:45 +0800 | [diff] [blame] | 22 | text-decoration: none; /* 移除链接的下划线 */ |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 23 | background-color: #5F4437; |
Krishya | e71688a | 2025-04-10 21:25:17 +0800 | [diff] [blame] | 24 | padding: 15px; |
| 25 | border-radius: 10px; |
| 26 | position: relative; |
| 27 | } |
| 28 | |
| 29 | .post-card-top { |
| 30 | display: flex; |
| 31 | justify-content: space-between; |
| 32 | align-items: center; |
| 33 | } |
| 34 | |
| 35 | .user-info { |
| 36 | display: flex; |
| 37 | align-items: center; |
| 38 | } |
| 39 | |
| 40 | .avatar { |
| 41 | width: 36px; |
| 42 | height: 36px; |
| 43 | border-radius: 50%; |
| 44 | margin-right: 10px; |
| 45 | } |
| 46 | |
| 47 | .nickname { |
| 48 | font-weight: bold; |
| 49 | } |
| 50 | |
| 51 | .cover-image { |
| 52 | max-height: 80px; |
| 53 | max-width: 120px; |
| 54 | object-fit: cover; |
| 55 | border-radius: 6px; |
| 56 | } |
| 57 | |
| 58 | .post-meta { |
| 59 | font-size: 12px; |
| 60 | margin-top: 5px; |
| 61 | color: #ddd; |
| 62 | } |
| 63 | |
| 64 | .post-actions { |
| 65 | display: flex; |
| 66 | gap: 15px; |
| 67 | margin: 10px 0; |
| 68 | } |
| 69 | |
| 70 | .icon-btn { |
| 71 | display: flex; |
| 72 | align-items: center; |
| 73 | gap: 5px; |
| 74 | background: none; |
| 75 | border: none; |
| 76 | color: #fff; |
| 77 | cursor: pointer; |
| 78 | } |
| 79 | |
| 80 | .btn-secondary { |
| 81 | display: inline-block; |
| 82 | background: #888; |
| 83 | color: #fff; |
| 84 | padding: 6px 12px; |
| 85 | text-decoration: none; |
| 86 | border-radius: 5px; |
| 87 | margin-top: 10px; |
| 88 | } |
| 89 | |
| 90 | .pagination { |
| 91 | margin-top: 20px; |
| 92 | display: flex; |
| 93 | justify-content: center; |
| 94 | gap: 10px; |
| 95 | } |
| 96 | |
| 97 | .error-text { |
| 98 | color: red; |
| 99 | } |
Krishya | 1300cad | 2025-04-20 22:16:45 +0800 | [diff] [blame] | 100 | |
| 101 | .toolbar { |
| 102 | display: flex; |
Krishya | 1300cad | 2025-04-20 22:16:45 +0800 | [diff] [blame] | 103 | padding: 16px 20px; |
| 104 | } |
| 105 | |
Krishya | e71688a | 2025-04-10 21:25:17 +0800 | [diff] [blame] | 106 | |