미디어위키:Common.css: 두 판 사이의 차이

652 바이트 추가됨 ,  2023년 3월 28일 (화)
편집 요약 없음
잔글편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 32개는 보이지 않습니다)
4번째 줄: 4번째 줄:


/*
/*
  * 위키백과 모든 스킨에 적용되는 CSS입니다.
  * 리프위키 모든 스킨에 적용되는 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: Noto Sans CJK, 카이겐고딕, 나눔고딕;
   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 pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
    font-family: JetBrains Mono, 나눔고딕코딩, NanumGothicCoding, monospace, "Courier New" !important;
}
/** 이하 위키미디어 설정 **/


#bodyContent {
#bodyContent {
       font-size: 14px;
       font-size: 15px;
}
}
/* HTML 요소의 기본 스타일. en:에서 가져옴 */
/* HTML 요소의 기본 스타일. en:에서 가져옴 */
30번째 줄: 52번째 줄:
sup, sub {
sup, sub {
     line-height: 1em;    /* <sup>와 <sub>의 줄간격 조절 */
     line-height: 1em;    /* <sup>와 <sub>의 줄간격 조절 */
}
/* Main page fixes */
#interwiki-completelist {
font-weight: bold;
}
}


97번째 줄: 124번째 줄:
   but should be included in the printed version */
   but should be included in the printed version */
@media screen, handheld {
@media screen, handheld {
     .citation *.printonly {
     .citation .printonly {
         display: none;
         display: none;
     }
     }
503번째 줄: 530번째 줄:
/** 정보상자 **/
/** 정보상자 **/
.infobox {
.infobox {
  float: right;
border: 1px solid #a2a9b1;
  clear: right;
border-spacing: 3px;
  margin: 0.5em 0 0.5em 1em;
background-color: #f8f9fa;
  padding: 0.2em;
color: black;
  border: 1px solid #aaa;
/* @noflip */
  background: #f9f9f9;
margin: 0.5em 0 0.5em 1em;
  font-size: small;
padding: 0.2em;
  width: 25em;
/* @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;
vertical-align: top;
}
/* @noflip */
.infobox caption {
text-align: left;
  font-size: 125%;
  font-weight: bold;
}
}


.infobox caption.colored {
.infobox th {
  margin: 0.25em 0 0.5em 0;
white-space: nowrap;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-width: 0.3em;
  border-bottom-width: 0.3em;
/* 제목에 색이 필요할 때 class 지정 후 border-color 스타일 지정 */
}
}


.infobox th {
  white-space: nowrap;
}
.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 #aaa;
border: 1px solid #a2a9b1;
}
}
.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: smaller;
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번째 줄: 591번째 줄:
.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 #a2a9b1;
  border-right: 1px solid #aaa;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
}
.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;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
}


/* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
/* Styles for geography infoboxes, eg countries,
  country subdivisions, cities, etc.           */
.infobox.geography {
.infobox.geography {
  text-align: left;
border-collapse: collapse;
  border-collapse: collapse;
line-height: 1.2em;
  line-height: 1.2em;
font-size: 90%;
  font-size: smaller;
}
}
.infobox.geography  td,
.infobox.geography  td,
.infobox.geography  th {
.infobox.geography  th {
  border-top: solid 1px #aaa;
border-top: 1px solid #a2a9b1;
  padding: 0.4em 0.6em;
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: solid 1px #aaa;
border-top: 1px solid #a2a9b1;
  padding: 0.4em 0.6em 0.2em;
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;
border: 0;
  padding: 0 0.6em 0.2em;
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-top: 0;
  border-bottom: solid 1px #aaa;
border-bottom: 1px solid #a2a9b1;
  padding: 0 0.6em 0.4em;
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;
border: 0;
  padding: 0;
padding: 0;
}
}


