미디어위키:Common.css

위키뉴스

참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.

  • 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
  • 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
  • 인터넷 익스플로러 / 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
  • 오페라: Ctrl-F5를 입력.
/* <source lang="css"> */

/*
 * 위키백과 모든 스킨에 적용되는 CSS입니다.
 * [[위키백과:위키프로젝트 시스템]] 참고
 *
 * 편집 요약을 꼭 적어주고, 새 코드를 추가할 때에는 해당 코드의 출처, 간단한 설명, (요청이 있었을 경우) 해당 요청의 위치 등을 주석에 적어주세요.
 * 또한 각 코드 조각의 범위를 알아보기 쉽도록 정렬해주세요.
 *
 * 인쇄용 css (@media print 부분)은 Print.css에 별도로 추가해주세요.
 * 그렇지 않으면 인쇄용 문서를 웹에서 보는 것과 실제 인쇄하는 것이 다르게 나옵니다.
 *
 * 정리가 필요한 부분에는 XXX를 달아주세요.
 */

/** <references/> 관련 CSS **/

ol.references {
   font-size: smaller;
}

/* 선택된 항목에 배경색 씌우기 */
ol.references > li:target, sup.reference:target {
  background-color: #DEF;
}

/** 표 속성 - wikitable, prettytable **/
/* class 이름으로 prettytable보다 wikitable을 사용해주세요. */
table.wikitable,
table.prettytable {
  margin: 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
  white-space: nowrap;
}
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
  font-size: larger;
}

/** .messagebox 스타일 **/
.messagebox {
  border: 1px solid #aaa;
  background: #f9f9f9;
  width: 85%;
  margin: 0 auto 1em auto;
  padding: .2em;
  text-align: justify;
  font-size: smaller;
}
.messagebox.merge {
  border: 1px solid #cf9fff;
  background-color: #f5edf5;
  text-align: center;
}
.messagebox.cleanup {
  border: 1px solid #9f9fff;
  background-color: #efefff;
  text-align: center;
}
.messagebox.standard-talk {
  border: 1px solid #c0c090;
  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 */
}
 
/* 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 */
}

/* Other pages message box styles */
table.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;       /* Default "notice" gray */
    background: #f9f9f9;
}

/** 정보상자 **/
.infobox {
  float: right;
  clear: right;
  margin: 0.5em 0 0.5em 1em;
  padding: 0.2em;
  border: 1px solid #aaa;
  background: #f9f9f9;
  font-size: smaller;
  width: 25em; /* max-width가 더 낫지만 IE7까지 지원을 안 함 */
}
.infobox td,
.infobox th {
  vertical-align: top;
}
.infobox caption {
  font-size: 135%;
  font-weight: bold;
}
.infobox th {
  white-space: nowrap;
  background-color: #eee;
}
.infobox th[colspan="2"] {
  text-align: center;
}
.infobox.bordered {
  border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
  border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
  border: 0;
}
.infobox.sisterproject {
  width: 20em;
  font-size: smaller;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
  border: 0;
  border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
  border: 0;
  border-right: 1px solid #aaa;
}

/* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
.infobox.geography {
  text-align: left;
  border-collapse: collapse;
  line-height: 1.2em;
  font-size: smaller;
}
.infobox.geography  td,
.infobox.geography  th {
  border-top: solid 1px #aaa;
  padding: 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
  border-top: solid 1px #aaa;
  padding: 0.4em 0.6em 0.2em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
  border: 0;
  padding: 0 0.6em 0.2em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
  border-top: 0;
  border-bottom: solid 1px #aaa;
  padding: 0 0.6em 0.4em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
  border: 0;
  padding: 0;
}

/* 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 */
}

/* "notices" 스타일 */
.notice {
  margin: 1em;
  padding: 0.2em;
}

.notice.section {
  width: auto;
  margin: 0 1em 0 1em;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  font-size: smaller;
}
.notice.section + .notice.section {
  margin-top: -1px;
  border-top: 0;
}

#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;
}

/* 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;}

/* 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 {
  font-family: "Charis SIL", "Doulos SIL", Gentium, GentiumAlt, "DejaVu Sans", Code2000, "TITUS Cyberbit Basic", "Arial Unicode MS", "Lucida Sans Unicode", "Chrysanthi Unicode";
  font-family /**/:inherit;
}
.Unicode {
  font-family: Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic", "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit", "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt, "Lucida Grande", "Free Sans", "Arial Unicode MS", "Microsoft Sans Serif", "Lucida Sans Unicode";
  font-family /**/:inherit;
}
.latinx {
  font-family: Code2000, Code2001, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
  font-family /**/:inherit;
}
.polytonic {
  font-family: "Athena Unicode", Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
  font-family /**/:inherit;
}
.mufi {
  font-family: Alphabetum, Cardo, LeedsUni, Junicode, "TITUS Cyberbit Basic", ALPHA-Demo;
}

#wpSave {
  font-weight: bold;
}

