참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 인터넷 익스플로러 / 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
- 오페라: Ctrl-F5를 입력.
/*!
* 이 스타일시트는 [[대문]] 디자인을 정의하는 문서입니다.
*
* 전역 스타일시트인 [[미디어위키:Wikia.css]]에 인클루드돼 있어,
* 이 스타일시트에 코드를 추가하면 사이트 전체에 영향을 미치게 됩니다.
*
* 단, 코드 관리를 용이하게 하기 위해 대문에 관련된 코드만 넣도록 합시다.
* 이를 구분하기 위해, 대문에 사용되는 클래스는 `pk-`를 접두하도록 합니다.
*/
/* 레이아웃 스플릿 */
.pk-columns {
margin: 0 -10px;
}
.pk-columns::after {
content: '';
display: block;
clear: both;
}
.pk-column {
float: left;
width: 50%;
min-height: 1px;
padding: 0 10px;
box-sizing: border-box;
}
/* 컴포넌트 공통 */
.pk-hero,
.pk-portal {
position: relative;
margin-bottom: 30px;
letter-spacing: -.025em;
line-height: 24px;
font-size: 15px;
word-break: break-all;
word-break: keep-all;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
/* 틀:대문/머릿말 */
.pk-hero {
display: table;
width: 100%;
font-size: 16px;
}
.pk-hero-cell {
display: table-cell;
padding: 0 20px;
border-left: 1px solid #ebedee;
vertical-align: middle;
}
.pk-hero-cell:first-child {
width: 1%;
padding-left: 0;
border-left: 0;
}
.pk-hero-cell:last-child {
padding-right: 0;
}
.pk-hero-cell p {
margin: 0 0 .5em;
}
.pk-hero-cell p:last-child {
margin-bottom: 0;
}
/* 틀:대문/포털 */
.pk-portal-frame {
margin-bottom: 20px;
padding: 22px 20px;
background-color: #fff;
background-image: url(https://vignette.wikia.nocookie.net/pokemon/images/d/d7/Portal-background-pattern.png/revision/latest?cb=20191230104320&path-prefix=ko);
background-repeat: no-repeat;
background-position: bottom -105px right -35px;
border: 2px solid #dce2e6;
border-radius: 10px;
box-shadow: 0 3px 5px #eee;
-webkit-transition: box-shadow .1s, border-color .1s;
-ms-transition: box-shadow .1s, border-color .1s;
transition: box-shadow .1s, border-color .1s;
}
.pk-portal-frame:hover {
border-color: #c5d0d8;
box-shadow: 0 3px 8px #ddd;
}
.pk-portal-header {
position: relative;
margin-bottom: 20px;
}
.pk-portal-title {
height: 24px;
margin: 0 !important;
padding: 0 0 10px 32px !important;
background-image: url('https://vignette.wikia.nocookie.net/pokemon/images/4/4c/Pokeball.svg/revision/latest?cb=20191230080306&path-prefix=ko');
background-repeat: no-repeat;
background-size: 24px 24px;
border-bottom: 1px solid #ebedee !important;
letter-spacing: -.065em;
line-height: 24px !important;
font-size: 20px !important;
font-weight: 700 !important;
}
.pk-portal-menu {
position: absolute;
right: 0;
bottom: 0;
margin: 0 0 -.6em !important;
padding: 0 0 0 10px !important;
background: #fff;
list-style: none !important;
letter-spacing: -0.05em;
line-height: 20px !important;
font-size: 14px !important;
white-space: nowrap;
word-spacing: -0.05em;
}
.pk-portal-menuitem {
float: left;
margin: 0 0 0 15px !important;
color: #7a8083;
}
.pk-portal-menuitem +
.pk-portal-menuitem::before {
content: '';
}
.pk-portal-menuitem a {
display: block;
color: inherit;
border-bottom: 1px solid transparent;
}
.pk-portal-menuitem a::after {
display: none !important;
}
.pk-portal-menuitem a:hover {
color: #2f90fc;
border-bottom-color: #2f90fc;
text-decoration: none;
}
.pk-portal-body {
min-height: 8em; /* 몬스터볼 배경 무늬와 겹치지 않게 */
}
/* 버튼 */
.pk-portal-button a,
.pk-portal-buttonset ul {
height: 40px;
overflow: hidden;
box-sizing: border-box;
background-color: #fff;
border: 2px solid #dce2e5;
border-radius: 20px;
}
.pk-portal-button a,
.pk-portal-buttonset a {
display: inline-block;
color: #6c8693;
line-height: 36px;
font-size: 15px;
text-align: center;
}
.pk-portal-button a {
padding: 0 2em;
}
.pk-portal-button a::after,
.pk-portal-buttonset a::after {
display: none !important;
}
.pk-portal-button a:hover,
.pk-portal-button a:focus,
.pk-portal-buttonset a:hover,
.pk-portal-buttonset a:focus {
color: #45565e;
background-color: #dce2e5;
text-decoration: none;
}
.pk-portal-buttonset ul {
display: inline-block;
margin: 0;
padding: 0;
vertical-align: middle;
list-style: none;
}
.pk-portal-buttonset ul::after {
content: '';
display: block;
clear: both;
}
.pk-portal-buttonset li {
position: relative;
margin: 0;
float: left;
}
.pk-portal-buttonset li::after {
content: '';
position: absolute;
top: 9px;
right: 0;
bottom: 9px;
border-right: 1px solid #dce2e5;
}
.pk-portal-buttonset li:last-child::after {
display: none;
}
.pk-portal-buttonset a {
display: block;
padding: 0 1.25em;
}
.pk-portal-buttonset li:last-chilld a {
padding-left: 1.5em;
}
.pk-portal-buttonset li:first-child a {
padding-right: 1.5em;
}
/* 틀:대문/뉴스 */
.pk-news ul {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.pk-news li {
position: relative;
margin: 0 0 15px !important;
padding: 10px;
background-color: #f5f7f7;
border: 2px solid #dce2e5;
border-radius: 10px;
}
.pk-news li::before,
.pk-news li::after {
content: '';
position: absolute;
display: block;
width: 0;
border-color: transparent;
border-style: solid;
}
.pk-news li::before {
bottom: -19px;
left: 18px;
border-width: 9px;
border-top-color: #dce2e5;
}
.pk-news li::after {
bottom: -14px;
left: 20px;
border-width: 7px;
border-top-color: #f5f7f7;
}
.pk-news li:nth-child(even)::before {
right: 18px;
left: auto;
}
.pk-news li:nth-child(even)::after {
right: 20px;
left: auto;
}
/* 틀:대문/배포목록 */
.pk-events {
max-height: 500px;
padding-right: .5em;
overflow: auto;
}
.pk-events ul {
margin: 0;
padding: 0;
list-style: none;
}
.pk-events li {
position: relative;
margin: 0 0 .5em;
padding: 0 0 0 2.3em;
line-height: 24px;
}
.pk-events li > img:first-child {
position: absolute;
top: 4px;
left: 0;
}
/* 틀:대문/최근 바뀜 */
.pk-activity .activityfeed {
margin: 0 0 0 20px !important;
}
.pk-activity li {
margin: 0 !important;
list-style: none !important;
}
.pk-activity a {
position: relative;
top: 1px;
line-height: 28px !important;
font-size: 15px !important;
font-weight: 400 !important;
}
/* 틀:대문/채팅방안내 */
.pk-chat-actions {
margin: 20px 0;
text-align: center;
}
/* 틀:대문/포럼 */
.pk-forum-header {
margin-bottom: 20px;
text-align: center;
}
.pk-forum-body .forum-activity-module {
margin-bottom: 0 !important;
}
.pk-forum-body h2 {
display: none !important;
}
/* 틀:대문/블로그 */
/* 틀:대문/사이트맵 */
.pk-sitemap ul,
.pk-sitemap li {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.pk-sitemap a {
display: inline-block;
margin: 0 0 5px;
padding: 0 10px;
color: #3185d8;
background-color: #ebf5ff;
border-radius: 6px;
line-height: 24px;
font-size: 14px;
}
.pk-sitemap a:hover {
background-color: #e0f0ff;
text-decoration: none !important;
}
.pk-sitemap > ul > li {
margin: 0 0 20px !important;
}
.pk-sitemap > ul > li > a {
display: table;
margin-bottom: 8px;
border-radius: 8px;
line-height: 32px;
font-size: 16px;
font-weight: 700;
}
.pk-sitemap ul ul::after {
content: '';
display: block;
clear: both;
}
.pk-sitemap ul ul > li {
float: left;
margin: 0 5px 0 0 !important;
}
/* 틀:대문/설문 */
.pk-portal .ajax-poll {
margin-bottom: 30px !important;
}
.pk-portal .ajax-poll .header {
margin: 0 0 10px !important;
font-size: 15px !important;
}
.pk-portal .pollAnswerName input {
margin-left: 0 !important;
}
.pk-portal .pollAnswerVotes {
background: #f6f5fb !important;
border: 0 !important;
border-radius: 4px !important;
}
.pk-portal .pollAnswerVotes span {
left: 5px !important;
height: 19px !important;
line-height: 19px !important;
}
.pk-portal .ajax-poll input[type='submit'] {
/* 투표하기 버튼 */
display: inline-block;
height: 40px;
padding: 0 20px;
box-sizing: border-box;
color: #6c8693;
background: #fff;
border: 2px solid #dce2e5;
border-radius: 20px;
line-height: 38px;
font-size: 15px;
}
.pk-portal .ajax-poll input[type='submit']:hover,
.pk-portal .ajax-poll input[type='submit']:focus {
color: #45565e;
background-color: #dce2e5;
}
span[id^="pollSubmittingInfo"] {
display: none; /* 저장하는 중입니다 메시지 숨기기 */
}
/* 게임 위키 공통 푸터 */
.webring {
background: white !important;
border: 1px solid #dadada !important;
}
.wbr-division {
border-bottom: 1px solid #dadada !important;
}
.wbr-bottom {
padding: 7px 22px 7px 22px !important;
}
.wbr-link {
color: inherit !important;
font-size: 12px;
}