본문으로 이동

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

한국고고학사전
편집 요약 없음
편집 요약 없음
1번째 줄: 1번째 줄:
/* Vector-2022 헤더 grid 조정 */
/* Vector-2022 헤더: desktop-wide 구간에서만 grid 조정 */
.skin-vector-2022 .vector-header-container {
@media (min-width: 1200px) {
    grid-template-columns:
.skin-vector-2022 .vector-header-container {
        min-content              /* 메뉴 */
grid-template-columns:
        minmax(20em, 2fr)        /* 로고 영역 확장 */
min-content              /* 메뉴 */
        minmax(0, 1fr)          /* 검색 */
minmax(20em, 2fr)        /* 로고 영역 */
        min-content;            /* 유틸 */
minmax(0, 1fr)          /* 검색 */
min-content;            /* 유틸 */
}
}
}


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

2026년 1월 20일 (화) 14:58 판

/* Vector-2022 헤더: desktop-wide 구간에서만 grid 조정 */
@media (min-width: 1200px) {
	.skin-vector-2022 .vector-header-container {
		grid-template-columns:
			min-content              /* 메뉴 */
			minmax(20em, 2fr)        /* 로고 영역 */
			minmax(0, 1fr)           /* 검색 */
			min-content;             /* 유틸 */
	}
}

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