미디어위키:Common.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
편집 요약 없음 |
편집 요약 없음 |
||
| 1번째 줄: | 1번째 줄: | ||
/* ===== 인문지리학 전공 메인페이지 | /* ===== 인문지리학 전공 메인페이지 스타일 (본문 내부형) ===== */ | ||
/* hero */ | |||
/* | |||
.hero { | .hero { | ||
position: relative; | position: relative; | ||
height: | height: 320px; | ||
border-radius: 8px; | |||
overflow: hidden; | overflow: hidden; | ||
background: url('/wiki/images/banner_hg.jpg') center/cover no-repeat; | |||
margin-bottom: 40px; | |||
} | } | ||
| 28번째 줄: | 14번째 줄: | ||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; | ||
top: 0; | |||
right: 0; | |||
bottom: 0; | |||
left: 0; | |||
background: rgba(0,0,0,0.45); | background: rgba(0,0,0,0.45); | ||
} | } | ||
| 34번째 줄: | 23번째 줄: | ||
.hero-content { | .hero-content { | ||
position: absolute; | position: absolute; | ||
bottom: 50px; | bottom: 40px; | ||
right: 50px; | |||
color: white; | |||
z-index: 2; | z-index: 2; | ||
text-align: right; | text-align: right; | ||
} | } | ||
.hero-title { | .hero-title { | ||
font-size: | font-size: 36px; | ||
font-weight: 700; | font-weight: 700; | ||
margin-bottom: | margin-bottom: 10px; | ||
} | } | ||
.hero-subtitle { | .hero-subtitle { | ||
font-size: | font-size: 16px; | ||
} | } | ||
/* | /* section title */ | ||
.section-title { | .section-title { | ||
font-size: 22px; | font-size: 22px; | ||
font-weight: 700; | font-weight: 700; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
padding-bottom: | padding-bottom: 10px; | ||
border-bottom: 3px solid #1e4b8e; | border-bottom: 3px solid #1e4b8e; | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
/* | /* cards */ | ||
.activities-grid { | .activities-grid { | ||
display: grid; | display: grid; | ||
| 72번째 줄: | 61번째 줄: | ||
border-radius: 12px; | border-radius: 12px; | ||
padding: 24px; | padding: 24px; | ||
border: 1px solid #dce3ec; | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.06); | box-shadow: 0 2px 8px rgba(0,0,0,0.06); | ||
transition: 0.3s; | transition: 0.3s; | ||
} | } | ||
| 91번째 줄: | 80번째 줄: | ||
font-size: 14px; | font-size: 14px; | ||
color: #64748b; | color: #64748b; | ||
margin-bottom: 10px; | |||
} | } | ||
.activity-button { | .activity-button { | ||
text-decoration: none; | text-decoration: none; | ||
font-weight: 600; | |||
color: #1e4b8e; | color: #1e4b8e; | ||
} | |||
.activity-button:hover { | |||
text-decoration: underline; | |||
} | } | ||
2026년 3월 1일 (일) 05:28 판
/* ===== 인문지리학 전공 메인페이지 스타일 (본문 내부형) ===== */
/* hero */
.hero {
position: relative;
height: 320px;
border-radius: 8px;
overflow: hidden;
background: url('/wiki/images/banner_hg.jpg') center/cover no-repeat;
margin-bottom: 40px;
}
.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: 40px;
right: 50px;
color: white;
z-index: 2;
text-align: right;
}
.hero-title {
font-size: 36px;
font-weight: 700;
margin-bottom: 10px;
}
.hero-subtitle {
font-size: 16px;
}
/* section title */
.section-title {
font-size: 22px;
font-weight: 700;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 3px solid #1e4b8e;
display: inline-block;
}
/* cards */
.activities-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.activity-card {
background: #fff;
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: 10px;
}
.activity-button {
text-decoration: none;
font-weight: 600;
color: #1e4b8e;
}
.activity-button:hover {
text-decoration: underline;
}