본문으로 이동

미디어위키:Vector-2022.css: 두 판 사이의 차이

한국고고학사전
편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 5개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* 실제 헤더 배경 */
/* 헤더 전체는 이미 flex — 확인용 (선택) */
.mw-header {
.skin-vector-2022 .mw-header {
background-color: #f2f6ff;
  display: flex;
}
}


/* 로고 타이틀 줄바꿈 방지 */
/* 로고 영역: 내용만큼 차지, 줄어들지 않게 */
.mw-logo-wordmark {
.skin-vector-2022 .vector-header-start {
white-space: nowrap;
  flex: 0 0 auto;
font-size: 1.6em;
  min-width: 0;
line-height: 1.2;
}
}


/* 로고 영역은 줄어들지 않게 */
/* 검색 영역: 남은 공간만 사용, 줄어들 수 있게 */
.mw-logo {
.skin-vector-2022 .vector-header-end {
flex-shrink: 0;
  flex: 1 1 auto;
  min-width: 0;
}
}


/* 검색창이 공간을 양보하도록 */
/* 로고 타이틀 */
.vector-search-box {
.skin-vector-2022 .mw-logo-wordmark {
min-width: 0;
  white-space: nowrap;
flex-shrink: 1;
  font-size: 1.2em;
}
  line-height: 1.2;
 
/* 검색창 내부 컨테이너 (겹침 방지 핵심) */
.vector-typeahead-search-container {
min-width: 0;
}
 
/* 메인페이지 전용 auto-expand 보정 제거 */
.mw-main-page .vector-search-box-auto-expand-width {
margin-left: 0;
}
}

2026년 1월 20일 (화) 15:06 기준 최신판

/* 헤더 전체는 이미 flex — 확인용 (선택) */
.skin-vector-2022 .mw-header {
  display: flex;
}

/* 로고 영역: 내용만큼 차지, 줄어들지 않게 */
.skin-vector-2022 .vector-header-start {
  flex: 0 0 auto;
  min-width: 0;
}

/* 검색 영역: 남은 공간만 사용, 줄어들 수 있게 */
.skin-vector-2022 .vector-header-end {
  flex: 1 1 auto;
  min-width: 0;
}

/* 로고 타이틀 */
.skin-vector-2022 .mw-logo-wordmark {
  white-space: nowrap;
  font-size: 1.2em;
  line-height: 1.2;
}