Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 1 | .seed-detail-page { |
Krishya | 57cc17b | 2025-05-26 16:43:34 +0800 | [diff] [blame] | 2 | background: #333; |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 3 | min-height: 100vh; |
| 4 | padding-bottom: 40px; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 5 | font-family: 'Helvetica Neue', sans-serif; |
| 6 | color: #333; |
| 7 | } |
| 8 | |
| 9 | .seed-detail { |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 10 | background-color: #fff9f3; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 11 | border-radius: 16px; |
| 12 | max-width: 960px; |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 13 | margin: 40px auto 0; |
| 14 | padding: 32px; |
| 15 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 16 | } |
| 17 | |
| 18 | .seed-detail h1 { |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 19 | font-size: 28px; |
| 20 | font-weight: 700; |
| 21 | margin-bottom: 24px; |
| 22 | color: #3d2e2a; |
| 23 | border-left: 4px solid #ba929a; |
| 24 | padding-left: 12px; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | .seed-header-container { |
| 28 | display: flex; |
| 29 | justify-content: space-between; |
| 30 | align-items: flex-start; |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 31 | gap: 32px; |
| 32 | flex-wrap: wrap; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 33 | } |
| 34 | |
| 35 | .seed-info { |
| 36 | flex: 1; |
| 37 | } |
| 38 | |
| 39 | .seed-basic-info p, |
| 40 | .seed-media-info p { |
| 41 | font-size: 16px; |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 42 | line-height: 1.6; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 43 | margin: 6px 0; |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 44 | color: #4a3b34; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 45 | } |
| 46 | |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 47 | /* .cover-image { |
| 48 | width: 240px; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 49 | height: auto; |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 50 | border-radius: 12px; |
| 51 | object-fit: cover; |
| 52 | box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); |
| 53 | } */ |
| 54 | .cover-image { |
| 55 | max-width: 100%; |
| 56 | width: 240px; |
| 57 | max-height: 320px; |
| 58 | height: auto; |
| 59 | border-radius: 12px; |
| 60 | object-fit: contain; /* 从 cover 改为 contain */ |
| 61 | background-color: #f6eae3; /* 给 contain 留白背景 */ |
| 62 | box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 63 | } |
| 64 | |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 65 | |
| 66 | .action-buttons { |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 67 | margin-top: 24px; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 68 | display: flex; |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 69 | justify-content: flex-end; |
| 70 | gap: 12px; |
| 71 | } |
| 72 | |
| 73 | .btn, .btn-outline { |
| 74 | padding: 10px 18px; |
| 75 | font-size: 15px; |
| 76 | border-radius: 8px; |
| 77 | font-weight: 500; |
| 78 | cursor: pointer; |
| 79 | transition: all 0.2s ease-in-out; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 80 | } |
| 81 | |
| 82 | .btn { |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 83 | background-color: #ba929a; |
| 84 | color: white; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 85 | border: none; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 86 | } |
| 87 | |
| 88 | .btn:hover { |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 89 | background-color: #5f4437; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 90 | } |
| 91 | |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 92 | .btn-outline { |
| 93 | background-color: transparent; |
| 94 | color: #5f4437; |
| 95 | border: 2px solid #5f4437; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 96 | } |
| 97 | |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 98 | .btn-outline:hover { |
| 99 | background-color: #f6eae3; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 100 | } |
| 101 | |
| 102 | .error-text { |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 103 | color: #e74c3c; |
| 104 | font-size: 18px; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 105 | text-align: center; |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 106 | margin-top: 60px; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 107 | } |
22301009 | 4952a0f | 2025-06-07 18:58:16 +0800 | [diff] [blame^] | 108 | |
| 109 | @media (max-width: 768px) { |
| 110 | .seed-header-container { |
| 111 | flex-direction: column; |
| 112 | align-items: center; |
| 113 | } |
| 114 | |
| 115 | .cover-image { |
| 116 | width: 100%; |
| 117 | max-width: 320px; |
| 118 | margin-top: 20px; |
| 119 | } |
| 120 | |
| 121 | .action-buttons { |
| 122 | justify-content: center; |
| 123 | } |
| 124 | } |