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

(굵은體 追加)
編輯 要約 없음
14番째 줄: 14番째 줄:
.mw-editfont-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
     font-family: Menlo, Monaco, Consolas, "Courier New", 'Noto Sans Mono CJK KR', 'Noto Sans Mono CJK JP', 'Han-Nom Gothic', monospace
}
.dark-mode img.icon {
    filter: invert();
}
}



2023年10月23日(月)11時30分 版

/* 이 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');
@import url('https://wiki.xn--9cs231j0ji.xn--p8s937b.net/files/Han-NomGothic/stylesheet.css');

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

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 img.icon {
    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;
}

.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";
}