Files
2026-06-11 18:47:38 +09:00

160 lines
2.6 KiB
CSS

/*
* greeting 정보형 페이지 전용 스타일
*/
.info-page-container {
background-color: #fff;
padding: 40px;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
/* 페이지 헤더 */
.info-page-header {
text-align: center;
margin-bottom: 40px;
}
.info-page-title {
font-size: 2.5rem;
font-weight: 900;
color: #222;
line-height: 1.3;
margin-bottom: 10px;
}
.info-page-subtitle {
font-size: 1.3rem;
color: #555;
}
/* 본문 콘텐츠 래퍼 */
.greeting-content-wrapper {
display: flex;
gap: 40px;
align-items: flex-start;
}
/* 대표 이미지 */
.greeting-figure {
flex: 0 0 250px; /* 이미지 너비 고정 */
margin: 0;
}
.greeting-image {
width: 100%;
height: auto;
border-radius: 8px;
object-fit: cover;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* 본문 스타일 */
.prose {
flex: 1; /* 남은 공간을 모두 차지 */
font-size: 1.1rem;
line-height: 1.8;
color: #333;
}
.prose h3 {
font-size: 1.6rem;
font-weight: 700;
color: #0056b3; /* 테마 메인 컬러 */
margin-top: 20px;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #f0f0f0;
}
.prose h3:first-child {
margin-top: 0;
}
.prose h3 .fas {
margin-right: 10px;
font-size: 1.4rem;
}
.prose p {
margin-bottom: 1.5em;
color: #555;
}
.prose strong {
color: #0056b3;
}
/* 서명 */
.signature {
margin-top: 40px;
text-align: right;
font-size: 1.1rem;
}
.signature strong {
display: block;
font-weight: 700;
color: #222;
}
.signature span {
display: block;
color: #666;
margin-top: 5px;
}
/* 반응형 스타일 */
@media (max-width: 992px) {
.greeting-content-wrapper {
flex-direction: column;
align-items: center;
}
.greeting-figure {
margin-bottom: 30px;
max-width: 300px;
}
}
@media (max-width: 768px) {
.info-page-container {
padding: 20px;
}
.info-page-title {
font-size: 2rem;
}
.prose {
font-size: 1rem;
}
}
/*
* 3단 레이아웃 스타일 (기존 코드 유지)
*/
.three-column-layout {
display: flex;
gap: 30px;
}
.layout-sidebar-left {
flex: 0 0 240px;
}
.layout-main-content {
flex: 1;
min-width: 0;
}
.layout-sidebar-right {
flex: 0 0 240px;
}
@media all and (max-width: 1024px) {
.three-column-layout {
flex-direction: column;
}
.layout-sidebar-left,
.layout-main-content,
.layout-sidebar-right {
flex-basis: 100%;
}
}