22301009 | 5b28c67 | 2025-04-10 20:12:45 +0800 | [diff] [blame] | 1 | .main-page { |
| 2 | background-color: #5c3f31; |
| 3 | color: white; |
| 4 | } |
| 5 | |
| 6 | .header { |
| 7 | display: flex; |
| 8 | justify-content: space-between; |
| 9 | align-items: center; |
| 10 | padding: 10px; |
| 11 | } |
| 12 | |
| 13 | .logo-and-name { |
| 14 | display: flex; |
| 15 | align-items: center; |
| 16 | } |
| 17 | |
| 18 | .logo { |
| 19 | height: 30px; |
| 20 | margin-right: 10px; |
| 21 | } |
| 22 | |
| 23 | .site-name { |
| 24 | font-size: 24px; |
| 25 | } |
| 26 | |
| 27 | .user-and-message { |
| 28 | display: flex; |
| 29 | align-items: center; |
| 30 | } |
| 31 | |
| 32 | .user-avatar { |
| 33 | height: 40px; |
| 34 | margin-right: 10px; |
| 35 | } |
| 36 | |
| 37 | .message-center { |
| 38 | font-size: 16px; |
| 39 | } |
| 40 | |
| 41 | .nav { |
| 42 | background-color: #b38867; |
| 43 | display: flex; |
| 44 | justify-content: center; |
| 45 | } |
| 46 | |
| 47 | .nav-item { |
| 48 | color: white; |
| 49 | text-decoration: none; |
| 50 | padding: 10px 20px; |
| 51 | } |
| 52 | |
| 53 | .active { |
| 54 | background-color: #996633; |
| 55 | } |
| 56 | |
| 57 | /* 搜索、排序控件 */ |
| 58 | .controls { |
| 59 | display: flex; |
| 60 | justify-content: center; |
| 61 | gap: 16px; |
| 62 | padding: 10px 20px; |
| 63 | background-color: #704c3b; |
| 64 | } |
| 65 | |
| 66 | .search-input { |
| 67 | padding: 6px 10px; |
| 68 | border-radius: 6px; |
| 69 | border: none; |
| 70 | width: 200px; |
| 71 | } |
| 72 | |
| 73 | .sort-select { |
| 74 | padding: 6px; |
| 75 | border-radius: 6px; |
| 76 | border: none; |
| 77 | } |
| 78 | |
| 79 | /* 标签过滤 */ |
| 80 | .tag-filters { |
| 81 | display: flex; |
| 82 | justify-content: center; |
| 83 | flex-wrap: wrap; |
| 84 | gap: 8px; |
| 85 | padding: 10px; |
| 86 | } |
| 87 | |
| 88 | .tag-button { |
| 89 | background-color: #b38867; |
| 90 | color: white; |
| 91 | border: none; |
| 92 | border-radius: 20px; |
| 93 | padding: 6px 12px; |
| 94 | cursor: pointer; |
| 95 | } |
| 96 | |
| 97 | .active-tag { |
| 98 | background-color: #d17c4f; |
| 99 | } |
| 100 | |
| 101 | .clear-filter-btn { |
| 102 | background: transparent; |
| 103 | border: none; |
| 104 | color: #888; |
| 105 | font-size: 1rem; |
| 106 | cursor: pointer; |
| 107 | margin-left: 4px; |
| 108 | } |
| 109 | |
| 110 | .clear-filter-btn:hover { |
| 111 | color: red; |
| 112 | } |
| 113 | |
| 114 | /* 卡片展示 */ |
| 115 | .seed-list-content { |
| 116 | padding: 20px; |
| 117 | } |
| 118 | |
| 119 | .seed-cards { |
| 120 | display: grid; |
| 121 | grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); |
| 122 | gap: 20px; |
| 123 | padding: 20px 0; |
| 124 | } |
| 125 | |
| 126 | .seed-card { |
| 127 | background-color: #fff; |
| 128 | border-radius: 12px; |
| 129 | box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
| 130 | padding: 16px; |
| 131 | display: flex; |
| 132 | flex-direction: column; |
| 133 | justify-content: space-between; |
| 134 | color: #333; |
| 135 | transition: transform 0.2s ease; |
| 136 | } |
| 137 | |
| 138 | .seed-card:hover { |
| 139 | transform: translateY(-5px); |
| 140 | } |
| 141 | |
| 142 | .seed-card-header h3 { |
| 143 | font-size: 1.2rem; |
| 144 | margin-bottom: 10px; |
| 145 | color: #333; |
| 146 | word-break: break-word; |
| 147 | } |
| 148 | |
| 149 | .seed-card-body { |
| 150 | display: flex; |
| 151 | flex-direction: column; |
| 152 | } |
| 153 | |
| 154 | .seed-info { |
| 155 | display: flex; |
| 156 | justify-content: space-between; |
| 157 | font-size: 0.9rem; |
| 158 | color: #666; |
| 159 | margin-bottom: 8px; |
| 160 | } |
| 161 | |
| 162 | .seed-card-tags { |
| 163 | display: flex; |
| 164 | flex-wrap: wrap; |
| 165 | gap: 6px; |
| 166 | margin-top: 6px; |
| 167 | } |
| 168 | |
| 169 | .tag-label { |
| 170 | background-color: #f0f0f0; |
| 171 | color: #555; |
| 172 | padding: 4px 10px; |
| 173 | font-size: 0.75rem; |
| 174 | border-radius: 12px; |
| 175 | white-space: nowrap; |
| 176 | } |
| 177 | |
| 178 | .seed-card-actions { |
| 179 | display: flex; |
| 180 | justify-content: space-between; |
| 181 | gap: 10px; |
| 182 | margin-top: 12px; |
| 183 | } |
| 184 | |
| 185 | .btn-primary, |
| 186 | .btn-secondary, |
| 187 | .btn-outline { |
| 188 | padding: 6px 12px; |
| 189 | border: none; |
| 190 | border-radius: 6px; |
| 191 | cursor: pointer; |
| 192 | font-size: 0.9rem; |
| 193 | text-align: center; |
| 194 | white-space: nowrap; |
| 195 | transition: background-color 0.2s ease; |
| 196 | } |
| 197 | |
| 198 | .btn-primary { |
| 199 | background-color: #007bff; |
| 200 | color: white; |
| 201 | } |
| 202 | |
| 203 | .btn-primary:hover { |
| 204 | background-color: #0056b3; |
| 205 | } |
| 206 | |
| 207 | .btn-secondary { |
| 208 | background-color: #28a745; |
| 209 | color: white; |
| 210 | } |
| 211 | |
| 212 | .btn-secondary:hover { |
| 213 | background-color: #218838; |
| 214 | } |
| 215 | |
| 216 | .btn-outline { |
| 217 | background-color: transparent; |
| 218 | border: 1px solid #ccc; |
| 219 | color: #333; |
| 220 | } |
| 221 | |
| 222 | .btn-outline:hover { |
| 223 | background-color: #f8f9fa; |
| 224 | } |
| 225 | .seed-cover { |
| 226 | width: 100%; |
| 227 | height: 180px; |
| 228 | object-fit: cover; |
| 229 | border-radius: 8px; |
| 230 | margin-bottom: 12px; |
| 231 | } |
Krishya | e71688a | 2025-04-10 21:25:17 +0800 | [diff] [blame] | 232 | .friend-moments { |
| 233 | background-color: #5c3f31; |
| 234 | color: white; |
| 235 | } |
| 236 | |
| 237 | .header { |
| 238 | display: flex; |
| 239 | justify-content: space-between; |
| 240 | align-items: center; |
| 241 | padding: 10px; |
| 242 | } |
| 243 | |
| 244 | .logo-and-name { |
| 245 | display: flex; |
| 246 | align-items: center; |
| 247 | } |
| 248 | |
| 249 | .logo { |
| 250 | height: 30px; |
| 251 | margin-right: 10px; |
| 252 | } |
| 253 | |
| 254 | .site-name { |
| 255 | font-size: 24px; |
| 256 | } |
| 257 | |
| 258 | .user-and-message { |
| 259 | display: flex; |
| 260 | align-items: center; |
| 261 | } |
| 262 | |
| 263 | .user-avatar { |
| 264 | height: 40px; |
| 265 | margin-right: 10px; |
| 266 | } |
| 267 | |
| 268 | .message-center { |
| 269 | font-size: 16px; |
| 270 | } |
| 271 | |
| 272 | .nav { |
| 273 | background-color: #b38867; |
| 274 | display: flex; |
| 275 | justify-content: center; |
| 276 | } |
| 277 | |
| 278 | .nav-item { |
| 279 | color: white; |
| 280 | text-decoration: none; |
| 281 | padding: 10px 20px; |
| 282 | } |
| 283 | |
| 284 | .active { |
| 285 | background-color: #996633; |
| 286 | } |
| 287 | |
| 288 | /* 搜索、排序控件 */ |
| 289 | .controls { |
| 290 | display: flex; |
| 291 | justify-content: center; |
| 292 | gap: 16px; |
| 293 | padding: 10px 20px; |
| 294 | background-color: #704c3b; |
| 295 | } |
| 296 | |
| 297 | .search-input { |
| 298 | padding: 6px 10px; |
| 299 | border-radius: 6px; |
| 300 | border: none; |
| 301 | width: 200px; |
| 302 | } |
| 303 | |
| 304 | .sort-select { |
| 305 | padding: 6px; |
| 306 | border-radius: 6px; |
| 307 | border: none; |
| 308 | } |
| 309 | |
| 310 | /* 标签过滤 */ |
| 311 | .tag-filters { |
| 312 | display: flex; |
| 313 | justify-content: center; |
| 314 | flex-wrap: wrap; |
| 315 | gap: 8px; |
| 316 | padding: 10px; |
| 317 | } |
| 318 | |
| 319 | .tag-button { |
| 320 | background-color: #b38867; |
| 321 | color: white; |
| 322 | border: none; |
| 323 | border-radius: 20px; |
| 324 | padding: 6px 12px; |
| 325 | cursor: pointer; |
| 326 | } |
| 327 | |
| 328 | .active-tag { |
| 329 | background-color: #d17c4f; |
| 330 | } |
| 331 | |
| 332 | /* 卡片展示 */ |
| 333 | .seed-list-content { |
| 334 | padding: 20px; |
| 335 | } |
| 336 | |
| 337 | .seed-cards { |
| 338 | display: grid; |
| 339 | grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); |
| 340 | gap: 20px; |
| 341 | } |
| 342 | |
| 343 | .seed-card { |
| 344 | background-color: #fff; |
| 345 | border-radius: 12px; |
| 346 | box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
| 347 | padding: 16px; |
| 348 | display: flex; |
| 349 | flex-direction: column; |
| 350 | justify-content: space-between; |
| 351 | color: #333; |
| 352 | transition: transform 0.2s ease; |
| 353 | } |
| 354 | |
| 355 | .seed-card:hover { |
| 356 | transform: translateY(-5px); |
| 357 | } |
| 358 | |
| 359 | .seed-card-header h3 { |
| 360 | font-size: 1.2rem; |
| 361 | margin-bottom: 10px; |
| 362 | color: #333; |
| 363 | } |
| 364 | |
| 365 | .seed-card-body p { |
| 366 | margin: 4px 0; |
| 367 | font-size: 0.95rem; |
| 368 | color: #666; |
| 369 | } |
| 370 | |
| 371 | .seed-card-actions { |
| 372 | display: flex; |
| 373 | gap: 10px; |
| 374 | margin-top: 12px; |
| 375 | } |
| 376 | |
| 377 | .btn-primary, |
| 378 | .btn-secondary, |
| 379 | .btn-outline { |
| 380 | padding: 6px 12px; |
| 381 | border: none; |
| 382 | border-radius: 6px; |
| 383 | cursor: pointer; |
| 384 | font-size: 0.9rem; |
| 385 | } |
| 386 | |
| 387 | .btn-primary { |
| 388 | background-color: #007bff; |
| 389 | color: white; |
| 390 | } |
| 391 | |
| 392 | .btn-secondary { |
| 393 | background-color: #28a745; |
| 394 | color: white; |
| 395 | text-decoration: none; |
| 396 | text-align: center; |
| 397 | } |
| 398 | |
| 399 | .btn-outline { |
| 400 | background-color: transparent; |
| 401 | border: 1px solid #ccc; |
| 402 | color: #333; |
| 403 | } |
| 404 | |