미디어위키:Common.css
참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
/* ============================= */
/* 인문지리학 전공 메인 디자인 */
/* ============================= */
.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('/wiki/images/banner_hg.jpg') center/cover no-repeat;
}
.hero::after {
content: "";
position: absolute;
top:0; right:0; bottom:0; left:0;
background: rgba(0,0,0,0.45);
}
.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;
}