미디어위키:Common.css: 두 판 사이의 차이
잔글편집 요약 없음 |
잔글 (업데이트) |
||
30번째 줄: | 30번째 줄: | ||
sup, sub { | sup, sub { | ||
line-height: 1em; /* <sup>와 <sub>의 줄간격 조절 */ | line-height: 1em; /* <sup>와 <sub>의 줄간격 조절 */ | ||
} | |||
/* Main page fixes */ | |||
#interwiki-completelist { | |||
font-weight: bold; | |||
} | } | ||
97번째 줄: | 102번째 줄: | ||
but should be included in the printed version */ | but should be included in the printed version */ | ||
@media screen, handheld { | @media screen, handheld { | ||
.citation | .citation .printonly { | ||
display: none; | display: none; | ||
} | } | ||
503번째 줄: | 508번째 줄: | ||
/** 정보상자 **/ | /** 정보상자 **/ | ||
.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 | .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; | |||
} | } | ||
555번째 줄: | 569번째 줄: | ||
.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; | |||
} | } | ||
644번째 줄: | 665번째 줄: | ||
#wpSave { | #wpSave { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
803번째 줄: | 815번째 줄: | ||
/* [[위키백과:관리자 요청/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%; | |||
} | } | ||
867번째 줄: | 870번째 줄: | ||
.toclimit-7 .toclevel-7 { | .toclimit-7 .toclevel-7 { | ||
display:none; | display:none; | ||
} | } | ||
1,001번째 줄: | 997번째 줄: | ||
.unpatrolled { | .unpatrolled { | ||
font-size: smaller; | font-size: smaller; | ||
} | } | ||
1,024번째 줄: | 1,011번째 줄: | ||
#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); } | ||
/* 미디어 자료 관련 */ | /* 미디어 자료 관련 */ | ||
1,322번째 줄: | 1,301번째 줄: | ||
.wikitable.hlist td dl { | .wikitable.hlist td dl { | ||
text-align: inherit; | text-align: inherit; | ||
} | } | ||
1,416번째 줄: | 1,376번째 줄: | ||
#localNotice ul { | #localNotice ul { | ||
list-style-position: inside; | 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; | |||
} | |||
} | } |