미디어위키:Gadget-Timeless.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
편집 요약 없음 |
편집 요약 없음 |
||
| 1번째 줄: | 1번째 줄: | ||
/* | /* ========================================================= | ||
1. 공통 변수 | |||
========================================================= */ | |||
:root { | :root { | ||
--pvzt-green: # | --pvzt-green: #3f8f3d; | ||
--pvzt-green-dark: # | --pvzt-green-dark: #286d31; | ||
--pvzt-green-deep: # | --pvzt-green-deep: #17623a; | ||
--pvzt- | --pvzt-cream: #fff5df; | ||
--pvzt-cream-soft: #f5e3c1; | |||
--pvzt- | --pvzt-paper: #fff8e8; | ||
--pvzt- | --pvzt-paper-2: #f8ebcf; | ||
--pvzt- | --pvzt-brown: #6b3a24; | ||
--pvzt-brown | --pvzt-brown-dark: #442516; | ||
--pvzt-brown- | --pvzt-wood: #4a2b1c; | ||
--pvzt-wood-2: #352016; | |||
--pvzt- | --pvzt-line: #b88c5c; | ||
--pvzt- | --pvzt-text: #432d22; | ||
--pvzt-muted: #7a6455; | |||
--pvzt-line: # | --pvzt-shadow: 0 6px 20px rgba(48, 26, 14, 0.18); | ||
--pvzt-header-h: 104px; | |||
--pvzt-text: # | |||
--pvzt-muted: # | |||
--pvzt-shadow: | |||
--pvzt- | |||
} | } | ||
/* ========================= | /* ========================================================= | ||
2. 모바일 기본 배경 | |||
========================= */ | ========================================================= */ | ||
@media screen and (max-width: 850px) { | @media screen and (max-width: 850px) { | ||
html { | html { | ||
min-height: 100% !important; | min-height: 100% !important; | ||
background: | background: #3a2419 !important; | ||
} | } | ||
| 55번째 줄: | 36번째 줄: | ||
min-height: 100vh !important; | min-height: 100vh !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: var(--pvzt-header-h) 0 0 !important; | |||
background: | background: | ||
linear-gradient( | linear-gradient( | ||
rgba( | rgba(57, 34, 22, 0.94), | ||
rgba( | rgba(57, 34, 22, 0.94) | ||
), | ), | ||
url("/wiki/Special:Redirect/file/Wiki_Bg_Light.png") | url("/wiki/Special:Redirect/file/Wiki_Bg_Light.png") | ||
center / cover fixed !important; | center / cover fixed !important; | ||
color: var(--pvzt-text) !important; | color: var(--pvzt-text) !important; | ||
} | |||
body.skin-timeless.pvzt-mobile-ready { | |||
overflow-x: hidden !important; | |||
} | } | ||
.skin-timeless #mw-content-container, | .skin-timeless #mw-content-container, | ||
.skin-timeless #mw-content-block, | .skin-timeless #mw-content-block, | ||
.skin-timeless #mw-content-wrapper | .skin-timeless #mw-content-wrapper { | ||
background: transparent !important; | |||
background-image: none !important; | background-image: none !important; | ||
border: 0 !important; | |||
box-shadow: none !important; | |||
} | |||
.skin-timeless #mw-content-container { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||
.skin-timeless #mw-content-block, | .skin-timeless #mw-content-block, | ||
.skin-timeless #mw-content-wrapper { | .skin-timeless #mw-content-wrapper { | ||
width: 100% !important; | |||
max-width: none !important; | |||
box-shadow: | margin: 0 !important; | ||
padding: 0 !important; | |||
} | |||
} | |||
/* ========================================================= | |||
3. 커스텀 UI 생성 후 기본 Timeless UI 숨김 | |||
========================================================= */ | |||
@media screen and (max-width: 850px) { | |||
body.skin-timeless.pvzt-mobile-ready #mw-header-container, | |||
body.skin-timeless.pvzt-mobile-ready #mw-header-hack, | |||
body.skin-timeless.pvzt-mobile-ready #mw-header-nav-hack, | |||
body.skin-timeless.pvzt-mobile-ready #mw-site-navigation, | |||
body.skin-timeless.pvzt-mobile-ready #mw-related-navigation, | |||
body.skin-timeless.pvzt-mobile-ready #personal, | |||
body.skin-timeless.pvzt-mobile-ready #user-tools, | |||
body.skin-timeless.pvzt-mobile-ready .tools-inline, | |||
body.skin-timeless.pvzt-mobile-ready #site-navigation, | |||
body.skin-timeless.pvzt-mobile-ready #page-tools { | |||
display: none !important; | |||
} | |||
} | |||
/* ========================================================= | |||
4. 상단 모바일 헤더 | |||
========================================================= */ | |||
@media screen and (max-width: 850px) { | |||
.pvzt-mobile-header { | |||
position: fixed; | |||
top: 0; | |||
right: 0; | |||
left: 0; | |||
z-index: 1200; | |||
display: grid; | |||
grid-template-columns: 44px minmax(0, 1fr) 44px; | |||
grid-template-rows: 48px 48px; | |||
gap: 0 8px; | |||
height: var(--pvzt-header-h); | |||
padding: 6px 10px; | |||
box-sizing: border-box; | |||
background: var(--pvzt-green); | |||
border-bottom: 2px solid var(--pvzt-green-dark); | |||
box-shadow: 0 3px 12px rgba(22, 48, 21, 0.28); | |||
} | |||
.pvzt-mobile-header__button { | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 44px; | |||
height: 44px; | |||
padding: 0; | |||
border: 0; | |||
border-radius: 10px; | |||
background: transparent; | |||
color: #ffffff; | |||
cursor: pointer; | |||
-webkit-tap-highlight-color: transparent; | |||
} | } | ||
.pvzt-mobile-header__button:hover, | |||
.pvzt-mobile-header__button:focus-visible { | |||
background: rgba(255, 255, 255, 0.14); | |||
outline: 0; | |||
} | |||
.pvzt-mobile-header__button::before { | |||
content: ""; | |||
display: block; | |||
width: 24px; | |||
height: 24px; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
} | |||
. | .pvzt-mobile-header__button--menu::before { | ||
background-image: | |||
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4 6.5h16v2H4zm0 4.5h16v2H4zm0 4.5h16v2H4z'/%3E%3C/svg%3E"); | |||
background | |||
} | } | ||
. | .pvzt-mobile-header__button--account::before { | ||
background-image: | |||
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-4.7 0-8 2.45-8 5.2V21h16v-1.8c0-2.75-3.3-5.2-8-5.2Z'/%3E%3C/svg%3E"); | |||
} | } | ||
. | .pvzt-mobile-brand { | ||
display: flex; | |||
color: #ffffff !important; | align-items: center; | ||
min-width: 0; | |||
height: 44px; | |||
color: #ffffff; | |||
text-decoration: none !important; | |||
font-family: | font-family: | ||
"SB Aggro B", | "SB Aggro B", | ||
| 126번째 줄: | 172번째 줄: | ||
"SB 어그로", | "SB 어그로", | ||
sans-serif !important; | sans-serif !important; | ||
font-size: | font-size: 1rem; | ||
font-weight: 700; | |||
font-weight: 700 | line-height: 1.1; | ||
line-height: 1. | text-shadow: 0 1px 1px rgba(18, 61, 27, 0.35); | ||
text-shadow: | |||
} | } | ||
. | .pvzt-mobile-brand:hover { | ||
opacity: 0. | color: #ffffff; | ||
text-decoration: none !important; | |||
opacity: 0.94; | |||
} | } | ||
. | .pvzt-mobile-brand__text { | ||
overflow: hidden; | |||
text-overflow: ellipsis; | |||
white-space: nowrap; | |||
} | } | ||
. | .pvzt-mobile-search { | ||
grid-column: 1 / -1; | |||
grid-row: 2; | |||
display: flex; | |||
align-items: center; | |||
width: 100%; | |||
min-width: 0; | |||
height: 42px; | |||
} | } | ||
.pvzt-mobile-search #simpleSearch, | |||
.pvzt-mobile-search form { | |||
position: relative !important; | |||
display: flex !important; | |||
width: 100% !important; | |||
height: 42px !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
overflow: hidden !important; | overflow: hidden !important; | ||
border: 1px solid # | border: 1px solid #6f4c35 !important; | ||
border-radius: 9px !important; | border-radius: 9px !important; | ||
background: # | background: #fff9ec !important; | ||
box-shadow: | background-image: none !important; | ||
box-shadow: inset 0 1px 2px rgba(85, 50, 28, 0.08) !important; | |||
} | } | ||
. | .pvzt-mobile-search #searchInput, | ||
.pvzt-mobile-search input[type="search"], | |||
.pvzt-mobile-search input[name="search"] { | |||
flex: 1 1 auto !important; | |||
min-width: 0 !important; | |||
height: 40px !important; | |||
margin: 0 !important; | |||
padding: 0 46px 0 13px !important; | |||
padding | |||
border: 0 !important; | border: 0 !important; | ||
outline: 0 !important; | outline: 0 !important; | ||
background: transparent !important; | background: transparent !important; | ||
color: var(--pvzt-text) !important; | color: var(--pvzt-text) !important; | ||
font-size: 16px !important; | |||
font-size: | |||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
. | .pvzt-mobile-search #searchInput::placeholder, | ||
color: rgba( | .pvzt-mobile-search input[name="search"]::placeholder { | ||
color: rgba(67, 45, 34, 0.55) !important; | |||
} | } | ||
. | .pvzt-mobile-search #searchButton, | ||
. | .pvzt-mobile-search #mw-searchButton, | ||
.pvzt-mobile-search button[type="submit"] { | |||
position: absolute !important; | |||
top: 0 !important; | top: 0 !important; | ||
right: 0 !important; | right: 0 !important; | ||
width: | width: 44px !important; | ||
height: | height: 40px !important; | ||
margin: 0 !important; | |||
padding: 0 !important; | |||
border: 0 !important; | border: 0 !important; | ||
border-left: 1px solid | border-left: 1px solid rgba(107, 58, 36, 0.35) !important; | ||
border-radius: 0 !important; | border-radius: 0 !important; | ||
background-color: transparent !important; | background-color: transparent !important; | ||
background-image: | background-image: | ||
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='% | url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236b3a24' d='M10.7 3a7.7 7.7 0 1 0 4.73 13.78l4.4 4.4a1.2 1.2 0 1 0 1.7-1.7l-4.4-4.4A7.7 7.7 0 0 0 10.7 3Zm0 2.4a5.3 5.3 0 1 1 0 10.6 5.3 5.3 0 0 1 0-10.6Z'/%3E%3C/svg%3E") !important; | ||
background-position: center !important; | background-position: center !important; | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
background-size: | background-size: 19px !important; | ||
font-size: 0 !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
cursor: pointer | cursor: pointer; | ||
} | } | ||
} | |||
/* ========================================================= | |||
5. 배경 오버레이와 서랍 | |||
========================================================= */ | |||
@media screen and (max-width: 850px) { | |||
. | .pvzt-mobile-overlay { | ||
background | position: fixed; | ||
inset: 0; | |||
z-index: 1290; | |||
visibility: hidden; | |||
background: rgba(22, 12, 7, 0.55); | |||
opacity: 0; | |||
transition: | |||
opacity 180ms ease, | |||
visibility 0s linear 180ms; | |||
} | } | ||
. | body.pvzt-mobile-panel-open .pvzt-mobile-overlay { | ||
visibility: visible; | |||
opacity: 1; | |||
transition-delay: 0s; | |||
} | } | ||
. | .pvzt-mobile-drawer { | ||
position: fixed; | |||
color: #ffffff | top: 0; | ||
bottom: 0; | |||
z-index: 1300; | |||
width: min(84vw, 330px); | |||
padding: 14px 12px 24px; | |||
box-sizing: border-box; | |||
overflow-y: auto; | |||
overscroll-behavior: contain; | |||
background: | |||
linear-gradient( | |||
rgba(62, 37, 23, 0.96), | |||
rgba(48, 29, 19, 0.98) | |||
), | |||
url("/wiki/Special:Redirect/file/Wiki_Bg_Dark.png") | |||
center / cover; | |||
color: #ffffff; | |||
box-shadow: 0 0 24px rgba(26, 12, 5, 0.42); | |||
transition: transform 210ms cubic-bezier(0.4, 0, 0.2, 1); | |||
} | } | ||
.pvzt-mobile-drawer--left { | |||
left: 0; | |||
transform: translateX(-104%); | |||
border-right: 2px solid #25140d; | |||
} | |||
.pvzt-mobile-drawer--right { | |||
right: 0; | |||
transform: translateX(104%); | |||
border-left: 2px solid #25140d; | |||
} | |||
. | body.pvzt-left-open .pvzt-mobile-drawer--left, | ||
. | body.pvzt-right-open .pvzt-mobile-drawer--right { | ||
transform: translateX(0); | |||
} | } | ||
. | .pvzt-mobile-drawer__top { | ||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
gap: 10px; | |||
min-height: 48px; | |||
margin-bottom: 12px; | |||
} | } | ||
. | .pvzt-mobile-drawer__title { | ||
margin: 0; | |||
color: #ffffff; | |||
font-family: | |||
"SB Aggro B", | |||
"SB 어그로 B", | |||
"SB Aggro", | |||
"SB 어그로", | |||
sans-serif; | |||
font-size: 1.05rem; | |||
font-weight: 700; | |||
} | } | ||
.pvzt-mobile-drawer__close { | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 40px; | |||
height: 40px; | |||
padding: 0; | |||
border: 1px solid rgba(255, 255, 255, 0.28); | |||
border-radius: 9px; | |||
background: rgba(255, 255, 255, 0.08); | |||
color: #ffffff; | |||
font-size: 1.45rem; | |||
line-height: 1; | |||
cursor: pointer; | |||
} | |||
.pvzt-mobile-drawer__logo { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
min-height: 98px; | |||
margin: 0 0 13px; | |||
padding: 10px; | |||
border: 1px solid rgba(255, 236, 193, 0.2); | |||
border-radius: 12px; | |||
background: rgba(30, 17, 10, 0.3); | |||
} | |||
. | .pvzt-mobile-drawer__logo .mw-wiki-logo { | ||
display: block !important; | |||
. | width: 145px !important; | ||
overflow: hidden | height: 90px !important; | ||
border: 1px solid | max-width: 100% !important; | ||
border-radius: var(--pvzt- | background-position: center !important; | ||
background-repeat: no-repeat !important; | |||
background-size: contain !important; | |||
box-shadow: | } | ||
.pvzt-mobile-portlet { | |||
margin: 0 0 12px; | |||
overflow: hidden; | |||
border: 1px solid #ad7b49; | |||
border-radius: 8px; | |||
background: var(--pvzt-cream-soft); | |||
color: var(--pvzt-text); | |||
box-shadow: 0 3px 8px rgba(20, 10, 5, 0.2); | |||
} | } | ||
. | .pvzt-mobile-portlet__title { | ||
margin: 0; | |||
padding: 9px 11px 8px; | |||
border-bottom: 1px solid rgba(120, 75, 42, 0.2); | |||
background: rgba(255, 255, 255, 0.36); | |||
margin: 0 | color: var(--pvzt-brown-dark); | ||
padding: | |||
border-bottom: 1px solid | |||
background: | |||
color: var(--pvzt-brown- | |||
font-family: | font-family: | ||
"SB Aggro M", | "SB Aggro M", | ||
| 282번째 줄: | 406번째 줄: | ||
"SB Aggro", | "SB Aggro", | ||
"SB 어그로", | "SB 어그로", | ||
sans-serif | sans-serif; | ||
font-size: 0. | font-size: 0.9rem; | ||
font-weight: 500 | font-weight: 500; | ||
} | } | ||
. | .pvzt-mobile-portlet ul { | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: | padding: 7px 10px 9px !important; | ||
list-style: none !important; | list-style: none !important; | ||
} | } | ||
. | .pvzt-mobile-portlet li { | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
| 311번째 줄: | 423번째 줄: | ||
} | } | ||
. | .pvzt-mobile-portlet li + li { | ||
margin-top: 1px !important; | |||
margin-top: | |||
} | } | ||
. | .pvzt-mobile-portlet a { | ||
display: block !important; | display: block !important; | ||
padding: | padding: 7px 4px !important; | ||
color: var(--pvzt-text) !important; | color: var(--pvzt-text) !important; | ||
font-size: 0.88rem !important; | |||
font-size: 0. | |||
line-height: 1.35 !important; | line-height: 1.35 !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
. | .pvzt-mobile-portlet a:hover, | ||
. | .pvzt-mobile-portlet a:focus-visible { | ||
color: var(--pvzt-green-deep) !important; | |||
color: var(--pvzt- | |||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
. | .pvzt-mobile-portlet .selected > a { | ||
color: var(--pvzt-green-deep) !important; | |||
font-weight: 700 !important; | |||
} | } | ||
} | |||
/* ========================================================= | |||
6. 문서 본문 | |||
========================================================= */ | |||
.skin-timeless | @media screen and (max-width: 850px) { | ||
.skin-timeless #mw-content { | |||
position: relative; | |||
width: calc(100% - 14px) !important; | |||
max-width: none !important; | |||
margin: 8px 7px 18px !important; | |||
padding: 14px 12px 22px !important; | |||
box-sizing: border-box; | |||
overflow: hidden; | |||
border: 1px solid #b88d59 !important; | |||
border-radius: 0 !important; | |||
background: var(--pvzt-paper) !important; | |||
background-image: none !important; | |||
box-shadow: var(--pvzt-shadow) !important; | |||
} | } | ||
.skin-timeless . | .skin-timeless #mw-content::before, | ||
.skin-timeless #mw-content::after { | |||
content: none !important; | |||
display: none !important; | |||
} | } | ||
.skin-timeless . | .skin-timeless #firstHeading, | ||
display: | .skin-timeless .mw-first-heading, | ||
.skin-timeless .mw-body h1.firstHeading { | |||
display: block !important; | |||
width: calc(100% + 24px) !important; | |||
max-width: none !important; | |||
margin: -14px -12px 10px !important; | |||
box-sizing: border-box | padding: 13px 18px 11px !important; | ||
box-sizing: border-box; | |||
border: 0 !important; | |||
background- | border-radius: 0 !important; | ||
background: | |||
linear-gradient( | |||
100deg, | |||
var(--pvzt-green-deep) 0%, | |||
var(--pvzt-green-deep) 88%, | |||
transparent 88.2% | |||
) !important; | |||
color: #ffffff !important; | color: #ffffff !important; | ||
font-family: | font-family: | ||
"SB Aggro | "SB Aggro B", | ||
"SB 어그로 | "SB 어그로 B", | ||
"SB Aggro", | "SB Aggro", | ||
"SB 어그로", | "SB 어그로", | ||
sans-serif !important; | sans-serif !important; | ||
font-size: | font-size: 1.38rem !important; | ||
font-weight: | font-weight: 700 !important; | ||
line-height: 1. | line-height: 1.25 !important; | ||
text-shadow: none !important; | text-shadow: none !important; | ||
} | } | ||
.skin-timeless . | .skin-timeless #firstHeading *, | ||
background | .skin-timeless .mw-first-heading * { | ||
color: #ffffff !important; | |||
} | |||
.pvzt-mobile-page-actions { | |||
display: grid; | |||
grid-template-columns: repeat(5, minmax(0, 1fr)); | |||
gap: 4px; | |||
margin: 0 -4px 14px; | |||
padding: 0 0 10px; | |||
border-bottom: 1px solid rgba(107, 58, 36, 0.28); | |||
} | |||
.pvzt-mobile-action { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 3px; | |||
min-width: 0; | |||
min-height: 48px; | |||
padding: 4px 2px; | |||
border: 0; | |||
border-radius: 8px; | |||
background: transparent; | |||
color: #8a654d !important; | |||
font-size: 0.66rem !important; | |||
line-height: 1.1; | |||
text-align: center; | |||
text-decoration: none !important; | text-decoration: none !important; | ||
cursor: pointer; | |||
-webkit-tap-highlight-color: transparent; | |||
} | } | ||
. | .pvzt-mobile-action:hover, | ||
background | .pvzt-mobile-action:focus-visible { | ||
background: rgba(107, 58, 36, 0.08); | |||
color: var(--pvzt-brown-dark) !important; | |||
outline: 0; | |||
} | } | ||
. | .pvzt-mobile-action::before { | ||
content: ""; | |||
display: block; | |||
width: 23px; | |||
height: 23px; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
opacity: 0.92; | |||
} | |||
.pvzt-mobile-action--page::before { | |||
background-image: | background-image: | ||
url("/wiki/Special:Redirect/file/Actionbar-document.svg") | url("/wiki/Special:Redirect/file/Actionbar-document.svg"); | ||
filter: sepia(1) saturate(0.7) brightness(0.62); | |||
} | } | ||
. | .pvzt-mobile-action--talk::before { | ||
background-image: | background-image: | ||
url("/wiki/Special:Redirect/file/Actionbar-talk.svg") | url("/wiki/Special:Redirect/file/Actionbar-talk.svg"); | ||
filter: sepia(1) saturate(0.7) brightness(0.62); | |||
} | } | ||
. | .pvzt-mobile-action--edit::before { | ||
background-image: | background-image: | ||
url("/wiki/Special:Redirect/file/Actionbar- | url("/wiki/Special:Redirect/file/Actionbar-edit.svg"); | ||
filter: sepia(1) saturate(0.7) brightness(0.62); | |||
} | } | ||
. | .pvzt-mobile-action--history::before { | ||
background-image: | background-image: | ||
url("/wiki/Special:Redirect/file/Actionbar- | url("/wiki/Special:Redirect/file/Actionbar-history.svg"); | ||
filter: sepia(1) saturate(0.7) brightness(0.62); | |||
} | } | ||
. | .pvzt-mobile-action--more::before { | ||
background-image: | background-image: | ||
url("/ | url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2' fill='%238a654d'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%238a654d'/%3E%3Ccircle cx='19' cy='12' r='2' fill='%238a654d'/%3E%3C/svg%3E"); | ||
} | |||
.skin-timeless .mw-body, | |||
.skin-timeless .mw-parser-output { | |||
color: var(--pvzt-text) !important; | |||
} | |||
.skin-timeless .mw-body a, | |||
.skin-timeless .mw-parser-output a { | |||
color: #24683c; | |||
} | |||
.skin-timeless .mw-body a:visited, | |||
.skin-timeless .mw-parser-output a:visited { | |||
color: #5b4f7e; | |||
} | } | ||
} | |||
/* ========================================================= | |||
7. 문단 제목과 잔디 구분선 | |||
========================================================= */ | |||
.skin-timeless .mw-heading2, | |||
.skin-timeless .mw-parser-output h2.pvz-grass-heading { | |||
position: relative !important; | |||
margin-bottom: 0.72em !important; | |||
padding-bottom: 12px !important; | |||
border: 0 !important; | |||
border-bottom: 0 !important; | |||
background: none !important; | |||
background-image: none !important; | |||
box-shadow: none !important; | |||
} | |||
.skin-timeless .mw-heading2::before, | |||
.skin-timeless .mw-heading2::after, | |||
.skin-timeless .mw-parser-output h2.pvz-grass-heading::before, | |||
.skin-timeless .mw-parser-output h2.pvz-grass-heading::after { | |||
content: none !important; | |||
display: none !important; | |||
border: 0 !important; | |||
background: none !important; | |||
box-shadow: none !important; | |||
} | |||
.skin-timeless # | .skin-timeless .mw-heading2 > h2, | ||
.skin-timeless | .skin-timeless .mw-parser-output h2.pvz-grass-heading { | ||
.skin-timeless | margin-bottom: 0 !important; | ||
padding-bottom: 0 !important; | |||
border: 0 !important; | |||
border-bottom: 0 !important; | |||
background: none !important; | |||
background-image: none !important; | |||
box-shadow: none !important; | |||
} | |||
.skin-timeless .pvz-grass-divider { | |||
position: absolute; | |||
right: 0; | |||
bottom: 0; | |||
left: 0; | |||
z-index: 1; | |||
display: block; | |||
height: 14px; | |||
overflow: hidden; | |||
pointer-events: none; | |||
background: #ead9b8; | |||
-webkit-mask-image: | |||
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 12'%3E%3Cpath fill='black' d='M0 12V8Q3 8 5 5Q6 3 8 6L11 9Q14 7 16 4Q17 2 19 5L22 9Q25 7 28 5Q29 3 31 6L34 9Q37 7 39 4Q40 2 42 5L45 9Q48 7 51 5Q52 3 54 6L57 9Q60 7 63 4Q64 2 66 5L69 9Q72 7 75 5Q76 3 78 6L81 9Q84 7 87 4Q88 2 90 5L93 9Q96 7 99 5Q100 3 102 6L105 9Q109 8 112 7V12Z'/%3E%3C/svg%3E"); | |||
mask-image: | |||
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 12'%3E%3Cpath fill='black' d='M0 12V8Q3 8 5 5Q6 3 8 6L11 9Q14 7 16 4Q17 2 19 5L22 9Q25 7 28 5Q29 3 31 6L34 9Q37 7 39 4Q40 2 42 5L45 9Q48 7 51 5Q52 3 54 6L57 9Q60 7 63 4Q64 2 66 5L69 9Q72 7 75 5Q76 3 78 6L81 9Q84 7 87 4Q88 2 90 5L93 9Q96 7 99 5Q100 3 102 6L105 9Q109 8 112 7V12Z'/%3E%3C/svg%3E"); | |||
-webkit-mask-repeat: repeat-x; | |||
mask-repeat: repeat-x; | |||
-webkit-mask-position: left bottom; | |||
mask-position: left bottom; | |||
-webkit-mask-size: 112px 12px; | |||
mask-size: 112px 12px; | |||
} | |||
/* ========================================================= | |||
8. 분류·각주·공지·목차 | |||
========================================================= */ | |||
@media screen and (max-width: 850px) { | |||
.skin-timeless #localNotice, | |||
.skin-timeless #catlinks, | |||
.skin-timeless .catlinks, | |||
.skin-timeless ul#filetoc, | |||
.skin-timeless .toccolours, | |||
.skin-timeless .mw-parser-output > .mw-references-wrap, | |||
.skin-timeless .mw-parser-output > ol.references, | |||
.skin-timeless .mw-parser-output > .references { | |||
border: 1px solid var(--pvzt-line) !important; | |||
border-radius: 8px !important; | |||
background: var(--pvzt-paper-2) !important; | |||
background-image: none !important; | background-image: none !important; | ||
color: var(--pvzt-brown) !important; | |||
box-shadow: none !important; | |||
} | |||
.skin-timeless #localNotice { | |||
padding: 0.65rem 0.75rem !important; | |||
} | |||
.skin-timeless #catlinks, | |||
.skin-timeless .catlinks { | |||
margin-top: 1.2rem !important; | |||
padding: 0.58rem 0.72rem !important; | |||
} | } | ||
.skin-timeless | .skin-timeless .mw-parser-output > .mw-references-wrap, | ||
.skin-timeless | .skin-timeless .mw-parser-output > ol.references, | ||
.skin-timeless .mw-parser-output > .references { | |||
padding: | margin-top: 1.2rem !important; | ||
padding: 0.72rem 0.85rem !important; | |||
background | } | ||
.skin-timeless .mw-parser-output > .mw-references-wrap > ol.references { | |||
margin: 0 !important; | |||
padding: 0 0 0 1.5em !important; | |||
border: 0 !important; | |||
background: transparent !important; | |||
} | } | ||
} | |||
.skin-timeless | /* ========================================================= | ||
.skin-timeless | 9. 하단 영역 | ||
background-image: | ========================================================= */ | ||
@media screen and (max-width: 850px) { | |||
.skin-timeless #mw-footer-container, | |||
.skin-timeless .mw-footer-container { | |||
margin: 0 !important; | |||
padding: 16px 14px 22px !important; | |||
border: 0 !important; | |||
border-top: 1px solid #79533b !important; | |||
background: rgba(48, 29, 19, 0.9) !important; | |||
background-image: none !important; | |||
color: #f4e2c1 !important; | |||
box-shadow: none !important; | |||
} | } | ||
.skin-timeless # | .skin-timeless #mw-footer-container a, | ||
.skin-timeless . | .skin-timeless .mw-footer-container a, | ||
.skin-timeless a. | .skin-timeless #mw-footer-container a:visited, | ||
.skin-timeless .mw-footer-container a:visited { | |||
color: #f4d49b !important; | |||
text-shadow: none !important; | |||
} | } | ||
} | |||
/* ========================================================= | |||
10. 작은 화면 | |||
========================================================= */ | |||
@media screen and (max-width: 380px) { | |||
:root { | |||
--pvzt-header-h: 100px; | |||
} | |||
. | .pvzt-mobile-header { | ||
grid-template-columns: 40px minmax(0, 1fr) 40px; | |||
padding-right: 7px; | |||
padding-left: 7px; | |||
} | } | ||
. | .pvzt-mobile-header__button { | ||
width: 40px; | |||
height: 44px; | |||
} | } | ||
.pvzt-mobile-brand { | |||
font-size: 0.9rem; | |||
} | |||
.skin-timeless #mw-content { | |||
width: calc(100% - 8px) !important; | |||
margin-right: 4px !important; | |||
margin-left: 4px !important; | |||
padding-right: 10px !important; | |||
padding-left: 10px !important; | |||
} | |||
.skin-timeless #firstHeading, | .skin-timeless #firstHeading, | ||
.skin-timeless .mw-first-heading, | .skin-timeless .mw-first-heading, | ||
.skin-timeless .mw-body h1.firstHeading { | .skin-timeless .mw-body h1.firstHeading { | ||
display: | width: calc(100% + 20px) !important; | ||
margin-right: -10px !important; | |||
margin-left: -10px !important; | |||
padding-right: 14px !important; | |||
padding-left: 14px !important; | |||
font-size: 1.22rem !important; | |||
} | |||
.pvzt-mobile-action { | |||
font-size: 0.61rem !important; | |||
} | |||
} | |||
/* ========================================================= | |||
11. 모션 최소화 | |||
========================================================= */ | |||
@media (prefers-reduced-motion: reduce) { | |||
.pvzt-mobile-overlay, | |||
.pvzt-mobile-drawer { | |||
transition: none !important; | |||
} | |||
} | |||
/* ========================================================= | |||
12. 모든 화면에서 기본 Timeless 인터페이스 숨김 | |||
커스텀 UI가 생성된 뒤에만 적용 | |||
========================================================= */ | |||
body.skin-timeless.pvzt-mobile-ready #mw-header-container, | |||
body.skin-timeless.pvzt-mobile-ready #mw-header-hack, | |||
body.skin-timeless.pvzt-mobile-ready #mw-header-nav-hack, | |||
body.skin-timeless.pvzt-mobile-ready #mw-site-navigation, | |||
body.skin-timeless.pvzt-mobile-ready #mw-related-navigation, | |||
body.skin-timeless.pvzt-mobile-ready #personal, | |||
body.skin-timeless.pvzt-mobile-ready #user-tools, | |||
body.skin-timeless.pvzt-mobile-ready .tools-inline, | |||
body.skin-timeless.pvzt-mobile-ready #site-navigation, | |||
body.skin-timeless.pvzt-mobile-ready #page-tools { | |||
display: none !important; | |||
} | |||
/* ========================================================= | |||
13. 데스크톱 Timeless 재구성 | |||
========================================================= */ | |||
@media screen and (min-width: 851px) { | |||
:root { | |||
--pvzt-header-h: 58px; | |||
--pvzt-left-w: 214px; | |||
--pvzt-right-w: 196px; | |||
} | |||
html { | |||
min-height: 100% !important; | |||
background: #3a2419 !important; | |||
} | |||
body.skin-timeless { | |||
min-height: 100vh !important; | |||
margin: 0 !important; | |||
padding: var(--pvzt-header-h) 0 0 !important; | |||
background: | |||
linear-gradient( | |||
rgba(57, 34, 22, 0.94), | |||
rgba(57, 34, 22, 0.94) | |||
), | |||
url("/wiki/Special:Redirect/file/Wiki_Bg_Light.png") | |||
center / cover fixed !important; | |||
color: var(--pvzt-text) !important; | |||
overflow-x: hidden !important; | |||
} | |||
.skin-timeless #mw-content-container, | |||
.skin-timeless #mw-content-block, | |||
.skin-timeless #mw-content-wrapper { | |||
width: auto !important; | width: auto !important; | ||
max-width: | max-width: none !important; | ||
margin: | margin: 0 !important; | ||
padding: 0 !important; | |||
padding: | |||
border: 0 !important; | border: 0 !important; | ||
background: transparent !important; | |||
background-image: none !important; | |||
box-shadow: none !important; | |||
} | |||
.skin-timeless #mw-content-container { | |||
margin-left: var(--pvzt-left-w) !important; | |||
margin-right: var(--pvzt-right-w) !important; | |||
} | |||
/* 데스크톱 상단바 */ | |||
.pvzt-mobile-header { | |||
- | position: fixed; | ||
top: 0; | |||
right: 0; | |||
left: 0; | |||
z-index: 1200; | |||
display: grid; | |||
grid-template-columns: 190px minmax(300px, 1fr) 44px; | |||
grid-template-rows: 44px; | |||
align-items: center; | |||
gap: 12px; | |||
height: var(--pvzt-header-h); | |||
padding: 7px 16px; | |||
box-sizing: border-box; | |||
background: var(--pvzt-green); | |||
border-bottom: 2px solid var(--pvzt-green-dark); | |||
box-shadow: 0 3px 12px rgba(22, 48, 21, 0.28); | |||
} | } | ||
. | .pvzt-mobile-header__button { | ||
display: inline-flex; | |||
color: #ffffff | align-items: center; | ||
justify-content: center; | |||
width: 44px; | |||
height: 44px; | |||
padding: 0; | |||
border: 0; | |||
border-radius: 10px; | |||
background: transparent; | |||
color: #ffffff; | |||
cursor: pointer; | |||
} | } | ||
.pvzt-mobile-header__button:hover, | |||
.pvzt-mobile-header__button:focus-visible { | |||
background: rgba(255, 255, 255, 0.14); | |||
outline: 0; | |||
} | |||
.pvzt-mobile-header__button::before { | |||
content: ""; | |||
display: block; | |||
width: 24px; | |||
height: 24px; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
} | |||
. | .pvzt-mobile-header__button--menu { | ||
display: none; | |||
} | } | ||
. | .pvzt-mobile-header__button--account { | ||
grid-column: 3; | |||
} | } | ||
. | .pvzt-mobile-header__button--account::before { | ||
background-image: | |||
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-4.7 0-8 2.45-8 5.2V21h16v-1.8c0-2.75-3.3-5.2-8-5.2Z'/%3E%3C/svg%3E"); | |||
} | } | ||
. | .pvzt-mobile-brand { | ||
grid-column: 1; | |||
display: flex; | |||
align-items: center; | |||
min-width: 0; | |||
height: 44px; | |||
color: #ffffff; | |||
color: | |||
font-family: | font-family: | ||
"SB Aggro B", | "SB Aggro B", | ||
| 565번째 줄: | 946번째 줄: | ||
"SB 어그로", | "SB 어그로", | ||
sans-serif !important; | sans-serif !important; | ||
font-weight: 700 !important; | font-size: 1rem; | ||
font-weight: 700; | |||
line-height: 1.1; | |||
text-decoration: none !important; | |||
text-shadow: 0 1px 1px rgba(18, 61, 27, 0.35); | |||
} | |||
.pvzt-mobile-brand:hover { | |||
color: #ffffff; | |||
text-decoration: none !important; | |||
opacity: 0.94; | |||
} | } | ||
.pvzt-mobile-brand__text { | |||
overflow: hidden; | |||
text-overflow: ellipsis; | |||
white-space: nowrap; | |||
} | |||
.pvzt-mobile-search { | |||
grid-column: 2; | |||
grid-row: 1; | |||
display: flex; | |||
align-items: center; | |||
width: 100%; | |||
max-width: 980px; | |||
height: 42px; | |||
justify-self: center; | |||
} | |||
. | .pvzt-mobile-search #simpleSearch, | ||
. | .pvzt-mobile-search form { | ||
position: relative !important; | position: relative !important; | ||
margin | display: flex !important; | ||
padding | width: 100% !important; | ||
border: | height: 42px !important; | ||
border- | margin: 0 !important; | ||
background: | padding: 0 !important; | ||
overflow: hidden !important; | |||
border: 1px solid #6f4c35 !important; | |||
border-radius: 9px !important; | |||
background: #fff9ec !important; | |||
background-image: none !important; | background-image: none !important; | ||
box-shadow: | box-shadow: inset 0 1px 2px rgba(85, 50, 28, 0.08) !important; | ||
} | } | ||
. | .pvzt-mobile-search #searchInput, | ||
. | .pvzt-mobile-search input[type="search"], | ||
. | .pvzt-mobile-search input[name="search"] { | ||
flex: 1 1 auto !important; | |||
min-width: 0 !important; | |||
height: 40px !important; | |||
margin: 0 !important; | |||
padding: 0 46px 0 13px !important; | |||
border: 0 !important; | border: 0 !important; | ||
background: | outline: 0 !important; | ||
background: transparent !important; | |||
color: var(--pvzt-text) !important; | |||
font-size: 15px !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
. | .pvzt-mobile-search #searchButton, | ||
. | .pvzt-mobile-search #mw-searchButton, | ||
margin | .pvzt-mobile-search button[type="submit"] { | ||
padding | position: absolute !important; | ||
top: 0 !important; | |||
right: 0 !important; | |||
width: 44px !important; | |||
height: 40px !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
border: 0 !important; | border: 0 !important; | ||
border- | border-left: 1px solid rgba(107, 58, 36, 0.35) !important; | ||
background: | background-color: transparent !important; | ||
background-image: | background-image: | ||
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236b3a24' d='M10.7 3a7.7 7.7 0 1 0 4.73 13.78l4.4 4.4a1.2 1.2 0 1 0 1.7-1.7l-4.4-4.4A7.7 7.7 0 0 0 10.7 3Zm0 2.4a5.3 5.3 0 1 1 0 10.6 5.3 5.3 0 0 1 0-10.6Z'/%3E%3C/svg%3E") !important; | |||
background-position: center !important; | |||
background-repeat: no-repeat !important; | |||
background-size: 19px !important; | |||
font-size: 0 !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
cursor: pointer; | |||
} | } | ||
. | /* 데스크톱에서는 양쪽 서랍을 고정 사이드바로 사용 */ | ||
.pvzt-mobile-overlay { | |||
display: none !important; | |||
display | |||
} | } | ||
.pvzt-mobile-drawer { | |||
position: fixed; | |||
top: var(--pvzt-header-h); | |||
bottom: 0; | |||
z-index: 900; | |||
display: block; | |||
padding: 14px 12px 24px; | |||
box-sizing: border-box; | |||
overflow-y: auto; | |||
overscroll-behavior: contain; | |||
background: | |||
linear-gradient( | |||
rgba(62, 37, 23, 0.96), | |||
rgba(48, 29, 19, 0.98) | |||
), | |||
url("/wiki/Special:Redirect/file/Wiki_Bg_Dark.png") | |||
center / cover; | |||
color: #ffffff; | |||
box-shadow: none; | |||
transform: none !important; | |||
transition: none !important; | |||
} | |||
.pvzt-mobile-drawer--left { | |||
left: 0; | |||
width: var(--pvzt-left-w); | |||
border-right: 2px solid #25140d; | |||
} | |||
. | .pvzt-mobile-drawer--right { | ||
right: 0; | |||
width: var(--pvzt-right-w); | |||
border-left: 2px solid #25140d; | |||
} | } | ||
. | .pvzt-mobile-drawer__top { | ||
display: none; | |||
} | } | ||
. | .pvzt-mobile-drawer__logo { | ||
display: flex; | |||
border: 1px solid | align-items: center; | ||
background: | justify-content: center; | ||
min-height: 104px; | |||
margin: 0 0 13px; | |||
padding: 10px; | |||
border: 1px solid rgba(255, 236, 193, 0.18); | |||
border-radius: 10px; | |||
background: rgba(30, 17, 10, 0.26); | |||
} | } | ||
. | .pvzt-mobile-drawer__logo .mw-wiki-logo { | ||
display: block !important; | |||
width: 160px !important; | |||
height: 96px !important; | |||
max-width: 100% !important; | |||
background-position: center !important; | |||
background-repeat: no-repeat !important; | |||
background: | background-size: contain !important; | ||
} | } | ||
. | .pvzt-mobile-portlet { | ||
margin: 0 0 12px; | |||
overflow: hidden; | |||
border: 1px solid #ad7b49; | |||
border-radius: 7px; | |||
background: var(--pvzt-cream-soft); | |||
box-shadow: | color: var(--pvzt-text); | ||
box-shadow: 0 3px 8px rgba(20, 10, 5, 0.18); | |||
} | } | ||
. | .pvzt-mobile-portlet__title { | ||
margin: 0; | |||
padding: 9px 10px 8px; | |||
border-bottom: 1px solid rgba(120, 75, 42, 0.2); | |||
background: rgba(255, 255, 255, 0.36); | |||
color: var(--pvzt-brown-dark); | |||
font-family: | |||
"SB Aggro M", | |||
"SB 어그로 M", | |||
"SB Aggro", | |||
"SB 어그로", | |||
sans-serif; | |||
font-size: 0.86rem; | |||
font-weight: 500; | |||
} | } | ||
. | .pvzt-mobile-portlet ul { | ||
margin: 0 !important; | |||
padding: 7px 9px 9px !important; | |||
list-style: none !important; | |||
} | } | ||
.pvzt-mobile-portlet li { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
list-style: none !important; | |||
} | |||
.pvzt-mobile-portlet a { | |||
display: block !important; | |||
padding: 5px 3px !important; | |||
color: var(--pvzt-text) !important; | |||
. | font-size: 0.78rem !important; | ||
line-height: 1.35 !important; | |||
text-decoration: none !important; | |||
} | } | ||
. | .pvzt-mobile-portlet a:hover, | ||
. | .pvzt-mobile-portlet a:focus-visible { | ||
color: var(--pvzt-green-deep) !important; | |||
text-decoration: underline !important; | |||
} | } | ||
.skin-timeless # | /* 데스크톱 문서 본문 */ | ||
.skin-timeless #mw-content { | |||
margin- | position: relative; | ||
width: auto !important; | |||
max-width: none !important; | |||
min-height: calc(100vh - var(--pvzt-header-h) - 32px); | |||
margin: 16px 12px 24px !important; | |||
padding: 24px 28px 32px !important; | |||
box-sizing: border-box; | |||
overflow: hidden; | |||
border: 1px solid #b88d59 !important; | |||
border-radius: 0 !important; | |||
background: var(--pvzt-paper) !important; | |||
background-image: none !important; | |||
box-shadow: var(--pvzt-shadow) !important; | |||
} | } | ||
.skin-timeless | .skin-timeless #mw-content::before, | ||
.skin-timeless | .skin-timeless #mw-content::after { | ||
content: none !important; | |||
display: none !important; | |||
} | } | ||
.skin-timeless .mw- | .skin-timeless #firstHeading, | ||
margin: 0 !important; | .skin-timeless .mw-first-heading, | ||
padding: | .skin-timeless .mw-body h1.firstHeading { | ||
display: table !important; | |||
width: auto !important; | |||
max-width: calc(100% + 28px) !important; | |||
margin: 0 0 12px -28px !important; | |||
padding: 11px 56px 9px 28px !important; | |||
box-sizing: border-box; | |||
border: 0 !important; | border: 0 !important; | ||
background: | border-radius: 0 !important; | ||
background: var(--pvzt-green-deep) !important; | |||
color: #ffffff !important; | |||
font-family: | |||
"SB Aggro B", | |||
"SB 어그로 B", | |||
"SB Aggro", | |||
"SB 어그로", | |||
sans-serif !important; | |||
font-size: 1.9rem !important; | |||
font-weight: 700 !important; | |||
line-height: 1.24 !important; | |||
-webkit-clip-path: polygon( | |||
0 0, | |||
100% 0, | |||
calc(100% - 28px) 100%, | |||
0 100% | |||
); | |||
clip-path: polygon( | |||
0 0, | |||
100% 0, | |||
calc(100% - 28px) 100%, | |||
0 100% | |||
); | |||
text-shadow: none !important; | |||
} | } | ||
.skin-timeless # | .skin-timeless #firstHeading *, | ||
.skin-timeless .mw- | .skin-timeless .mw-first-heading * { | ||
color: #ffffff !important; | |||
} | } | ||
.pvzt-mobile-page-actions { | |||
display: grid; | |||
grid-template-columns: repeat(5, minmax(72px, 1fr)); | |||
gap: 6px; | |||
max-width: 560px; | |||
margin: 0 0 18px; | |||
padding: 0 0 11px; | |||
border-bottom: 1px solid rgba(107, 58, 36, 0.28); | |||
} | |||
.pvzt-mobile-action { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 4px; | |||
min-width: 0; | |||
min-height: 54px; | |||
padding: 5px 4px; | |||
border: 0; | |||
border-radius: 8px; | |||
background: transparent; | |||
color: #8a654d !important; | |||
font-size: 0.72rem !important; | |||
line-height: 1.1; | |||
text-align: center; | |||
text-decoration: none !important; | |||
cursor: pointer; | |||
} | |||
. | .pvzt-mobile-action:hover, | ||
. | .pvzt-mobile-action:focus-visible { | ||
background: rgba(107, 58, 36, 0.08); | |||
color: var(--pvzt-brown-dark) !important; | |||
outline: 0; | |||
} | } | ||
. | .pvzt-mobile-action::before { | ||
content: ""; | |||
background: | display: block; | ||
width: 24px; | |||
height: 24px; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
opacity: 0.92; | |||
} | } | ||
.pvzt-mobile-action--page::before { | |||
background-image: | |||
url("/wiki/Special:Redirect/file/Actionbar-document.svg"); | |||
filter: sepia(1) saturate(0.7) brightness(0.62); | |||
. | |||
} | } | ||
. | .pvzt-mobile-action--talk::before { | ||
background-image: | |||
url("/wiki/Special:Redirect/file/Actionbar-talk.svg"); | |||
filter: sepia(1) saturate(0.7) brightness(0.62); | |||
} | } | ||
. | .pvzt-mobile-action--edit::before { | ||
background-image: | |||
url("/wiki/Special:Redirect/file/Actionbar-edit.svg"); | |||
filter: sepia(1) saturate(0.7) brightness(0.62); | |||
} | } | ||
.pvzt-mobile-action--history::before { | |||
background-image: | |||
url("/wiki/Special:Redirect/file/Actionbar-history.svg"); | |||
filter: sepia(1) saturate(0.7) brightness(0.62); | |||
- | |||
} | } | ||
.pvzt-mobile-action--more::before { | |||
background-image: | |||
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2' fill='%238a654d'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%238a654d'/%3E%3Ccircle cx='19' cy='12' r='2' fill='%238a654d'/%3E%3C/svg%3E"); | |||
background: | |||
} | } | ||
.skin-timeless .mw-body, | |||
.skin-timeless .mw-parser-output { | |||
color: var(--pvzt-text) !important; | |||
} | } | ||
.skin-timeless #localNotice, | |||
.skin-timeless #catlinks, | |||
.skin-timeless .catlinks, | |||
.skin-timeless ul#filetoc, | |||
background: | .skin-timeless .toccolours, | ||
.skin-timeless .mw-parser-output > .mw-references-wrap, | |||
.skin-timeless .mw-parser-output > ol.references, | |||
.skin-timeless .mw-parser-output > .references { | |||
border: 1px solid var(--pvzt-line) !important; | |||
border-radius: 8px !important; | |||
background: var(--pvzt-paper-2) !important; | |||
background-image: none !important; | |||
color: var(--pvzt-brown) !important; | |||
box-shadow: none !important; | |||
} | } | ||
.skin-timeless #mw-footer-container, | |||
.skin-timeless .mw-footer-container { | |||
margin-left: var(--pvzt-left-w) !important; | |||
margin-right: var(--pvzt-right-w) !important; | |||
padding: 18px 24px 24px !important; | |||
border: 0 !important; | |||
border-top: 1px solid #79533b !important; | |||
background: rgba(48, 29, 19, 0.9) !important; | |||
background-image: none !important; | |||
color: #f4e2c1 !important; | |||
box-shadow: none !important; | |||
} | } | ||
.skin-timeless #mw-footer-container a, | |||
.skin-timeless .mw-footer-container a, | |||
.skin-timeless #mw-footer-container a:visited, | |||
.skin-timeless .mw-footer-container a:visited { | |||
color: #f4d49b !important; | |||
text-shadow: none !important; | |||
} | } | ||
} | } | ||
/* | /* 좁은 데스크톱에서는 오른쪽 사이드바 폭을 조금 줄임 */ | ||
@media screen and (min-width: 851px) and (max-width: 1120px) { | |||
:root { | |||
--pvzt-left-w: 196px; | |||
--pvzt-right-w: 176px; | |||
} | |||
. | .pvzt-mobile-header { | ||
grid-template-columns: 172px minmax(260px, 1fr) 44px; | |||
padding-right: 10px; | |||
padding-left: 10px; | |||
} | } | ||
.skin-timeless #mw-content { | |||
margin-right: 8px !important; | |||
margin-left: 8px !important; | |||
padding-right: 22px !important; | |||
padding-left: 22px !important; | |||
} | } | ||
.skin-timeless #firstHeading, | |||
.skin-timeless | .skin-timeless .mw-first-heading, | ||
.skin-timeless | .skin-timeless .mw-body h1.firstHeading { | ||
.skin-timeless | margin-left: -22px !important; | ||
padding-left: 22px !important; | |||
font-size: 1.65rem !important; | |||
} | } | ||
} | } | ||
2026년 7월 31일 (금) 00:26 판
/* =========================================================
1. 공통 변수
========================================================= */
:root {
--pvzt-green: #3f8f3d;
--pvzt-green-dark: #286d31;
--pvzt-green-deep: #17623a;
--pvzt-cream: #fff5df;
--pvzt-cream-soft: #f5e3c1;
--pvzt-paper: #fff8e8;
--pvzt-paper-2: #f8ebcf;
--pvzt-brown: #6b3a24;
--pvzt-brown-dark: #442516;
--pvzt-wood: #4a2b1c;
--pvzt-wood-2: #352016;
--pvzt-line: #b88c5c;
--pvzt-text: #432d22;
--pvzt-muted: #7a6455;
--pvzt-shadow: 0 6px 20px rgba(48, 26, 14, 0.18);
--pvzt-header-h: 104px;
}
/* =========================================================
2. 모바일 기본 배경
========================================================= */
@media screen and (max-width: 850px) {
html {
min-height: 100% !important;
background: #3a2419 !important;
}
body.skin-timeless {
min-height: 100vh !important;
margin: 0 !important;
padding: var(--pvzt-header-h) 0 0 !important;
background:
linear-gradient(
rgba(57, 34, 22, 0.94),
rgba(57, 34, 22, 0.94)
),
url("/wiki/Special:Redirect/file/Wiki_Bg_Light.png")
center / cover fixed !important;
color: var(--pvzt-text) !important;
}
body.skin-timeless.pvzt-mobile-ready {
overflow-x: hidden !important;
}
.skin-timeless #mw-content-container,
.skin-timeless #mw-content-block,
.skin-timeless #mw-content-wrapper {
background: transparent !important;
background-image: none !important;
border: 0 !important;
box-shadow: none !important;
}
.skin-timeless #mw-content-container {
margin: 0 !important;
padding: 0 !important;
}
.skin-timeless #mw-content-block,
.skin-timeless #mw-content-wrapper {
width: 100% !important;
max-width: none !important;
margin: 0 !important;
padding: 0 !important;
}
}
/* =========================================================
3. 커스텀 UI 생성 후 기본 Timeless UI 숨김
========================================================= */
@media screen and (max-width: 850px) {
body.skin-timeless.pvzt-mobile-ready #mw-header-container,
body.skin-timeless.pvzt-mobile-ready #mw-header-hack,
body.skin-timeless.pvzt-mobile-ready #mw-header-nav-hack,
body.skin-timeless.pvzt-mobile-ready #mw-site-navigation,
body.skin-timeless.pvzt-mobile-ready #mw-related-navigation,
body.skin-timeless.pvzt-mobile-ready #personal,
body.skin-timeless.pvzt-mobile-ready #user-tools,
body.skin-timeless.pvzt-mobile-ready .tools-inline,
body.skin-timeless.pvzt-mobile-ready #site-navigation,
body.skin-timeless.pvzt-mobile-ready #page-tools {
display: none !important;
}
}
/* =========================================================
4. 상단 모바일 헤더
========================================================= */
@media screen and (max-width: 850px) {
.pvzt-mobile-header {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1200;
display: grid;
grid-template-columns: 44px minmax(0, 1fr) 44px;
grid-template-rows: 48px 48px;
gap: 0 8px;
height: var(--pvzt-header-h);
padding: 6px 10px;
box-sizing: border-box;
background: var(--pvzt-green);
border-bottom: 2px solid var(--pvzt-green-dark);
box-shadow: 0 3px 12px rgba(22, 48, 21, 0.28);
}
.pvzt-mobile-header__button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
padding: 0;
border: 0;
border-radius: 10px;
background: transparent;
color: #ffffff;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.pvzt-mobile-header__button:hover,
.pvzt-mobile-header__button:focus-visible {
background: rgba(255, 255, 255, 0.14);
outline: 0;
}
.pvzt-mobile-header__button::before {
content: "";
display: block;
width: 24px;
height: 24px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.pvzt-mobile-header__button--menu::before {
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4 6.5h16v2H4zm0 4.5h16v2H4zm0 4.5h16v2H4z'/%3E%3C/svg%3E");
}
.pvzt-mobile-header__button--account::before {
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-4.7 0-8 2.45-8 5.2V21h16v-1.8c0-2.75-3.3-5.2-8-5.2Z'/%3E%3C/svg%3E");
}
.pvzt-mobile-brand {
display: flex;
align-items: center;
min-width: 0;
height: 44px;
color: #ffffff;
text-decoration: none !important;
font-family:
"SB Aggro B",
"SB 어그로 B",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 1rem;
font-weight: 700;
line-height: 1.1;
text-shadow: 0 1px 1px rgba(18, 61, 27, 0.35);
}
.pvzt-mobile-brand:hover {
color: #ffffff;
text-decoration: none !important;
opacity: 0.94;
}
.pvzt-mobile-brand__text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.pvzt-mobile-search {
grid-column: 1 / -1;
grid-row: 2;
display: flex;
align-items: center;
width: 100%;
min-width: 0;
height: 42px;
}
.pvzt-mobile-search #simpleSearch,
.pvzt-mobile-search form {
position: relative !important;
display: flex !important;
width: 100% !important;
height: 42px !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
border: 1px solid #6f4c35 !important;
border-radius: 9px !important;
background: #fff9ec !important;
background-image: none !important;
box-shadow: inset 0 1px 2px rgba(85, 50, 28, 0.08) !important;
}
.pvzt-mobile-search #searchInput,
.pvzt-mobile-search input[type="search"],
.pvzt-mobile-search input[name="search"] {
flex: 1 1 auto !important;
min-width: 0 !important;
height: 40px !important;
margin: 0 !important;
padding: 0 46px 0 13px !important;
border: 0 !important;
outline: 0 !important;
background: transparent !important;
color: var(--pvzt-text) !important;
font-size: 16px !important;
box-shadow: none !important;
}
.pvzt-mobile-search #searchInput::placeholder,
.pvzt-mobile-search input[name="search"]::placeholder {
color: rgba(67, 45, 34, 0.55) !important;
}
.pvzt-mobile-search #searchButton,
.pvzt-mobile-search #mw-searchButton,
.pvzt-mobile-search button[type="submit"] {
position: absolute !important;
top: 0 !important;
right: 0 !important;
width: 44px !important;
height: 40px !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
border-left: 1px solid rgba(107, 58, 36, 0.35) !important;
border-radius: 0 !important;
background-color: transparent !important;
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236b3a24' d='M10.7 3a7.7 7.7 0 1 0 4.73 13.78l4.4 4.4a1.2 1.2 0 1 0 1.7-1.7l-4.4-4.4A7.7 7.7 0 0 0 10.7 3Zm0 2.4a5.3 5.3 0 1 1 0 10.6 5.3 5.3 0 0 1 0-10.6Z'/%3E%3C/svg%3E") !important;
background-position: center !important;
background-repeat: no-repeat !important;
background-size: 19px !important;
font-size: 0 !important;
box-shadow: none !important;
cursor: pointer;
}
}
/* =========================================================
5. 배경 오버레이와 서랍
========================================================= */
@media screen and (max-width: 850px) {
.pvzt-mobile-overlay {
position: fixed;
inset: 0;
z-index: 1290;
visibility: hidden;
background: rgba(22, 12, 7, 0.55);
opacity: 0;
transition:
opacity 180ms ease,
visibility 0s linear 180ms;
}
body.pvzt-mobile-panel-open .pvzt-mobile-overlay {
visibility: visible;
opacity: 1;
transition-delay: 0s;
}
.pvzt-mobile-drawer {
position: fixed;
top: 0;
bottom: 0;
z-index: 1300;
width: min(84vw, 330px);
padding: 14px 12px 24px;
box-sizing: border-box;
overflow-y: auto;
overscroll-behavior: contain;
background:
linear-gradient(
rgba(62, 37, 23, 0.96),
rgba(48, 29, 19, 0.98)
),
url("/wiki/Special:Redirect/file/Wiki_Bg_Dark.png")
center / cover;
color: #ffffff;
box-shadow: 0 0 24px rgba(26, 12, 5, 0.42);
transition: transform 210ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pvzt-mobile-drawer--left {
left: 0;
transform: translateX(-104%);
border-right: 2px solid #25140d;
}
.pvzt-mobile-drawer--right {
right: 0;
transform: translateX(104%);
border-left: 2px solid #25140d;
}
body.pvzt-left-open .pvzt-mobile-drawer--left,
body.pvzt-right-open .pvzt-mobile-drawer--right {
transform: translateX(0);
}
.pvzt-mobile-drawer__top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-height: 48px;
margin-bottom: 12px;
}
.pvzt-mobile-drawer__title {
margin: 0;
color: #ffffff;
font-family:
"SB Aggro B",
"SB 어그로 B",
"SB Aggro",
"SB 어그로",
sans-serif;
font-size: 1.05rem;
font-weight: 700;
}
.pvzt-mobile-drawer__close {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.28);
border-radius: 9px;
background: rgba(255, 255, 255, 0.08);
color: #ffffff;
font-size: 1.45rem;
line-height: 1;
cursor: pointer;
}
.pvzt-mobile-drawer__logo {
display: flex;
align-items: center;
justify-content: center;
min-height: 98px;
margin: 0 0 13px;
padding: 10px;
border: 1px solid rgba(255, 236, 193, 0.2);
border-radius: 12px;
background: rgba(30, 17, 10, 0.3);
}
.pvzt-mobile-drawer__logo .mw-wiki-logo {
display: block !important;
width: 145px !important;
height: 90px !important;
max-width: 100% !important;
background-position: center !important;
background-repeat: no-repeat !important;
background-size: contain !important;
}
.pvzt-mobile-portlet {
margin: 0 0 12px;
overflow: hidden;
border: 1px solid #ad7b49;
border-radius: 8px;
background: var(--pvzt-cream-soft);
color: var(--pvzt-text);
box-shadow: 0 3px 8px rgba(20, 10, 5, 0.2);
}
.pvzt-mobile-portlet__title {
margin: 0;
padding: 9px 11px 8px;
border-bottom: 1px solid rgba(120, 75, 42, 0.2);
background: rgba(255, 255, 255, 0.36);
color: var(--pvzt-brown-dark);
font-family:
"SB Aggro M",
"SB 어그로 M",
"SB Aggro",
"SB 어그로",
sans-serif;
font-size: 0.9rem;
font-weight: 500;
}
.pvzt-mobile-portlet ul {
margin: 0 !important;
padding: 7px 10px 9px !important;
list-style: none !important;
}
.pvzt-mobile-portlet li {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.pvzt-mobile-portlet li + li {
margin-top: 1px !important;
}
.pvzt-mobile-portlet a {
display: block !important;
padding: 7px 4px !important;
color: var(--pvzt-text) !important;
font-size: 0.88rem !important;
line-height: 1.35 !important;
text-decoration: none !important;
}
.pvzt-mobile-portlet a:hover,
.pvzt-mobile-portlet a:focus-visible {
color: var(--pvzt-green-deep) !important;
text-decoration: underline !important;
}
.pvzt-mobile-portlet .selected > a {
color: var(--pvzt-green-deep) !important;
font-weight: 700 !important;
}
}
/* =========================================================
6. 문서 본문
========================================================= */
@media screen and (max-width: 850px) {
.skin-timeless #mw-content {
position: relative;
width: calc(100% - 14px) !important;
max-width: none !important;
margin: 8px 7px 18px !important;
padding: 14px 12px 22px !important;
box-sizing: border-box;
overflow: hidden;
border: 1px solid #b88d59 !important;
border-radius: 0 !important;
background: var(--pvzt-paper) !important;
background-image: none !important;
box-shadow: var(--pvzt-shadow) !important;
}
.skin-timeless #mw-content::before,
.skin-timeless #mw-content::after {
content: none !important;
display: none !important;
}
.skin-timeless #firstHeading,
.skin-timeless .mw-first-heading,
.skin-timeless .mw-body h1.firstHeading {
display: block !important;
width: calc(100% + 24px) !important;
max-width: none !important;
margin: -14px -12px 10px !important;
padding: 13px 18px 11px !important;
box-sizing: border-box;
border: 0 !important;
border-radius: 0 !important;
background:
linear-gradient(
100deg,
var(--pvzt-green-deep) 0%,
var(--pvzt-green-deep) 88%,
transparent 88.2%
) !important;
color: #ffffff !important;
font-family:
"SB Aggro B",
"SB 어그로 B",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 1.38rem !important;
font-weight: 700 !important;
line-height: 1.25 !important;
text-shadow: none !important;
}
.skin-timeless #firstHeading *,
.skin-timeless .mw-first-heading * {
color: #ffffff !important;
}
.pvzt-mobile-page-actions {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 4px;
margin: 0 -4px 14px;
padding: 0 0 10px;
border-bottom: 1px solid rgba(107, 58, 36, 0.28);
}
.pvzt-mobile-action {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 3px;
min-width: 0;
min-height: 48px;
padding: 4px 2px;
border: 0;
border-radius: 8px;
background: transparent;
color: #8a654d !important;
font-size: 0.66rem !important;
line-height: 1.1;
text-align: center;
text-decoration: none !important;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.pvzt-mobile-action:hover,
.pvzt-mobile-action:focus-visible {
background: rgba(107, 58, 36, 0.08);
color: var(--pvzt-brown-dark) !important;
outline: 0;
}
.pvzt-mobile-action::before {
content: "";
display: block;
width: 23px;
height: 23px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
opacity: 0.92;
}
.pvzt-mobile-action--page::before {
background-image:
url("/wiki/Special:Redirect/file/Actionbar-document.svg");
filter: sepia(1) saturate(0.7) brightness(0.62);
}
.pvzt-mobile-action--talk::before {
background-image:
url("/wiki/Special:Redirect/file/Actionbar-talk.svg");
filter: sepia(1) saturate(0.7) brightness(0.62);
}
.pvzt-mobile-action--edit::before {
background-image:
url("/wiki/Special:Redirect/file/Actionbar-edit.svg");
filter: sepia(1) saturate(0.7) brightness(0.62);
}
.pvzt-mobile-action--history::before {
background-image:
url("/wiki/Special:Redirect/file/Actionbar-history.svg");
filter: sepia(1) saturate(0.7) brightness(0.62);
}
.pvzt-mobile-action--more::before {
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2' fill='%238a654d'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%238a654d'/%3E%3Ccircle cx='19' cy='12' r='2' fill='%238a654d'/%3E%3C/svg%3E");
}
.skin-timeless .mw-body,
.skin-timeless .mw-parser-output {
color: var(--pvzt-text) !important;
}
.skin-timeless .mw-body a,
.skin-timeless .mw-parser-output a {
color: #24683c;
}
.skin-timeless .mw-body a:visited,
.skin-timeless .mw-parser-output a:visited {
color: #5b4f7e;
}
}
/* =========================================================
7. 문단 제목과 잔디 구분선
========================================================= */
.skin-timeless .mw-heading2,
.skin-timeless .mw-parser-output h2.pvz-grass-heading {
position: relative !important;
margin-bottom: 0.72em !important;
padding-bottom: 12px !important;
border: 0 !important;
border-bottom: 0 !important;
background: none !important;
background-image: none !important;
box-shadow: none !important;
}
.skin-timeless .mw-heading2::before,
.skin-timeless .mw-heading2::after,
.skin-timeless .mw-parser-output h2.pvz-grass-heading::before,
.skin-timeless .mw-parser-output h2.pvz-grass-heading::after {
content: none !important;
display: none !important;
border: 0 !important;
background: none !important;
box-shadow: none !important;
}
.skin-timeless .mw-heading2 > h2,
.skin-timeless .mw-parser-output h2.pvz-grass-heading {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
border: 0 !important;
border-bottom: 0 !important;
background: none !important;
background-image: none !important;
box-shadow: none !important;
}
.skin-timeless .pvz-grass-divider {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
display: block;
height: 14px;
overflow: hidden;
pointer-events: none;
background: #ead9b8;
-webkit-mask-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 12'%3E%3Cpath fill='black' d='M0 12V8Q3 8 5 5Q6 3 8 6L11 9Q14 7 16 4Q17 2 19 5L22 9Q25 7 28 5Q29 3 31 6L34 9Q37 7 39 4Q40 2 42 5L45 9Q48 7 51 5Q52 3 54 6L57 9Q60 7 63 4Q64 2 66 5L69 9Q72 7 75 5Q76 3 78 6L81 9Q84 7 87 4Q88 2 90 5L93 9Q96 7 99 5Q100 3 102 6L105 9Q109 8 112 7V12Z'/%3E%3C/svg%3E");
mask-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 12'%3E%3Cpath fill='black' d='M0 12V8Q3 8 5 5Q6 3 8 6L11 9Q14 7 16 4Q17 2 19 5L22 9Q25 7 28 5Q29 3 31 6L34 9Q37 7 39 4Q40 2 42 5L45 9Q48 7 51 5Q52 3 54 6L57 9Q60 7 63 4Q64 2 66 5L69 9Q72 7 75 5Q76 3 78 6L81 9Q84 7 87 4Q88 2 90 5L93 9Q96 7 99 5Q100 3 102 6L105 9Q109 8 112 7V12Z'/%3E%3C/svg%3E");
-webkit-mask-repeat: repeat-x;
mask-repeat: repeat-x;
-webkit-mask-position: left bottom;
mask-position: left bottom;
-webkit-mask-size: 112px 12px;
mask-size: 112px 12px;
}
/* =========================================================
8. 분류·각주·공지·목차
========================================================= */
@media screen and (max-width: 850px) {
.skin-timeless #localNotice,
.skin-timeless #catlinks,
.skin-timeless .catlinks,
.skin-timeless ul#filetoc,
.skin-timeless .toccolours,
.skin-timeless .mw-parser-output > .mw-references-wrap,
.skin-timeless .mw-parser-output > ol.references,
.skin-timeless .mw-parser-output > .references {
border: 1px solid var(--pvzt-line) !important;
border-radius: 8px !important;
background: var(--pvzt-paper-2) !important;
background-image: none !important;
color: var(--pvzt-brown) !important;
box-shadow: none !important;
}
.skin-timeless #localNotice {
padding: 0.65rem 0.75rem !important;
}
.skin-timeless #catlinks,
.skin-timeless .catlinks {
margin-top: 1.2rem !important;
padding: 0.58rem 0.72rem !important;
}
.skin-timeless .mw-parser-output > .mw-references-wrap,
.skin-timeless .mw-parser-output > ol.references,
.skin-timeless .mw-parser-output > .references {
margin-top: 1.2rem !important;
padding: 0.72rem 0.85rem !important;
}
.skin-timeless .mw-parser-output > .mw-references-wrap > ol.references {
margin: 0 !important;
padding: 0 0 0 1.5em !important;
border: 0 !important;
background: transparent !important;
}
}
/* =========================================================
9. 하단 영역
========================================================= */
@media screen and (max-width: 850px) {
.skin-timeless #mw-footer-container,
.skin-timeless .mw-footer-container {
margin: 0 !important;
padding: 16px 14px 22px !important;
border: 0 !important;
border-top: 1px solid #79533b !important;
background: rgba(48, 29, 19, 0.9) !important;
background-image: none !important;
color: #f4e2c1 !important;
box-shadow: none !important;
}
.skin-timeless #mw-footer-container a,
.skin-timeless .mw-footer-container a,
.skin-timeless #mw-footer-container a:visited,
.skin-timeless .mw-footer-container a:visited {
color: #f4d49b !important;
text-shadow: none !important;
}
}
/* =========================================================
10. 작은 화면
========================================================= */
@media screen and (max-width: 380px) {
:root {
--pvzt-header-h: 100px;
}
.pvzt-mobile-header {
grid-template-columns: 40px minmax(0, 1fr) 40px;
padding-right: 7px;
padding-left: 7px;
}
.pvzt-mobile-header__button {
width: 40px;
height: 44px;
}
.pvzt-mobile-brand {
font-size: 0.9rem;
}
.skin-timeless #mw-content {
width: calc(100% - 8px) !important;
margin-right: 4px !important;
margin-left: 4px !important;
padding-right: 10px !important;
padding-left: 10px !important;
}
.skin-timeless #firstHeading,
.skin-timeless .mw-first-heading,
.skin-timeless .mw-body h1.firstHeading {
width: calc(100% + 20px) !important;
margin-right: -10px !important;
margin-left: -10px !important;
padding-right: 14px !important;
padding-left: 14px !important;
font-size: 1.22rem !important;
}
.pvzt-mobile-action {
font-size: 0.61rem !important;
}
}
/* =========================================================
11. 모션 최소화
========================================================= */
@media (prefers-reduced-motion: reduce) {
.pvzt-mobile-overlay,
.pvzt-mobile-drawer {
transition: none !important;
}
}
/* =========================================================
12. 모든 화면에서 기본 Timeless 인터페이스 숨김
커스텀 UI가 생성된 뒤에만 적용
========================================================= */
body.skin-timeless.pvzt-mobile-ready #mw-header-container,
body.skin-timeless.pvzt-mobile-ready #mw-header-hack,
body.skin-timeless.pvzt-mobile-ready #mw-header-nav-hack,
body.skin-timeless.pvzt-mobile-ready #mw-site-navigation,
body.skin-timeless.pvzt-mobile-ready #mw-related-navigation,
body.skin-timeless.pvzt-mobile-ready #personal,
body.skin-timeless.pvzt-mobile-ready #user-tools,
body.skin-timeless.pvzt-mobile-ready .tools-inline,
body.skin-timeless.pvzt-mobile-ready #site-navigation,
body.skin-timeless.pvzt-mobile-ready #page-tools {
display: none !important;
}
/* =========================================================
13. 데스크톱 Timeless 재구성
========================================================= */
@media screen and (min-width: 851px) {
:root {
--pvzt-header-h: 58px;
--pvzt-left-w: 214px;
--pvzt-right-w: 196px;
}
html {
min-height: 100% !important;
background: #3a2419 !important;
}
body.skin-timeless {
min-height: 100vh !important;
margin: 0 !important;
padding: var(--pvzt-header-h) 0 0 !important;
background:
linear-gradient(
rgba(57, 34, 22, 0.94),
rgba(57, 34, 22, 0.94)
),
url("/wiki/Special:Redirect/file/Wiki_Bg_Light.png")
center / cover fixed !important;
color: var(--pvzt-text) !important;
overflow-x: hidden !important;
}
.skin-timeless #mw-content-container,
.skin-timeless #mw-content-block,
.skin-timeless #mw-content-wrapper {
width: auto !important;
max-width: none !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
background: transparent !important;
background-image: none !important;
box-shadow: none !important;
}
.skin-timeless #mw-content-container {
margin-left: var(--pvzt-left-w) !important;
margin-right: var(--pvzt-right-w) !important;
}
/* 데스크톱 상단바 */
.pvzt-mobile-header {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1200;
display: grid;
grid-template-columns: 190px minmax(300px, 1fr) 44px;
grid-template-rows: 44px;
align-items: center;
gap: 12px;
height: var(--pvzt-header-h);
padding: 7px 16px;
box-sizing: border-box;
background: var(--pvzt-green);
border-bottom: 2px solid var(--pvzt-green-dark);
box-shadow: 0 3px 12px rgba(22, 48, 21, 0.28);
}
.pvzt-mobile-header__button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
padding: 0;
border: 0;
border-radius: 10px;
background: transparent;
color: #ffffff;
cursor: pointer;
}
.pvzt-mobile-header__button:hover,
.pvzt-mobile-header__button:focus-visible {
background: rgba(255, 255, 255, 0.14);
outline: 0;
}
.pvzt-mobile-header__button::before {
content: "";
display: block;
width: 24px;
height: 24px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.pvzt-mobile-header__button--menu {
display: none;
}
.pvzt-mobile-header__button--account {
grid-column: 3;
}
.pvzt-mobile-header__button--account::before {
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-4.7 0-8 2.45-8 5.2V21h16v-1.8c0-2.75-3.3-5.2-8-5.2Z'/%3E%3C/svg%3E");
}
.pvzt-mobile-brand {
grid-column: 1;
display: flex;
align-items: center;
min-width: 0;
height: 44px;
color: #ffffff;
font-family:
"SB Aggro B",
"SB 어그로 B",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 1rem;
font-weight: 700;
line-height: 1.1;
text-decoration: none !important;
text-shadow: 0 1px 1px rgba(18, 61, 27, 0.35);
}
.pvzt-mobile-brand:hover {
color: #ffffff;
text-decoration: none !important;
opacity: 0.94;
}
.pvzt-mobile-brand__text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.pvzt-mobile-search {
grid-column: 2;
grid-row: 1;
display: flex;
align-items: center;
width: 100%;
max-width: 980px;
height: 42px;
justify-self: center;
}
.pvzt-mobile-search #simpleSearch,
.pvzt-mobile-search form {
position: relative !important;
display: flex !important;
width: 100% !important;
height: 42px !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
border: 1px solid #6f4c35 !important;
border-radius: 9px !important;
background: #fff9ec !important;
background-image: none !important;
box-shadow: inset 0 1px 2px rgba(85, 50, 28, 0.08) !important;
}
.pvzt-mobile-search #searchInput,
.pvzt-mobile-search input[type="search"],
.pvzt-mobile-search input[name="search"] {
flex: 1 1 auto !important;
min-width: 0 !important;
height: 40px !important;
margin: 0 !important;
padding: 0 46px 0 13px !important;
border: 0 !important;
outline: 0 !important;
background: transparent !important;
color: var(--pvzt-text) !important;
font-size: 15px !important;
box-shadow: none !important;
}
.pvzt-mobile-search #searchButton,
.pvzt-mobile-search #mw-searchButton,
.pvzt-mobile-search button[type="submit"] {
position: absolute !important;
top: 0 !important;
right: 0 !important;
width: 44px !important;
height: 40px !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
border-left: 1px solid rgba(107, 58, 36, 0.35) !important;
background-color: transparent !important;
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236b3a24' d='M10.7 3a7.7 7.7 0 1 0 4.73 13.78l4.4 4.4a1.2 1.2 0 1 0 1.7-1.7l-4.4-4.4A7.7 7.7 0 0 0 10.7 3Zm0 2.4a5.3 5.3 0 1 1 0 10.6 5.3 5.3 0 0 1 0-10.6Z'/%3E%3C/svg%3E") !important;
background-position: center !important;
background-repeat: no-repeat !important;
background-size: 19px !important;
font-size: 0 !important;
box-shadow: none !important;
cursor: pointer;
}
/* 데스크톱에서는 양쪽 서랍을 고정 사이드바로 사용 */
.pvzt-mobile-overlay {
display: none !important;
}
.pvzt-mobile-drawer {
position: fixed;
top: var(--pvzt-header-h);
bottom: 0;
z-index: 900;
display: block;
padding: 14px 12px 24px;
box-sizing: border-box;
overflow-y: auto;
overscroll-behavior: contain;
background:
linear-gradient(
rgba(62, 37, 23, 0.96),
rgba(48, 29, 19, 0.98)
),
url("/wiki/Special:Redirect/file/Wiki_Bg_Dark.png")
center / cover;
color: #ffffff;
box-shadow: none;
transform: none !important;
transition: none !important;
}
.pvzt-mobile-drawer--left {
left: 0;
width: var(--pvzt-left-w);
border-right: 2px solid #25140d;
}
.pvzt-mobile-drawer--right {
right: 0;
width: var(--pvzt-right-w);
border-left: 2px solid #25140d;
}
.pvzt-mobile-drawer__top {
display: none;
}
.pvzt-mobile-drawer__logo {
display: flex;
align-items: center;
justify-content: center;
min-height: 104px;
margin: 0 0 13px;
padding: 10px;
border: 1px solid rgba(255, 236, 193, 0.18);
border-radius: 10px;
background: rgba(30, 17, 10, 0.26);
}
.pvzt-mobile-drawer__logo .mw-wiki-logo {
display: block !important;
width: 160px !important;
height: 96px !important;
max-width: 100% !important;
background-position: center !important;
background-repeat: no-repeat !important;
background-size: contain !important;
}
.pvzt-mobile-portlet {
margin: 0 0 12px;
overflow: hidden;
border: 1px solid #ad7b49;
border-radius: 7px;
background: var(--pvzt-cream-soft);
color: var(--pvzt-text);
box-shadow: 0 3px 8px rgba(20, 10, 5, 0.18);
}
.pvzt-mobile-portlet__title {
margin: 0;
padding: 9px 10px 8px;
border-bottom: 1px solid rgba(120, 75, 42, 0.2);
background: rgba(255, 255, 255, 0.36);
color: var(--pvzt-brown-dark);
font-family:
"SB Aggro M",
"SB 어그로 M",
"SB Aggro",
"SB 어그로",
sans-serif;
font-size: 0.86rem;
font-weight: 500;
}
.pvzt-mobile-portlet ul {
margin: 0 !important;
padding: 7px 9px 9px !important;
list-style: none !important;
}
.pvzt-mobile-portlet li {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.pvzt-mobile-portlet a {
display: block !important;
padding: 5px 3px !important;
color: var(--pvzt-text) !important;
font-size: 0.78rem !important;
line-height: 1.35 !important;
text-decoration: none !important;
}
.pvzt-mobile-portlet a:hover,
.pvzt-mobile-portlet a:focus-visible {
color: var(--pvzt-green-deep) !important;
text-decoration: underline !important;
}
/* 데스크톱 문서 본문 */
.skin-timeless #mw-content {
position: relative;
width: auto !important;
max-width: none !important;
min-height: calc(100vh - var(--pvzt-header-h) - 32px);
margin: 16px 12px 24px !important;
padding: 24px 28px 32px !important;
box-sizing: border-box;
overflow: hidden;
border: 1px solid #b88d59 !important;
border-radius: 0 !important;
background: var(--pvzt-paper) !important;
background-image: none !important;
box-shadow: var(--pvzt-shadow) !important;
}
.skin-timeless #mw-content::before,
.skin-timeless #mw-content::after {
content: none !important;
display: none !important;
}
.skin-timeless #firstHeading,
.skin-timeless .mw-first-heading,
.skin-timeless .mw-body h1.firstHeading {
display: table !important;
width: auto !important;
max-width: calc(100% + 28px) !important;
margin: 0 0 12px -28px !important;
padding: 11px 56px 9px 28px !important;
box-sizing: border-box;
border: 0 !important;
border-radius: 0 !important;
background: var(--pvzt-green-deep) !important;
color: #ffffff !important;
font-family:
"SB Aggro B",
"SB 어그로 B",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 1.9rem !important;
font-weight: 700 !important;
line-height: 1.24 !important;
-webkit-clip-path: polygon(
0 0,
100% 0,
calc(100% - 28px) 100%,
0 100%
);
clip-path: polygon(
0 0,
100% 0,
calc(100% - 28px) 100%,
0 100%
);
text-shadow: none !important;
}
.skin-timeless #firstHeading *,
.skin-timeless .mw-first-heading * {
color: #ffffff !important;
}
.pvzt-mobile-page-actions {
display: grid;
grid-template-columns: repeat(5, minmax(72px, 1fr));
gap: 6px;
max-width: 560px;
margin: 0 0 18px;
padding: 0 0 11px;
border-bottom: 1px solid rgba(107, 58, 36, 0.28);
}
.pvzt-mobile-action {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
min-width: 0;
min-height: 54px;
padding: 5px 4px;
border: 0;
border-radius: 8px;
background: transparent;
color: #8a654d !important;
font-size: 0.72rem !important;
line-height: 1.1;
text-align: center;
text-decoration: none !important;
cursor: pointer;
}
.pvzt-mobile-action:hover,
.pvzt-mobile-action:focus-visible {
background: rgba(107, 58, 36, 0.08);
color: var(--pvzt-brown-dark) !important;
outline: 0;
}
.pvzt-mobile-action::before {
content: "";
display: block;
width: 24px;
height: 24px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
opacity: 0.92;
}
.pvzt-mobile-action--page::before {
background-image:
url("/wiki/Special:Redirect/file/Actionbar-document.svg");
filter: sepia(1) saturate(0.7) brightness(0.62);
}
.pvzt-mobile-action--talk::before {
background-image:
url("/wiki/Special:Redirect/file/Actionbar-talk.svg");
filter: sepia(1) saturate(0.7) brightness(0.62);
}
.pvzt-mobile-action--edit::before {
background-image:
url("/wiki/Special:Redirect/file/Actionbar-edit.svg");
filter: sepia(1) saturate(0.7) brightness(0.62);
}
.pvzt-mobile-action--history::before {
background-image:
url("/wiki/Special:Redirect/file/Actionbar-history.svg");
filter: sepia(1) saturate(0.7) brightness(0.62);
}
.pvzt-mobile-action--more::before {
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2' fill='%238a654d'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%238a654d'/%3E%3Ccircle cx='19' cy='12' r='2' fill='%238a654d'/%3E%3C/svg%3E");
}
.skin-timeless .mw-body,
.skin-timeless .mw-parser-output {
color: var(--pvzt-text) !important;
}
.skin-timeless #localNotice,
.skin-timeless #catlinks,
.skin-timeless .catlinks,
.skin-timeless ul#filetoc,
.skin-timeless .toccolours,
.skin-timeless .mw-parser-output > .mw-references-wrap,
.skin-timeless .mw-parser-output > ol.references,
.skin-timeless .mw-parser-output > .references {
border: 1px solid var(--pvzt-line) !important;
border-radius: 8px !important;
background: var(--pvzt-paper-2) !important;
background-image: none !important;
color: var(--pvzt-brown) !important;
box-shadow: none !important;
}
.skin-timeless #mw-footer-container,
.skin-timeless .mw-footer-container {
margin-left: var(--pvzt-left-w) !important;
margin-right: var(--pvzt-right-w) !important;
padding: 18px 24px 24px !important;
border: 0 !important;
border-top: 1px solid #79533b !important;
background: rgba(48, 29, 19, 0.9) !important;
background-image: none !important;
color: #f4e2c1 !important;
box-shadow: none !important;
}
.skin-timeless #mw-footer-container a,
.skin-timeless .mw-footer-container a,
.skin-timeless #mw-footer-container a:visited,
.skin-timeless .mw-footer-container a:visited {
color: #f4d49b !important;
text-shadow: none !important;
}
}
/* 좁은 데스크톱에서는 오른쪽 사이드바 폭을 조금 줄임 */
@media screen and (min-width: 851px) and (max-width: 1120px) {
:root {
--pvzt-left-w: 196px;
--pvzt-right-w: 176px;
}
.pvzt-mobile-header {
grid-template-columns: 172px minmax(260px, 1fr) 44px;
padding-right: 10px;
padding-left: 10px;
}
.skin-timeless #mw-content {
margin-right: 8px !important;
margin-left: 8px !important;
padding-right: 22px !important;
padding-left: 22px !important;
}
.skin-timeless #firstHeading,
.skin-timeless .mw-first-heading,
.skin-timeless .mw-body h1.firstHeading {
margin-left: -22px !important;
padding-left: 22px !important;
font-size: 1.65rem !important;
}
}