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

주소용어집
둘러보기로 이동 검색으로 이동
(새 문서: →‎Vector 2022에서 사이트명 글자 숨기기: .vector-header-start .vector-logo .vector-logo-text { display: none !important; } →‎로고 이미지를 크게 보이도록: .vector-header-start .vector-logo .mw-wiki-logo { background-size: contain !important; width: 180px !important; →‎원하는 크기로 수정: height: 80px !important; })
 
편집 요약 없음
1번째 줄: 1번째 줄:
/* Vector 2022에서 사이트명 글자 숨기기 */
/* Vector 2022: 사이트명 텍스트 숨기기 */
.vector-header-start .vector-logo .vector-logo-text {
.vector-header-start .vector-logo .vector-logo-text {
     display: none !important;
     display: none !important;
}
}


/* 로고 이미지를 크게 보이도록 */
/* Vector 2022: 로고를 반응형으로 표시 */
.vector-header-start .vector-logo .mw-wiki-logo {
.vector-header-start .vector-logo .mw-wiki-logo {
     background-size: contain !important;
     background-size: contain !important;  /* 비율 유지 */
     width: 180px !important;   /* 원하는 크기로 수정 */
    background-repeat: no-repeat !important;
     height: 80px !important;
     width: 100% !important;               /* 컨테이너 가로에 맞게 */
    max-width: 200px !important;          /* 너무 커지지 않도록 최대 가로 크기 */
     height: auto !important;               /* 세로 자동 조정 */
    aspect-ratio: 150 / 26 !important;    /* 원본 비율 유지 */
}
}

2025년 9월 11일 (목) 07:02 판

/* Vector 2022: 사이트명 텍스트 숨기기 */
.vector-header-start .vector-logo .vector-logo-text {
    display: none !important;
}

/* Vector 2022: 로고를 반응형으로 표시 */
.vector-header-start .vector-logo .mw-wiki-logo {
    background-size: contain !important;   /* 비율 유지 */
    background-repeat: no-repeat !important;
    width: 100% !important;                /* 컨테이너 가로에 맞게 */
    max-width: 200px !important;           /* 너무 커지지 않도록 최대 가로 크기 */
    height: auto !important;               /* 세로 자동 조정 */
    aspect-ratio: 150 / 26 !important;     /* 원본 비율 유지 */
}