.oldhan {
  font-family: Code2000, UnJamoBatang,  자모 바탕, UnBatang,  바탕, sans-serif;
  font-family /**/:inherit;
}
.oldhanyang {
  font-family:한컴바탕,새바탕,한컴돋움,네이버사전;
  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("//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]]에서 가져옴 */

/* Default skin for navigation boxes */
table.navbox {            /* Navbox container style */
  border: 1px solid #aaa;
  width: 100%;
  margin: auto;
  clear: both;
  font-size: 88%;
  text-align: center;
  padding: 1px;
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
  margin-top: -1px;            /* (doesn't work for IE6, but that's okay)       */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
  text-align: center;      /* Title and above/below styles */
  padding-left: 1em;
  padding-right: 1em;
}
.navbox-group {            /* Group style */
  white-space: nowrap;
  text-align: right;
  font-weight: bold;
  padding-left: 1em;
  padding-right: 1em;
}
.navbox, .navbox-subgroup {
  background: #fdfdfd;     /* Background color */
}
.navbox-list {
  border-color: #fdfdfd;   /* Must match background color */
}
.navbox-title,
table.navbox th {
  background: #ccccff;     /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
  background: #ddddff;     /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
  background: #e6e6ff;     /* Level 3 color */
}
.navbox-even {
  background: #f7f7f7;     /* Even row striping */
}
.navbox-odd {
  background: transparent; /* Odd row striping */
}
 
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
    text-align: right;     /* so they can be customised.                */
    width: auto;
}
.navbox .collapseButton {  /* In navboxes, the show/hide button balances */
    width: 6em;            /* the vde links from [[Template:Tnavbar]],   */
}                          /* so they need to be the same width.         */

/* [[위키백과:관리자 요청/2007년 5월#스크립트 추가 요청]]. ctrl+v from en: */
/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    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 {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}

/* [[위키백과:관리자 요청/2007년 11월]] */
/* Prevents line breaks in links; see docs at Template:Nowraplinks */
.nowraplinks a {
  white-space: nowrap;
}

/** 목차에서 특정 단계 이하 제목 숨기기 **/
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 {display:none;}

/** 미디어 시작 틀과 관련된 코드 **/
/* [[위키백과:관리자 요청/2008년 9월]] */
div.listenlist {
  background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
  padding-left: 40px;
}

div.videolist, div.multivideolist {
  background: url("//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 링크 틀 동작을 위한 내용 추가]], 영어 위키백과에서 들여옴. */
span.PDFlink a {
    background: url(//upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
    padding-right: 17px !important;
}

/** 업로드 상자 크기 조정 **/
/* [[위키백과:관리자 요청/2008년 11월#MediaWiki:Common.js 수정 요청]] */
#wpUploadDescription {
  height: 10em;
}

/** 최근 바뀜, 주시 문서 목록에서 "되돌리기" 글자 크기 줄임 **/
/* [[사용자:ITurtle|iTurtle]] ([[사용자토론:ITurtle|토론]]) 2009년 5월 8일 (금) 22:04 (KST) */
.page-특수기능_최근바뀜 .mw-rollback-link,
.page-특수기능_주시문서목록 .mw-rollback-link {font-size: smaller;}

/* 최근 바뀜에서의 편집 관련 표시 작게. Monobook에서 옮김. */
/* ~~~~ */
.minor {
  font-size: smaller;
  color: #808080;
}
.newpage {
  font-size: smaller;
  color: #FF0000;
}
.bot {
  font-size: smaller;
  color: #3CB371;
}

/* 대문에서 특정 요소 숨기기. 스킨 관계없이 공통으로. 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;
}

/* 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) */

/* 편집 요약, 이유의 모양 설정.
 (기울임 대신 글자 크기 약간 작게 하여 구별) */
.comment {
  font-style: normal !important;
  font-size: 9pt;
}

/* 최근 바뀜에서 문서 분량 변경에 색깔 넣기
 (증가는 초록색 감소는 빨간색) */
.mw-plusminus-pos {
  color:green;
}
.mw-plusminus-neg {
  color:red;
}

/* 문서 목록과 주시문서 목록에서 넘겨주기의 모양 설정
 (연한 회색) */
.allpagesredirect a,
.watchlistredir a  {
  color:#888888;
}

/* toccolours 클래스: 일부 틀의 디자인에 사용됨 */
.toccolours {
   border:1px solid #aaaaaa;
   background-color: #f9f9f9;
   padding: 5px;
   font-size: 95%;
}

/* [[파일:Example.jpg|thumb]] 프레임이 붙어 있는 그림의 배경을 하얀색으로 */
div.thumb div a img {
  background-color:#ffffff;
}

/* 넘겨주기 표시 
[[위키백과:사랑방/2010년 제28주#넘겨주기 문서에 분류.]] */
 
/* 분류 내 */
.redirect-in-category a:link,
.redirect-in-category a:visited {
  color:#888888;
}

/*표에 룰오버 효과
[//ko.wikinews.org/w/index.php?title=%EC%9C%84%ED%82%A4%EB%89%B4%EC%8A%A4%3A%EC%82%AC%EB%9E%91%EB%B0%A9&action=historysubmit&diff=6407&oldid=6265]*/
table.hovertr tr:hover { background: #FFCC66;
 }
tr.gris-hover { background: #EFEFEF }
tr.gris-hover:hover { background: #FFCC66; 
}
tr.blanco-hover { background:#FFFFFF }
tr.blanco-hover:hover { background: #FFCC66;
}

/* 대문 */
.page-위키뉴스_대문 #firstHeading { display: none; }

/* </source> */