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

잔글
잔글
 
17번째 줄: 17번째 줄:
 
h2 { font-size: 1.8em; }
 
h2 { font-size: 1.8em; }
 
h3 { font-size: 1.6em; }
 
h3 { font-size: 1.6em; }
 
.liberty-notice {
 
    border: none !important;
 
    background: transparent !important;
 
    box-shadow: none !important;
 
    padding: 0 !important;
 
    margin: 0 !important;
 
    color: #333 !important;
 
    line-height: 1.5 !important;
 
}
 
 
.liberty-notice .alert {
 
    border: none !important;
 
    background: transparent !important;
 
    box-shadow: none !important;
 
    padding: 0 !important;
 
    margin: 0 !important;
 
    color: inherit !important;
 
    line-height: inherit !important;
 
}
 
 
.liberty-notice div {
 
    margin: 0 !important;
 
    padding: 0 !important;
 
}
 
 
.liberty-notice .close {
 
    display: none !important;
 
}
 
 
.liberty-notice .alert-dismissible {
 
    padding-right: 0 !important;
 
}
 
 
/* 다크 모드 대응 */
 
@media (prefers-color-scheme: dark) {
 
    .liberty-notice {
 
        color: #ddd !important;
 
    }
 
}
 

2025년 6월 10일 (화) 15:28 기준 최신판

/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
.externalimage-holder {
    position: relative;
}
.externalimage-holder img {
    width: 100%;
    height: auto;
}

/* 본문 글꼴 크기 조정 */
body {
    font-size: 1.1em; /* 기본 크기 */
}

/* 제목 크기 조정 */
h1 { font-size: 2em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.6em; }