Loading AI tools
위키백과, 무료 백과사전
Common.css는 위키백과에서 사용하는 CSS 파일입니다. 이 파일은 모든 스킨에 공통적으로 사용됩니다. 자세한 내용은 위키백과:위키프로젝트 시스템을 참고해주세요.
위키 메시지는 소프트웨어 설정상 기본적으로 보호됩니다. 이 문서는 관리자만이 편집 가능합니다. 만약 이 문서를 편집해야 한다면, 보호 편집 요청을 해 주세요. |
Title | Name | Etc |
---|---|---|
a | b | c |
Title | Name | Etc |
---|---|---|
a | b | c |
name | infobox |
---|---|
location | wikipedia |
/** 로고 변경 **/
#p-logo a, #p-logo a:hover {
background: url(http://......png) 35% 50% no-repeat !important;
}
위 방법으로 위키백과 로고를 15만 기념로고로 변경하였음을 기록해둡니다(m:Wikibooks/Logo/Update 참조). 제보해주신 Kwj2772님께서 감사드립니다. 기본 로고로 바꾸려면 본문에서 위 4줄을 삭제하면 됩니다. --김정정민(JM) (토론) 2010년 12월 15일 (수) 22:11 (KST)
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
.wikitable 클래스가 미디어위키에 내장되었습니다. 더이상 common.css에 유지할 필요가 없으니 제거해 주시기 바랍니다. prettytable 클래스는 wikitable로 바꾸어 두었습니다. Kwj2772 (msg) 2011년 2월 24일 (목) 21:45 (KST)
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
/* Babel */
.mw-babel-box-level-N {
display: none;
}
div.mw-babel-box table th {
font-family: sans-serif;
font-size:14pt;
text-align:center;
width:45px;
height:45px;
}
div.mw-babel-box table td {
font-size:8pt;
padding:4pt;
line-height:1.25em;
}
div.mw-babel-box-N {
float: left;
border:solid #6EF7A7 1px;
margin:1px;
}
div.mw-babel-box-4 {
float:left;
border:solid #77E0E8 1px;
margin:1px;
}
div.mw-babel-box-3 {
float:left;
border:solid #99B3FF 1px;
margin:1px;
}
div.mw-babel-box-2 {
float:left;
border:solid #BCB9EF 1px;
margin:1px;
}
div.mw-babel-box-1 {
float:left;
border:solid #E0C0E0 1px;
margin:1px;
}
div.mw-babel-box-0 {
float:left;
border:solid #FFB3B3 1px;
margin:1px;
}
div.mw-babel-box-N table {
background: #C5FCDC;
}
div.mw-babel-box-4 table {
background: #D0F8FF;
}
div.mw-babel-box-3 table {
background: #E0E8FF;
}
div.mw-babel-box-2 table {
background: #E9E5F9;
}
div.mw-babel-box-1 table {
background: #F3E0F3;
}
div.mw-babel-box-0 table {
background: #FFE0E8;
}
div.mw-babel-box-N table th {
background: #6EF7A7;
}
div.mw-babel-box-4 table th {
background: #77E0E8;
}
div.mw-babel-box-3 table th {
background: #99B3FF;
}
div.mw-babel-box-2 table th {
background: #BCB9EF;
}
div.mw-babel-box-1 table th {
background: #E0C0E0;
}
div.mw-babel-box-0 table th {
background: #FFB3B3;
}
바벨 확장 기능으로 만들어지는 상자의 스타일을 원래 있던 틀과 맞추어 보았습니다. 위 코드를 추가해주세요. Kwj2772 (msg) 2011년 11월 8일 (화) 00:22 (KST)
Hello, we have noticed that after the deployment of MediaWiki 1.20wmf1 an old local customised diff style has not been removed from this page. 1.20 brings a new, greatly improved diff style which is no longer compatible with older customisations. To prevent the new release from worsening rather than improving your diffs, a global interface editor has agreed to help you by removing the old code in a week from now unless you object. You'll then be able to see if the new style suits you or needs a new customisation. I hope this helps, Nemo bis (토론) 2012년 8월 6일 (월) 05:56 (KST)
지금 틀:Link GA에서 쓰고 있는 그림을 파일:Monobook-bullet-ga.png에서 파일:Monobook-bullet-star-ga.png로 교체할 것을 제안해 봅니다. 각 언어판에서도 실제로 자국어판에서 쓰이고 있는 별 모양을 채택하는 경우가 많고, 현재 틀:Link FA에 쓰고 있는 파일:Monobook-bullet-star.png과도 통일성이 있습니다. --관인생략 토론·기여 2013년 4월 16일 (화) 11:41 (KST)
.jamocomposed_block이 유니코드 5.2에 새로 포함된 자모를 포함하지 않는 '돋움/바탕/굴림 옛한글'을 1순위로 지정하고 있어 유니코드 5.2 자모를 {{첫가끝}}을 사용하여 쓰는 데 애를 먹고 있습니다. 또한 '은 자모 바탕 확장'은 구할 수 없는 글꼴이 된 지 오래고요. Code2000 또한 오래된 글꼴이라 유니코드 5.2 자모가 없습니다. Code2001/2002는 한글 부분이 전무한 글꼴이고요. 또한 요즘은 '한/글 2010'을 사용하는 사람이 늘어 함초롬체가 설치된 컴퓨터도 늘어나고 있습니다. 함초롬체 또한 유니코드 5.2 한글 자모를 지원합니다. 하지만 마이크로소프트의 옛한글 글꼴을 지우기에는 완성자가 예쁘게 나옵니다. {{첫가끝2}}(유니코드 5.2 자모 지원)를 새로 만들고, 이에 해당하는 class를 새로 하나 만드는 건 어떨까요? 찾아보니, '은 자모 바탕'이 오래 된지라 누락된 자모가 있습니다. '은 바탕' - '함초롬돋움' - '함초롬바탕'으로 된 새 class를 만드는 것을 제안합니다. 원래 .jamocomposed_block에는 함초롬돋움과 함초롬바탕을 추가하는 정도로 하면 좋겠습니다. -半月 (ㅌ·ㅁ) 2013년 9월 29일 (일) 12:34 (KST)
의견 정리:
.jamocomposed_block { font-family: '돋움 옛한글', 'Dotum Old Hangul', '바탕 옛한글', 'Batang Old Hangul', '궁서 옛한글', 'Gungsuh Old Hangul', '굴림 옛한글', 'NewGulim Old Hangul', '은 자모 바탕 확장', 'Un Jamo Batang Ex', 'UnJamoBatangEx', '은 자모 바탕', 'Un Jamo Batang', 'UnJamoBatang', '은 바탕', 'Un Batang', 'UnBatang', Code2002, Code2001, Code2000; }
를
.jamocomposed_block { font-family: '돋움 옛한글', 'Dotum Old Hangul', '바탕 옛한글', 'Batang Old Hangul', '궁서 옛한글', 'Gungsuh Old Hangul', '굴림 옛한글', 'NewGulim Old Hangul', '은 자모 바탕 확장', 'Un Jamo Batang Ex', 'UnJamoBatangEx', '은 자모 바탕', 'Un Jamo Batang', 'UnJamoBatang', '은 바탕', 'Un Batang', 'UnBatang', '함초롬돋움', '함초롬바탕', Code2000; } .jamocomposed_block_ext { font-family: '은 바탕', 'Un Batang', 'UnBatang', '함초롬돋움', '함초롬바탕', Code2000; }
로 수정하자는 것입니다.
-半月 (ㅌ·ㅁ) 2013년 9월 29일 (일) 12:38 (KST)
.jamocomposed_block { font-family: '함초롬돋움 LVT', 'HCR Dotum LVT', '함초롬바탕 LVT', 'HCR Batang LVT', '은 돋움', 'Un Dotum', '은 바탕', 'Un Batang', '맑은 고딕', 'Malgun Gothic', '돋움 옛한글', 'Dotum Old Hangul', '바탕 옛한글', 'Batang Old Hangul', '굴림 옛한글', 'NewGulim Old Hangul', '궁서 옛한글', 'Gungsuh Old Hangul'; }
이렇게 하면 괜찮으리라 생각합니다. 유니코드 5.2 옛한글을 지원하는 글꼴들을 지원하지 않는 글꼴보다 앞에 넣는 게 낫다고 생각합니다. 그런데 맑은 고딕은 윈도 8/8.1에서만 옛한글을 지원하는지라··· -半月 (ㅌ·ㅁ) 2014년 1월 18일 (토) 20:06 (KST)
'Noto Sans Korean', 'Noto Sans CJK', 'Source Han Sans' 추가 부탁합니다. 함초롬 LVT 뒤가 좋을 듯하네요. 그리고 은 돋움을 Code2000 근처로 빼 주세요. 오늘 확인해 보니 한글 5.2 자모가 아예 없더군요. (은 바탕은 있습니다) -banwol (ㅌ·ㅁ) 2014년 8월 24일 (일) 15:45 (KST)
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
문단 새로 팝니다.
.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; }
은 돋움은 미완성이라 뺐고, 요즘 새로 나온 옛한글 글꼴들 추가했습니다. ( 맑은 고딕, 나눔옛한글, 본고딕/Noto KR(사실상 같습니다), 함초롬 LVT를 테스트했습니다. 본고딕/Noto KR는 그냥 ClearType과 잘 안 맞는 것이지 글자 자체는 제대로 잘 나옵니다. 나눔옛한글은 ꥼ 조합 처리 빼고는 다 잘 되는 듯하고요.) 그럼 수정 요청하겠습니다. -반월 (ㅌ·ㅁ) 2014년 10월 3일 (금) 23:30 (KST)
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
.infobox th {
white-space: nowrap;
}
정보상자 css에 해당 부분이 있는데 해당 부분을 지우는 것이 다음과 같이 표가 더욱 깔끔합니다. 이미지--Namoroka (토론) 2015년 1월 15일 (목) 19:34 (KST)
/** 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;
}
현재는 위와 같이 되어있으나 아래와 같이 바꾸면 굳이 틀:PDF 링크를 쓰지 않더라도 PDF 아이콘이 생깁니다.
/* PDF 아이콘 추가 */
#content span.PDFlink a,
#mw_content span.PDFlink a {
background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center right no-repeat;
padding-right: 18px;
}
--Namoroka (토론) 2015년 2월 7일 (토) 23:10 (KST)
div#content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
/* @noflip */
padding-right: 18px;
}
$=
나 *=
를 쓴 셀렉터는 부하 측면에서 별로 바람직하지는 않지 않나요? 일반적인 PC라면야 큰 부담은 아니겠지만 다른 장치에서 열람할 경우도 고려해야 한다고 봅니다. - IRTC1015 2015년 2월 8일 (일) 01:34 (KST)
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
/* hidden sortkey for tablesorter */
td .sortkey,
th .sortkey {
display: none;
speak: none;
}
틀:이름정렬과 같은 틀에서 쓰기 위한 sortkey라는 이름의 class가 필요합니다. 이 틀 말고도 다른 정렬 틀 등에서 유용하게 쓰기 위해 추가하면 좋을 것 같습니다.--Namoroka (토론) 2015년 4월 12일 (일) 17:41 (KST)
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
/* Pie chart test: Transparent borders */
.transborder {
border: solid transparent;
}
* html .transborder { /* IE6 */
border: solid #000001;
filter: chroma(color=#000001);
}
틀:원 도표 구현을 위해 필요한 코드입니다. Namoroka (토론) 2015년 7월 31일 (금) 15:45 (KST)
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
/* 선택된 항목에 배경색 씌우기 */
span.citation:target {
background-color: #DEF;
}
↓
/* 선택된 항목에 배경색 씌우기 */
body.action-info :target,
.citation:target {
background-color: #DEF; /* Fallback */
background-color: rgba(0, 127, 255, 0.133);
}
인용 틀이 업데이트 되면서 새로 수정된 부분입니다.
/* Styling for the title of any work within a citation,
or specifically the title of a periodical. */
.citation cite,
.citation cite.periodical {
font-style: italic;
}
이 부분은 인용 틀 사용 시 불필요하게 이탤릭체를 적용시킵니다. 삭제해주세요.--Namoroka (토론) 2015년 12월 15일 (화) 21:13 (KST)
본명조가 출시되었으니, .jamocomposed_block의 'Noto Sans CJK KR',
의 뒷부분에
'본명조', 'Source Han Serif K', '본명조 KR', 'Source Han Serif KR', 'Noto Serif CJK KR',
를 추가해주시면 좋을 것 같습니다. — int exosDelphinus = 2147483647; 2017년 5월 8일 (월) 22:54 (KST)
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
.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;
}
보이기/숨기기 버튼 생성 시 왼쪽에 여백이 없어서 모양이 예쁘지 않게 나옵니다. 따라서 위 코드를 아래 영어 위키백과의 코드와 동일하게 바꾸어 주세요. 아니면 그냥 margin-left: 0.5em;
만 추가해도 됩니다.
/* CollapsibleTables 자바스크립트로 만드는 보이기/숨기기 버튼 모양 */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
--Namoroka (토론) 2018년 1월 12일 (금) 23:53 (KST)
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
다음과 같은 내용 추가를 요청합니다:
@font-face
{font-family: "NanumGothic_Online";
font-style: normal;
font-weight: 400;
src: url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-Regular.eot);
src: url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-Regular.eot?#iefix) format("embedded-opentype"),
url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-Regular.woff2) format("woff2"),
url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-Regular.woff) format("woff"),
url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-Regular.ttf) format("truetype");}
@font-face
{font-family: "NanumGothic_Online";
font-style: normal;
font-weight: 700;
src: url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-Bold.eot);
src: url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-Bold.eot?#iefix) format("embedded-opentype"),
url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-Bold.woff2) format("woff2"),
url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-Bold.woff) format("woff"),
url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-Bold.ttf) format("truetype");}
@font-face
{font-family: "NanumGothic_Online";
font-style: normal;
font-weight: 800;
src: url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-ExtraBold.eot);
src: url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-ExtraBold.eot?#iefix) format("embedded-opentype"),
url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-ExtraBold.woff2) format("woff2"),
url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-ExtraBold.woff) format("woff"),
url(http://fonts.gstatic.com/ea/nanumgothic/v5/NanumGothic-ExtraBold.ttf) format("truetype");}
*
{font-family: "NanumGothic_Online","NanumGothic","나눔고딕","Malgun Gothic","맑은 고딕","Segoe UI","sans-serif";}
- PlavorSeol | T | C 2018년 6월 26일 (화) 23:26 (KST)
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
<math dispaly="block">...</math>
를 지금처럼 가운데 정렬하는 대신 기존의 :<math>...</math>
의 스타일(왼쪽 정렬, 들여쓰기)과 일치시키기 위해 아래 내용을 추가해 주실 것을 요청합니다. 관련 논의: phab:T122103, 출처: en:MediaWiki:Common.css
/* 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;
}
.mwe-math-mathml-display math {
display: inline;
}
慈居 (토론) 2019년 10월 21일 (월) 08:10 (KST)
완료 --ted (토론) 2019년 11월 1일 (금) 08:37 (KST)
추가된 내용 중 일부인
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-top: 0.6em;
margin-bottom: 0.6em;
}
삭제를 추가 요청합니다. 제 생각에 이 간격은 기존에 비해 너무 큽니다. 저의 작업 환경에서는 <math display="block">
로 된 공식과 상, 하측 내용 사이의 간격이 기존의 :<math>
와 같으려면 margin-top, margin-bottom 모두 (기본 설정과 같은) 0이어야 합니다. 특수:내사용자문서/common.css에
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-top: 0;
margin-bottom: 0;
}
를 추가하고, 다음의 코드를 임의의 문서에 삽입하여 테스트해 보실 수 있습니다.
<!-- <math display="block"> -->
상측 내용
<math display="block">\text{math formula}</math>
하측 내용
<!-- :<math> -->
상측 내용
:<math>\text{math formula}</math>
하측 내용
이 편집 요청은 검토되었습니다. 요청을 재활성화하려면 |처리= 변수를 지워주세요. |
/** 로고 변경; 50만 문서 기념으로 7월 4일까지 **/ .mw-wiki-logo { background-image: url('//upload.wikimedia.org/wikipedia/commons/d/d4/Wikipedia-logo-ko-500000.png') !important; } /** 여기까지 요청사항 **/
기념 행사가 종료되는 7월 5일에 제거바랍니다.--*Youngjin (토론) 2020년 6월 15일 (월) 18:30 (KST)
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.