"미디어위키:Common.css"의 두 版 사이의 差異

編輯 要約 없음
태그: 受動(수동) 되돌리기
編輯 要約 없음
 
32番째 줄: 32番째 줄:
blockquote p {
blockquote p {
     margin: 0px;
     margin: 0px;
}
@media screen {
  figure[typeof~="mw:File/Thumb"], figure[typeof~="mw:File/Frame"] {
    border: 1px solid #a8acc13f;
    background-color: #e8e9ea3f;
  }
  figure[typeof~="mw:File/Thumb"] > figcaption, figure[typeof~="mw:File/Frame"] > figcaption {
    border: 1px solid #a8acc13f;
    background-color: #e8e9ea3f;
  }
}
}



2024年12月6日(金)20時58分 基準 最新版

/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Sans+KR:wght@400;700&family=Noto+Sans+SC:wght@400;700&display=swap');

body, h1, h2, h3, h4, h5, h6, b {
    font-family: 'Noto Sans CJK KR', 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', 'Han-Nom Gothic', sans-serif;
}

code, kbd, pre, samp {
    font-family: Menlo, Monaco, Consolas, "Courier New", 'Han-Nom Gothic', monospace
}

.mw-editfont-monospace {
    font-family: Menlo, Monaco, Consolas, "Courier New", 'Noto Sans Mono CJK KR', 'Noto Sans Mono CJK JP', 'Han-Nom Gothic', monospace
}

.dark-mode .icon img {
    filter: invert();
}

table.infobox {
    max-width: 26em;
}

blockquote {
    border: 2px dashed #8884;
    border-inline-start: 5px solid #222;
    padding: 10px;
    background: #8881;
    text-indent: 0px;
}

blockquote p {
    margin: 0px;
}

@media screen {
  figure[typeof~="mw:File/Thumb"], figure[typeof~="mw:File/Frame"] {
    border: 1px solid #a8acc13f;
    background-color: #e8e9ea3f;
  }

  figure[typeof~="mw:File/Thumb"] > figcaption, figure[typeof~="mw:File/Frame"] > figcaption {
    border: 1px solid #a8acc13f;
    background-color: #e8e9ea3f;
  }
}

.noruby ruby.hanja > rp {
    display: none !important;
}

.noruby ruby.hanja > rt {
    display: none !important;
}

.tp_link a:active {
    color: inherit !important;
}
.tp_link a:hover {
    color: inherit !important;
}
.tp_link a:link {
    color: inherit !important;
}
.tp_link a:visited {
    color: inherit !important;
}

span.color a {
    color: inherit !important;
}

.column-2 > ul { column-count: 2; }
.column-3 > ul { column-count: 3; }
.column-4 > ul { column-count: 4; }
.column-5 > ul { column-count: 5; }
.column-6 > ul { column-count: 6; }
@media (max-width: 640px) {
	[class^="column-"] > ul { column-count: 2 !important; }
}

/**
 * Style for horizontal lists (separator following item).
 * @source https://www.mediawiki.org/wiki/Snippets/Horizontal_lists
 * @revision 9 (2016-08-10)
 * @author [[User:Edokter]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
	margin: 0 !important;
	padding: 0 !important;
}

/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	/* don't trust the note that says margin doesn't work with inline
	 * removing margin: 0 makes dds have margins again */
	margin: 0;
	display: inline;
}

/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
	display: inline;
}

/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
	display: none;
}

/* Generate interpuncts */
.hlist dt:after {
	content: ": ";
}

.hlist dd:after,
.hlist li:after {
	content: " · ";
	font-weight: bold;
}

.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
	content: none;
}

/* Add parentheses around nested lists */
.hlist dd dd:first-child:before,
.hlist dd dt:first-child:before,
.hlist dd li:first-child:before,
.hlist dt dd:first-child:before,
.hlist dt dt:first-child:before,
.hlist dt li:first-child:before,
.hlist li dd:first-child:before,
.hlist li dt:first-child:before,
.hlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}

.hlist dd dd:last-child:after,
.hlist dd dt:last-child:after,
.hlist dd li:last-child:after,
.hlist dt dd:last-child:after,
.hlist dt dt:last-child:after,
.hlist dt li:last-child:after,
.hlist li dd:last-child:after,
.hlist li dt:last-child:after,
.hlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}

/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}

.hlist ol > li {
	counter-increment: listitem;
}

.hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}

.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}