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

편집 요약 없음
태그: 되돌려진 기여
편집 요약 없음
태그: 되돌려진 기여
7번째 줄: 7번째 줄:
}
}


.liberty-content-header .content-tools {
.liberty-content-header {
     position: relative;
     position: relative; /* 제목 컨테이너를 기준으로 content-tools 위치 설정 */
    margin-top: 10px !important; /* 제목과 content-tools 사이 간격 */
    margin-bottom: 10px !important; /* content-tools와 본문 사이 간격 */
}
}


.liberty-content-header {
.liberty-content-header .content-tools {
     display: flex !important;
     position: absolute;
     flex-direction: column;
     right: 0; /* 제목의 오른쪽 끝에 배치 */
     align-items: flex-start;
     bottom: -10px; /* 제목 아래로 약간 이동 */
    margin: 0;
}
}

2024년 12월 2일 (월) 15:51 판

/* 이 CSS 설정은 리버티 스킨을 사용하는 사용자에게 적용됩니다 */
.mw-headline-number { color: #0275d8; }
.mw-headline-number::after { content: "."; }

.content-wrapper {
    margin-top: 72px !important; /* 본문 위쪽 간격 */
}

.liberty-content-header {
    position: relative; /* 제목 컨테이너를 기준으로 content-tools 위치 설정 */
}

.liberty-content-header .content-tools {
    position: absolute;
    right: 0; /* 제목의 오른쪽 끝에 배치 */
    bottom: -10px; /* 제목 아래로 약간 이동 */
    margin: 0;
}