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

한국학중앙연구원 인문지리학 전공 위키
둘러보기로 이동 검색으로 이동
편집 요약 없음
편집 요약 없음
1번째 줄: 1번째 줄:
/* ===== 인문지리학 전공 메인페이지 전용 스타일 ===== */
/* ===== 인문지리학 전공 메인페이지 스타일 (본문 내부형) ===== */


body {
/* hero */
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
}
 
#content {
  margin: 0 !important;
  padding: 0 !important;
}
 
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
 
/* Hero */
.hero {
.hero {
   position: relative;
   position: relative;
   height: 380px;
   height: 320px;
   background: url('/wiki/images/b/bc/Banner_hg.jpg') center/cover no-repeat;
   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;
   inset: 0;
   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: 80px;
  right: 50px;
   color: white;
   z-index: 2;
   z-index: 2;
  color: white;
   text-align: right;
   text-align: right;
}
}


.hero-title {
.hero-title {
   font-size: 42px;
   font-size: 36px;
   font-weight: 700;
   font-weight: 700;
   margin-bottom: 12px;
   margin-bottom: 10px;
}
}


.hero-subtitle {
.hero-subtitle {
   font-size: 18px;
   font-size: 16px;
}
}


/* Section */
/* 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: 12px;
   padding-bottom: 10px;
   border-bottom: 3px solid #1e4b8e;
   border-bottom: 3px solid #1e4b8e;
   display: inline-block;
   display: inline-block;
}
}


/* Cards */
/* 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);
  border: 1px solid #dce3ec;
   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 {
  display: inline-block;
  margin-top: 12px;
   text-decoration: none;
   text-decoration: none;
  font-weight: 600;
   color: #1e4b8e;
   color: #1e4b8e;
   font-weight: 600;
}
 
.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;
}