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

위키백과, 우리 모두의 백과사전.
내용 삭제됨 내용 추가됨
피첼 (토론 | 기여)
피첼(토론)의 2521324판 편집을 되돌림
최담담 (토론 | 기여)
잔글 하늘색 배경 부분 영어판 기반으로 변경(탭 배경색이 바뀌지 않는 문제 등 개선되도록)
1번째 줄: 1번째 줄:
/* <nowiki> */
/* <pre><nowiki> */


/* BEGIN LIGHT BLUE SECTION
/* 토론 페이지의 바탕 색깔을 연한 파란색으로 */
사전 항목을 제외한 모든 문서의 배경을 하늘색으로 지정. 탭의 배경과 다른 개체에도 적용됨. */
.ns-1 * #content,
/* from en:MediaWiki:Monobook.css */
.ns-3 * #content,
.ns-5 * #content,
#content,
#p-cactions li a:hover, #p-cactions li.selected a,
.ns-6 * #content,
#content div.thumb { /* 그림 썸네일, 갤러리의 여백 */
.ns-7 * #content,
background-color: #F8FCFF; /* 하늘색 */
.ns-8 * #content,
.ns-9 * #content,
.ns-11 * #content,
.ns-13 * #content,
.ns-15 * #content,
.ns--1 * #content {
background-color: #fafaff;
}
}
#p-cactions li a {
background-color: #F7F9FB; /* 비활성 탭에 어두운 하늘색 */
}

.ns-0 #content,
.ns-0 #p-cactions li a:hover, .ns-0 #p-cactions li.selected a,
.ns-0 #content div.thumb {
background-color: white; /* 사전 항목은 흰색으로 되돌림 */
}
.ns-0 #p-cactions li a {
background-color: #FBFBFB; /* 비활성 탭에 어두운 하늘색 */
}

@media print {
#content { background: white; } /* 인쇄시 배경 흰색 */
}

/* 분류 목록과 변경사항 배경색 흰색 대신 상속받도록(투명) */
#mw-subcategories table, #mw-pages table,
table.diff, td.diff-otitle, td.diff-ntitle {
background-color: transparent;
}
/* END LIGHT BLUE SECTION */


/* 문서 제목 밑의 ‘위키백과 ― 우리 모두의 백과사전.’ 모양 조절 */
/* 문서 제목 밑의 ‘위키백과 ― 우리 모두의 백과사전.’ 모양 조절 */
#siteSub {
#siteSub {
display: inline;
display: inline;
font-size: small;
font-size: small;
font-weight: normal;
font-weight: normal;
}
}
#bodyContent #siteSub a {
#bodyContent #siteSub a {
51번째 줄: 68번째 줄:
/* 차이 보기의 글자 크기 조절. */
/* 차이 보기의 글자 크기 조절. */
td.diff-addedline, td.diff-deletedline, td.diff-context {
td.diff-addedline, td.diff-deletedline, td.diff-context {
font-size: 85%;
font-size: 85%;
color: inherit;
color: inherit;
}
}


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


/* 한국어 글꼴에 맞춰 글자 크기 조절
/* 한국어 글꼴에 맞춰 글자 크기 조절(118% 증가) */
(118% 증가) */
#bodyContent {
#bodyContent {
font-size:118%;
font-size:118%;
118번째 줄: 134번째 줄:
#footer,
#footer,
div.thumb div {
div.thumb div {
font-size: 95%;
font-size: 95%;
}
}
h2 {
h2 {
font-weight: bold;
font-weight: bold;
}
}


196번째 줄: 212번째 줄:
/* 링크 냅두면 가만히 가리키면 밑줄 */
/* 링크 냅두면 가만히 가리키면 밑줄 */
.portlet a {
.portlet a {
text-decoration: none;
text-decoration: none;
}
}
.portlet a:hover {
.portlet a:hover {
text-decoration: underline;
text-decoration: underline;
}
}


237번째 줄: 253번째 줄:
}
}


/* </nowiki> */
/* </nowiki></pre> */

2008년 11월 16일 (일) 20:14 판

/* <pre><nowiki> */

/* BEGIN LIGHT BLUE SECTION
   사전 항목을 제외한 모든 문서의 배경을 하늘색으로 지정. 탭의 배경과 다른 개체에도 적용됨. */
/* from en:MediaWiki:Monobook.css */
#content,
#p-cactions li a:hover, #p-cactions li.selected a,
#content div.thumb {    /* 그림 썸네일, 갤러리의 여백 */
    background-color: #F8FCFF;   /* 하늘색 */
}
#p-cactions li a {
    background-color: #F7F9FB;   /* 비활성 탭에 어두운 하늘색 */
}

