문서 편집 권한이 없습니다. 다음 이유를 확인해주세요: 이 문서는 이 위키의 소프트웨어 인터페이스에 쓰이는 문서로, 부정 행위를 막기 위해 보호되어 있습니다. 모든 위키에 대한 번역을 추가하거나 바꾸려면 미디어위키 지역화 프로젝트인 translatewiki.net에 참여하시기 바랍니다.모든 방문자에 영향을 미칠 수 있기 때문에 이 CSS를 편집할 권한이 없습니다. 문서의 원본을 보거나 복사할 수 있습니다. /** * 틀 관련 스타일링 * * 작성자: wiki-chan.net * 저작권: CC-BY-SA 3.0 */ /* 상태 ----------------------------------------*/ .is-hidden { display: none; } /* 테마 ----------------------------------------*/ .notice { background: #e7f8fb; border-left: 5px solid #4cc8e4; color: #1a444e; } .notice a { color: #3da0b6; } .done { background: #ebf9ef; border-left: 5px solid #61d17f; color: #21472b; } .done a { color: #4ea766; } .alert { background: #fef2e6; border-left: 5px solid #f99939; color: #553413; } .alert a { color: #c77a2e; } .caution { background: #fce9e9; border-left: 5px solid #e44e4e; color: #4e1b1b; } .caution a { color: #b63e3e; } /* 메시지 상자 ----------------------------------------*/ .tophat { margin: .25rem 0 1rem; padding: 0.75rem 1.25rem; } /* 탭스 ----------------------------------------*/ .tab-container { margin: 1.5rem auto; overflow: hidden; } .tab-container > .tabs { text-align: center; } .tab-container > .tabs > .tab { background: white; border: 1px solid #e0e0e0; display: inline-block; margin: .5rem .35rem 0 0; padding: .3em .6em; cursor: pointer; touch-action: manipulation; } .tab-container > .tabs > .tab.active, .tab-container > .tabs > .tab:not(.active):hover { background: #1babe2; border-color: #1babe2; color: white; } .tab-container > .tabs > .tab.active { cursor: default; pointer-events: none; } .tab-container > .tab-panes { padding: .5rem 0; } .tab-container > .tab-panes > .tab-pane:not(.active) { display: none; } /* 정보상자 또는 다목적상자 안의 탭 */ .switchable .tab-container > .tabs { margin-top: .5em !important; margin-bottom: 0 !important; } .switchable .tab-container > .tabs > .tab { width: 12px; height: 12px; padding: 0; margin: 0 3px; border-radius: 50%; border: none; } .switchable .tab-container > .tabs > .tab:not(.active) { background-color: #50A8E1; } .switchable .tab-container > .tabs > .tab:not(.active):hover { background-color: #ADADAD; } .switchable .tab-container > .tab-panes > .tab-pane { margin: 0 !important; } /* 정보상자 ----------------------------------------*/ .infobox { clear: left; margin: 1em 0 1.5em; } .infobox .img { float: left; width: 200px; margin: 0; /* tabs container fix */ } .infobox .img > .upload { overflow: auto; } .infobox .img a.image { display: block; max-height: 320px; overflow: hidden; } .infobox .img a.new { height: 250px; line-height: 250px; } .infobox .info { margin-left: calc(200px + 1em); } .infobox .heading { background-color: #F0F1F5; padding: .7em 15px .6em; margin: .3rem 0; } .infobox .heading:first-child { margin-top: 0; } .infobox .subheading { background-color: #F0F1F5; padding: .3em 15px .2em; margin: .3rem 0; } .infobox .heading strong { display: block; } .infobox .heading .title { font-size: 1.38461538rem; word-break: keep-all; } .infobox .subtitle { font-size: .923076923rem; word-break: keep-all; } .infobox .subtitle, .infobox .interlang { line-height: 1.2; } .infobox .heading span + span:before { content: '/'; font-size: 1rem; font-weight: normal; line-height: 1; color: #BBB; margin-left: .3em; margin-right: .35em; } .infobox .title span + span:before, .infobox span:lang(en) + span:lang(ja):before { /* 성우의 본명, 명의 구분자 */ color: inherit; content: '・'; margin-left: .2em; margin-right: .25em; } .infobox dl { margin: 0; line-height: 1.7 !important ; } .infobox dl:after { content: ''; display: table; } .infobox dt { float: left; width: 7em; padding: 0 .5em; text-align: right; font-weight: normal !important; } .infobox dd { padding: 0 .5em; margin: 0 0 0 8.5em !important; } .infobox dd a.external { /* truncate long links */ display: block; white-space: nowrap; overflow-x: hidden; text-overflow: ellipsis; } .infobox dd ul { margin: 0 !important; padding: 0 !important; list-style: none !important; } .infobox .item + .item:before { display: inline; content: ',\00a0'; white-space: normal; } /* 섬네일 밑의 확장 영역 */ .infobox .ext { margin-top: 10px; text-align: center; } .infobox .ext + .ext { margin-top: 5px; } /* 링크칸 */ .infobox .bookmark { display: inline-block; width: 32px; height: 32px; } .infobox .bookmark > div { width: 32px; height: 32px; overflow: hidden; } .infobox .bookmark + .bookmark { margin-left: 12px; } .bookmark.official img { margin: 0; } .bookmark.blog img { margin: -32px 0 0 0; } .bookmark.twitter img { margin: -64px 0 0 0; } .bookmark.youtube img { margin: -96px 0 0 0; } .bookmark.wikipedia img { margin: -128px 0 0 0; } .bookmark.official-inactive img { margin: 0 0 0 -32px; } .bookmark.blog-inactive img { margin: -32px 0 0 -32px; } .bookmark.twitter-inactive img { margin: -64px 0 0 -32px; } .bookmark.youtube-inactive img { margin: -96px 0 0 -32px; } .bookmark.wikipedia-inactive img { margin: -128px 0 0 -32px; } .bookmark a { transition: all .2s; } .bookmark a:hover { opacity: 0.8; } /* 다목적 상자 ----------------------------------------*/ .multibox { clear: left; margin: 1em 3%; } .multibox .img { float: left; min-width: auto !important; min-height: auto !important; overflow: hidden; } .multibox .desc { margin-top: .5em; } .multibox dl { margin: 0; } .multibox p { margin: .5em 0; } .multibox p:first-child { margin-top: 0; } /* [[틀:등장인물]] */ .multibox.chara { margin-left: 0; margin-right: 0; } .multibox.chara .img > a.new { width: 100px; height: 100px; line-height: 100px; } .multibox.chara .info { margin-left: calc(100px + 1em); } .multibox .desc { margin-top: 0; } /* [[틀:단행본]] **/ .multibox.book .img { width: 150px; } .multibox.book .info { margin-left: calc(150px + 1em); } /* [[틀:드라마 CD]] **/ .multibox.dramacd .img { width: 170px; } .multibox.dramacd .info { margin-left: calc(170px + 1em); } /* [[틀:블루레이]] **/ .multibox.bluray .img { width: 150px; } .multibox.bluray .info { margin-left: calc(150px + 1em); } /* [[틀:에피소드]] */ .episode .upper { margin-bottom: 1em; text-align: center; } .episode .img { display: inline-block; margin: 0 .2em; } .episode .img > a.new { width: 240px; height: 160px; line-height: 160px; } /* [[틀:스테이터스]] */ .statusbar { clear: both; width: 200px; padding: 0 10px; margin: .25em 0; overflow: visible; } .statusbar .param { font-size: .923076923rem; color: #808284; } .statusbar .track { height: 17px; text-align: left; white-space: nowrap; overflow: visible; background-color: #EAECEF; box-shadow: inset 0 0 2px rgba(100,100,100,.1); } .statusbar .track > * { display: inline-block; vertical-align: top; } .statusbar .bar { width: 0; /* 틀에서 HTML 태그로 크기 조절 */ max-width: 150%; height: 100%; background-color: #F37076; } .statusbar .value { margin-left: .3em; font-size: .923076923rem; line-height: 17px; } /* [[틀:접기]] */ .toggleable > div:first-child { position: relative; padding-right: 4em; } .toggleable > div:first-child:after { display: inline-block; position: absolute; right: 2px; font-size: 12px; color: #1DADE2; cursor: pointer; } .toggleable > div:first-child:after:hover { text-decoration: underline; } .toggleable > div:first-child:after { content: '펼치기'; } .toggleable.open > div:first-child:after { content: '숨기기'; } .toggleable:not(.open) > div:nth-child(2) { display: none; } /* [[틀:네타 시작]] */ span.netabare { color: transparent; border-bottom: 1px dotted #bbb; -webkit-user-select: none; -moz-user-select: none; user-select: none; cursor: pointer; } span.netabare *:not(.alt) { visibility: hidden; } span.netabare span.alt { font-size: 12px; font-weight: bold; color: #444; cursor: pointer; visibility: visible !important; } span.netabare.show { color: #444; } span.netabare.show *:not(.alt) { visibility: visible; } /* [[틀:국기]] */ .flag { padding: 0 12px; margin-right: 5px; line-height: 0; position: relative; } .flag img { position: absolute; top: -2px; left: 0; } /* [[틀:덧]] */ .media-tag { font-size: 12px; color: #34ac98; margin-left: 2px; } .media-tag:before { content: '['; margin-right: .1em; } .media-tag:after { content: ']'; margin-left: .1em; } /* [[틀:이벤트]] */ .link-tag a { font-size: .923076923rem; line-height: 1; color: #888; background-color: #e5e5e5; padding: .15em .25em 0 .2em; white-space: nowrap; } .link-tag a:hover { text-decoration: none; color: #FFF; background-color: #444; } .link-tag a:after { display: none; } /* [[틀:명의]] */ .name-tag { font-size: 12px; color: #BABCBF; margin-left: .25em; } /* [[틀:타이업]] */ .fakelist ul { display: block; padding: 0 !important; margin: 0 !important; } .fakelist p, .fakelist li { display: block !important; padding-left: .5em; margin: 0; text-align: left; } .fakelist p:before, .fakelist li:before { content: '・'; } /* [[틀:인용]] */ .quotation { border: none; background: transparent; padding: 0; margin-top: 0.5em; margin-bottom: 0.5em; quotes: '\201C' '\201D'; } .quotation p { text-indent: 0 !important; } .quotation p:before, .quotation p:after { font: bold 24px/1px Times, serif; position: absolute; } .quotation p:first-child:before { content: open-quote; } .quotation p:last-child:after { content: close-quote; } .quotation.double p { quotes: "“" "”"; } .quotation.single p { quotes: "‘" "’"; } .quotation.double p:first-child:before { margin: 8px 0 0 -15px; } .quotation.double p:last-child:after { margin: 18px 0 0 5px; } .quotation.single p:first-child:before { margin: 8px 0 0 -11px; } .quotation.single p:last-child:after { margin: 18px 0 0 3px; } /* <poem /> */ .poem p { margin: 0 !important; } /* 주석 툴팁 ----------------------------------------*/ #liveReference { background: #ffffe0; border: 2px solid #f7f0b8; border-radius: .25em; box-shadow: 0 1px 8px -1px rgba(50, 50, 50, .25); color: #707037; max-width: 20em; margin: -20px 0 0 8px; padding: 10px; position: absolute; visibility: hidden; z-index: 1000; line-height: 1.6; transform: translate(-50%, -100%); } #liveReference::before { border-color: #f7f0b8 transparent transparent transparent; border-style: solid; border-width: 13px 13px 0 13px; width: 0; height: 0; position: absolute; top: 100%; left: 50%; margin-left: -13px; content: ""; } #liveReference::after { border-color: #ffffe0 transparent transparent transparent; border-style: solid; border-width: 10px 10px 0 10px; width: 0; height: 0; position: absolute; top: 100%; left: 50%; margin-left: -10px; content: ""; } #liveReference a { color: #1dade2; } #liveReference a.new { color: #ec6635; } #liveReference.is-ready { visibility: visible; } #liveReference.is-flipped { margin: 20px 0 0 8px; transform: translate(-50%, 0); } #liveReference.is-flipped::before, #liveReference.is-flipped::after { top: auto; bottom: 100%; } #liveReference.is-flipped::before { border-color: transparent transparent #f7f0b8 transparent; border-width: 0 13px 13px 13px; } #liveReference.is-flipped::after { border-color: transparent transparent #ffffe0 transparent; border-width: 0 10px 10px 10px; } 미디어위키:Template.css 문서로 돌아갑니다.