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

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

novawiki
편집 요약 없음
태그: 수동 되돌리기
편집 요약 없음
56번째 줄: 56번째 줄:
sup.reference a {
sup.reference a {
   white-space: nowrap;
   white-space: nowrap;
}
/* 다크모드에서 인라인으로 '밝은 배경'을 강제한 th/td는 글자색을 어둡게 */
html[data-theme="dark"] .mw-parser-output th[style*="background-color: #F3F3F3"],
html[data-theme="dark"] .mw-parser-output td[style*="background-color: #F3F3F3"] {
  color: #202122 !important;
}
/* 혹시 #F3F3F3 말고 rgb(243, 243, 243) 형태도 있을 수 있어서 같이 */
html[data-theme="dark"] .mw-parser-output th[style*="background-color: rgb(243, 243, 243)"],
html[data-theme="dark"] .mw-parser-output td[style*="background-color: rgb(243, 243, 243)"] {
  color: #202122 !important;
}
}

2026년 1월 9일 (금) 20:18 판

/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
/* === Reflist (legacy #css replacement) === */

.reflist {
  font-size: 90%;
  margin-bottom: 0.5em;
  list-style-type: decimal;
}

.reflist .references {
  font-size: 100%;
  margin-bottom: 0;
  list-style-type: inherit;
}

/* column layout */
.reflist-columns-2 {
  column-width: 30em;
}

.reflist-columns-3 {
  column-width: 25em;
}

.reflist-columns {
  margin-top: 0.3em;
}

.reflist-columns ol {
  margin-top: 0;
}

/* avoid column breaks */
.reflist-columns li {
  page-break-inside: avoid;
  break-inside: avoid-column;
}

/* list-style variants */
.reflist-upper-alpha  { list-style-type: upper-alpha; }
.reflist-upper-roman  { list-style-type: upper-roman; }
.reflist-lower-alpha  { list-style-type: lower-alpha; }
.reflist-lower-greek  { list-style-type: lower-greek; }
.reflist-lower-roman  { list-style-type: lower-roman; }

/* default references list */
ol.references {
  font-size: 90%;
  margin-bottom: 0.5em;
}

/* nowrap helpers */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
  white-space: nowrap;
}

/* 다크모드에서 인라인으로 '밝은 배경'을 강제한 th/td는 글자색을 어둡게 */
html[data-theme="dark"] .mw-parser-output th[style*="background-color: #F3F3F3"],
html[data-theme="dark"] .mw-parser-output td[style*="background-color: #F3F3F3"] {
  color: #202122 !important;
}

/* 혹시 #F3F3F3 말고 rgb(243, 243, 243) 형태도 있을 수 있어서 같이 */
html[data-theme="dark"] .mw-parser-output th[style*="background-color: rgb(243, 243, 243)"],
html[data-theme="dark"] .mw-parser-output td[style*="background-color: rgb(243, 243, 243)"] {
  color: #202122 !important;
}