.ns-0 #content,
.ns-0 #p-cactions li a:hover, .ns-0 #p-cactions li.selected a, 
.ns-0 #content div.thumb {
    background-color: white;     /* 사전 항목은 흰색으로 되돌림 */
}
.ns-0 #p-cactions li a {
    background-color: #FBFBFB;   /* 비활성 탭에 어두운 하늘색 */
}

@media print {
    #content { background: white; } /* 인쇄시 배경 흰색 */
}

/* 분류 목록과 변경사항 배경색 흰색 대신 상속받도록(투명) */
#mw-subcategories table, #mw-pages table,
table.diff, td.diff-otitle, td.diff-ntitle {
    background-color: transparent;
}
/* END LIGHT BLUE SECTION */

/* 문서 제목 밑의 ‘위키백과 ― 우리 모두의 백과사전.’ 모양 조절 */
#siteSub {
  display: inline;
  font-size: small;
  font-weight: normal;
}
#bodyContent #siteSub a {
  color: #000;
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  padding-right: 0;
}

/* 새내기들을 위해 윗부분 '편집' 버튼의 글씨를 언제나 굵게 */
#ca-edit a {
  font-weight: bold !important;
}

/* 인쇄용 문서에서 일부 객체를 숨김 */
@media print {
  .editlink, .noprint, .metadata, .dablink {
    display: none;
  }
}

/* 차이 보기에서 변화한 부분 모양 조절.
  (회색 점선의 사각형으로 둘러쌈)  */ 
.diffchange {
  background-color: inherit;
  border: 1px dotted #888888;
}

/* 차이 보기의 글자 크기 조절. */
td.diff-addedline, td.diff-deletedline, td.diff-context {
  font-size: 85%;
  color: inherit;
}

/* 로그인 상자의 모양 조절. */
#pt-login {
  font-weight: bold;
  font-size: 110%;
}
form#userlogin {
  float: left;
  padding: 1em 1em .7em 1em;
  background-color: #ffffe6;
  border: 2px solid #fc6;
  color: #000;
  margin-right: 2em;
}
form#userlogin table {
  background-color: #ffffe6;
  color: #000;
}
form#userlogin2 {
  float: left;
  padding: 1em 1em .7em 1em;
  background-color: #ffffe6;
  border: 2px solid #fc6;
  color: #000;
  margin-right: 2em;
}
form#userlogin2 table {
  background-color: #ffffe6;
  color: #000;
}

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

/* plainlinks 클래스: 링크 옆의 아이콘을 없애줌 */
#bodyContent .plainlinks a {
  padding: 0 !important;
}

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

/* 한국어 글꼴에 맞춰 글자 크기 조절(118% 증가) */
#bodyContent {
  font-size:118%;
}

/* 글자 크기 조절 */
.portlet h5,
.portlet ul,
#toc .toctoggle {
    font-size: 100%;
}
.pBody,
#footer,
div.thumb div {
  font-size: 95%;
}
h2 { 
  font-weight: bold;
}

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

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

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

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

/* 대문에서 특정 요소를 숨김 */
body.page-위키백과_대문 #t-cite,
body.page-위키백과_대문 #lastmod,
body.page-위키백과_대문 #siteSub,
body.page-위키백과_대문 #contentSub,
body.page-위키백과_대문 h1.firstHeading {
  display: none !important;
}

/* [[MediaWiki:Edittools]] 편집 입력 도구의 버튼 */
.my-buttons {
  padding: 0.5em;
}
.my-buttons a {
  color: black;
  background-color: #ccddee !important;
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
  border: thin #006699 outset;
  padding: 0 0.1em 0.1em 0.1em;
}
.my-buttons a:hover, .my-buttons a:active {
  background-color: #bbccdd;
  border-style: inset;
}
#editpage-specialchars a {
  text-decoration: none;
}
#editpage-specialchars a:hover {
  text-decoration: underline;
}

/* 링크 냅두면 가만히 가리키면 밑줄 */
.portlet a {
  text-decoration: none;
}
.portlet a:hover {
  text-decoration: underline;
}

/* 펀드레이징 드라이브 중에 기부 링크 표시
 (정확한 용도 불명) */
#siteNotice {
  margin-top: 5px;
  font-style: normal;
  text-align: center;
}

/* 이하 용도 및 목적 불명 */
#p-nav h5 {
   display: none;
}
#p-nav .pBody {
   padding-right: 0;
}
#p-nav a {
   display: block;
   width: 100%;
}
#spoken {
  position: absolute;
  float: right;
  text-align: right;
  font-size: 90%;
  right: 0;
  z-index: 1;
  background: none;
  border-bottom-style: none;
  top: -2.2em;
  display: block !important;
}
p.error {
  font-weight: bold;
}

/* </nowiki></pre> */