.thread-detail { | |
max-width: 1200px; | |
margin: 0 auto; | |
padding: 2rem; | |
// 帖子头部 | |
.thread-header { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
margin-bottom: 2rem; | |
.user-info { | |
display: flex; | |
align-items: center; | |
gap: 1rem; | |
.user-meta { | |
h3 { | |
margin: 0; | |
font-size: 1.25rem; | |
color: #2d3748; | |
} | |
span { | |
color: #718096; | |
font-size: 0.875rem; | |
} | |
} | |
} | |
.post-time { | |
color: #718096; | |
font-size: 0.875rem; | |
} | |
} | |
// 帖子内容 | |
.thread-content { | |
h1 { | |
font-size: 2rem; | |
color: #1a202c; | |
margin-bottom: 1.5rem; | |
} | |
.content-body { | |
.thread-image { | |
width: 100%; | |
height: auto; | |
border-radius: 0.5rem; | |
margin-bottom: 1.5rem; | |
} | |
.thread-image { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
} | |
p { | |
font-size: 1rem; | |
line-height: 1.75; | |
color: #4a5568; | |
margin-bottom: 2rem; | |
} | |
} | |
.thread-actions { | |
display: flex; | |
gap: 1rem; | |
margin-bottom: 2rem; | |
.like-button { | |
&.liked { | |
background: #f49c79; | |
} | |
} | |
} | |
} | |
} |