미디어위키:Common.css: 두 판 사이의 차이

한국학중앙연구원 인문지리학 전공 위키
둘러보기로 이동 검색으로 이동
편집 요약 없음
편집 요약 없음
7번째 줄: 7번째 줄:
   border-radius: 8px;
   border-radius: 8px;
   overflow: hidden;
   overflow: hidden;
   background: url('/wiki/images/b/bc/banner_hg.jpg') center/cover no-repeat;
   background: url('/wiki/images/b/bc/Banner_hg.jpg') center/cover no-repeat;
   margin-bottom: 40px;
   margin-bottom: 40px;
}
}

2026년 3월 1일 (일) 05:30 판

/* ===== 인문지리학 전공 메인페이지 스타일 (본문 내부형) ===== */

/* hero */
.hero {
  position: relative;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  background: url('/wiki/images/b/bc/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;
}