메뉴 여닫기
개인 메뉴 토글
로그인하지 않음
만약 지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

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

항공위키
편집 요약 없음
편집 요약 없음
2번째 줄: 2번째 줄:
Timeless 스킨을 사용할 때만 적용되는 스타일 */
Timeless 스킨을 사용할 때만 적용되는 스타일 */


@media screen and (min-width: 1425px)
@media screen and (min-width: 1425px) {
.color-middle-container, .ts-inner { max-width: 95em; }
.color-middle-container, .ts-inner { max-width: 95em; }
}


@media screen and (min-width: 851px)
@media screen and ( min-width: ( @desktop-small-width + @desktop-mid-width ) / 2 ) and ( max-width: @desktop-mid-width ) {
.ts-inner {max-width: 95em; }
.ts-inner { max-width: 95em; }
}





2021년 1월 9일 (토) 01:07 판

/* CSS placed here will affect users of the Timeless skin 
Timeless 스킨을 사용할 때만 적용되는 스타일 */

@media screen and (min-width: 1425px) {
.color-middle-container, .ts-inner { max-width: 95em; }
}

@media screen and ( min-width: ( @desktop-small-width + @desktop-mid-width ) / 2 ) and ( max-width: @desktop-mid-width ) {
.ts-inner { max-width: 95em; }
}


/* 라인 높이 */
body {line-height: 1.6;}

/* 기본 폰트 */

.mw-body h1, h2, h3, h4, h5, h6, dt {
                  font-family: 'Noto Sans Korean', 'Noto Sans', 'Nanum Gothic', 'KoPub Dotum', 'Malgun Gothic', '맑은 고딕', sans-serif, @fonts-secondary; 
                  margin: 2.5em 0 1em;
                  line-height: 1.6;
            }

.mw-body h1 {font-size: 150%; font-weight: 600; padding-bottom: 0.5em; }
.mw-body h2 {font-size: 130%; font-weight: 600; padding-bottom: 0.5em; }
.mw-body h3 {font-size: 118%; font-weight: 600;}
.mw-body h4 {font-size: 107%; font-weight: 800;}
.mw-body h5 {font-size: 103%; font-weight: 800;}
.mw-body h6 {font-size: 100%; font-weight: 800;}

.wikitable {font-size: 95%;}

#siteSub {font-family: 'Noto Sans Korean', 'Noto Sans', 'Nanum Gothic', 'KoPub Dotum', 'Malgun Gothic', '맑은 고딕', sans-serif, @fonts-secondary; }

p {line-height: 1.685;}  /* 본문 라인 높이 추가 */
li {margin: 0.3em 0 0.3em 0.3em;  /* 수정(추가) - 본문 블릿 여백 추가 */}
ol {padding: 0; margin: 0.3em 0 0.5em 1em !important;}  /* ol 태그 추가 */
.toc ul {margin: 1em 0 0 !important;} /* important 추가 */

/* 섬네일 캡션, 가운데 정렬 */
.mw-content-rtl .thumbcaption,
.mw-content-ltr .thumbcaption {
              font-size: 90%; text-align: center; color: brown;
}

/* code */
code {border-radius: 3px; padding: 2px 6px; line-height: 2em;}

/* pre, .mw-code */
pre, .mw-code {background-color: #edf1fd; border-radius: 8px;}
pre, .mw-code {border: 0px solid #edf1fd;}

/* 본문 ul 여백(마진) 설정 */
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {margin: 0 0 0.2em 1.6em;}

/* dd 블록 아래 마진 설정 - 원래 1em */
.mw-body dd {margin-bottom: 0.4em;}

/* 유저 표시 */
#personal h2 { padding: 0 0 0 25px; }
#personal h2 span { height: 1.5em; }
#personal h2:after { height: 25px; }