|
267 | 267 | .comment-editor { |
268 | 268 | display: flex; |
269 | 269 | flex-direction: column; |
270 | | - gap: 12px; |
| 270 | + gap: 10px; |
| 271 | + margin-bottom: 18px; |
| 272 | +} |
| 273 | + |
| 274 | +.comment-hint { |
| 275 | + font-size: 11.5px; |
| 276 | + color: var(--detail-muted); |
| 277 | + margin-top: -6px; |
271 | 278 | } |
272 | 279 |
|
273 | 280 | .comment-editor textarea { |
|
291 | 298 | background: var(--detail-surface); |
292 | 299 | } |
293 | 300 |
|
294 | | -.comment-tip { |
295 | | - font-size: 12px; |
296 | | - color: var(--detail-muted); |
297 | | -} |
298 | 301 |
|
299 | 302 | .comment-editor-actions { |
300 | 303 | display: flex; |
|
497 | 500 | } |
498 | 501 |
|
499 | 502 | .empty-comment { |
500 | | - margin-top: 36px; |
| 503 | + margin-top: 28px; |
501 | 504 | text-align: center; |
502 | 505 | color: var(--detail-muted); |
| 506 | + display: flex; |
| 507 | + flex-direction: column; |
| 508 | + align-items: center; |
| 509 | + gap: 4px; |
| 510 | +} |
| 511 | + |
| 512 | +.empty-icon { |
| 513 | + font-size: 28px; |
| 514 | + margin-bottom: 4px; |
503 | 515 | } |
504 | 516 |
|
505 | 517 | .comment-title { |
|
568 | 580 | color: var(--detail-muted); |
569 | 581 | } |
570 | 582 |
|
| 583 | +.author-stats-list { |
| 584 | + margin: 0; |
| 585 | + padding: 0; |
| 586 | + list-style: none; |
| 587 | + display: flex; |
| 588 | + flex-direction: column; |
| 589 | + gap: 6px; |
| 590 | + font-size: 13px; |
| 591 | + color: var(--detail-muted); |
| 592 | +} |
| 593 | + |
| 594 | +.author-stats-list li { |
| 595 | + display: flex; |
| 596 | + align-items: center; |
| 597 | + justify-content: space-between; |
| 598 | + gap: 12px; |
| 599 | +} |
| 600 | + |
| 601 | +.author-stats-list li strong { |
| 602 | + color: var(--detail-text); |
| 603 | + font-weight: 700; |
| 604 | +} |
| 605 | + |
| 606 | +.author-recent { |
| 607 | + flex-direction: column; |
| 608 | + align-items: flex-start; |
| 609 | + justify-content: flex-start; |
| 610 | + gap: 6px; |
| 611 | +} |
| 612 | + |
| 613 | +.author-recent button { |
| 614 | + padding: 0; |
| 615 | + border: none; |
| 616 | + background: none; |
| 617 | + color: var(--detail-accent); |
| 618 | + font-size: 13px; |
| 619 | + font-weight: 600; |
| 620 | + cursor: pointer; |
| 621 | + text-align: left; |
| 622 | +} |
| 623 | + |
| 624 | +.author-recent button:hover { |
| 625 | + text-decoration: underline; |
| 626 | +} |
| 627 | + |
| 628 | +.author-recent time { |
| 629 | + font-size: 12px; |
| 630 | + color: var(--detail-muted); |
| 631 | +} |
| 632 | + |
571 | 633 | .related-qna-header { |
572 | 634 | display: flex; |
573 | 635 | align-items: center; |
|
603 | 665 | } |
604 | 666 |
|
605 | 667 | .related-item { |
| 668 | + width: 100%; |
606 | 669 | background: var(--detail-bg); |
607 | 670 | border: 1px solid var(--detail-border); |
608 | 671 | border-radius: 14px; |
609 | 672 | padding: 12px 14px; |
610 | 673 | display: flex; |
611 | 674 | flex-direction: column; |
612 | 675 | gap: 6px; |
| 676 | + cursor: pointer; |
| 677 | + text-align: left; |
| 678 | + font: inherit; |
| 679 | + transition: border-color 0.18s ease, transform 0.18s ease; |
| 680 | +} |
| 681 | + |
| 682 | +.related-item:hover, |
| 683 | +.related-item:focus-visible { |
| 684 | + border-color: rgba(124, 92, 255, 0.45); |
| 685 | + transform: translateY(-2px); |
| 686 | + outline: none; |
613 | 687 | } |
614 | 688 |
|
615 | 689 | .related-title { |
|
633 | 707 | gap: 8px; |
634 | 708 | } |
635 | 709 |
|
| 710 | +.related-empty { |
| 711 | + font-size: 13px; |
| 712 | + color: var(--detail-muted); |
| 713 | + padding: 10px 12px; |
| 714 | + border: 1px dashed var(--detail-border); |
| 715 | + border-radius: 12px; |
| 716 | + text-align: center; |
| 717 | + background: var(--detail-bg); |
| 718 | +} |
| 719 | + |
636 | 720 | @media (max-width: 1080px) { |
637 | 721 | .post-detail-container { |
638 | 722 | width: min(1060px, 100% - 36px); |
|
0 commit comments