644번째 줄: 687번째 줄:
#wpSave {
#wpSave {
   font-weight: bold;
   font-weight: bold;
}
/*[[미디어위키토론:Common.css#.jamocomposed_block 수정]]-Request by Banwol, added by 분당선M*/
.jamocomposed_block {
font-family: '함초롬돋움 LVT', 'HCR Dotum LVT', '함초롬바탕 LVT', 'HCR Batang LVT', '본고딕', 'Source Han Sans K', '본고딕 KR', 'Source Han Sans KR', 'Noto Sans CJK KR', '나눔바른고딕 옛한글', 'NanumBarunGothic YetHangul', '나눔명조 옛한글', 'NanumMyeongjo YetHangul', '은 바탕', 'Un Batang', '돋움 옛한글', 'Dotum Old Hangul', '바탕 옛한글', 'Batang Old Hangul', '굴림 옛한글', 'NewGulim Old Hangul', '궁서 옛한글', 'Gungsuh Old Hangul', '맑은 고딕', 'Malgun Gothic', '함초롬돋움', 'HCR Dotum', '함초롬바탕', 'HCR Batang', Code2000;
}
.oldhanyang {
  font-family: "New Gulim", "새굴림", "새돋움", "한컴돋움", "Naver Dictionary", "네이버사전", "Haansoft Batang", "한컴바탕", "새바탕";
}
}


803번째 줄: 837번째 줄:


/* [[위키백과:관리자 요청/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;
margin: 0;
  padding: 4px;
padding: 4px;
  border: 1px solid #aaa;
border: 1px solid #a2a9b1;
  text-align: center;
text-align: center;
  border-collapse: collapse;
border-collapse: collapse;
  font-size: 95%;
font-size: 95%;
}
}
div.NavFrame + div.NavFrame {
div.NavFrame + div.NavFrame {
  border-top-style: none;
border-top-style: none;
  border-top-style: hidden;
border-top-style: hidden;
}
div.NavPic {
  background-color: #fff;
  margin: 0;
  padding: 2px;
  float: left;
}
}
div.NavFrame div.NavHead {
div.NavFrame div.NavHead {
  height: 1.6em;
line-height: 1.6em;
  font-weight: bold;
font-weight: bold;
  background-color: #ccf;
background-color: #ccf;
  position: relative;
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%;
font-size: 100%;
}
div.NavEnd {
  margin: 0;
  padding: 0;
  line-height: 1px;
  clear: both;
}
}
a.NavToggle {
a.NavToggle {
  position: absolute;
position: absolute;
  top: 0;
top: 0;
  right: 3px;
/* @noflip */
  font-weight: normal;
right: 3px;
  font-size: 90%;
font-weight: normal;
font-size: 90%;
}
}


867번째 줄: 892번째 줄:
.toclimit-7 .toclevel-7 {
.toclimit-7 .toclevel-7 {
   display:none;
   display:none;
}
/* {{가로 목차}} 틀 사용 시 세로로 출력되는 문제 수정 (크롬/오페라)
영어 위키백과에서 가져옴 Ykhwong 2015년 12월 4일 */
.hlist .tocnumber,
.hlist .toctext {
    display: inline;
}
}


1,001번째 줄: 1,019번째 줄:
.unpatrolled {
.unpatrolled {
   font-size: smaller;
   font-size: smaller;
}
/* 대문에서 특정 요소 숨기기. 스킨 관계없이 공통으로. 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;
}
}


1,024번째 줄: 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); }
/* 지리 좌표 기본값. 이들이 어떻게 쓰이는지에 대해서는 [[틀:Coord/link]] 참고.
  "geo", "longtitude", "latitude" 클래스는 Geo 마이크로포맷이 사용함.
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; }


/* 미디어 자료 관련 */
/* 미디어 자료 관련 */
1,057번째 줄: 1,058번째 줄:
/* toccolours 클래스: 일부 틀의 디자인에 사용됨 */
/* toccolours 클래스: 일부 틀의 디자인에 사용됨 */
.toccolours {
.toccolours {
   border:1px solid #aaaaaa;
   border: solid #a0a0a0;
  border-width: 1.5px 0 1.5px 0;
   background-color: #f9f9f9;
   background-color: #f9f9f9;
   padding: 5px;
   padding: 5px;
1,322번째 줄: 1,324번째 줄:
.wikitable.hlist td dl {
.wikitable.hlist td dl {
     text-align: inherit;
     text-align: inherit;
}
/* [[틀:보존문서 안내문2]]용 class. 2015-3-17 IRTC1015 */
.archiveHeader2 {
clear: right;
float: right;
border: 1px solid #a7d7f9;
margin: 0 0 1.4em 0.5em;
padding: 0.5em;
border-spacing: 0;
-moz-border-radius: 0.5em;
-webkit-border-radius: 0.5em;
border-radius:0.5em; font-size:small;
background-color:#FFFFFF;
}
.archiveHeader2 .mw-ui-input-inline {
    min-width: 0;
    width: 12em;
}
}


1,416번째 줄: 1,399번째 줄:
#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;
}
}
}