미디어위키:Common.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
편집 요약 없음 |
편집 요약 없음 |
||
| 211번째 줄: | 211번째 줄: | ||
.card-body { | .card-body { | ||
padding: 20px 24px 24px 24px; | padding: 20px 24px 24px 24px; | ||
} | |||
/* ===== 구성원 페이지 전용 ===== */ | |||
.member-section-title { | |||
background: #5d8fbd; | |||
color: white; | |||
padding: 10px 0; | |||
text-align: center; | |||
font-size: 22px; | |||
font-weight: 600; | |||
margin: 60px 0 30px 0; | |||
} | |||
.member-subtitle { | |||
font-size: 18px; | |||
font-weight: 600; | |||
margin: 30px 0 15px 0; | |||
} | |||
.member-grid { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 30px; | |||
margin-bottom: 30px; | |||
} | |||
.member-card { | |||
border: 1px solid #4a89c2; | |||
padding: 15px; | |||
text-align: center; | |||
background: #f9fbfe; | |||
transition: 0.3s; | |||
} | |||
.member-card:hover { | |||
box-shadow: 0 6px 18px rgba(0,0,0,0.15); | |||
transform: translateY(-4px); | |||
} | |||
.member-card img { | |||
width: 150px; | |||
height: 180px; | |||
object-fit: cover; | |||
margin-bottom: 10px; | |||
} | |||
.member-name { | |||
font-weight: 600; | |||
margin-bottom: 5px; | |||
} | |||
.member-email { | |||
font-size: 13px; | |||
color: #444; | |||
} | |||
.member-card a { | |||
text-decoration: none; | |||
color: inherit; | |||
} | } | ||
2026년 3월 2일 (월) 08:12 판
/* ============================= */
/* 인문지리학 전공 메인 디자인 */
/* ============================= */
.main-container {
margin-top: 20px;
}
/* 상단 전공 메뉴 */
.dept-nav {
display: flex;
justify-content: flex-end;
gap: 10px;
margin-bottom: 20px;
}
.dept-nav a {
padding: 8px 16px;
text-decoration: none;
font-size: 14px;
border-radius: 6px;
background: #f2f4f7;
color: #1a2a3a;
transition: 0.2s;
}
.dept-nav a.active {
background: #1e4b8e;
color: white;
}
.dept-nav a:hover {
background: #dce3ec;
}
/* HERO */
.hero {
position: relative;
height: 360px;
border-radius: 12px;
overflow: hidden;
margin-bottom: 40px;
background: url('/images/aksgeo_banner_2023.jpg') center/cover no-repeat;
}
.hero::after {
content: "";
position: absolute;
top:0; right:0; bottom:0; left:0;
background: rgba(0,0,0,0.1);
}
.hero-content {
position: absolute;
bottom: 50px;
right: 60px;
color: white;
z-index: 2;
text-align: right;
}
.hero-title {
font-size: 40px;
font-weight: 700;
margin-bottom: 10px;
color: white;
}
.hero-subtitle {
font-size: 18px;
color: white;
}
/* 2단 레이아웃 */
.content-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 40px;
}
/* 학술 활동 카드 */
.section-title {
font-size: 22px;
font-weight: 700;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 3px solid #1e4b8e;
display: inline-block;
}
.activities-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.activity-card {
background: white;
border-radius: 12px;
padding: 24px;
border: 1px solid #dce3ec;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
transition: 0.3s;
}
.activity-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.activity-title {
font-size: 17px;
font-weight: 600;
margin-bottom: 8px;
}
.activity-desc {
font-size: 14px;
color: #64748b;
margin-bottom: 12px;
}
.activity-button {
text-decoration: none;
font-weight: 600;
color: #1e4b8e;
}
.activity-button:hover {
text-decoration: underline;
}
/* 우측 학과 소개 카드 */
.intro-card {
background: white;
border-radius: 12px;
padding: 28px;
border: 1px solid #dce3ec;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.intro-card h3 {
margin-bottom: 12px;
color: #1e4b8e;
}
.intro-card p,
.intro-card li {
font-size: 14px;
line-height: 1.7;
}
/* FOOTER */
.dept-footer {
margin-top: 60px;
background: #153a6e;
color: white;
padding: 40px;
border-radius: 12px;
}
.footer-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
}
.dept-footer a {
color: white;
text-decoration: none;
}
.dept-footer a:hover {
text-decoration: underline;
}
/* ===== 푸터 글자색 강제 흰색 ===== */
.dept-footer,
.dept-footer h3,
.dept-footer p,
.dept-footer div,
.dept-footer span,
.dept-footer li {
color: white !important;
}
.dept-footer a {
color: white !important;
}
/* ===== 카드 상단 이미지 추가 ===== */
.activity-card {
overflow: hidden;
padding: 0;
}
.card-image {
width: 100%;
height: 170px;
overflow: hidden;
}
.card-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.card-body {
padding: 20px 24px 24px 24px;
}
/* ===== 구성원 페이지 전용 ===== */
.member-section-title {
background: #5d8fbd;
color: white;
padding: 10px 0;
text-align: center;
font-size: 22px;
font-weight: 600;
margin: 60px 0 30px 0;
}
.member-subtitle {
font-size: 18px;
font-weight: 600;
margin: 30px 0 15px 0;
}
.member-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-bottom: 30px;
}
.member-card {
border: 1px solid #4a89c2;
padding: 15px;
text-align: center;
background: #f9fbfe;
transition: 0.3s;
}
.member-card:hover {
box-shadow: 0 6px 18px rgba(0,0,0,0.15);
transform: translateY(-4px);
}
.member-card img {
width: 150px;
height: 180px;
object-fit: cover;
margin-bottom: 10px;
}
.member-name {
font-weight: 600;
margin-bottom: 5px;
}
.member-email {
font-size: 13px;
color: #444;
}
.member-card a {
text-decoration: none;
color: inherit;
}