blob: 594cb8e6daffab9c0bf1605731b42ec4f8052e75 [file] [log] [blame]
.seed-detail-page {
background: #333;
font-family: 'Helvetica Neue', sans-serif;
color: #333;
}
.seed-detail {
background-color: #e9ded2;
border-radius: 16px;
max-width: 960px;
margin: 0 auto;
margin-top: 40px;
padding: 24px 32px;
}
.seed-detail h1 {
font-size: 24px;
font-weight: bold;
margin-bottom: 16px;
color: #4A3B34;
}
.seed-header-container {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.seed-info {
flex: 1;
}
.seed-basic-info p,
.seed-media-info p {
font-size: 16px;
margin: 6px 0;
}
.cover-image {
width: 200px;
height: auto;
margin-left: 20px;
border-radius: 8px;
}
.comment-options {
margin-top: 8px;
display: flex;
justify-content: flex-end; /* 将 space-between 改为 flex-end */
}
.action-buttons {
justify-content: flex-end; /*靠右对齐*/
display: flex;
gap: 10px;
margin-bottom: 20px;
}
.btn {
justify-content: flex-end; /*靠右对齐*/
padding: 6px 14px;
background-color: #BA929A;
color: #fff;
border: none;
border-radius: 6px;
font-size: 14px;
cursor: pointer;
}
.btn:hover {
background-color: #5F4437;
}
.comments-section {
margin-top: 20px;
}
.comments-section h3 {
margin-bottom: 10px;
font-size: 20px;
color: #4A3B34;
}
.comments-list {
border-top: 1px solid #ccc;
padding-top: 10px;
}
.comment {
border-bottom: 1px solid #ccc;
padding: 10px 0;
}
.comment-user {
font-weight: bold;
margin-bottom: 5px;
}
.comment-content {
margin: 0;
}
.add-comment-form {
margin-top: 10px;
}
.add-comment-form textarea {
width: 100%;
padding: 10px;
resize: vertical;
min-height: 80px;
border: 1px solid #bbb;
border-radius: 6px;
margin-bottom: 10px;
}
.error-text {
color: #f00;
text-align: center;
}