/* =================================== Elancer 완전 동일 블로그 상세 페이지 =================================== */ /* 전체 컨테이너 */ .blog-detail-container { min-height: 100vh; } /* 헤더 영역 */ .blog-header { border-bottom: 1px solid #e0e0e0; width: 100%; } .blog-header .container { max-width: 1200px; } .header-logo { height: 32px; width: auto; } .blog-title { font-size: 18px; font-weight: 600; color: #333; margin-top: 5px; } .chat-icon, .share-icon { display: inline-block; color: #666; cursor: pointer; font-size: 16px; margin-left: 20px; margin-top: 5px; } .chat-icon:first-child { margin-left: 0; } .chat-icon i, .share-icon i { font-size: 18px; margin-right: 6px; } .count { font-size: 14px; color: #666; } /* 메인 콘텐츠 */ .main-content { width: 100%; /*max-width: 800px;*/ margin: 0 auto; padding: 40px 20px; overflow: hidden; } .main-content .container { max-width: 100%; overflow: hidden; } /* 제목 */ .article-title { font-size: 32px; font-weight: 700; color: #222; line-height: 1.3; margin: 0 0 20px 0; word-break: keep-all; } .article-desc { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .article-desc > * { display: contents; } /* 메타 정보 */ .article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; font-size: 14px; color: #666; } .article-meta .author { color: #FA751E; font-weight: 500; } .article-meta .date, .article-meta .views { color: #999; } .article-meta .date::before, .article-meta .views::before { content: '•'; margin-right: 8px; color: #ddd; } /* 대표 이미지 */ .featured-image-container { margin: 30px 0; overflow: hidden; max-width: 100%; } .featured-image { display: flex; max-width: 100%; max-height: 200px; height: auto; margin: auto; border-radius: 8px; object-fit: contain; } .image-caption { margin-top: 8px; font-size: 12px; color: #999; text-align: right; } /* 본문 내용 */ .article-content { font-size: 16px; line-height: 1.7; color: #333; margin-bottom: 60px; overflow-wrap: break-word; } /* 게시글 관리 버튼 */ .article-actions { margin-bottom: 40px; padding-top: 24px; padding-bottom: 24px; } .article-actions .btn { margin-left: 8px; padding: 8px 14px; font-size: 13px; border-radius: 6px; } .article-actions .btn:first-child { margin-left: 0; } .list-btn { color: #666666; border: 1px solid #ddd; background-color: white; } .list-btn:hover { color: #313131; } .article-content h2 { font-size: 24px; font-weight: 700; color: #222; margin: 40px 0 16px 0; line-height: 1.3; } .article-content h3 { font-size: 20px; font-weight: 600; color: #222; margin: 32px 0 12px 0; line-height: 1.3; } .article-content p { margin: 0 0 16px 0; color: #333; word-break: keep-all; } .article-content img { /* max-width, height는 Bootstrap .img-responsive에서 제공 */ margin: 24px 0; border-radius: 4px; } .article-content blockquote { border-left: 3px solid #FA751E; padding: 16px 0 16px 20px; margin: 24px 0; background: #fafafa; font-style: italic; color: #555; } .article-content ul, .article-content ol { margin: 0 0 16px 0; padding-left: 20px; } .article-content li { margin-bottom: 4px; } .article-content code { background: #f5f5f5; padding: 2px 4px; border-radius: 3px; font-family: 'Monaco', 'Menlo', monospace; font-size: 0.9em; color: #d73a49; } .article-content pre { background: #f8f9fa; padding: 16px; border-radius: 6px; overflow-x: auto; margin: 16px 0; border: 1px solid #e1e4e8; } .article-content pre code { background: none; padding: 0; color: #24292e; } /* 해시태그 */ .article-tags { margin-bottom: 40px; } .label { display: inline; padding: 2px 6px; font-size: 11px; font-weight: bold; line-height: 1; color: #fff; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 0.25em; margin-right: 4px; } .label-default { background-color: #777; } /* elancer 스타일 아티클 하단 섹션 */ .article_bottom { display: flex; flex-direction: column; gap: 32px; margin-top: 80px; } .article_bottom .tag { margin-bottom: 20px; } /* 공감/댓글/공유 액션 버튼들 */ .shareIcons { display: flex; width: 100%; flex-direction: row; align-items: center; justify-content: space-between; border-bottom: 1px solid #ececf1; padding: 0 0 32px 0; box-sizing: border-box; } .shareIcons > div:first-child { display: flex; flex-direction: row; align-items: center; gap: 20px; } .share-like-btn, .share-chat-btn { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; background: none; border: none; cursor: pointer; color: #666; font-size: 14px; font-weight: 500; padding: 10px 16px; height: 44px; border-radius: 6px; transition: all 0.2s; } .share-like-btn i, .share-chat-btn i { margin-right: 4px; } .share-like-btn span, .share-chat-btn span { line-height: 1; vertical-align: middle; } .share-like-btn:hover, .share-chat-btn:hover { color: #333; } .share-btn { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; border: 1px solid #ddd; border-radius: 6px; padding: 12px 12px; background: white; cursor: pointer; color: #666; font-size: 14px; font-weight: 500; min-width: 100px; height: 44px; transition: all 0.2s; } .share-btn:hover { border-color: #FA751E; color: #FA751E; } /* elancer 실제 댓글 섹션 */ .elancer-comment-section { margin-top: 40px; padding: 0; } .comment-header { font-size: 20px; font-weight: bold; color: #333; margin-bottom: 30px; text-align: left; } .comment-count { color: #FA751E; } /* 댓글 없음 상태 */ .no-comment-wrapper { text-align: center; padding: 60px 20px; } .no-comment-content { display: flex; flex-direction: column; align-items: center; gap: 16px; } .no-comment-icon { width: 80px; height: 80px; background: #FFE5D6; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; } .orange-character { font-size: 32px; filter: hue-rotate(20deg); } .no-comment-text { color: #666; font-size: 14px; } /* 댓글 입력 영역 */ .comment-input-section { margin-top: 40px; padding: 0 20px; } .comment-input-container { border: 1px solid #e1e4e8; border-radius: 12px; overflow: hidden; } .comment-input-area { padding: 20px; } .comment-placeholder { color: #666; font-size: 14px; line-height: 1.5; margin-bottom: 12px; } .login-link { color: #FA751E; cursor: pointer; } .comment-char-count { text-align: right; font-size: 12px; margin-top: 8px; } .current-count { color: #FA751E; } .max-count { color: #999; } .comment-submit-area { border-top: 1px solid #e1e4e8; padding: 12px 20px; text-align: right; } .comment-submit-btn { border-radius: 6px; padding: 8px 24px; font-size: 14px; cursor: not-allowed; } .comment-submit-btn:enabled { /*background: #FA751E;*/ color: white; cursor: pointer; } /* 인기 게시물 & 추천 게시물 섹션 */ .popular-posts-section, .recommended-posts-section { width: 100%; padding: 40px 30px; box-sizing: border-box; background: #fafafa; } .section-container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0; } .section-header { width: 100%; margin: 0 0 30px; padding-bottom: 15px; border-bottom: 2px solid #f0f0f0; } .section-title { font-size: 22px; font-weight: 700; color: #333; margin: 0; text-align: left; } /* posts-grid는 Bootstrap row 사용 - row 클래스가 이미 음수 마진 처리함 */ .post-card { background: white; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; border: 1px solid #f0f0f0; margin-bottom: 30px; } .post-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); border-color: #e0e0e0; } .post-card-image { width: 100%; height: 180px; object-fit: cover; background: #f8f9fa; } .post-card-content { padding: 20px; } .post-card-category { font-size: 12px; color: #FA751E; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; } .post-card-title { font-size: 16px; font-weight: 600; color: #333; line-height: 1.4; margin: 0 0 12px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .post-card-excerpt { font-size: 14px; color: #666; line-height: 1.5; margin: 0 0 15px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .post-card-meta { font-size: 12px; color: #999; margin-top: 15px; } /* post-card-date와 post-card-views는 부모 post-card-meta에서 color 상속 */ /* 반응형 */ @media (max-width: 768px) { .article_bottom { margin-top: 60px; gap: 24px; } .shareIcons { gap: 16px; padding-bottom: 24px; } .share-like-btn, .share-chat-btn { gap: 4px; font-size: 12px; } .commt-inputbox-container { border-radius: 8px; } /* 인기 게시물 & 추천 게시물 반응형 */ .popular-posts-section, .recommended-posts-section { padding: 30px 20px; } .section-title { font-size: 20px; } /* posts-grid는 이제 Bootstrap row 사용하므로 불필요한 CSS 제거 */ .post-card { margin-bottom: 20px; } .post-card-content { padding: 16px; } .post-card-title { font-size: 15px; } .post-card-excerpt { font-size: 13px; } /* 헤더 반응형 */ .header-logo { height: 28px; } .blog-title { font-size: 16px; } .chat-icon, .share-icon { margin-left: 15px; font-size: 14px; } .main-content { padding: 30px 16px; } .article-title { font-size: 24px; margin-bottom: 16px; } .article-meta { margin-bottom: 24px; font-size: 13px; } .featured-image-container { margin-bottom: 30px; } .article-content { font-size: 15px; margin-bottom: 40px; } .article-content h2 { font-size: 20px; margin: 30px 0 12px 0; } .article-content h3 { font-size: 18px; margin: 24px 0 8px 0; } .comments-section { padding: 30px 0; } .comments-section .container { padding: 0 16px; } .comments-header { font-size: 16px; } } /* 반응형 디자인 통합 완료 */ @media (max-width: 480px) { .header-logo { height: 24px; } .blog-title { font-size: 14px; } .header-icons { gap: 12px; } .chat-icon i, .share-icon i { font-size: 16px; } .main-content { padding: 20px 12px; } .article-title { font-size: 20px; } .article-content { font-size: 14px; } .article-content h2 { font-size: 18px; } .article-content h3 { font-size: 16px; } } /* 로딩 상태 */ .loading-state { text-align: center; padding: 100px 20px; } .loading-state .spinner { width: 40px; height: 40px; border: 3px solid #f3f3f3; border-top: 3px solid #FA751E; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 20px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .loading-state .loading-text { font-size: 16px; color: #666; }