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

인테리어 위키
둘러보기로 이동 검색으로 이동
태그: 대체됨
편집 요약 없음
1번째 줄: 1번째 줄:
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
/* ===============================
  문서 제목 자동 번호 매기기
  (Vector 2022)
  =============================== */
/* 카운터 초기화 */
.mw-parser-output {
  counter-reset: h2;
}
/* == Heading == */
.mw-parser-output h2 {
  counter-reset: h3;
}
.mw-parser-output h2::before {
  counter-increment: h2;
  content: counter(h2) ". ";
  margin-right: 4px;
  color: #000;
  font-weight: 600;
}
/* === Heading === */
.mw-parser-output h3::before {
  counter-increment: h3;
  content: counter(h2) "." counter(h3) " ";
  margin-right: 4px;
  color: #000;
  font-weight: 500;
}
/* ==== Heading ==== (선택) */
.mw-parser-output h4::before {
  counter-increment: h4;
  content: counter(h2) "." counter(h3) "." counter(h4) " ";
  margin-right: 4px;
  color: #555;
}

2026년 1월 14일 (수) 01:09 판

/* 이 CSS 설정은 모든 스킨에 적용됩니다 */

/* ===============================
   문서 제목 자동 번호 매기기
   (Vector 2022)
   =============================== */

/* 카운터 초기화 */
.mw-parser-output {
  counter-reset: h2;
}

/* == Heading == */
.mw-parser-output h2 {
  counter-reset: h3;
}

.mw-parser-output h2::before {
  counter-increment: h2;
  content: counter(h2) ". ";
  margin-right: 4px;
  color: #000;
  font-weight: 600;
}

/* === Heading === */
.mw-parser-output h3::before {
  counter-increment: h3;
  content: counter(h2) "." counter(h3) " ";
  margin-right: 4px;
  color: #000;
  font-weight: 500;
}

/* ==== Heading ==== (선택) */
.mw-parser-output h4::before {
  counter-increment: h4;
  content: counter(h2) "." counter(h3) "." counter(h4) " ";
  margin-right: 4px;
  color: #555;
}