편집
7,243
번
잔글편집 요약 없음 |
편집 요약 없음 |
||
(같은 사용자의 중간 판 34개는 보이지 않습니다) | |||
4번째 줄: | 4번째 줄: | ||
/* | /* | ||
* | * 리프위키 모든 스킨에 적용되는 CSS입니다. | ||
* [[위키백과:위키프로젝트 시스템]] 참고 | * [[위키백과:위키프로젝트 시스템]] 참고 | ||
* | * | ||
15번째 줄: | 15번째 줄: | ||
* 정리가 필요한 부분에는 XXX를 달아주세요. | * 정리가 필요한 부분에는 XXX를 달아주세요. | ||
*/ | */ | ||
/** 대문 가리기 **/ | |||
body.page-위키_대문.action-view h1.firstHeading, body.page-위키_대문.action-submit h1.firstHeading { display: none; } | |||
body.page-위키_대문.action-view #siteSub,body.page-위키_대문.action-submit #siteSub { display: none; } | |||
/** 폰트 설정 **/ | /** 폰트 설정 **/ | ||
* { | * { | ||
font-family: 나눔고딕 | font-family: Spoqa Han Sans Neo Light; Noto Sans Korean Light, Noto Sans CJK KR Light, SpoqaHanSans Light, Noto Sans Japanese Light, Noto Sans CJK JP Light, 나눔고딕; | ||
} | } | ||
div.mw-geshi { | |||
padding: 1em; | |||
margin: 1em 0; | |||
border: 1px dashed #2f6fab; | |||
background-color: #f9f9f9; | |||
} | } | ||
div.mw-geshi div, | div.mw-geshi div, | ||
div.mw-geshi div pre, | div.mw-geshi div pre, | ||
span.mw-geshi, | span.mw-geshi, | ||
pre.source-css, | pre.source-css, | ||
pre.source-javascript { | pre.source-javascript { | ||
font-family: 나눔고딕코딩, monospace, "Courier New" !important; | font-family: JetBrains Mono, 나눔고딕코딩, NanumGothicCoding, monospace, "Courier New" !important; | ||
} | } | ||
/** | /** 이하 위키미디어 설정 **/ | ||
/** | |||
} | #bodyContent { | ||
font-size: 15px; | |||
} | |||
/* HTML 요소의 기본 스타일. en:에서 가져옴 */ | |||
dfn { | |||
font-style: inherit; /* Reset default styling for <dfn> */ | |||
} | |||
sup, sub { | |||
line-height: 1em; /* <sup>와 <sub>의 줄간격 조절 */ | |||
} | |||
/* Main page fixes */ | |||
#interwiki-completelist { | |||
font-weight: bold; | |||
} | |||
/** <references/> 관련 CSS **/ | /** <references/> 관련 CSS **/ | ||
ol.references { | ol.references, | ||
div.reflist, | |||
div.refbegin { | |||
font-size: 90%; /* 기본 글꼴 크기 */ | |||
margin-bottom: 0.5em; | |||
} | |||
div.refbegin-100 { | |||
font-size: 100%; /* Option for normal fontsize in {{refbegin}} */ | |||
} | |||
div.reflist ol.references { | |||
font-size: 100%; /* Reset font-size when nested in div.reflist */ | |||
margin-bottom: 0; /* Avoid double margin when nested in div.reflist */ | |||
list-style-type: inherit; /* Enable custom list style types */ | |||
} | } | ||
/* 선택된 항목에 배경색 씌우기 */ | /* 선택된 항목에 배경색 씌우기 */ | ||
body.action-info :target, | |||
.citation:target { | |||
background-color: #DEF; /* Fallback */ | |||
background-color: rgba(0, 127, 255, 0.133); | |||
} | |||
/* 테이블 제목 등의 ref에서 bold/italic 제거 */ | |||
sup.reference { | |||
font-weight: normal; | |||
font-style: normal; | |||
} | |||
/* Allow hidden ref errors to be shown by user CSS */ | |||
span.brokenref { | |||
display: none; | |||
} | } | ||
/* Hanging indentation for Template:Refbegin */ | |||
.refbegin-hanging-indents > ul { | |||
list-style-type: none; | |||
margin-left: 0; | |||
} | |||
.refbegin-hanging-indents > ul > li, | |||
.refbegin-hanging-indents > dl > dd { | |||
margin-left: 0; | |||
padding-left: 3.2em; | |||
text-indent: -3.2em; | |||
list-style: none; | |||
} | |||
/* 인용에 대한 스타일 추가 (CSS3). 예를 들어 URL이 너무 길면 상자를 벗어나지 않고 잘라냄. */ | |||
.citation { | |||
word-wrap: break-word; | |||
} | |||
/* Default styling for titles of works, styling for the title of an article | |||
within a periodical, or a contribution within a compilation. */ | |||
cite, | |||
.citation cite.article, | |||
.citation cite.contribution { | |||
font-style: inherit; | |||
} | |||
/* For linked citation numbers and document IDs, where | |||
the number need not be shown on a screen or a handheld, | |||
but should be included in the printed version */ | |||
@media screen, handheld { | |||
.citation .printonly { | |||
display: none; | |||
} | |||
} | |||
/** .messagebox 스타일 **/ | /** .messagebox 스타일 **/ | ||
.messagebox { | .messagebox.merge { | ||
border: 1px solid #c0b8cc; | |||
background-color: #f0e5ff; | |||
text-align: center; | |||
} | |||
.messagebox.cleanup { | |||
border: 1px solid #9f9fff; | |||
background-color: #efefff; | |||
text-align: center; | |||
} | } | ||
.messagebox.standard-talk { | .messagebox.standard-talk { | ||
border: 1px solid #c0c090; | |||
background-color: #f8eaba; | |||
margin: 4px auto; | |||
} | |||
/* For old WikiProject banners inside banner shells. */ | |||
.mbox-inside .standard-talk, | |||
.messagebox.nested-talk { | |||
border: 1px solid #c0c090; | |||
background-color: #f8eaba; | |||
width: 100%; | |||
margin: 2px 0; | |||
padding: 2px; | |||
} | } | ||
.messagebox.small { | .messagebox.small { | ||
width: 238px; | |||
font-size: 85%; | |||
/* @noflip */ | |||
float: right; | |||
clear: both; | |||
/* @noflip */ | |||
margin: 0 0 1em 1em; | |||
line-height: 1.25em; | |||
} | } | ||
.messagebox.small-talk { | .messagebox.small-talk { | ||
width: 238px; | |||
font-size: 85%; | |||
/* @noflip */ | |||
float: right; | |||
clear: both; | |||
/* @noflip */ | |||
margin: 0 0 1em 1em; | |||
line-height: 1.25em; | |||
background: #F8EABA; | |||
} | } | ||
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ | /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ | ||
th.mbox-text, td.mbox-text { /* The message body cell(s) */ | th.mbox-text, td.mbox-text { /* The message body cell(s) */ | ||
border: none; | border: none; | ||
/* @noflip */ | |||
padding: 0.25em 0.9em; /* 0.9em left/right */ | padding: 0.25em 0.9em; /* 0.9em left/right */ | ||
width: 100%; /* Make all mboxes the same width regardless of text length */ | width: 100%; /* Make all mboxes the same width regardless of text length */ | ||
font-size: | font-size: small; | ||
} | } | ||
td.mbox-image { /* The left image cell */ | td.mbox-image { /* The left image cell */ | ||
border: none; | border: none; | ||
/* @noflip */ | |||
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ | padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ | ||
text-align: center; | text-align: center; | ||
} | } | ||
td.mbox-imageright { /* The right image cell */ | td.mbox-imageright { /* The right image cell */ | ||
border: none; | border: none; | ||
/* @noflip */ | |||
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ | padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ | ||
text-align: center; | text-align: center; | ||
} | } | ||
td.mbox-empty-cell { /* An empty narrow cell */ | td.mbox-empty-cell { /* An empty narrow cell */ | ||
border: none; | border: none; | ||
padding: | padding: 0; | ||
width: 1px; | width: 1px; | ||
} | } | ||
119번째 줄: | 204번째 줄: | ||
/* Article message box styles */ | /* Article message box styles */ | ||
table.ambox { | table.ambox { | ||
margin: | margin: 0 10%; /* 10% = Will not overlap with other elements */ | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
/* @noflip */ | |||
border-left: 10px solid #1e90ff; /* Default "notice" blue */ | border-left: 10px solid #1e90ff; /* Default "notice" blue */ | ||
background: #fbfbfb; | background: #fbfbfb; | ||
} | } | ||
table.ambox + table.ambox { /* Single border between stacked boxes. */ | table.ambox + table.ambox { /* Single border between stacked boxes. */ | ||
margin-top: -1px; | margin-top: -1px; | ||
} | } | ||
.ambox th.mbox-text, | .ambox th.mbox-text, | ||
.ambox td.mbox-text { /* The message body cell(s) */ | .ambox td.mbox-text { /* The message body cell(s) */ | ||
padding: 0.25em 0.5em; /* 0.5em left/right */ | padding: 0.25em 0.5em; /* 0.5em left/right */ | ||
} | } | ||
.ambox td.mbox-image { /* The left image cell */ | .ambox td.mbox-image { /* The left image cell */ | ||
/* @noflip */ | |||
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ | padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ | ||
} | } | ||
.ambox td.mbox-imageright { /* The right image cell */ | .ambox td.mbox-imageright { /* The right image cell */ | ||
/* @noflip */ | |||
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ | padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ | ||
} | } | ||
table.ambox-notice { | table.ambox-notice { | ||
/* @noflip */ | |||
border-left: 10px solid #1e90ff; /* Blue */ | border-left: 10px solid #1e90ff; /* Blue */ | ||
} | } | ||
table.ambox-speedy { | table.ambox-speedy { | ||
/* @noflip */ | |||
border-left: 10px solid #b22222; /* Red */ | border-left: 10px solid #b22222; /* Red */ | ||
background: #fee; /* Pink */ | background: #fee; /* Pink */ | ||
} | } | ||
table.ambox-delete { | table.ambox-delete { | ||
/* @noflip */ | |||
border-left: 10px solid #b22222; /* Red */ | border-left: 10px solid #b22222; /* Red */ | ||
} | } | ||
table.ambox-content { | table.ambox-content { | ||
/* @noflip */ | |||
border-left: 10px solid #f28500; /* Orange */ | border-left: 10px solid #f28500; /* Orange */ | ||
} | } | ||
table.ambox-style { | table.ambox-style { | ||
/* @noflip */ | |||
border-left: 10px solid #f4c430; /* Yellow */ | border-left: 10px solid #f4c430; /* Yellow */ | ||
} | } | ||
table.ambox-move { | table.ambox-move { | ||
/* @noflip */ | |||
border-left: 10px solid #9932cc; /* Purple */ | border-left: 10px solid #9932cc; /* Purple */ | ||
} | } | ||
table.ambox-protection { | table.ambox-protection { | ||
/* @noflip */ | |||
border-left: 10px solid #bba; /* Gray-gold */ | border-left: 10px solid #bba; /* Gray-gold */ | ||
} | } | ||
163번째 줄: | 258번째 줄: | ||
/* Image message box styles */ | /* Image message box styles */ | ||
table.imbox { | table.imbox { | ||
margin: 4px 10%; | margin: 4px 10%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border: 3px solid #1e90ff; /* Default "notice" blue */ | border: 3px solid #1e90ff; /* Default "notice" blue */ | ||
background: #fbfbfb; | background: #fbfbfb; | ||
210번째 줄: | 305번째 줄: | ||
margin: 3px 10%; | margin: 3px 10%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
background: #DFE8FF; /* Default "notice" blue */ | background: #DFE8FF; /* Default "notice" blue */ | ||
} | } | ||
241번째 줄: | 336번째 줄: | ||
/* Other pages message box styles */ | /* Other pages message box styles */ | ||
table.ombox { | table.ombox { | ||
margin: 4px 10%; | margin: 4px 10%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border: 1px solid #aaa; /* Default "notice" gray */ | border: 1px solid #aaa; /* Default "notice" gray */ | ||
background: #f9f9f9; | background: #f9f9f9; | ||
269번째 줄: | 364번째 줄: | ||
border: 2px solid #bba; /* Gray-gold */ | border: 2px solid #bba; /* Gray-gold */ | ||
} | } | ||
/* Talk page message box styles */ | /* Talk page message box styles */ | ||
table.tmbox { | table.tmbox { | ||
282번째 줄: | 377번째 줄: | ||
} | } | ||
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ | .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ | ||
line-height: 1.5em; /* also "nested", so reset styles that are */ | line-height: 1.5em; /* also "nested", so reset styles that are */ | ||
font-size: 100%; /* set in "mbox-small" above. */ | font-size: 100%; /* set in "mbox-small" above. */ | ||
} | } | ||
309번째 줄: | 404번째 줄: | ||
/* Disambig and set index box styles */ | /* Disambig and set index box styles */ | ||
table.dmbox { | table.dmbox { | ||
clear: both; | clear: both; | ||
margin: 0.9em 1em; | margin: 0.9em 1em; | ||
border-top: 1px solid #ccc; | border-top: 1px solid #ccc; | ||
border-bottom: 1px solid #ccc; | border-bottom: 1px solid #ccc; | ||
background: transparent; | background: transparent; | ||
} | } | ||
/* Footer and header message box styles */ | /* Footer and header message box styles */ | ||
table.fmbox { | table.fmbox { | ||
334번째 줄: | 429번째 줄: | ||
background: transparent; | background: transparent; | ||
} | } | ||
/* Div based "warning" style fmbox messages. */ | /* Div based "warning" style fmbox messages. */ | ||
div.mw-warning-with-logexcerpt, | div.mw-warning-with-logexcerpt, | ||
div.mw-lag-warn-high, | div.mw-lag-warn-high, | ||
div.mw-cascadeprotectedwarning, | div.mw-cascadeprotectedwarning, | ||
div#mw-protect-cascadeon { | div#mw-protect-cascadeon, | ||
div.titleblacklist-warning, | |||
div.locked-warning { | |||
clear: both; | clear: both; | ||
margin: 0.2em 0; | margin: 0.2em 0; | ||
346번째 줄: | 442번째 줄: | ||
padding: 0.25em 0.9em; | padding: 0.25em 0.9em; | ||
} | } | ||
/* Div based "system" style fmbox messages. | /* Div based "system" style fmbox messages. | ||
Used in [[MediaWiki:Readonly lag]]. */ | Used in [[MediaWiki:Readonly lag]]. */ | ||
div.mw-lag-warn-normal, | div.mw-lag-warn-normal, | ||
356번째 줄: | 452번째 줄: | ||
padding: 0.25em 0.9em; | padding: 0.25em 0.9em; | ||
} | } | ||
/* These mbox-small classes must be placed after all other | /* These mbox-small classes must be placed after all other | ||
ambox/tmbox/ombox etc classes. "body.mediawiki" is so | ambox/tmbox/ombox etc classes. "body.mediawiki" is so | ||
they override "table.ambox + table.ambox" above. */ | they override "table.ambox + table.ambox" above. */ | ||
body.mediawiki table.mbox-small { /* For the " | body.mediawiki table.mbox-small { /* For the "small=yes" option. */ | ||
/* @noflip */ | |||
clear: right; | clear: right; | ||
/* @noflip */ | |||
float: right; | float: right; | ||
/* @noflip */ | |||
margin: 4px 0 4px 1em; | margin: 4px 0 4px 1em; | ||
width: 238px; | width: 238px; | ||
368번째 줄: | 467번째 줄: | ||
line-height: 1.25em; | line-height: 1.25em; | ||
} | } | ||
body.mediawiki table.mbox-small-left { /* For the " | body.mediawiki table.mbox-small-left { /* For the "small=left" option. */ | ||
/* @noflip */ | |||
margin: 4px 1em 4px 0; | margin: 4px 1em 4px 0; | ||
width: 238px; | width: 238px; | ||
374번째 줄: | 474번째 줄: | ||
font-size: 88%; | font-size: 88%; | ||
line-height: 1.25em; | line-height: 1.25em; | ||
} | |||
/* Style for compact ambox */ | |||
/* Hide the images */ | |||
.compact-ambox table .mbox-image, | |||
.compact-ambox table .mbox-imageright, | |||
.compact-ambox table .mbox-empty-cell { | |||
display: none; | |||
} | |||
/* Remove borders, backgrounds, padding, etc. */ | |||
.compact-ambox table.ambox { | |||
border: none; | |||
border-collapse: collapse; | |||
background: transparent; | |||
margin: 0 0 0 1.6em !important; | |||
padding: 0 !important; | |||
width: auto; | |||
display: block; | |||
} | |||
body.mediawiki .compact-ambox table.mbox-small-left { | |||
font-size: 100%; | |||
width: auto; | |||
margin: 0; | |||
} | |||
/* Style the text cell as a list item and remove its padding */ | |||
.compact-ambox table .mbox-text { | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | |||
.compact-ambox table .mbox-text-span { | |||
display: list-item; | |||
line-height: 1.5em; | |||
list-style-type: square; | |||
list-style-image: url(/w/skins/MonoBook/bullet.gif); | |||
} | |||
.skin-vector .compact-ambox table .mbox-text-span { | |||
list-style-type: disc; | |||
list-style-image: url(/w/skins/Vector/images/bullet-icon.svg); | |||
list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9; | |||
} | |||
/* Allow for hiding text in compact form */ | |||
.compact-ambox .hide-when-compact { | |||
display: none; | |||
} | } | ||
387번째 줄: | 530번째 줄: | ||
/** 정보상자 **/ | /** 정보상자 **/ | ||
.infobox { | .infobox { | ||
border: 1px solid #a2a9b1; | |||
border-spacing: 3px; | |||
background-color: #f8f9fa; | |||
color: black; | |||
/* @noflip */ | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
width: 25em; | |||
} | |||
.infobox caption { | |||
font-size: 125%; | |||
font-weight: bold; | |||
padding: 0.2em; | |||
text-align: center; | |||
} | } | ||
.infobox td, | .infobox td, | ||
.infobox th { | .infobox th { | ||
vertical-align: top; | |||
/* @noflip */ | |||
text-align: left; | |||
} | } | ||
.infobox th { | .infobox th { | ||
white-space: nowrap; | |||
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
border-collapse: collapse; | |||
} | } | ||
.infobox.bordered td, | .infobox.bordered td, | ||
.infobox.bordered th { | .infobox.bordered th { | ||
border: 1px solid #a2a9b1; | |||
} | } | ||
.infobox.bordered .borderless td, | .infobox.bordered .borderless td, | ||
.infobox.bordered .borderless th { | .infobox.bordered .borderless th { | ||
border: 0; | |||
} | } | ||
.infobox.sisterproject { | .infobox.sisterproject { | ||
width: 20em; | |||
font-size: 90%; | |||
} | |||
.infobox.standard-talk { | |||
border: 1px solid #c0c090; | |||
background-color: #f8eaba; | |||
} | |||
.infobox.standard-talk.bordered td, | |||
.infobox.standard-talk.bordered th { | |||
border: 1px solid #c0c090; | |||
} | } | ||
430번째 줄: | 591번째 줄: | ||
.infobox.bordered .mergedtoprow td, | .infobox.bordered .mergedtoprow td, | ||
.infobox.bordered .mergedtoprow th { | .infobox.bordered .mergedtoprow th { | ||
border: 0; | |||
border-top: 1px solid #a2a9b1; | |||
/* @noflip */ | |||
border-right: 1px solid #a2a9b1; | |||
} | } | ||
.infobox.bordered .mergedrow td, | .infobox.bordered .mergedrow td, | ||
.infobox.bordered .mergedrow th { | .infobox.bordered .mergedrow th { | ||
border: 0; | |||
/* @noflip */ | |||
border-right: 1px solid #a2a9b1; | |||
} | } | ||
/* | /* Styles for geography infoboxes, eg countries, | ||
country subdivisions, cities, etc. */ | |||
.infobox.geography { | .infobox.geography { | ||
border-collapse: collapse; | |||
line-height: 1.2em; | |||
font-size: 90%; | |||
} | } | ||
.infobox.geography td, | .infobox.geography td, | ||
.infobox.geography th { | .infobox.geography th { | ||
border-top: 1px solid #a2a9b1; | |||
padding: 0.4em 0.6em 0.4em 0.6em; | |||
} | } | ||
.infobox.geography .mergedtoprow td, | .infobox.geography .mergedtoprow td, | ||
.infobox.geography .mergedtoprow th { | .infobox.geography .mergedtoprow th { | ||
border-top: 1px solid #a2a9b1; | |||
padding: 0.4em 0.6em 0.2em 0.6em; | |||
} | } | ||
.infobox.geography .mergedrow td, | .infobox.geography .mergedrow td, | ||
.infobox.geography .mergedrow th { | .infobox.geography .mergedrow th { | ||
border: 0; | |||
padding: 0 0.6em 0.2em 0.6em; | |||
} | } | ||
.infobox.geography .mergedbottomrow td, | .infobox.geography .mergedbottomrow td, | ||
.infobox.geography .mergedbottomrow th { | .infobox.geography .mergedbottomrow th { | ||
border-top: 0; | |||
border-bottom: 1px solid #a2a9b1; | |||
padding: 0 0.6em 0.4em 0.6em; | |||
} | } | ||
.infobox.geography .maptable td, | .infobox.geography .maptable td, | ||
.infobox.geography .maptable th { | .infobox.geography .maptable th { | ||
border: 0; | |||
padding: 0; | |||
} | } | ||
525번째 줄: | 684번째 줄: | ||
/* Put a checker background at the image description page only visible if the image has transparent background */ | /* Put a checker background at the image description page only visible if the image has transparent background */ | ||
#file img {background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} | #file img {background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} | ||
#wpSave { | #wpSave { | ||
547번째 줄: | 689번째 줄: | ||
} | } | ||
/* 링크 밀줄 제거 */ | |||
/* | |||
.nounderlines a { | .nounderlines a { | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
/* | /* IPA 링크 밑줄 제거 */ | ||
.IPA a:link, .IPA a:visited { | .IPA a:link, .IPA a:visited { | ||
text-decoration: none; | text-decoration: none; | ||
574번째 줄: | 708번째 줄: | ||
[[:en:MediaWiki:Common.css]]에서 가져옴 */ | [[:en:MediaWiki:Common.css]]에서 가져옴 */ | ||
/* Default | /* Default style for navigation boxes */ | ||
.navbox { /* Navbox container style */ | |||
box-sizing: border-box; | |||
border: 1px solid #a2a9b1; | |||
width: 100%; | |||
clear: both; | |||
font-size: 88%; | |||
text-align: center; | |||
padding: 1px; | |||
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */ | |||
} | |||
.navbox .navbox { | |||
margin-top: 0; /* No top margin for nested navboxes */ | |||
} | |||
.navbox + .navbox { | |||
margin-top: -1px; /* Single pixel border between adjacent navboxes */ | |||
} | } | ||
.navbox-inner, | |||
.navbox-subgroup { | |||
width: 100%; | |||
} | } | ||
.navbox-group, | |||
.navbox-title, | .navbox-title, | ||
.navbox-abovebelow | .navbox-abovebelow { | ||
padding: 0.25em 1em; /* Title, group and above/below styles */ | |||
line-height: 1.5em; | |||
text-align: center; | |||
} | } | ||
.navbox-group { | th.navbox-group { /* Group style */ | ||
white-space: nowrap; | |||
/* @noflip */ | |||
text-align: right; | |||
} | } | ||
.navbox, .navbox-subgroup { | .navbox, | ||
.navbox-subgroup { | |||
background: #fdfdfd; /* Background color */ | |||
} | } | ||
.navbox-list { | .navbox-list { | ||
line-height: 1.5em; | |||
border-color: #fdfdfd; /* Must match background color */ | |||
} | |||
/* cell spacing for navbox cells */ | |||
tr + tr > .navbox-abovebelow, | |||
tr + tr > .navbox-group, | |||
tr + tr > .navbox-image, | |||
tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */ | |||
border-top: 2px solid #fdfdfd; /* Must match background color */ | |||
} | } | ||
.navbox | .navbox th, | ||
.navbox-title { | |||
background: #ccccff; /* Level 1 color */ | |||
} | } | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
.navbox-group, | th.navbox-group, | ||
.navbox-subgroup .navbox-title { | .navbox-subgroup .navbox-title { | ||
background: #ddddff; /* Level 2 color */ | |||
} | } | ||
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | .navbox-subgroup .navbox-group, | ||
.navbox-subgroup .navbox-abovebelow { | |||
background: #e6e6ff; /* Level 3 color */ | |||
} | } | ||
.navbox-even { | .navbox-even { | ||
background: #f7f7f7; /* Even row striping */ | |||
} | } | ||
.navbox-odd { | .navbox-odd { | ||
background: transparent; /* Odd row striping */ | |||
} | |||
.navbox .hlist td dl, | |||
.navbox .hlist td ol, | |||
.navbox .hlist td ul, | |||
.navbox td.hlist dl, | |||
.navbox td.hlist ol, | |||
.navbox td.hlist ul { | |||
padding: 0.125em 0; /* Adjust hlist padding in navboxes */ | |||
} | |||
/* Default styling for Navbar template */ | |||
.navbar { | |||
display: inline; | |||
font-size: 88%; | |||
font-weight: normal; | |||
} | |||
.navbar ul { | |||
display: inline; | |||
white-space: nowrap; | |||
} | |||
.mw-body-content .navbar ul { | |||
line-height: inherit; | |||
} | |||
.navbar li { | |||
word-spacing: -0.125em; | |||
} | |||
.navbar.mini li abbr[title] { | |||
font-variant: small-caps; | |||
border-bottom: none; | |||
text-decoration: none; | |||
cursor: inherit; | |||
} | |||
/* Navbar styling when nested in infobox and navbox */ | |||
.infobox .navbar { | |||
font-size: 100%; | |||
} | |||
.navbox .navbar { | |||
display: block; | |||
font-size: 100%; | |||
} | |||
.navbox-title .navbar { | |||
/* @noflip */ | |||
float: left; | |||
/* @noflip */ | |||
text-align: left; | |||
/* @noflip */ | |||
margin-right: 0.5em; | |||
} | } | ||
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript | |||
in [[MediaWiki:Common.js]] are styled here so they can be customised. */ | |||
.collapseButton { | |||
/* @noflip */ | |||
float: right; | |||
font-weight: normal; | |||
/* @noflip */ | |||
margin-left: 0.5em; | |||
/* @noflip */ | |||
text-align: right; | |||
width: auto; | |||
} | } | ||
/* [[위키백과:관리자 요청/2007년 5월#스크립트 추가 요청]]. ctrl+v from en: */ | /* [[위키백과:관리자 요청/2007년 5월#스크립트 추가 요청]]. ctrl+v from en: */ | ||
/* Standard Navigationsleisten, aka box hiding thingy | |||
from .de. Documentation at [[Wikipedia:NavFrame]]. */ | |||
div.NavFrame { | div.NavFrame { | ||
margin: 0; | |||
padding: 4px; | |||
border: 1px solid #a2a9b1; | |||
text-align: center; | |||
border-collapse: collapse; | |||
font-size: 95%; | |||
} | } | ||
div.NavFrame + div.NavFrame { | div.NavFrame + div.NavFrame { | ||
border-top-style: none; | |||
border-top-style: hidden; | |||
} | } | ||
div.NavFrame div.NavHead { | div.NavFrame div.NavHead { | ||
line-height: 1.6em; | |||
font-weight: bold; | |||
background-color: #ccf; | |||
position: relative; | |||
} | } | ||
div.NavFrame p, | div.NavFrame p, | ||
div.NavFrame div.NavContent, | div.NavFrame div.NavContent, | ||
div.NavFrame div.NavContent p { | div.NavFrame div.NavContent p { | ||
font-size: 100%; | |||
} | } | ||
a.NavToggle { | a.NavToggle { | ||
position: absolute; | |||
top: 0; | |||
/* @noflip */ | |||
right: 3px; | |||
font-weight: normal; | |||
font-size: 90%; | |||
} | } | ||
/* [[위키백과:관리자 요청/2007년 11월]] */ | /* [[위키백과:관리자 요청/2007년 11월]] */ | ||
/* | /* Prevent line breaks in silly places: | ||
1) Where desired | |||
2) Links when we don't want them to | |||
3) Bold "links" to the page itself | |||
4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */ | |||
.nowrap, | |||
.nowraplinks a, | |||
.nowraplinks .selflink, | |||
sup.reference a { | |||
white-space: nowrap; | |||
} | } | ||
706번째 줄: | 892번째 줄: | ||
.toclimit-7 .toclevel-7 { | .toclimit-7 .toclevel-7 { | ||
display:none; | display:none; | ||
} | |||
/* When <div class="nonumtoc"> is used on the table of contents, | |||
the ToC will display without numbers */ | |||
.nonumtoc .tocnumber { | |||
display: none; | |||
} | |||
.nonumtoc #toc ul, | |||
.nonumtoc .toc ul { | |||
line-height: 1.5em; | |||
list-style: none none; | |||
margin: .3em 0 0; | |||
padding: 0; | |||
} | |||
.hlist.nonumtoc #toc ul ul, | |||
.hlist.nonumtoc .toc ul ul { | |||
/* @noflip */ | |||
margin: 0; | |||
} | } | ||
711번째 줄: | 915번째 줄: | ||
/* [[위키백과:관리자 요청/2008년 9월]] */ | /* [[위키백과:관리자 요청/2008년 9월]] */ | ||
div.listenlist { | div.listenlist { | ||
background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent; | |||
background-size: 30px; | |||
padding-left: 40px; | |||
} | } | ||
737번째 줄: | 942번째 줄: | ||
font-size: smaller; | font-size: smaller; | ||
padding-bottom: 0; | padding-bottom: 0; | ||
} | |||
/* Change the external link icon to an Adobe icon for all PDF files | |||
in browsers that support these CSS selectors, like Mozilla and Opera */ | |||
div#content a[href$=".pdf"].external, | |||
div#content a[href*=".pdf?"].external, | |||
div#content a[href*=".pdf#"].external, | |||
div#content a[href$=".PDF"].external, | |||
div#content a[href*=".PDF?"].external, | |||
div#content a[href*=".PDF#"].external, | |||
div#mw_content a[href$=".pdf"].external, | |||
div#mw_content a[href*=".pdf?"].external, | |||
div#mw_content a[href*=".pdf#"].external, | |||
div#mw_content a[href$=".PDF"].external, | |||
div#mw_content a[href*=".PDF?"].external, | |||
div#mw_content a[href*=".PDF#"].external { | |||
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; | |||
/* @noflip */ | |||
padding-right: 18px; | |||
} | } | ||
749번째 줄: | 973번째 줄: | ||
} | } | ||
/** [[틀:둘러보기]] 디자인 **/ | |||
/** [[틀: | |||
/* [[위키백과토론:위키프로젝트 시스템#미디어위키:common.css에 스타일 추가 요청]] */ | /* [[위키백과토론:위키프로젝트 시스템#미디어위키:common.css에 스타일 추가 요청]] */ | ||
/* Klutzy 2008년 12월 21일 (일) 20:10 (KST) */ | /* Klutzy 2008년 12월 21일 (일) 20:10 (KST) */ | ||
810번째 줄: | 1,021번째 줄: | ||
} | } | ||
/* [[틀:누가]] 등의 정비 필요 문장에 밑줄을 표시하기. klutzy 2009년 9월 27일 (일) 19:45 (KST) | |||
영어 위키백과와 동일한 상자로 변경. ykhwong 2015년 9월 6일 (일) 12:18 (KST) */ | |||
/* [[틀:누가]] 등의 정비 필요 문장에 밑줄을 표시하기. klutzy 2009년 9월 27일 (일) 19:45 (KST) */ | |||
.fix { | .fix { | ||
border-bottom: 1px dashed #AAA; | /* border-bottom: 1px dashed #AAA; */ | ||
background-color: #fff9f9; color: DarkSlateGray; border: 1px solid #ffdcdc; | |||
} | } | ||
829번째 줄: | 1,033번째 줄: | ||
#EnWpMpSearchInner { float: right; width: 20em; text-align: center; } | #EnWpMpSearchInner { float: right; width: 20em; text-align: center; } | ||
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); } | #EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); } | ||
/* 미디어 자료 관련 */ | /* 미디어 자료 관련 */ | ||
843번째 줄: | 1,038번째 줄: | ||
table.mw_metadata { | table.mw_metadata { | ||
font-size: smaller; | font-size: smaller; | ||
} | } | ||
876번째 줄: | 1,058번째 줄: | ||
/* toccolours 클래스: 일부 틀의 디자인에 사용됨 */ | /* toccolours 클래스: 일부 틀의 디자인에 사용됨 */ | ||
.toccolours { | .toccolours { | ||
border: | border: solid #a0a0a0; | ||
border-width: 1.5px 0 1.5px 0; | |||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
padding: 5px; | padding: 5px; | ||
912번째 줄: | 1,095번째 줄: | ||
/* | /* | ||
[[위키백과:관리자_요청/2011년_10월]]. 둘러보기 틀에서 list를 사용하는 경우 목록을 가로로 보이게 하여 기존의 수동 목록에 비해 의미성/편의성이 높습니다. | [[위키백과:관리자_요청/2011년_10월]]. 둘러보기 틀에서 list를 사용하는 경우 목록을 가로로 보이게 하여 기존의 수동 목록에 비해 의미성/편의성이 높습니다. | ||
{{가로목록}}을 통해 사용. | |||
2013-02-28: 영어판 css 가져옴. ul 목록뿐 아니라 dt/dd도 지원. --klutzy | |||
*/ | */ | ||
/* Style for horizontal lists (separator following item) */ | /* Style for horizontal lists (separator following item). | ||
ol.hlist | @source mediawiki.org/wiki/Snippets/Horizontal_lists | ||
.hlist | @revision 7 (2015-11-12) | ||
margin: 0 | @author [[User:Edokter]] | ||
*/ | |||
.hlist dl, | |||
.hlist ol, | |||
.hlist ul { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
/* Display list items inline */ | |||
.hlist dd, | |||
.hlist dt, | |||
.hlist li { | |||
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; | display: inline; | ||
} | } | ||
.hlist li:last-child { | /* Hide empty list itmes */ | ||
/* | .hlist .mw-empty-li { | ||
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) " "; | |||
white-space: nowrap; | |||
} | |||
.hlist dd ol > li:first-child:before, | |||
.hlist dt ol > li:first-child:before, | |||
.hlist li ol > li:first-child:before { | |||
content: " (" counter(listitem) " "; | |||
} | } | ||
/* | /* Unbulleted lists */ | ||
.plainlist ol, | |||
.plainlist ul { | |||
line-height: inherit; | |||
list-style: none none; | |||
margin: 0; | |||
} | |||
.plainlist ol li, | |||
.plainlist ul li { | |||
margin-bottom: 0; | |||
} | |||
/* 바벨 | |||
[[미디어위키토론:Common.css#바벨 상자 스타일 맞추기]] | [[미디어위키토론:Common.css#바벨 상자 스타일 맞추기]] | ||
바벨 확장 기능을 기존 바벨 상자 스타일에 맞추기 */ | 바벨 확장 기능을 기존 바벨 상자 스타일에 맞추기 */ | ||
1,033번째 줄: | 1,291번째 줄: | ||
} | } | ||
/* </ | /* {{참고}}, {{본문}} 등의 틀에 쓰이는 class. */ | ||
.rellink, | |||
.dablink, | |||
.hatnote { | |||
/* font-style: italic; */ /* 영어 위키백과와 달리 이탤릭 사용하지 않음 */ | |||
font-size: 90%; /* 한국어 위키백과에서는 대신 작은 글씨로 본문과 구분함 */ | |||
/* @noflip */ | |||
padding-left: 1.6em; | |||
margin-top: 0.5em; /* 최근 모든 언어의 위키백과에서 문서 상단 부분의 여백이 최소화되어 상단 여백을 추가함. Ykhwong 2017년 10월 21일 (토) */ | |||
margin-bottom: 0.5em; | |||
} | |||
/* wikitable 관련 스타일 정비. 영어 위키백과에서 가져옴. 2014-2-6 ChongDae */ | |||
/* Normal font styling for table row headers with scope="row" tag */ | |||
.wikitable.plainrowheaders th[scope=row] { | |||
font-weight: normal; | |||
/* @noflip */ | |||
text-align: left; | |||
} | |||
/* Lists in data cells are always left-aligned */ | |||
.wikitable td ul, | |||
.wikitable td ol, | |||
.wikitable td dl { | |||
/* @noflip */ | |||
text-align: left; | |||
} | |||
/* ...unless they also use the hlist class */ | |||
.wikitable.hlist td ul, | |||
.wikitable.hlist td ol, | |||
.wikitable.hlist td dl { | |||
text-align: inherit; | |||
} | |||
/* 정렬 가능한 표용 정렬 키: [[틀:이름정렬]] 등 참조 */ | |||
td .sortkey, | |||
th .sortkey { | |||
display: none; | |||
speak: none; | |||
} | |||
/* 원 도표: Transparent borders */ | |||
.transborder { | |||
border: solid transparent; | |||
} | |||
* html .transborder { /* IE6 */ | |||
border: solid #000001; | |||
filter: chroma(color=#000001); | |||
} | |||
/* 포털 관련 css 추가 2015-11-06 ChongDae */ | |||
/* For portals, added 2011-12-07 -bv | |||
On wide screens, show these as two columns | |||
On narrow and mobile screens, let them collapse into a single column */ | |||
.portal-column-left { | |||
float: left; | |||
width: 50%; | |||
} | |||
.portal-column-right { | |||
float: right; | |||
width: 49%; | |||
} | |||
.portal-column-left-wide { | |||
float: left; | |||
width: 60%; | |||
} | |||
.portal-column-right-narrow { | |||
float: right; | |||
width: 39%; | |||
} | |||
.portal-column-left-extra-wide { | |||
float: left; | |||
width: 70%; | |||
} | |||
.portal-column-right-extra-narrow { | |||
float: right; | |||
width: 29%; | |||
} | |||
@media only screen and (max-width: 800px) { | |||
/* Decouple the columns on narrow screens */ | |||
.portal-column-left, | |||
.portal-column-right, | |||
.portal-column-left-wide, | |||
.portal-column-right-narrow, | |||
.portal-column-left-extra-wide, | |||
.portal-column-right-extra-narrow { | |||
float: inherit; | |||
width: inherit; | |||
} | |||
} | |||
/* 사용자 그룹별 노출 제어. 영어 위키백과에서 가져옴. -- ChongDae */ | |||
/* Hide stuff meant for accounts with special permissions. Made visible again in | |||
[[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]], | |||
[[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */ | |||
.sysop-show, | |||
.accountcreator-show, | |||
.templateeditor-show, | |||
.extendedmover-show, | |||
.autoconfirmed-show, | |||
.user-show { | |||
display: none; | |||
} | |||
/* 사이트노티스 불릿 예쁘게 정렬 -- IRTC1015 */ | |||
#localNotice ul { | |||
list-style-position: inside; | |||
} | |||
/* Make <math display="block"> be left aligned with one space indent for compatibility with style conventions */ | |||
.mwe-math-fallback-image-display, | |||
.mwe-math-mathml-display { | |||
margin-left: 1.6em !important; | |||
margin-top: 0.6em; | |||
margin-bottom: 0.6em; | |||
} | |||
.mwe-math-mathml-display math { | |||
display: inline; | |||
} | |||
/* Fix styling of transcluded prefindex tables */ | |||
table#mw-prefixindex-list-table, | |||
table#mw-prefixindex-nav-table { | |||
width: 98%; | |||
} | |||
/* Make it possible to hide checkboxes in <inputbox> */ | |||
.inputbox-hidecheckboxes form .inputbox-element, | |||
.inputbox-hidecheckboxes .mw-ui-checkbox { | |||
display: none !important; | |||
} | |||
/* Work-around for [[phab:T25965]] / [[phab:T100106]] (Kaltura advertisement) */ | |||
.k-player .k-attribution { | |||
visibility: hidden; | |||
} | |||
/* Move 'play' button of video player to bottom left corner */ | |||
.PopUpMediaTransform a .play-btn-large { | |||
margin: 0; | |||
top: auto; | |||
right: auto; | |||
bottom: 0; | |||
left: 0; | |||
} | |||
/* Hide FlaggedRevs notice UI when there are no pending changes */ | |||
.flaggedrevs_draft_synced, | |||
.flaggedrevs_stable_synced { | |||
display: none; | |||
} | |||
/* Force imgs in galleries to have borders by wrapping them in class=bordered-images */ | |||
.bordered-images img { | |||
border: solid #ddd 1px; | |||
} | |||
/* Gallery styles background changes are restricted to screen view. In printing we should avoid applying backgrounds. */ | |||
@media screen { | |||
/* The backgrounds for galleries. */ | |||
#content .gallerybox div.thumb { | |||
/* Light gray padding */ | |||
background-color: #f8f9fa; | |||
} | |||
/* Put a chequered background behind images, only visible if they have transparency. | |||
'.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */ | |||
.gallerybox .thumb img { | |||
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; | |||
} | |||
/* But not on articles, user pages, portals or with opt-out. */ | |||
.ns-0 .gallerybox .thumb img, | |||
.ns-2 .gallerybox .thumb img, | |||
.ns-100 .gallerybox .thumb img, | |||
.nochecker .gallerybox .thumb img { | |||
background-image: none; | |||
} | |||
} | |||
/* Display "From Wikipedia, the free encyclopedia" in skins that support it, do not apply to print mode */ | |||
@media screen { | |||
#siteSub { | |||
display: block; | |||
} | |||
} |