| 1번째 줄: |
1번째 줄: |
| − | /** 이 CSS 설정은 모든 스킨에 적용됩니다 */ | + | /* |
| | + | * 위키백과 모든 스킨에 적용되는 CSS입니다. |
| | + | * [[위키백과:위키프로젝트 시스템]] 참고 |
| | + | * |
| | + | * 편집 요약을 꼭 적어주고, 새 코드를 추가할 때에는 해당 코드의 출처, 간단한 설명, (요청이 있었을 경우) 해당 요청의 위치 등을 주석에 적어주세요. |
| | + | * 또한 각 코드 조각의 범위를 알아보기 쉽도록 정렬해주세요. |
| | + | * |
| | + | * 인쇄용 css (@media print 부분)은 Print.css에 별도로 추가해주세요. |
| | + | * 그렇지 않으면 인쇄용 문서를 웹에서 보는 것과 실제 인쇄하는 것이 다르게 나옵니다. |
| | + | * |
| | + | * 정리가 필요한 부분에는 XXX를 달아주세요. |
| | + | */ |
| | | | |
| − | /** 이 CSS 설정은 모든 스킨에 적용됩니다 */ | + | /** <references/> 관련 CSS **/ |
| | | | |
| − | /* 표 문법 (출처 : 한국어 위키백과) */ | + | ol.references { |
| − | /* let's make a class that deals with tables better | + | font-size: smaller; |
| − | Any complaints, please message Ta bu shi da yu */
| + | } |
| − |
| + | |
| | + | /* 선택된 항목에 배경색 씌우기 */ |
| | + | ol.references > li:target, sup.reference:target { |
| | + | background-color: #DEF; |
| | + | } |
| | + | |
| | + | /** 표 속성 - wikitable, prettytable **/ |
| | + | /* class 이름으로 prettytable보다 wikitable을 사용해주세요. */ |
| | table.wikitable, | | table.wikitable, |
| | table.prettytable { | | table.prettytable { |
| − | margin: 1em 1em 1em 0; | + | margin: 1em 0; |
| | background: #f9f9f9; | | background: #f9f9f9; |
| − | border: 1px #aaaaaa solid; | + | border: 1px #aaa solid; |
| | border-collapse: collapse; | | border-collapse: collapse; |
| | } | | } |
| − |
| |
| | table.wikitable th, table.wikitable td, | | table.wikitable th, table.wikitable td, |
| | table.prettytable th, table.prettytable td { | | table.prettytable th, table.prettytable td { |
| − | border: 1px #aaaaaa solid; | + | border: 1px #aaa solid; |
| | padding: 0.2em; | | padding: 0.2em; |
| | } | | } |
| − |
| |
| | table.wikitable th, | | table.wikitable th, |
| | table.prettytable th { | | table.prettytable th { |
| | background: #f2f2f2; | | background: #f2f2f2; |
| | text-align: center; | | text-align: center; |
| | + | white-space: nowrap; |
| | } | | } |
| − |
| |
| | table.wikitable caption, | | table.wikitable caption, |
| | table.prettytable caption { | | table.prettytable caption { |
| 32번째 줄: |
48번째 줄: |
| | margin-right: inherit; | | margin-right: inherit; |
| | font-weight: bold; | | font-weight: bold; |
| | + | font-size: larger; |
| | } | | } |
| − |
| + | |
| − | /* Merge template style */ | + | /** .messagebox 스타일 **/ |
| − |
| |
| | .messagebox { | | .messagebox { |
| − | border: 1px solid #aaaaaa;
| + | border: 1px solid #aaa; |
| − | background-color: #f9f9f9;
| + | background: #f9f9f9; |
| − | width: 85%;
| + | width: 85%; |
| − | margin: 0 auto 1em auto;
| + | margin: 0 auto 1em auto; |
| − | padding: .2em;
| + | padding: .2em; |
| − | text-align: justify;
| + | text-align: justify; |
| − | font-size: 100%;
| + | font-size: smaller; |
| | } | | } |
| | .messagebox.merge { | | .messagebox.merge { |
| − | border: 1px solid #cf9fff;
| + | border: 1px solid #cf9fff; |
| − | background-color: #f5edf5;
| + | background-color: #f5edf5; |
| − | text-align: center;
| + | text-align: center; |
| | } | | } |
| | .messagebox.cleanup { | | .messagebox.cleanup { |
| − | border: 1px solid #9f9fff;
| + | border: 1px solid #9f9fff; |
| − | background-color: #efefff;
| + | background-color: #efefff; |
| − | text-align: center;
| + | text-align: center; |
| | } | | } |
| | .messagebox.standard-talk { | | .messagebox.standard-talk { |
| − | border: 1px solid #c0c090; | + | border: 1px solid #c0c090; |
| − | background-color: #f8eaba; | + | background-color: #f8eaba; |
| | + | } |
| | + | |
| | + | /* 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 { |
| | + | width: 238px; |
| | + | font-size: smaller; |
| | + | float: right; |
| | + | clear: both; |
| | + | margin: 0 0 1em 1em; |
| | + | line-height: 1.25em; |
| | + | } |
| | + | .messagebox.small-talk { |
| | + | width: 238px; |
| | + | font-size: smaller; |
| | + | float: right; |
| | + | clear: both; |
| | + | margin: 0 0 1em 1em; |
| | + | line-height: 1.25em; |
| | + | background: #F8EABA; |
| | + | } |
| | + | |
| | + | /* ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox 스타일 */ |
| | + | th.mbox-text, td.mbox-text { /* The message body cell(s) */ |
| | + | border: none; |
| | + | padding: 0.25em 0.9em; /* 0.9em left/right */ |
| | + | width: 100%; /* Make all mboxes the same width regardless of text length */ |
| | + | } |
| | + | td.mbox-image { /* The left image cell */ |
| | + | border: none; |
| | + | padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ |
| | + | text-align: center; |
| | + | } |
| | + | td.mbox-imageright { /* The right image cell */ |
| | + | border: none; |
| | + | padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ |
| | + | text-align: center; |
| | + | } |
| | + | td.mbox-empty-cell { /* An empty narrow cell */ |
| | + | border: none; |
| | + | padding: 0px; |
| | + | width: 1px; |
| | + | } |
| | + | |
| | + | /* Article message box styles */ |
| | + | table.ambox { |
| | + | margin: 0px 10%; /* 10% = Will not overlap with other elements */ |
| | + | border: 1px solid #aaa; |
| | + | border-left: 10px solid #1e90ff; /* Default "notice" blue */ |
| | + | background: #fbfbfb; |
| | + | } |
| | + | table.ambox + table.ambox { /* Single border between stacked boxes. */ |
| | + | margin-top: -1px; |
| | + | } |
| | + | .ambox th.mbox-text, |
| | + | .ambox td.mbox-text { /* The message body cell(s) */ |
| | + | padding: 0.25em 0.5em; /* 0.5em left/right */ |
| | + | } |
| | + | .ambox td.mbox-image { /* The left image cell */ |
| | + | padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ |
| | + | } |
| | + | .ambox td.mbox-imageright { /* The right image cell */ |
| | + | padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ |
| | + | } |
| | + | |
| | + | table.ambox-notice { |
| | + | border-left: 10px solid #1e90ff; /* Blue */ |
| | + | } |
| | + | table.ambox-speedy { |
| | + | border-left: 10px solid #b22222; /* Red */ |
| | + | background: #fee; /* Pink */ |
| | + | } |
| | + | table.ambox-delete { |
| | + | border-left: 10px solid #b22222; /* Red */ |
| | + | } |
| | + | table.ambox-content { |
| | + | border-left: 10px solid #f28500; /* Orange */ |
| | + | } |
| | + | table.ambox-style { |
| | + | border-left: 10px solid #f4c430; /* Yellow */ |
| | + | } |
| | + | table.ambox-move { |
| | + | border-left: 10px solid #9932cc; /* Purple */ |
| | + | } |
| | + | table.ambox-protection { |
| | + | border-left: 10px solid #bba; /* Gray-gold */ |
| | + | } |
| | + | |
| | + | /* Image message box styles */ |
| | + | table.imbox { |
| | + | margin: 4px 10%; |
| | + | border-collapse: collapse; |
| | + | border: 3px solid #1e90ff; /* Default "notice" blue */ |
| | + | background: #fbfbfb; |
| | + | } |
| | + | .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */ |
| | + | margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ |
| | + | } |
| | + | .mbox-inside .imbox { /* For imboxes inside other templates. */ |
| | + | margin: 4px; |
| | + | } |
| | + | |
| | + | table.imbox-notice { |
| | + | border: 3px solid #1e90ff; /* Blue */ |
| | + | } |
| | + | table.imbox-speedy { |
| | + | border: 3px solid #b22222; /* Red */ |
| | + | background: #fee; /* Pink */ |
| | + | } |
| | + | table.imbox-delete { |
| | + | border: 3px solid #b22222; /* Red */ |
| | + | } |
| | + | table.imbox-content { |
| | + | border: 3px solid #f28500; /* Orange */ |
| | + | } |
| | + | table.imbox-style { |
| | + | border: 3px solid #f4c430; /* Yellow */ |
| | + | } |
| | + | table.imbox-move { |
| | + | border: 3px solid #9932cc; /* Purple */ |
| | + | } |
| | + | table.imbox-protection { |
| | + | border: 3px solid #bba; /* Gray-gold */ |
| | + | } |
| | + | table.imbox-license { |
| | + | border: 3px solid #88a; /* Dark gray */ |
| | + | background: #f7f8ff; /* Light gray */ |
| | + | } |
| | + | table.imbox-featured { |
| | + | border: 3px solid #cba135; /* Brown-gold */ |
| | + | } |
| | + | |
| | + | /* Category message box styles */ |
| | + | table.cmbox { |
| | + | margin: 3px 10%; |
| | + | border-collapse: collapse; |
| | + | border: 1px solid #aaa; |
| | + | background: #DFE8FF; /* Default "notice" blue */ |
| | + | } |
| | + | |
| | + | table.cmbox-notice { |
| | + | background: #D8E8FF; /* Blue */ |
| | + | } |
| | + | table.cmbox-speedy { |
| | + | margin-top: 4px; |
| | + | margin-bottom: 4px; |
| | + | border: 4px solid #b22222; /* Red */ |
| | + | background: #FFDBDB; /* Pink */ |
| | + | } |
| | + | table.cmbox-delete { |
| | + | background: #FFDBDB; /* Red */ |
| | + | } |
| | + | table.cmbox-content { |
| | + | background: #FFE7CE; /* Orange */ |
| | + | } |
| | + | table.cmbox-style { |
| | + | background: #FFF9DB; /* Yellow */ |
| | + | } |
| | + | table.cmbox-move { |
| | + | background: #E4D8FF; /* Purple */ |
| | + | } |
| | + | table.cmbox-protection { |
| | + | background: #EFEFE1; /* Gray-gold */ |
| | + | } |
| | + | |
| | + | /* Other pages message box styles */ |
| | + | table.ombox { |
| | + | margin: 4px 10%; |
| | + | border-collapse: collapse; |
| | + | border: 1px solid #aaa; /* Default "notice" gray */ |
| | + | background: #f9f9f9; |
| | + | } |
| | + | |
| | + | table.ombox-notice { |
| | + | border: 1px solid #aaa; /* Gray */ |
| | + | } |
| | + | table.ombox-speedy { |
| | + | border: 2px solid #b22222; /* Red */ |
| | + | background: #fee; /* Pink */ |
| | + | } |
| | + | table.ombox-delete { |
| | + | border: 2px solid #b22222; /* Red */ |
| | + | } |
| | + | table.ombox-content { |
| | + | border: 1px solid #f28500; /* Orange */ |
| | + | } |
| | + | table.ombox-style { |
| | + | border: 1px solid #f4c430; /* Yellow */ |
| | + | } |
| | + | table.ombox-move { |
| | + | border: 1px solid #9932cc; /* Purple */ |
| | + | } |
| | + | table.ombox-protection { |
| | + | border: 2px solid #bba; /* Gray-gold */ |
| | + | } |
| | + | |
| | + | /* Talk page message box styles */ |
| | + | table.tmbox { |
| | + | margin: 4px 10%; |
| | + | border-collapse: collapse; |
| | + | border: 1px solid #c0c090; /* Default "notice" gray-brown */ |
| | + | background: #f8eaba; |
| | + | } |
| | + | .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */ |
| | + | margin: 2px 0; /* class ensures that this declaration overrides other */ |
| | + | width: 100%; /* For Safari and Opera */ /* styles (including mbox-small above) */ |
| | + | } |
| | + | .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ |
| | + | line-height: 1.5em; /* also "nested", so reset styles that are */ |
| | + | font-size: 100%; /* set in "mbox-small" above. */ |
| | } | | } |
| | | | |
| | + | table.tmbox-speedy { |
| | + | border: 2px solid #b22222; /* Red */ |
| | + | background: #fee; /* Pink */ |
| | + | } |
| | + | table.tmbox-delete { |
| | + | border: 2px solid #b22222; /* Red */ |
| | + | } |
| | + | table.tmbox-content { |
| | + | border: 2px solid #f28500; /* Orange */ |
| | + | } |
| | + | table.tmbox-style { |
| | + | border: 2px solid #f4c430; /* Yellow */ |
| | + | } |
| | + | table.tmbox-move { |
| | + | border: 2px solid #9932cc; /* Purple */ |
| | + | } |
| | + | table.tmbox-protection, |
| | + | table.tmbox-notice { |
| | + | border: 1px solid #c0c090; /* Gray-brown */ |
| | + | } |
| | + | |
| | + | /* Disambig and set index box styles */ |
| | + | table.dmbox { |
| | + | clear: both; |
| | + | margin: 0.9em 1em; |
| | + | border-top: 1px solid #ccc; |
| | + | border-bottom: 1px solid #ccc; |
| | + | background: transparent; |
| | + | } |
| | + | |
| | + | /* Footer and header message box styles */ |
| | + | table.fmbox { |
| | + | clear: both; |
| | + | margin: 0.2em 0; |
| | + | width: 100%; |
| | + | border: 1px solid #aaa; |
| | + | background: #f9f9f9; /* Default "system" gray */ |
| | + | } |
| | + | table.fmbox-system { |
| | + | background: #f9f9f9; |
| | + | } |
| | + | table.fmbox-warning { |
| | + | border: 1px solid #bb7070; /* Dark pink */ |
| | + | background: #ffdbdb; /* Pink */ |
| | + | } |
| | + | table.fmbox-editnotice { |
| | + | background: transparent; |
| | + | } |
| | + | |
| | + | /** 정보상자 **/ |
| | .infobox { | | .infobox { |
| − | border: 1px solid #aaaaaa;
| + | float: right; |
| − | background-color: #f9f9f9;
| + | clear: right; |
| − | margin-bottom: 0.5em;
| + | margin: 0.5em 0 0.5em 1em; |
| − | margin-left: 1em;
| + | padding: 0.2em; |
| − | padding: .2em;
| + | border: 1px solid #aaa; |
| − | float: right;
| + | background: #f9f9f9; |
| − | clear: right;
| + | font-size: smaller; |
| | + | width: 25em; /* max-width가 더 낫지만 IE7까지 지원을 안 함 */ |
| | } | | } |
| | .infobox td, | | .infobox td, |
| | .infobox th { | | .infobox th { |
| − | vertical-align: top;
| + | vertical-align: top; |
| | } | | } |
| | .infobox caption { | | .infobox caption { |
| − | font-size: larger;
| + | font-size: larger; |
| − | margin-left: inherit;
| + | font-weight: bold; |
| | + | } |
| | + | .infobox th { |
| | + | white-space: nowrap; |
| | + | background-color: #eee; |
| | + | } |
| | + | .infobox th[colspan="2"] { |
| | + | text-align: center; |
| | } | | } |
| | .infobox.bordered { | | .infobox.bordered { |
| − | border-collapse: collapse;
| + | border-collapse: collapse; |
| | } | | } |
| | .infobox.bordered td, | | .infobox.bordered td, |
| | .infobox.bordered th { | | .infobox.bordered th { |
| − | border: 1px solid #aaaaaa;
| + | border: 1px solid #aaa; |
| | } | | } |
| | .infobox.bordered .borderless td, | | .infobox.bordered .borderless td, |
| | .infobox.bordered .borderless th { | | .infobox.bordered .borderless th { |
| − | border: 0;
| + | border: 0; |
| | } | | } |
| | .infobox.sisterproject { | | .infobox.sisterproject { |
| − | width: 20em;
| + | width: 20em; |
| − | font-size: 100%;
| + | font-size: smaller; |
| | } | | } |
| − |
| + | |
| − | @media print {
| |
| − | .infobox.sisterproject {
| |
| − | display: none;
| |
| − | }
| |
| − | }
| |
| − |
| |
| | /* styles for bordered infobox with merged rows */ | | /* styles for bordered infobox with merged rows */ |
| | .infobox.bordered .mergedtoprow td, | | .infobox.bordered .mergedtoprow td, |
| | .infobox.bordered .mergedtoprow th { | | .infobox.bordered .mergedtoprow th { |
| − | border: 0;
| + | border: 0; |
| − | border-top: 1px solid #aaa;
| + | border-top: 1px solid #aaa; |
| − | border-right: 1px solid #aaa;
| + | border-right: 1px solid #aaa; |
| | } | | } |
| − |
| |
| | .infobox.bordered .mergedrow td, | | .infobox.bordered .mergedrow td, |
| | .infobox.bordered .mergedrow th { | | .infobox.bordered .mergedrow th { |
| − | border: 0;
| + | border: 0; |
| − | border-right: 1px solid #aaa;
| + | border-right: 1px solid #aaa; |
| | } | | } |
| − |
| + | |
| | /* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */ | | /* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */ |
| − |
| |
| | .infobox.geography { | | .infobox.geography { |
| − | text-align: left;
| + | text-align: left; |
| − | border-collapse: collapse;
| + | border-collapse: collapse; |
| − | line-height: 1.2em;
| + | line-height: 1.2em; |
| − | font-size: 100%;
| + | font-size: smaller; |
| | } | | } |
| − |
| |
| | .infobox.geography td, | | .infobox.geography td, |
| | .infobox.geography th { | | .infobox.geography th { |
| − | border-top: solid 1px #aaa;
| + | border-top: solid 1px #aaa; |
| − | padding: 0.4em 0.6em 0.4em 0.6em;
| + | padding: 0.4em 0.6em; |
| | } | | } |
| | .infobox.geography .mergedtoprow td, | | .infobox.geography .mergedtoprow td, |
| | .infobox.geography .mergedtoprow th { | | .infobox.geography .mergedtoprow th { |
| − | border-top: solid 1px #aaa;
| + | border-top: solid 1px #aaa; |
| − | padding: 0.4em 0.6em 0.2em 0.6em;
| + | padding: 0.4em 0.6em 0.2em; |
| | } | | } |
| − |
| |
| | .infobox.geography .mergedrow td, | | .infobox.geography .mergedrow td, |
| | .infobox.geography .mergedrow th { | | .infobox.geography .mergedrow th { |
| − | border: 0;
| + | border: 0; |
| − | padding: 0 0.6em 0.2em 0.6em;
| + | padding: 0 0.6em 0.2em; |
| | } | | } |
| − |
| |
| | .infobox.geography .mergedbottomrow td, | | .infobox.geography .mergedbottomrow td, |
| | .infobox.geography .mergedbottomrow th { | | .infobox.geography .mergedbottomrow th { |
| − | border-top: 0;
| + | border-top: 0; |
| − | border-bottom: solid 1px #aaa;
| + | border-bottom: solid 1px #aaa; |
| − | padding: 0 0.6em 0.4em 0.6em;
| + | padding: 0 0.6em 0.4em; |
| | } | | } |
| − |
| |
| | .infobox.geography .maptable td, | | .infobox.geography .maptable td, |
| | .infobox.geography .maptable th { | | .infobox.geography .maptable th { |
| − | border: 0;
| + | border: 0; |
| − | padding: 0;
| + | padding: 0; |
| | } | | } |
| − |
| |
| | /* Style for "notices" */ | | /* Style for "notices" */ |
| | .notice { | | .notice { |
| − | margin: 1em;
| + | margin: 1em; |
| − | padding: 0.2em;
| + | padding: 0.2em; |
| | + | } |
| | + | |
| | + | #disambig { |
| | + | border-top: 1px solid #ccc; |
| | + | border-bottom: 1px solid #ccc; |
| | + | } |
| | + | |
| | + | .spoiler { |
| | + | border-top: 2px solid #ddd; |
| | + | border-bottom: 2px solid #ddd; |
| | + | } |
| | + | |
| | + | table.stub { |
| | + | width: 100%; |
| | + | margin: 1em auto 0; |
| | + | border-top: 1px solid #ccc; |
| | + | border-bottom: 1px solid #ccc; |
| | + | font-size: smaller; |
| | + | } |
| | + | table.stub + table.stub { |
| | + | margin-top: -1px; |
| | + | border-top: 0; |
| | } | | } |
| | | | |
| − | /* 옛 한글, IPA 관련 */ | + | /* Put a checker background at the image description page only visible if the image has transparent background */ |
| | + | #file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} |
| | + | |
| | /* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration resets the font for all browsers except MSIE6. The empty comment must remain. Please copy any changes to [[Template:IPA fonts]] and [[Template:Unicode fonts]]. */ | | /* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration resets the font for all browsers except MSIE6. The empty comment must remain. Please copy any changes to [[Template:IPA fonts]] and [[Template:Unicode fonts]]. */ |
| | .IPA { | | .IPA { |
| 179번째 줄: |
481번째 줄: |
| | font-family: Alphabetum, Cardo, LeedsUni, Junicode, "TITUS Cyberbit Basic", ALPHA-Demo; | | font-family: Alphabetum, Cardo, LeedsUni, Junicode, "TITUS Cyberbit Basic", ALPHA-Demo; |
| | } | | } |
| − |
| + | |
| | #wpSave { | | #wpSave { |
| | font-weight: bold; | | font-weight: bold; |
| | } | | } |
| − |
| + | |
| | .oldhan { | | .oldhan { |
| | font-family: Code2000, UnJamoBatang, 은 자모 바탕, UnBatang, 은 바탕, sans-serif; | | font-family: Code2000, UnJamoBatang, 은 자모 바탕, UnBatang, 은 바탕, sans-serif; |
| | font-family /**/:inherit; | | font-family /**/:inherit; |
| | } | | } |
| − |
| |
| | .oldhanyang { | | .oldhanyang { |
| | font-family:한컴바탕,새바탕,한컴돋움,네이버사전; | | font-family:한컴바탕,새바탕,한컴돋움,네이버사전; |
| | font-family /**/:inherit; | | font-family /**/:inherit; |
| | + | } |
| | + | |
| | + | /* Removes underlines from links */ |
| | + | .nounderlines a { |
| | + | text-decoration: none; |
| | + | } |
| | + | /* Remove underline from IPA links */ |
| | + | .IPA a:link, .IPA a:visited { |
| | + | text-decoration: none; |
| | + | } |
| | + | |
| | + | /* [[위키백과:사랑방/2007년 1월#틀:듣기 용 아이콘]] */ |
| | + | .audiolink a{ |
| | + | background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important; |
| | + | padding-left: 16px !important; |
| | + | padding-right: 0 !important; |
| | + | } |
| | + | |
| | + | /* [[위키백과:사랑방/2007년 4월#영어판의 틀을 번역했는데, 모양이 다르게 나옵니다.]] |
| | + | [[:en:MediaWiki:Common.css]]에서 가져옴 */ |
| | + | |
| | + | table.navbox { |
| | + | clear: both; |
| | + | width: 100%; |
| | + | margin: auto; |
| | + | padding: 1px; |
| | + | border: 1px solid #aaa; |
| | + | background-color: #f9f9f9; |
| | + | font-size: smaller; |
| | + | text-align: center; |
| | + | } |
| | + | table.navbox th { |
| | + | background-color: #ccf; |
| | + | padding-left: 1em; |
| | + | padding-right: 1em; |
| | + | } |
| | + | table.navbox tr:not(:first-child) th { |
| | + | background-color: #ddf; |
| | + | } |
| | + | table.navbox + table.navbox { |
| | + | margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6) */ |
| | + | } |
| | + | |
| | + | /* [[위키백과:관리자 요청/2007년 5월#스크립트 추가 요청]]. ctrl+v from en: */ |
| | + | /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [Wikipedia:NavFrame]]. */ |
| | + | div.Boxmerge, |
| | + | div.NavFrame { |
| | + | margin: 0px; |
| | + | padding: 4px; |
| | + | border: 1px solid #aaa; |
| | + | border-collapse: collapse; |
| | + | text-align: center; |
| | + | font-size: smaller; |
| | + | } |
| | + | div.Boxmerge div.NavFrame { |
| | + | border-style: none; |
| | + | border-style: hidden; |
| | + | } |
| | + | div.NavFrame + div.NavFrame { |
| | + | border-top-style: none; |
| | + | border-top-style: hidden; |
| | + | } |
| | + | div.NavPic { |
| | + | background-color: #fff; |
| | + | margin: 0px; |
| | + | padding: 2px; |
| | + | float: left; |
| | + | } |
| | + | div.NavFrame div.NavHead { |
| | + | height: 1.6em; |
| | + | font-weight: bold; |
| | + | background-color: #ccf; |
| | + | position:relative; |
| | + | } |
| | + | div.NavFrame p, |
| | + | div.NavFrame div.NavContent, |
| | + | div.NavFrame div.NavContent p { |
| | + | font-size: 100%; |
| | + | } |
| | + | div.NavEnd { |
| | + | clear: both; |
| | + | margin: 0px; |
| | + | padding: 0px; |
| | + | line-height: 1px; |
| | + | } |
| | + | a.NavToggle { |
| | + | position:absolute; |
| | + | top:0px; |
| | + | right:3px; |
| | + | font-weight:normal; |
| | + | font-size:smaller; |
| | + | } |
| | + | |
| | + | /* [[위키백과:관리자 요청/2007년 11월]] */ |
| | + | /* Prevents line breaks in links; see docs at Template:Nowraplinks */ |
| | + | .nowraplinks a { |
| | + | white-space: nowrap; |
| | + | } |
| | + | |
| | + | /** 일반 단추와 알찬 글 단추 그림 지정 **/ |
| | + | .portlet li { |
| | + | list-style-image: url("http://upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png"); |
| | + | } |
| | + | li.FA { |
| | + | list-style-image: url("http://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Modern-bullet-star.svg/9px-Modern-bullet-star.svg.png"); |
| | } | | } |
| | | | |
| 201번째 줄: |
607번째 줄: |
| | .toclimit-6 .toclevel-6, | | .toclimit-6 .toclevel-6, |
| | .toclimit-7 .toclevel-7 {display:none;} | | .toclimit-7 .toclevel-7 {display:none;} |
| | + | |
| | + | /** 미디어 시작 틀과 관련된 코드 **/ |
| | + | /* [[위키백과:관리자 요청/2008년 9월]] */ |
| | + | div.listenlist { |
| | + | background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png"); |
| | + | padding-left: 40px; |
| | + | } |
| | + | |
| | + | div.videolist, div.multivideolist { |
| | + | background: url("http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png"); |
| | + | padding-left: 50px; |
| | + | } |
| | + | |
| | + | div.medialist { |
| | + | min-height: 50px; |
| | + | margin: 1em; |
| | + | background-position: top left; |
| | + | background-repeat: no-repeat; |
| | + | } |
| | + | div.medialist ul { |
| | + | list-style-type: none; |
| | + | list-style-image: none; |
| | + | margin: 0; |
| | + | } |
| | + | div.medialist ul li { |
| | + | padding-bottom: 0.5em; |
| | + | } |
| | + | div.medialist ul li li { |
| | + | font-size: smaller; |
| | + | padding-bottom: 0; |
| | + | } |
| | + | |
| | + | /** XXX **/ |
| | + | /* 안내 참조 틀의 동작, [[위키백과:관리자 요청/2008년 9월]] */ |
| | + | .plainlinksneverexpand { |
| | + | background: none ! important; |
| | + | padding: 0 ! important; |
| | + | } |
| | + | .plainlinksneverexpand .urlexpansion { |
| | + | display: none ! important; |
| | + | } |
| | + | |
| | + | /** PDF 링크 모양 **/ |
| | + | /* {{PDF 링크}}에서 쓰임. [[위키백과:관리자_요청/2008년_9월#PDF 링크 틀 동작을 위한 내용 추가]], 영어 위키백과에서 들여옴. */ |
| | + | #content span.PDFlink a, |
| | + | #mw_content span.PDFlink a { |
| | + | background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center right no-repeat; |
| | + | padding-right: 17px; |
| | + | } |
| | + | |
| | + | /** 업로드 상자 크기 조정 **/ |
| | + | /* [[위키백과:관리자 요청/2008년 11월#MediaWiki:Common.js 수정 요청]] */ |
| | + | #wpUploadDescription { |
| | + | height: 10em; |
| | + | } |
| | + | |
| | + | /** [[틀:내비게이션]] 디자인 **/ |
| | + | /* [[위키백과토론:위키프로젝트 시스템#미디어위키:common.css에 스타일 추가 요청]] */ |
| | + | /* [[사용자:Klutzy|Klutzy]] ([[사용자토론:Klutzy|토론]]) 2008년 12월 21일 (일) 20:10 (KST) */ |
| | + | .pathnavbox { |
| | + | clear: both; |
| | + | border: 1px outset #eef; |
| | + | padding: 0.3em 0.6em; |
| | + | margin: 0 0 0.5em 0; |
| | + | background-color: #eef; |
| | + | font-size: smaller; |
| | + | } |
| | + | .pathnavbox ul { |
| | + | list-style: none; |
| | + | margin-top: 0; |
| | + | margin-bottom: 0; |
| | + | } |
| | + | .pathnavbox > ul { |
| | + | margin: 0; |
| | + | } |
| | + | .pathnavbox ul li { |
| | + | margin: 0; |
| | + | } |
| | + | |
| | + | /** 최근 바뀜, 주시 문서 목록에서 "되돌리기" 글자 크기 줄임 **/ |
| | + | /* [[사용자:ITurtle|iTurtle]] ([[사용자토론:ITurtle|토론]]) 2009년 5월 8일 (금) 22:04 (KST) */ |
| | + | .page-특수기능_최근바뀜 .mw-rollback-link, |
| | + | .page-특수기능_주시문서 .mw-rollback-link {font-size: smaller;} |
| | + | |
| | + | /** XXX 정체불명. **/ |
| | + | .same-bg { background: none } |
| | + | |
| | + | /* 대문에서 특정 요소 숨기기. 스킨 관계없이 공통으로. Monobook.css에서 가져옴 --[[사용자:Klutzy|klutzy]] ([[사용자토론:Klutzy|토론]]) 2009년 8월 9일 (일) 13:56 (KST) */ |
| | + | body.page-위키백과_대문 #t-cite, |
| | + | body.page-위키백과_대문 #lastmod, |
| | + | body.page-위키백과_대문 #siteSub, |
| | + | body.page-위키백과_대문 #contentSub, |
| | + | body.page-위키백과_대문 h1.firstHeading { |
| | + | display: none !important; |
| | + | } |
| | + | |
| | + | /* [[틀:누가]] 등의 정비 필요 문장에 밑줄을 표시하기. [[사용자:Klutzy|klutzy]] ([[사용자토론:Klutzy|토론]]) 2009년 9월 27일 (일) 19:45 (KST) */ |
| | + | .fix { |
| | + | border-bottom: 1px dashed #AAA; |
| | + | } |
| | + | |
| | + | /* [[사용자:ITurtle|iTurtle]] ([[사용자토론:ITurtle|토론]]) 2009년 11월 4일 (수) 21:30 (KST) */ |
| | + | #EnWpMpBook { background-image: url(http://upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); } |
| | + | #EnWpMpSearch { background: url(http://upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top right; } |
| | + | #EnWpMpSearchInner { float: right; width: 20em; text-align: center; } |
| | + | #EnWpMpBook2 { background-image: url(http://upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); } |
| | + | |
| | + | /* Geographical coordinates defaults. See [[Template:Coord/link]] |
| | + | for how these are used. The classes "geo", "longitude", and |
| | + | "latitude" are used by the [[Geo microformat]]. |
| | + | [[사용자:ITurtle|iTurtle]] ([[사용자토론:ITurtle|토론]]) 2009년 11월 28일 (토) 16:40 (KST) |
| | + | */ |
| | + | .geo-default, .geo-dms, .geo-dec { display: inline; } |
| | + | .geo-nondefault, .geo-multi-punct { display: none; } |
| | + | .longitude, .latitude { white-space: nowrap; } |
| | + | |
| | + | /* 미디어 자료 관련 */ |
| | + | table.mw_metadata { font-size: smaller; } /* Vector.css에서 너무 작게 나오는 것 방지 --[[사용자:PuzzletChung|Puzzlet Chung]] ([[사용자토론:PuzzletChung|토론]]) 2010년 1월 5일 (화) 13:48 (KST) */ |