blob: 9e1a10eac9928a8ec17379ecde861a0af58d392e [file] [log] [blame]
Krishyac0f7e9b2025-04-22 15:28:28 +08001.seed-detail-page {
Krishya57cc17b2025-05-26 16:43:34 +08002 background: #333;
223010094952a0f2025-06-07 18:58:16 +08003 min-height: 100vh;
4 padding-bottom: 40px;
Krishyac0f7e9b2025-04-22 15:28:28 +08005 font-family: 'Helvetica Neue', sans-serif;
6 color: #333;
7}
8
9.seed-detail {
223010094952a0f2025-06-07 18:58:16 +080010 background-color: #fff9f3;
Krishyac0f7e9b2025-04-22 15:28:28 +080011 border-radius: 16px;
12 max-width: 960px;
223010094952a0f2025-06-07 18:58:16 +080013 margin: 40px auto 0;
14 padding: 32px;
15 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
Krishyac0f7e9b2025-04-22 15:28:28 +080016}
17
18.seed-detail h1 {
223010094952a0f2025-06-07 18:58:16 +080019 font-size: 28px;
20 font-weight: 700;
21 margin-bottom: 24px;
22 color: #3d2e2a;
23 border-left: 4px solid #ba929a;
24 padding-left: 12px;
Krishyac0f7e9b2025-04-22 15:28:28 +080025}
26
27.seed-header-container {
28 display: flex;
29 justify-content: space-between;
30 align-items: flex-start;
223010094952a0f2025-06-07 18:58:16 +080031 gap: 32px;
32 flex-wrap: wrap;
Krishyac0f7e9b2025-04-22 15:28:28 +080033}
34
35.seed-info {
36 flex: 1;
37}
38
39.seed-basic-info p,
40.seed-media-info p {
41 font-size: 16px;
223010094952a0f2025-06-07 18:58:16 +080042 line-height: 1.6;
Krishyac0f7e9b2025-04-22 15:28:28 +080043 margin: 6px 0;
223010094952a0f2025-06-07 18:58:16 +080044 color: #4a3b34;
Krishyac0f7e9b2025-04-22 15:28:28 +080045}
46
223010094952a0f2025-06-07 18:58:16 +080047/* .cover-image {
48 width: 240px;
Krishyac0f7e9b2025-04-22 15:28:28 +080049 height: auto;
223010094952a0f2025-06-07 18:58:16 +080050 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);
Krishyac0f7e9b2025-04-22 15:28:28 +080063}
64
Krishyac0f7e9b2025-04-22 15:28:28 +080065
66.action-buttons {
223010094952a0f2025-06-07 18:58:16 +080067 margin-top: 24px;
Krishyac0f7e9b2025-04-22 15:28:28 +080068 display: flex;
223010094952a0f2025-06-07 18:58:16 +080069 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;
Krishyac0f7e9b2025-04-22 15:28:28 +080080}
81
82.btn {
223010094952a0f2025-06-07 18:58:16 +080083 background-color: #ba929a;
84 color: white;
Krishyac0f7e9b2025-04-22 15:28:28 +080085 border: none;
Krishyac0f7e9b2025-04-22 15:28:28 +080086}
87
88.btn:hover {
223010094952a0f2025-06-07 18:58:16 +080089 background-color: #5f4437;
Krishyac0f7e9b2025-04-22 15:28:28 +080090}
91
223010094952a0f2025-06-07 18:58:16 +080092.btn-outline {
93 background-color: transparent;
94 color: #5f4437;
95 border: 2px solid #5f4437;
Krishyac0f7e9b2025-04-22 15:28:28 +080096}
97
223010094952a0f2025-06-07 18:58:16 +080098.btn-outline:hover {
99 background-color: #f6eae3;
Krishyac0f7e9b2025-04-22 15:28:28 +0800100}
101
102.error-text {
223010094952a0f2025-06-07 18:58:16 +0800103 color: #e74c3c;
104 font-size: 18px;
Krishyac0f7e9b2025-04-22 15:28:28 +0800105 text-align: center;
223010094952a0f2025-06-07 18:58:16 +0800106 margin-top: 60px;
Krishyac0f7e9b2025-04-22 15:28:28 +0800107}
223010094952a0f2025-06-07 18:58:16 +0800108
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}