미디어위키:Common.css: 두 판 사이의 차이
내용 삭제됨 내용 추가됨
잔글 30->20 trial |
잔글 width 다시, 25em |
||
84번째 줄: | 84번째 줄: | ||
clear: right; |
clear: right; |
||
font-size: smaller; |
font-size: smaller; |
||
width: |
width: 25em; /* max-width가 더 낫지만 IE7까지 지원을 안 함 */ |
||
} |
} |
||
.infobox td, |
.infobox td, |
2008년 12월 21일 (일) 19:21 판
/*
* 위키백과 모든 스킨에 적용되는 CSS입니다.
* [[위키백과:위키프로젝트 시스템]] 참고
*
* 정리가 필요한 부분에는 XXX를 달아주세요.
*/
/** <references/> 관련 CSS **/
/* references 부분은 글자 크기 작게. */
ol.references {
font-size: 85%;
}
/* 선택된 항목에 배경색 씌우기 */
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 #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa 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 #aaaaaa;
background-color: #f9f9f9;
width: 85%;
margin: 0 auto 1em auto;
padding: .2em;
text-align: justify;
font-size: 80%;
}
.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;
}
/** 정보상자 **/
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
margin-bottom: 0.5em;
margin-left: 1em;
padding: .2em;
float: right;
clear: right;
font-size: smaller;
width: 25em; /* max-width가 더 낫지만 IE7까지 지원을 안 함 */
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
font-weight: bold;
border: 1px solid #aaaaaa;
border-bottom: 0;
}
.infobox th, .infobox caption {
background-color: #ccc;
white-space: nowrap;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
@media print {
.infobox.sisterproject {
display: none;
}
}
/* 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: 90%;
}
.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;
}
/* Style for "notices" */
.notice {
margin: 1em;
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: 85%;
}
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("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]]. */
.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;
}
/* Removes useless links from printout */
@media print {
#privacy, #about, #disclaimer {display: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: 90%;
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) */
}
@media print {
.navbox {
display: none;
}
}
/* [[위키백과:관리자 요청/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: 95%;
}
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: #ccccff;
position:relative;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
font-size: 100%;
}
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;
}
/* NavFrame 여기까지 */
/* [[위키백과:관리자 요청/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");
}
/** 목차에서 특정 단계 이하 제목 숨기기 **/
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {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: 91%;
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(http://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;
}
/****************************************************************************/
/** XXX 정체불명. **/
.same-bg { background: none }
/****************************************************************************/
/*
여기에 정의된 css는 [[위키백과:위키프로젝트 시스템]]에서 사용하는 css입니다.
테스트용 css로, 언제든지 바뀌거나 삭제될 수 있습니다.
일반 문서에는 사용하지 말아 주시기 바랍니다.
*/
table.test_infobox, table.정보상자 {
clear: right;
width: 20em;
border-top: 5px solid gray;
border-bottom: 5px solid gray;
border-collapse:collapse;
width:20em;
float:right;
margin-left:1em;
margin-bottom:1em;
line-height:1.6;
}
table.test_infobox caption, table.정보상자 caption {
font-size: larger;
font-weight:bold;
}
table.test_infobox td, table.test_infobox th,
table.정보상자 td, table.정보상자 th {
vertical-align: top;
font-size: 85%;
}
table.test_infobox th, table.정보상자 th {
}
table.test_infobox tr.test_header th,
table.정보상자 tr.중간제목 th /*, table.정보상자 th.중간제목*/ { /* 둘 다 허용? */
text-align: center;
border-top:1px solid gray;
border-bottom:1px solid gray;
}
table.test_infobox tr:not(.test_header) th,
table.정보상자 tr:not(.중간제목) th { /* css3 */
border-right: 1px solid gray;
}
/* 새 CSS를 추가하려면 테스트용 코드 위에 붙여주세요 */