미디어위키:Gadget-Timeless.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
태그: 편집 취소 되돌려진 기여 |
편집 요약 없음 태그: 수동 되돌리기 되돌려진 기여 |
||
| 1번째 줄: | 1번째 줄: | ||
/* MediaWiki:Gadget-Timeless.css | |||
* PvZKRWiki 모바일 Timeless 디자인 | |||
* Timeless의 기존 구조·기능·버튼 위치는 유지하고 시각 디자인만 변경합니다. | |||
*/ | |||
/* ========================= | |||
공통 색상 | |||
========================= */ | |||
body.skin-timeless { | |||
--pvz-mobile-bg: #f5ead7; | |||
--pvz-mobile-paper: #fffae9; | |||
--pvz-mobile-paper-soft: #f6e7c9; | |||
--pvz-mobile-paper-strong: #e6d2b2; | |||
--pvz-mobile-green: #106a40; | |||
--pvz-mobile-green-hover: #167b4c; | |||
--pvz-mobile-green-dark: #0b5432; | |||
--pvz-mobile-brown: #783b24; | |||
--pvz-mobile-brown-hover: #87472f; | |||
--pvz-mobile-brown-dark: #5b1f09; | |||
--pvz-mobile-border: #b1844f; | |||
--pvz-mobile-text: #493125; | |||
--pvz-mobile-muted: #755f50; | |||
--pvz-mobile-link: #0c7045; | |||
--pvz-mobile-link-hover: #0a8b50; | |||
--pvz-mobile-shadow: 0 5px 14px rgba(61, 30, 13, 0.16); | |||
--pvz-mobile-radius: 16px; | |||
--pvz-mobile-font-light: | |||
"SB Aggro L", | |||
"SB 어그로 L", | |||
"SB Aggro", | |||
"SB 어그로", | |||
-apple-system, | |||
BlinkMacSystemFont, | |||
"Segoe UI", | |||
"Apple SD Gothic Neo", | |||
"Noto Sans KR", | |||
sans-serif; | |||
--pvz-mobile-font-medium: | |||
"SB Aggro M", | |||
"SB 어그로 M", | |||
"SB Aggro", | |||
"SB 어그로", | |||
-apple-system, | |||
BlinkMacSystemFont, | |||
"Segoe UI", | |||
"Apple SD Gothic Neo", | |||
"Noto Sans KR", | |||
sans-serif; | |||
--pvz-mobile-font-bold: | |||
"SB Aggro B", | |||
"SB 어그로 B", | |||
"SB Aggro", | |||
"SB 어그로", | |||
-apple-system, | |||
BlinkMacSystemFont, | |||
"Segoe UI", | |||
"Apple SD Gothic Neo", | |||
"Noto Sans KR", | |||
sans-serif; | |||
} | |||
html.skin-theme-clientpref-night body.skin-timeless, | |||
html[data-color-mode="dark"] body.skin-timeless, | |||
body.skin-theme-clientpref-night.skin-timeless, | |||
body.skin-timeless[data-color-mode="dark"] { | |||
--pvz-mobile-bg: #201913; | |||
--pvz-mobile-paper: #2d241d; | |||
--pvz-mobile-paper-soft: #3a2d23; | |||
--pvz-mobile-paper-strong: #4a3729; | |||
--pvz-mobile-green: #1d7049; | |||
--pvz-mobile-green-hover: #26845a; | |||
--pvz-mobile-green-dark: #124b31; | |||
--pvz-mobile-brown: #6e3928; | |||
--pvz-mobile-brown-hover: #7d4633; | |||
--pvz-mobile-brown-dark: #3e1c10; | |||
--pvz-mobile-border: #76543a; | |||
--pvz-mobile-text: #f0e4d2; | |||
--pvz-mobile-muted: #c4b39f; | |||
--pvz-mobile-link: #72c898; | |||
--pvz-mobile-link-hover: #92dfb2; | |||
--pvz-mobile-shadow: 0 5px 16px rgba(0, 0, 0, 0.28); | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os body.skin-timeless { | |||
--pvz-mobile-bg: #201913; | |||
--pvz-mobile-paper: #2d241d; | |||
--pvz-mobile-paper-soft: #3a2d23; | |||
--pvz-mobile-paper-strong: #4a3729; | |||
--pvz-mobile-green: #1d7049; | |||
--pvz-mobile-green-hover: #26845a; | |||
--pvz-mobile-green-dark: #124b31; | |||
--pvz-mobile-brown: #6e3928; | |||
--pvz-mobile-brown-hover: #7d4633; | |||
--pvz-mobile-brown-dark: #3e1c10; | |||
--pvz-mobile-border: #76543a; | |||
--pvz-mobile-text: #f0e4d2; | |||
--pvz-mobile-muted: #c4b39f; | |||
--pvz-mobile-link: #72c898; | |||
--pvz-mobile-link-hover: #92dfb2; | |||
--pvz-mobile-shadow: 0 5px 16px rgba(0, 0, 0, 0.28); | |||
} | |||
} | |||
/* ========================= | |||
초기 기본 디자인 노출 방지 | |||
========================= */ | |||
html:not(.pvz-timeless-ready) body.skin-timeless #mw-header-container, | |||
html:not(.pvz-timeless-ready) body.skin-timeless #mw-content-container, | |||
html:not(.pvz-timeless-ready) body.skin-timeless #mw-site-navigation, | |||
html:not(.pvz-timeless-ready) body.skin-timeless #mw-related-navigation, | |||
html:not(.pvz-timeless-ready) body.skin-timeless #mw-footer-container { | |||
visibility: hidden !important; | |||
} | |||
html:not(.pvz-timeless-ready), | |||
html:not(.pvz-timeless-ready) body.skin-timeless { | |||
background-color: #f5ead7 !important; | |||
} | |||
/* ========================= | /* ========================= | ||
전체 배경·기본 글꼴 | |||
========================= */ | ========================= */ | ||
html { | html, | ||
body.skin-timeless { | |||
min-height: 100% !important; | min-height: 100% !important; | ||
} | } | ||
| 12번째 줄: | 134번째 줄: | ||
min-height: 100vh !important; | min-height: 100vh !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
background: var(--pvz-mobile-bg) !important; | |||
background-image: none !important; | |||
color: var(--pvz-mobile-text) !important; | |||
font-family: var(--pvz-mobile-font-light) !important; | |||
font-weight: 300 !important; | |||
line-height: 1.62 !important; | |||
isolation: isolate; | isolation: isolate; | ||
} | } | ||
| 30번째 줄: | 152번째 줄: | ||
height: 100vh; | height: 100vh; | ||
pointer-events: none; | pointer-events: none; | ||
background-color: | background-color: var(--pvz-mobile-bg); | ||
background-image: | background-image: url("/wiki/Special:Redirect/file/Wiki_Bg_Light.png"); | ||
background-position: center center; | background-position: center center; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| 41번째 줄: | 162번째 줄: | ||
html[data-color-mode="dark"] body.skin-timeless::before, | html[data-color-mode="dark"] body.skin-timeless::before, | ||
body.skin-theme-clientpref-night.skin-timeless::before, | body.skin-theme-clientpref-night.skin-timeless::before, | ||
body[data-color-mode="dark"] | body.skin-timeless[data-color-mode="dark"]::before { | ||
background-image: url("/wiki/Special:Redirect/file/Wiki_Bg_Dark.png"); | |||
background-image: | |||
} | } | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os | html.skin-theme-clientpref-os body.skin-timeless::before { | ||
background-image: url("/wiki/Special:Redirect/file/Wiki_Bg_Dark.png"); | |||
background-image: | |||
} | } | ||
} | } | ||
body.skin-timeless a { | |||
color: var(--pvz-mobile-link) !important; | |||
} | } | ||
body.skin-timeless a:hover, | |||
.skin-timeless | body.skin-timeless a:focus { | ||
.skin-timeless | color: var(--pvz-mobile-link-hover) !important; | ||
} | } | ||
body.skin-timeless :focus-visible { | |||
outline: 2px solid var(--pvz-mobile-green) !important; | |||
outline-offset: 2px !important; | |||
} | |||
/* ========================= | /* ========================= | ||
Timeless 기본 장식 제거 | |||
========================= */ | ========================= */ | ||
.skin-timeless #mw-header-container | body.skin-timeless #mw-header-container, | ||
body.skin-timeless #mw-header, | |||
body.skin-timeless #mw-content-container, | |||
body.skin-timeless #mw-content-wrapper, | |||
body.skin-timeless #mw-content-block, | |||
body.skin-timeless #mw-content, | |||
body.skin-timeless #content, | |||
body.skin-timeless .mw-body, | |||
body.skin-timeless #mw-site-navigation, | |||
body.skin-timeless #mw-related-navigation, | |||
body.skin-timeless #mw-footer-container, | |||
body.skin-timeless #mw-footer { | |||
background-image: none !important; | background-image: none !important; | ||
text-shadow: none !important; | |||
} | |||
body.skin-timeless #mw-content-container::before, | |||
body.skin-timeless #mw-content-container::after, | |||
body.skin-timeless #mw-content-wrapper::before, | |||
body.skin-timeless #mw-content-wrapper::after, | |||
body.skin-timeless #mw-content-block::before, | |||
body.skin-timeless #mw-content-block::after, | |||
body.skin-timeless #mw-content::before, | |||
body.skin-timeless #mw-content::after, | |||
body.skin-timeless #content::before, | |||
body.skin-timeless #content::after { | |||
content: none !important; | |||
display: none !important; | |||
} | } | ||
/* | /* ========================= | ||
.skin-timeless #mw-header- | 상단바 | ||
========================= */ | |||
body.skin-timeless #mw-header-container { | |||
position: relative !important; | |||
z-index: 1000 !important; | |||
width: 100% !important; | |||
max-width: none !important; | |||
margin: 0 !important; | |||
padding: | |||
max(8px, env(safe-area-inset-top)) | |||
max(10px, env(safe-area-inset-right)) | |||
8px | |||
max(10px, env(safe-area-inset-left)) !important; | |||
border: 0 !important; | border: 0 !important; | ||
box- | border-bottom: 3px solid var(--pvz-mobile-green-dark) !important; | ||
border-radius: 0 !important; | |||
box-sizing: border-box !important; | |||
background: var(--pvz-mobile-green) !important; | |||
box-shadow: 0 3px 10px rgba(42, 20, 8, 0.2) !important; | |||
color: #ffffff !important; | |||
} | } | ||
body.skin-timeless #mw-header { | |||
.skin-timeless # | width: 100% !important; | ||
max-width: 1120px !important; | |||
margin: 0 auto !important; | |||
padding: 0 !important; | |||
border: 0 !important; | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
color: #ffffff !important; | color: #ffffff !important; | ||
} | } | ||
.skin-timeless # | body.skin-timeless #mw-header a, | ||
body.skin-timeless #mw-header button, | |||
body.skin-timeless #mw-header label, | |||
body.skin-timeless #mw-header .mw-ui-icon { | |||
color: #ffffff !important; | |||
text-shadow: none !important; | |||
} | } | ||
body.skin-timeless #p-logo, | |||
.skin-timeless # | body.skin-timeless #p-logo-text, | ||
.skin-timeless # | body.skin-timeless .mw-wiki-logo, | ||
.skin-timeless | body.skin-timeless .mw-logo { | ||
.skin-timeless | background: transparent !important; | ||
background-image: none !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
} | } | ||
body.skin-timeless #p-logo-text, | |||
.skin-timeless .mw- | body.skin-timeless .mw-logo-wordmark, | ||
body.skin-timeless .mw-logo-tagline { | |||
font-family: var(--pvz-mobile-font-bold) !important; | |||
font-weight: 700 !important; | |||
color: #ffffff !important; | |||
text-shadow: 0 1px 0 var(--pvz-mobile-green-dark) !important; | |||
} | } | ||
/* | /* 상단 아이콘·메뉴 버튼 */ | ||
body.skin-timeless #mw-header button, | |||
.skin-timeless #mw- | body.skin-timeless #mw-header .mw-ui-button, | ||
.skin-timeless #mw- | body.skin-timeless #mw-header .oo-ui-buttonElement-button, | ||
.skin-timeless # | body.skin-timeless #mw-header .cdx-button, | ||
background | body.skin-timeless #mw-header .mw-ui-icon { | ||
border: 1px solid rgba(255, 255, 255, 0.26) !important; | |||
border-radius: 10px !important; | |||
background: rgba(255, 255, 255, 0.1) !important; | |||
background-image: none !important; | background-image: none !important; | ||
box-shadow: none !important; | |||
transition: | |||
box-shadow: | background-color 120ms ease, | ||
border-color 120ms ease !important; | |||
} | } | ||
body.skin-timeless #mw-header button:hover, | |||
.skin-timeless . | body.skin-timeless #mw-header .mw-ui-button:hover, | ||
border | body.skin-timeless #mw-header .oo-ui-buttonElement-button:hover, | ||
body.skin-timeless #mw-header .cdx-button:hover, | |||
body.skin-timeless #mw-header .mw-ui-icon:hover { | |||
border-color: rgba(255, 255, 255, 0.4) !important; | |||
background: rgba(255, 255, 255, 0.18) !important; | |||
} | } | ||
/* ========================= | /* ========================= | ||
검색창 | |||
========================= */ | ========================= */ | ||
.skin-timeless # | body.skin-timeless #p-search, | ||
.skin-timeless | body.skin-timeless .mw-portlet-search, | ||
.skin-timeless # | body.skin-timeless form[role="search"], | ||
body.skin-timeless #searchform, | |||
body.skin-timeless .search-form { | |||
background: transparent !important; | |||
background-image: none !important; | |||
background | |||
border: 0 !important; | border: 0 !important; | ||
box-shadow: none !important; | |||
} | } | ||
body.skin-timeless #simpleSearch, | |||
.skin-timeless # | body.skin-timeless .search-box, | ||
.skin-timeless | body.skin-timeless .mw-searchInput, | ||
.skin-timeless # | body.skin-timeless #searchInput { | ||
border-radius: 11px !important; | |||
border-radius: | |||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
.skin-timeless # | body.skin-timeless #simpleSearch { | ||
overflow: hidden !important; | |||
border: 2px solid var(--pvz-mobile-green-dark) !important; | |||
background: var(--pvz-mobile-paper) !important; | |||
background-image: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
.skin-timeless # | body.skin-timeless #searchInput, | ||
.skin-timeless | body.skin-timeless .mw-searchInput, | ||
body.skin-timeless input[name="search"] { | |||
color: var(--pvz-mobile-text) !important; | |||
background: var(--pvz-mobile-paper) !important; | |||
background-image: none !important; | |||
font-family: var(--pvz-mobile-font-light) !important; | |||
font-weight: 300 !important; | |||
box-shadow: none !important; | |||
} | } | ||
.skin-timeless # | body.skin-timeless #searchInput::placeholder, | ||
.skin-timeless | body.skin-timeless .mw-searchInput::placeholder, | ||
.skin-timeless | body.skin-timeless input[name="search"]::placeholder { | ||
color: var(--pvz-mobile-muted) !important; | |||
opacity: 0.78 !important; | |||
color: | |||
} | } | ||
.skin-timeless # | body.skin-timeless #searchButton, | ||
.skin-timeless | body.skin-timeless .searchButton, | ||
body.skin-timeless button[type="submit"][name="fulltext"] { | |||
border: 0 !important; | |||
border-left: 2px solid var(--pvz-mobile-green-dark) !important; | |||
border-radius: 0 !important; | |||
background: var(--pvz-mobile-green) !important; | |||
background-image: none !important; | |||
box-shadow: none !important; | |||
color: #ffffff !important; | |||
} | } | ||
.skin-timeless . | body.skin-timeless #searchButton:hover, | ||
body.skin-timeless .searchButton:hover, | |||
body.skin-timeless button[type="submit"][name="fulltext"]:hover { | |||
background: var(--pvz-mobile-green-hover) !important; | |||
} | } | ||
/* ========================= | /* ========================= | ||
본문 배치 | |||
========================= */ | ========================= */ | ||
.skin-timeless # | body.skin-timeless #mw-content-container, | ||
body.skin-timeless #mw-content-wrapper, | |||
body.skin-timeless #mw-content-block { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
border: 0 !important; | border: 0 !important; | ||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
.skin-timeless # | body.skin-timeless #mw-content, | ||
body.skin-timeless #content, | |||
body.skin-timeless .mw-body { | |||
width: calc(100% - 20px) !important; | |||
max-width: 1120px !important; | |||
margin: 14px auto 18px !important; | |||
padding: | |||
18px | |||
max(14px, env(safe-area-inset-right)) | |||
20px | |||
max(14px, env(safe-area-inset-left)) !important; | |||
border: 6px solid var(--pvz-mobile-brown-dark) !important; | |||
border-radius: 20px !important; | |||
box-sizing: border-box !important; | |||
background: var(--pvz-mobile-paper) !important; | |||
background-image: none !important; | |||
box-shadow: var(--pvz-mobile-shadow) !important; | |||
color: var(--pvz-mobile-text) !important; | |||
overflow: visible !important; | |||
} | } | ||
body.skin-timeless #mw-content-text, | |||
.skin-timeless # | body.skin-timeless .mw-parser-output { | ||
.skin-timeless | color: var(--pvz-mobile-text) !important; | ||
font-family: var(--pvz-mobile-font-light) !important; | |||
font-weight: 300 !important; | |||
} | } | ||
/* ========================= | /* ========================= | ||
문서 | 문서 제목·문단 제목 | ||
========================= */ | ========================= */ | ||
.skin-timeless . | body.skin-timeless #firstHeading, | ||
body.skin-timeless .firstHeading, | |||
body.skin-timeless .mw-first-heading, | |||
body.skin-timeless .mw-parser-output h1, | |||
body.skin-timeless .mw-parser-output h2, | |||
body.skin-timeless .mw-parser-output h3, | |||
body.skin-timeless .mw-parser-output h4, | |||
body.skin-timeless .mw-parser-output h5, | |||
body.skin-timeless .mw-parser-output h6 { | |||
font-family: var(--pvz-mobile-font-bold) !important; | |||
font-weight: 700 !important; | |||
color: var(--pvz-mobile-text) !important; | |||
text-shadow: none !important; | |||
} | } | ||
.skin-timeless . | body.skin-timeless #firstHeading, | ||
display: | body.skin-timeless .firstHeading, | ||
padding: | body.skin-timeless .mw-first-heading { | ||
border: | display: block !important; | ||
width: calc(100% + 28px) !important; | |||
max-width: none !important; | |||
margin: -4px -14px 14px !important; | |||
padding: 9px 14px 8px !important; | |||
border: 0 !important; | |||
border-radius: 8px !important; | border-radius: 8px !important; | ||
box-sizing: border-box | box-sizing: border-box !important; | ||
background: var(--pvz-mobile-green) !important; | |||
background- | background-image: none !important; | ||
color: #ffffff !important; | |||
background- | font-size: clamp(1.35rem, 6vw, 1.75rem) !important; | ||
color: # | line-height: 1.28 !important; | ||
font- | |||
line-height: 1. | |||
} | } | ||
.skin-timeless . | body.skin-timeless #firstHeading *, | ||
body.skin-timeless .firstHeading *, | |||
body.skin-timeless .mw-first-heading * { | |||
.skin-timeless . | |||
color: #ffffff !important; | color: #ffffff !important; | ||
} | } | ||
body.skin-timeless .mw-heading, | |||
.skin-timeless . | body.skin-timeless .mw-heading2, | ||
body.skin-timeless .mw-heading3, | |||
body.skin-timeless .mw-heading4, | |||
body.skin-timeless .mw-heading5, | |||
body.skin-timeless .mw-heading6 { | |||
.skin-timeless | border: 0 !important; | ||
background: transparent !important; | |||
.skin-timeless | |||
.skin-timeless | |||
.skin-timeless | |||
background | |||
background-image: none !important; | background-image: none !important; | ||
box-shadow: none !important; | |||
} | } | ||
body.skin-timeless .mw-heading2, | |||
.skin-timeless | body.skin-timeless .mw-parser-output h2.pvz-grass-heading { | ||
.skin-timeless | position: relative !important; | ||
margin: 1.35em 0 0.72em !important; | |||
padding: | padding: 0 0 11px !important; | ||
background | border: 0 !important; | ||
background: transparent !important; | |||
box-shadow: none !important; | |||
} | } | ||
.skin-timeless | body.skin-timeless .mw-heading2 > h2, | ||
.skin-timeless . | body.skin-timeless .mw-parser-output h2.pvz-grass-heading { | ||
margin: 0 !important; | |||
background- | padding: 0 !important; | ||
border: 0 !important; | |||
background: transparent !important; | |||
font-size: 1.28rem !important; | |||
line-height: 1.34 !important; | |||
} | } | ||
.skin-timeless | body.skin-timeless .pvz-grass-divider { | ||
position: absolute; | |||
right: 0; | |||
bottom: 0; | |||
url("/ | left: 0; | ||
z-index: 1; | |||
display: block; | |||
/ | height: 12px; | ||
overflow: hidden; | |||
pointer-events: none; | |||
background: var(--pvz-mobile-green); | |||
-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; | |||
} | } | ||
body.skin-timeless .mw-heading3, | |||
body.skin-timeless .mw-heading4, | |||
body.skin-timeless .mw-heading5, | |||
body.skin-timeless .mw-heading6 { | |||
margin-top: 1.1em !important; | |||
padding-bottom: 0.25em !important; | |||
border-bottom: 1px solid var(--pvz-mobile-border) !important; | |||
} | } | ||
/* ========================= | /* ========================= | ||
문서 액션·탭 | |||
========================= */ | ========================= */ | ||
.skin-timeless #mw- | body.skin-timeless #p-namespaces, | ||
body.skin-timeless #p-views, | |||
body.skin-timeless #p-cactions, | |||
body.skin-timeless .mw-portlet-namespaces, | |||
body.skin-timeless .mw-portlet-views { | |||
border: 0 !important; | |||
background: transparent !important; | |||
background-image: none !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
.skin-timeless #mw- | body.skin-timeless #p-namespaces a, | ||
content: | body.skin-timeless #p-views a, | ||
body.skin-timeless #p-cactions-label, | |||
body.skin-timeless .mw-portlet-namespaces a, | |||
body.skin-timeless .mw-portlet-views a { | |||
display: inline-flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
min-height: 34px !important; | |||
padding: 6px 10px !important; | |||
border: 2px solid var(--pvz-mobile-brown-dark) !important; | |||
border-radius: 9px !important; | |||
box-sizing: border-box !important; | |||
background: var(--pvz-mobile-brown) !important; | |||
background-image: none !important; | |||
box-shadow: none !important; | |||
color: #ffffff !important; | |||
font-family: var(--pvz-mobile-font-medium) !important; | |||
font-size: 0.78rem !important; | |||
font-weight: 500 !important; | |||
line-height: 1.15 !important; | |||
text-decoration: none !important; | |||
text-shadow: none !important; | |||
} | } | ||
.skin-timeless #mw- | body.skin-timeless #p-namespaces li.selected > a, | ||
body.skin-timeless #p-views li.selected > a, | |||
body.skin-timeless .mw-portlet-namespaces li.selected > a, | |||
body.skin-timeless .mw-portlet-views li.selected > a { | |||
background: var(--pvz-mobile-paper-strong) !important; | |||
color: var(--pvz-mobile-text) !important; | |||
} | } | ||
body.skin-timeless #p-namespaces a:hover, | |||
body.skin-timeless #p-views a:hover, | |||
body.skin-timeless #p-cactions-label:hover, | |||
body.skin-timeless .mw-portlet-namespaces a:hover, | |||
body.skin-timeless .mw-portlet-views a:hover { | |||
background: var(--pvz-mobile-brown-hover) !important; | |||
color: #ffffff !important; | |||
} | |||
/* ========================= | /* ========================= | ||
사이드 메뉴·드롭다운 | |||
========================= */ | ========================= */ | ||
.skin-timeless # | body.skin-timeless #mw-site-navigation, | ||
body.skin-timeless #mw-related-navigation { | |||
.skin-timeless | background: transparent !important; | ||
background-image: none !important; | |||
border: 0 !important; | border: 0 !important; | ||
box-shadow: none !important; | |||
} | } | ||
.skin-timeless # | body.skin-timeless #mw-site-navigation .sidebar-chunk, | ||
.skin-timeless .mw- | body.skin-timeless #mw-related-navigation .sidebar-chunk, | ||
color: | body.skin-timeless .mw-portlet, | ||
body.skin-timeless .vector-menu-content, | |||
body.skin-timeless .dropdown, | |||
body.skin-timeless .mw-portlet-body { | |||
border-color: var(--pvz-mobile-border) !important; | |||
background: var(--pvz-mobile-paper) !important; | |||
background-image: none !important; | |||
color: var(--pvz-mobile-text) !important; | |||
box-shadow: var(--pvz-mobile-shadow) !important; | |||
} | } | ||
body.skin-timeless #mw-site-navigation .sidebar-chunk, | |||
.skin-timeless # | body.skin-timeless #mw-related-navigation .sidebar-chunk { | ||
margin-bottom: 10px !important; | |||
. | padding: 10px 12px !important; | ||
.skin-timeless | border: 2px solid var(--pvz-mobile-border) !important; | ||
border-radius: 13px !important; | |||
box-sizing: border-box !important; | |||
} | } | ||
body.skin-timeless #mw-site-navigation h2, | |||
body.skin-timeless #mw-related-navigation h2, | |||
body.skin-timeless .mw-portlet h3, | |||
body.skin-timeless .mw-portlet .mw-portlet-heading { | |||
margin: 0 0 6px !important; | |||
padding: 0 0 6px !important; | |||
border: 0 !important; | |||
border-bottom: 1px solid var(--pvz-mobile-border) !important; | |||
background: transparent !important; | |||
color: var(--pvz-mobile-brown) !important; | |||
font-family: var(--pvz-mobile-font-medium) !important; | |||
font-weight: 500 !important; | |||
text-shadow: none !important; | |||
} | |||
body.skin-timeless #mw-site-navigation ul, | |||
body.skin-timeless #mw-related-navigation ul, | |||
body.skin-timeless .mw-portlet ul { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
.skin-timeless | list-style: none !important; | ||
.skin-timeless .mw- | |||
margin | |||
padding | |||
} | } | ||
.skin-timeless .mw-body .mw- | body.skin-timeless #mw-site-navigation li, | ||
margin | body.skin-timeless #mw-related-navigation li, | ||
padding | body.skin-timeless .mw-portlet li { | ||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||
.skin-timeless | body.skin-timeless #mw-site-navigation li > a, | ||
.skin-timeless .mw- | body.skin-timeless #mw-related-navigation li > a, | ||
body.skin-timeless .mw-portlet li > a { | |||
display: block !important; | display: block !important; | ||
padding: 5px 2px !important; | |||
border-radius: 6px !important; | |||
font-family: var(--pvz-mobile-font-light) !important; | |||
font-weight: 300 !important; | |||
text-decoration: none !important; | |||
- | |||
} | } | ||
body.skin-timeless #mw-site-navigation li > a:hover, | |||
body.skin-timeless #mw-related-navigation li > a:hover, | |||
body.skin-timeless .mw-portlet li > a:hover { | |||
background: var(--pvz-mobile-paper-soft) !important; | |||
text-decoration: none !important; | |||
} | |||
/* ========================= | /* ========================= | ||
버튼·입력 요소 | |||
========================= */ | ========================= */ | ||
.skin-timeless .mw-body . | body.skin-timeless .mw-body button, | ||
.skin-timeless | body.skin-timeless .mw-body input[type="button"], | ||
.skin-timeless . | body.skin-timeless .mw-body input[type="submit"], | ||
border: | body.skin-timeless .mw-body .mw-ui-button, | ||
body.skin-timeless .mw-body .oo-ui-buttonElement-button, | |||
body.skin-timeless .mw-body .cdx-button { | |||
border: 2px solid var(--pvz-mobile-green-dark) !important; | |||
border-radius: 10px !important; | border-radius: 10px !important; | ||
background: | background: var(--pvz-mobile-green) !important; | ||
background-image: none !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
color: #ffffff !important; | |||
font-family: var(--pvz-mobile-font-medium) !important; | |||
font-weight: 500 !important; | |||
text-shadow: none !important; | |||
} | } | ||
.skin-timeless .mw-body . | body.skin-timeless .mw-body button:hover, | ||
body.skin-timeless .mw-body input[type="button"]:hover, | |||
body.skin-timeless .mw-body input[type="submit"]:hover, | |||
body.skin-timeless .mw-body .mw-ui-button:hover, | |||
body.skin-timeless .mw-body .oo-ui-buttonElement-button:hover, | |||
body.skin-timeless .mw-body .cdx-button:hover { | |||
background: var(--pvz-mobile-green-hover) !important; | |||
} | } | ||
.skin-timeless | body.skin-timeless .mw-body input[type="text"], | ||
border: 1px solid | body.skin-timeless .mw-body input[type="search"], | ||
border-radius: | body.skin-timeless .mw-body input[type="password"], | ||
background: | body.skin-timeless .mw-body input[type="email"], | ||
body.skin-timeless .mw-body input[type="url"], | |||
body.skin-timeless .mw-body textarea, | |||
body.skin-timeless .mw-body select, | |||
body.skin-timeless .mw-body .oo-ui-inputWidget-input, | |||
body.skin-timeless .mw-body .cdx-text-input__input { | |||
border: 1px solid var(--pvz-mobile-border) !important; | |||
border-radius: 9px !important; | |||
background: var(--pvz-mobile-paper) !important; | |||
background-image: none !important; | |||
color: var(--pvz-mobile-text) !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
font-family: var(--pvz-mobile-font-light) !important; | |||
font-weight: 300 !important; | |||
} | } | ||
/* ========================= | /* ========================= | ||
표·분류·각주·알림 | |||
========================= */ | ========================= */ | ||
.skin-timeless | body.skin-timeless .wikitable { | ||
. | border: 1px solid var(--pvz-mobile-border) !important; | ||
border-collapse: separate !important; | |||
border-spacing: 0 !important; | |||
border: | |||
border-radius: 10px !important; | border-radius: 10px !important; | ||
background: var(--pvz-mobile-paper) !important; | |||
background-image: none !important; | background-image: none !important; | ||
color: | color: var(--pvz-mobile-text) !important; | ||
overflow: hidden !important; | |||
} | } | ||
.skin-timeless | body.skin-timeless .wikitable > tr > th, | ||
.skin-timeless . | body.skin-timeless .wikitable > * > tr > th { | ||
color: | border-color: var(--pvz-mobile-border) !important; | ||
background: var(--pvz-mobile-paper-strong) !important; | |||
color: var(--pvz-mobile-text) !important; | |||
} | } | ||
.skin-timeless | body.skin-timeless .wikitable > tr > td, | ||
.skin-timeless . | body.skin-timeless .wikitable > * > tr > td { | ||
color: | border-color: var(--pvz-mobile-border) !important; | ||
background: var(--pvz-mobile-paper) !important; | |||
color: var(--pvz-mobile-text) !important; | |||
} | } | ||
.skin-timeless # | body.skin-timeless #catlinks, | ||
.skin-timeless . | body.skin-timeless .catlinks, | ||
.skin-timeless | body.skin-timeless .mw-references-wrap, | ||
.skin-timeless . | body.skin-timeless ol.references { | ||
border: | margin-top: 16px !important; | ||
background: | padding: 10px 12px !important; | ||
color: | border: 1px solid var(--pvz-mobile-border) !important; | ||
border-radius: 11px !important; | |||
box-sizing: border-box !important; | |||
background: var(--pvz-mobile-paper-soft) !important; | |||
background-image: none !important; | |||
color: var(--pvz-mobile-text) !important; | |||
box-shadow: none !important; | |||
} | } | ||
body.skin-timeless .mw-message-box, | |||
body.skin-timeless .cdx-message, | |||
body.skin-timeless .mw-notification { | |||
border-radius: 11px !important; | |||
box-shadow: var(--pvz-mobile-shadow) !important; | |||
font-family: var(--pvz-mobile-font-light) !important; | |||
} | |||
/* ========================= | /* ========================= | ||
최하단 | |||
========================= */ | ========================= */ | ||
.skin-timeless | body.skin-timeless #mw-footer-container { | ||
width: 100% !important; | |||
max-width: none !important; | |||
margin | margin: 0 !important; | ||
padding: | padding: | ||
border: | 16px | ||
border- | max(14px, env(safe-area-inset-right)) | ||
calc(18px + env(safe-area-inset-bottom)) | |||
max(14px, env(safe-area-inset-left)) !important; | |||
border: 0 !important; | |||
border-top: 3px solid var(--pvz-mobile-brown-dark) !important; | |||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
background: | background: var(--pvz-mobile-brown) !important; | ||
background-image: none !important; | background-image: none !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
color: #f5eadf !important; | |||
} | } | ||
.skin-timeless | body.skin-timeless #mw-footer { | ||
margin: 0 !important; | width: 100% !important; | ||
padding: 0 | max-width: 1120px !important; | ||
margin: 0 auto !important; | |||
padding: 0 !important; | |||
border: 0 !important; | border: 0 !important; | ||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | |||
color: inherit !important; | color: inherit !important; | ||
} | } | ||
.skin-timeless | body.skin-timeless #mw-footer ul { | ||
display: flex !important; | |||
flex-wrap: wrap !important; | |||
gap: 6px 14px !important; | |||
margin: 0 0 8px !important; | |||
padding: 0 !important; | |||
list-style: none !important; | |||
} | } | ||
.skin-timeless | body.skin-timeless #mw-footer li { | ||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||
body.skin-timeless #mw-footer a { | |||
color: #fff4e8 !important; | |||
text-decoration: none !important; | |||
.skin-timeless #mw-footer | |||
} | } | ||
.skin-timeless #mw-footer | body.skin-timeless #mw-footer a:hover { | ||
color: #ffffff !important; | |||
text-decoration: underline !important; | |||
color: # | |||
text- | |||
} | } | ||
/* ========================= | /* ========================= | ||
화면 | 작은 화면 보정 | ||
========================= */ | ========================= */ | ||
@media | @media (max-width: 480px) { | ||
body.skin-timeless { | body.skin-timeless #mw-content, | ||
-- | body.skin-timeless #content, | ||
-- | body.skin-timeless .mw-body { | ||
width: calc(100% - 12px) !important; | |||
margin-top: 8px !important; | |||
margin-bottom: 12px !important; | |||
border-radius: | padding: | ||
14px | |||
max(11px, env(safe-area-inset-right)) | |||
16px | |||
max(11px, env(safe-area-inset-left)) !important; | |||
border-width: 4px !important; | |||
border-radius: 15px !important; | |||
} | } | ||
.skin-timeless #mw- | body.skin-timeless #firstHeading, | ||
border-radius: | body.skin-timeless .firstHeading, | ||
body.skin-timeless .mw-first-heading { | |||
width: calc(100% + 22px) !important; | |||
margin-right: -11px !important; | |||
margin-left: -11px !important; | |||
padding-right: 11px !important; | |||
padding-left: 11px !important; | |||
border-radius: 6px !important; | |||
} | } | ||
.skin-timeless # | body.skin-timeless #p-namespaces a, | ||
.skin-timeless . | body.skin-timeless #p-views a, | ||
body.skin-timeless #p-cactions-label, | |||
body.skin-timeless .mw-portlet-namespaces a, | |||
body.skin-timeless .mw-portlet-views a { | |||
min-height: 32px !important; | |||
padding: 5px 8px !important; | |||
font-size: 0.73rem !important; | |||
.skin-timeless | |||
} | } | ||
} | } | ||
@media (prefers-reduced-motion: reduce) { | @media (prefers-reduced-motion: reduce) { | ||
.skin-timeless . | body.skin-timeless *, | ||
.skin-timeless | body.skin-timeless *::before, | ||
animation-duration: | body.skin-timeless *::after { | ||
scroll-behavior: auto !important; | |||
transition-duration: 0.01ms !important; | |||
animation-duration: 0.01ms !important; | |||
animation-iteration-count: 1 !important; | |||
} | } | ||
} | } | ||
2026년 7월 30일 (목) 23:30 판
/* MediaWiki:Gadget-Timeless.css
* PvZKRWiki 모바일 Timeless 디자인
* Timeless의 기존 구조·기능·버튼 위치는 유지하고 시각 디자인만 변경합니다.
*/
/* =========================
공통 색상
========================= */
body.skin-timeless {
--pvz-mobile-bg: #f5ead7;
--pvz-mobile-paper: #fffae9;
--pvz-mobile-paper-soft: #f6e7c9;
--pvz-mobile-paper-strong: #e6d2b2;
--pvz-mobile-green: #106a40;
--pvz-mobile-green-hover: #167b4c;
--pvz-mobile-green-dark: #0b5432;
--pvz-mobile-brown: #783b24;
--pvz-mobile-brown-hover: #87472f;
--pvz-mobile-brown-dark: #5b1f09;
--pvz-mobile-border: #b1844f;
--pvz-mobile-text: #493125;
--pvz-mobile-muted: #755f50;
--pvz-mobile-link: #0c7045;
--pvz-mobile-link-hover: #0a8b50;
--pvz-mobile-shadow: 0 5px 14px rgba(61, 30, 13, 0.16);
--pvz-mobile-radius: 16px;
--pvz-mobile-font-light:
"SB Aggro L",
"SB 어그로 L",
"SB Aggro",
"SB 어그로",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
--pvz-mobile-font-medium:
"SB Aggro M",
"SB 어그로 M",
"SB Aggro",
"SB 어그로",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
--pvz-mobile-font-bold:
"SB Aggro B",
"SB 어그로 B",
"SB Aggro",
"SB 어그로",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
}
html.skin-theme-clientpref-night body.skin-timeless,
html[data-color-mode="dark"] body.skin-timeless,
body.skin-theme-clientpref-night.skin-timeless,
body.skin-timeless[data-color-mode="dark"] {
--pvz-mobile-bg: #201913;
--pvz-mobile-paper: #2d241d;
--pvz-mobile-paper-soft: #3a2d23;
--pvz-mobile-paper-strong: #4a3729;
--pvz-mobile-green: #1d7049;
--pvz-mobile-green-hover: #26845a;
--pvz-mobile-green-dark: #124b31;
--pvz-mobile-brown: #6e3928;
--pvz-mobile-brown-hover: #7d4633;
--pvz-mobile-brown-dark: #3e1c10;
--pvz-mobile-border: #76543a;
--pvz-mobile-text: #f0e4d2;
--pvz-mobile-muted: #c4b39f;
--pvz-mobile-link: #72c898;
--pvz-mobile-link-hover: #92dfb2;
--pvz-mobile-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os body.skin-timeless {
--pvz-mobile-bg: #201913;
--pvz-mobile-paper: #2d241d;
--pvz-mobile-paper-soft: #3a2d23;
--pvz-mobile-paper-strong: #4a3729;
--pvz-mobile-green: #1d7049;
--pvz-mobile-green-hover: #26845a;
--pvz-mobile-green-dark: #124b31;
--pvz-mobile-brown: #6e3928;
--pvz-mobile-brown-hover: #7d4633;
--pvz-mobile-brown-dark: #3e1c10;
--pvz-mobile-border: #76543a;
--pvz-mobile-text: #f0e4d2;
--pvz-mobile-muted: #c4b39f;
--pvz-mobile-link: #72c898;
--pvz-mobile-link-hover: #92dfb2;
--pvz-mobile-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
}
}
/* =========================
초기 기본 디자인 노출 방지
========================= */
html:not(.pvz-timeless-ready) body.skin-timeless #mw-header-container,
html:not(.pvz-timeless-ready) body.skin-timeless #mw-content-container,
html:not(.pvz-timeless-ready) body.skin-timeless #mw-site-navigation,
html:not(.pvz-timeless-ready) body.skin-timeless #mw-related-navigation,
html:not(.pvz-timeless-ready) body.skin-timeless #mw-footer-container {
visibility: hidden !important;
}
html:not(.pvz-timeless-ready),
html:not(.pvz-timeless-ready) body.skin-timeless {
background-color: #f5ead7 !important;
}
/* =========================
전체 배경·기본 글꼴
========================= */
html,
body.skin-timeless {
min-height: 100% !important;
}
body.skin-timeless {
position: relative !important;
min-height: 100vh !important;
margin: 0 !important;
background: var(--pvz-mobile-bg) !important;
background-image: none !important;
color: var(--pvz-mobile-text) !important;
font-family: var(--pvz-mobile-font-light) !important;
font-weight: 300 !important;
line-height: 1.62 !important;
isolation: isolate;
}
body.skin-timeless::before {
content: "";
position: fixed;
inset: 0;
z-index: -1;
display: block;
width: 100vw;
height: 100vh;
pointer-events: none;
background-color: var(--pvz-mobile-bg);
background-image: url("/wiki/Special:Redirect/file/Wiki_Bg_Light.png");
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
html.skin-theme-clientpref-night body.skin-timeless::before,
html[data-color-mode="dark"] body.skin-timeless::before,
body.skin-theme-clientpref-night.skin-timeless::before,
body.skin-timeless[data-color-mode="dark"]::before {
background-image: url("/wiki/Special:Redirect/file/Wiki_Bg_Dark.png");
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os body.skin-timeless::before {
background-image: url("/wiki/Special:Redirect/file/Wiki_Bg_Dark.png");
}
}
body.skin-timeless a {
color: var(--pvz-mobile-link) !important;
}
body.skin-timeless a:hover,
body.skin-timeless a:focus {
color: var(--pvz-mobile-link-hover) !important;
}
body.skin-timeless :focus-visible {
outline: 2px solid var(--pvz-mobile-green) !important;
outline-offset: 2px !important;
}
/* =========================
Timeless 기본 장식 제거
========================= */
body.skin-timeless #mw-header-container,
body.skin-timeless #mw-header,
body.skin-timeless #mw-content-container,
body.skin-timeless #mw-content-wrapper,
body.skin-timeless #mw-content-block,
body.skin-timeless #mw-content,
body.skin-timeless #content,
body.skin-timeless .mw-body,
body.skin-timeless #mw-site-navigation,
body.skin-timeless #mw-related-navigation,
body.skin-timeless #mw-footer-container,
body.skin-timeless #mw-footer {
background-image: none !important;
text-shadow: none !important;
}
body.skin-timeless #mw-content-container::before,
body.skin-timeless #mw-content-container::after,
body.skin-timeless #mw-content-wrapper::before,
body.skin-timeless #mw-content-wrapper::after,
body.skin-timeless #mw-content-block::before,
body.skin-timeless #mw-content-block::after,
body.skin-timeless #mw-content::before,
body.skin-timeless #mw-content::after,
body.skin-timeless #content::before,
body.skin-timeless #content::after {
content: none !important;
display: none !important;
}
/* =========================
상단바
========================= */
body.skin-timeless #mw-header-container {
position: relative !important;
z-index: 1000 !important;
width: 100% !important;
max-width: none !important;
margin: 0 !important;
padding:
max(8px, env(safe-area-inset-top))
max(10px, env(safe-area-inset-right))
8px
max(10px, env(safe-area-inset-left)) !important;
border: 0 !important;
border-bottom: 3px solid var(--pvz-mobile-green-dark) !important;
border-radius: 0 !important;
box-sizing: border-box !important;
background: var(--pvz-mobile-green) !important;
box-shadow: 0 3px 10px rgba(42, 20, 8, 0.2) !important;
color: #ffffff !important;
}
body.skin-timeless #mw-header {
width: 100% !important;
max-width: 1120px !important;
margin: 0 auto !important;
padding: 0 !important;
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
color: #ffffff !important;
}
body.skin-timeless #mw-header a,
body.skin-timeless #mw-header button,
body.skin-timeless #mw-header label,
body.skin-timeless #mw-header .mw-ui-icon {
color: #ffffff !important;
text-shadow: none !important;
}
body.skin-timeless #p-logo,
body.skin-timeless #p-logo-text,
body.skin-timeless .mw-wiki-logo,
body.skin-timeless .mw-logo {
background: transparent !important;
background-image: none !important;
border: 0 !important;
box-shadow: none !important;
}
body.skin-timeless #p-logo-text,
body.skin-timeless .mw-logo-wordmark,
body.skin-timeless .mw-logo-tagline {
font-family: var(--pvz-mobile-font-bold) !important;
font-weight: 700 !important;
color: #ffffff !important;
text-shadow: 0 1px 0 var(--pvz-mobile-green-dark) !important;
}
/* 상단 아이콘·메뉴 버튼 */
body.skin-timeless #mw-header button,
body.skin-timeless #mw-header .mw-ui-button,
body.skin-timeless #mw-header .oo-ui-buttonElement-button,
body.skin-timeless #mw-header .cdx-button,
body.skin-timeless #mw-header .mw-ui-icon {
border: 1px solid rgba(255, 255, 255, 0.26) !important;
border-radius: 10px !important;
background: rgba(255, 255, 255, 0.1) !important;
background-image: none !important;
box-shadow: none !important;
transition:
background-color 120ms ease,
border-color 120ms ease !important;
}
body.skin-timeless #mw-header button:hover,
body.skin-timeless #mw-header .mw-ui-button:hover,
body.skin-timeless #mw-header .oo-ui-buttonElement-button:hover,
body.skin-timeless #mw-header .cdx-button:hover,
body.skin-timeless #mw-header .mw-ui-icon:hover {
border-color: rgba(255, 255, 255, 0.4) !important;
background: rgba(255, 255, 255, 0.18) !important;
}
/* =========================
검색창
========================= */
body.skin-timeless #p-search,
body.skin-timeless .mw-portlet-search,
body.skin-timeless form[role="search"],
body.skin-timeless #searchform,
body.skin-timeless .search-form {
background: transparent !important;
background-image: none !important;
border: 0 !important;
box-shadow: none !important;
}
body.skin-timeless #simpleSearch,
body.skin-timeless .search-box,
body.skin-timeless .mw-searchInput,
body.skin-timeless #searchInput {
border-radius: 11px !important;
box-sizing: border-box !important;
}
body.skin-timeless #simpleSearch {
overflow: hidden !important;
border: 2px solid var(--pvz-mobile-green-dark) !important;
background: var(--pvz-mobile-paper) !important;
background-image: none !important;
box-shadow: none !important;
}
body.skin-timeless #searchInput,
body.skin-timeless .mw-searchInput,
body.skin-timeless input[name="search"] {
color: var(--pvz-mobile-text) !important;
background: var(--pvz-mobile-paper) !important;
background-image: none !important;
font-family: var(--pvz-mobile-font-light) !important;
font-weight: 300 !important;
box-shadow: none !important;
}
body.skin-timeless #searchInput::placeholder,
body.skin-timeless .mw-searchInput::placeholder,
body.skin-timeless input[name="search"]::placeholder {
color: var(--pvz-mobile-muted) !important;
opacity: 0.78 !important;
}
body.skin-timeless #searchButton,
body.skin-timeless .searchButton,
body.skin-timeless button[type="submit"][name="fulltext"] {
border: 0 !important;
border-left: 2px solid var(--pvz-mobile-green-dark) !important;
border-radius: 0 !important;
background: var(--pvz-mobile-green) !important;
background-image: none !important;
box-shadow: none !important;
color: #ffffff !important;
}
body.skin-timeless #searchButton:hover,
body.skin-timeless .searchButton:hover,
body.skin-timeless button[type="submit"][name="fulltext"]:hover {
background: var(--pvz-mobile-green-hover) !important;
}
/* =========================
본문 배치
========================= */
body.skin-timeless #mw-content-container,
body.skin-timeless #mw-content-wrapper,
body.skin-timeless #mw-content-block {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
}
body.skin-timeless #mw-content,
body.skin-timeless #content,
body.skin-timeless .mw-body {
width: calc(100% - 20px) !important;
max-width: 1120px !important;
margin: 14px auto 18px !important;
padding:
18px
max(14px, env(safe-area-inset-right))
20px
max(14px, env(safe-area-inset-left)) !important;
border: 6px solid var(--pvz-mobile-brown-dark) !important;
border-radius: 20px !important;
box-sizing: border-box !important;
background: var(--pvz-mobile-paper) !important;
background-image: none !important;
box-shadow: var(--pvz-mobile-shadow) !important;
color: var(--pvz-mobile-text) !important;
overflow: visible !important;
}
body.skin-timeless #mw-content-text,
body.skin-timeless .mw-parser-output {
color: var(--pvz-mobile-text) !important;
font-family: var(--pvz-mobile-font-light) !important;
font-weight: 300 !important;
}
/* =========================
문서 제목·문단 제목
========================= */
body.skin-timeless #firstHeading,
body.skin-timeless .firstHeading,
body.skin-timeless .mw-first-heading,
body.skin-timeless .mw-parser-output h1,
body.skin-timeless .mw-parser-output h2,
body.skin-timeless .mw-parser-output h3,
body.skin-timeless .mw-parser-output h4,
body.skin-timeless .mw-parser-output h5,
body.skin-timeless .mw-parser-output h6 {
font-family: var(--pvz-mobile-font-bold) !important;
font-weight: 700 !important;
color: var(--pvz-mobile-text) !important;
text-shadow: none !important;
}
body.skin-timeless #firstHeading,
body.skin-timeless .firstHeading,
body.skin-timeless .mw-first-heading {
display: block !important;
width: calc(100% + 28px) !important;
max-width: none !important;
margin: -4px -14px 14px !important;
padding: 9px 14px 8px !important;
border: 0 !important;
border-radius: 8px !important;
box-sizing: border-box !important;
background: var(--pvz-mobile-green) !important;
background-image: none !important;
color: #ffffff !important;
font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
line-height: 1.28 !important;
}
body.skin-timeless #firstHeading *,
body.skin-timeless .firstHeading *,
body.skin-timeless .mw-first-heading * {
color: #ffffff !important;
}
body.skin-timeless .mw-heading,
body.skin-timeless .mw-heading2,
body.skin-timeless .mw-heading3,
body.skin-timeless .mw-heading4,
body.skin-timeless .mw-heading5,
body.skin-timeless .mw-heading6 {
border: 0 !important;
background: transparent !important;
background-image: none !important;
box-shadow: none !important;
}
body.skin-timeless .mw-heading2,
body.skin-timeless .mw-parser-output h2.pvz-grass-heading {
position: relative !important;
margin: 1.35em 0 0.72em !important;
padding: 0 0 11px !important;
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
}
body.skin-timeless .mw-heading2 > h2,
body.skin-timeless .mw-parser-output h2.pvz-grass-heading {
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
background: transparent !important;
font-size: 1.28rem !important;
line-height: 1.34 !important;
}
body.skin-timeless .pvz-grass-divider {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
display: block;
height: 12px;
overflow: hidden;
pointer-events: none;
background: var(--pvz-mobile-green);
-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;
}
body.skin-timeless .mw-heading3,
body.skin-timeless .mw-heading4,
body.skin-timeless .mw-heading5,
body.skin-timeless .mw-heading6 {
margin-top: 1.1em !important;
padding-bottom: 0.25em !important;
border-bottom: 1px solid var(--pvz-mobile-border) !important;
}
/* =========================
문서 액션·탭
========================= */
body.skin-timeless #p-namespaces,
body.skin-timeless #p-views,
body.skin-timeless #p-cactions,
body.skin-timeless .mw-portlet-namespaces,
body.skin-timeless .mw-portlet-views {
border: 0 !important;
background: transparent !important;
background-image: none !important;
box-shadow: none !important;
}
body.skin-timeless #p-namespaces a,
body.skin-timeless #p-views a,
body.skin-timeless #p-cactions-label,
body.skin-timeless .mw-portlet-namespaces a,
body.skin-timeless .mw-portlet-views a {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
min-height: 34px !important;
padding: 6px 10px !important;
border: 2px solid var(--pvz-mobile-brown-dark) !important;
border-radius: 9px !important;
box-sizing: border-box !important;
background: var(--pvz-mobile-brown) !important;
background-image: none !important;
box-shadow: none !important;
color: #ffffff !important;
font-family: var(--pvz-mobile-font-medium) !important;
font-size: 0.78rem !important;
font-weight: 500 !important;
line-height: 1.15 !important;
text-decoration: none !important;
text-shadow: none !important;
}
body.skin-timeless #p-namespaces li.selected > a,
body.skin-timeless #p-views li.selected > a,
body.skin-timeless .mw-portlet-namespaces li.selected > a,
body.skin-timeless .mw-portlet-views li.selected > a {
background: var(--pvz-mobile-paper-strong) !important;
color: var(--pvz-mobile-text) !important;
}
body.skin-timeless #p-namespaces a:hover,
body.skin-timeless #p-views a:hover,
body.skin-timeless #p-cactions-label:hover,
body.skin-timeless .mw-portlet-namespaces a:hover,
body.skin-timeless .mw-portlet-views a:hover {
background: var(--pvz-mobile-brown-hover) !important;
color: #ffffff !important;
}
/* =========================
사이드 메뉴·드롭다운
========================= */
body.skin-timeless #mw-site-navigation,
body.skin-timeless #mw-related-navigation {
background: transparent !important;
background-image: none !important;
border: 0 !important;
box-shadow: none !important;
}
body.skin-timeless #mw-site-navigation .sidebar-chunk,
body.skin-timeless #mw-related-navigation .sidebar-chunk,
body.skin-timeless .mw-portlet,
body.skin-timeless .vector-menu-content,
body.skin-timeless .dropdown,
body.skin-timeless .mw-portlet-body {
border-color: var(--pvz-mobile-border) !important;
background: var(--pvz-mobile-paper) !important;
background-image: none !important;
color: var(--pvz-mobile-text) !important;
box-shadow: var(--pvz-mobile-shadow) !important;
}
body.skin-timeless #mw-site-navigation .sidebar-chunk,
body.skin-timeless #mw-related-navigation .sidebar-chunk {
margin-bottom: 10px !important;
padding: 10px 12px !important;
border: 2px solid var(--pvz-mobile-border) !important;
border-radius: 13px !important;
box-sizing: border-box !important;
}
body.skin-timeless #mw-site-navigation h2,
body.skin-timeless #mw-related-navigation h2,
body.skin-timeless .mw-portlet h3,
body.skin-timeless .mw-portlet .mw-portlet-heading {
margin: 0 0 6px !important;
padding: 0 0 6px !important;
border: 0 !important;
border-bottom: 1px solid var(--pvz-mobile-border) !important;
background: transparent !important;
color: var(--pvz-mobile-brown) !important;
font-family: var(--pvz-mobile-font-medium) !important;
font-weight: 500 !important;
text-shadow: none !important;
}
body.skin-timeless #mw-site-navigation ul,
body.skin-timeless #mw-related-navigation ul,
body.skin-timeless .mw-portlet ul {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
body.skin-timeless #mw-site-navigation li,
body.skin-timeless #mw-related-navigation li,
body.skin-timeless .mw-portlet li {
margin: 0 !important;
padding: 0 !important;
}
body.skin-timeless #mw-site-navigation li > a,
body.skin-timeless #mw-related-navigation li > a,
body.skin-timeless .mw-portlet li > a {
display: block !important;
padding: 5px 2px !important;
border-radius: 6px !important;
font-family: var(--pvz-mobile-font-light) !important;
font-weight: 300 !important;
text-decoration: none !important;
}
body.skin-timeless #mw-site-navigation li > a:hover,
body.skin-timeless #mw-related-navigation li > a:hover,
body.skin-timeless .mw-portlet li > a:hover {
background: var(--pvz-mobile-paper-soft) !important;
text-decoration: none !important;
}
/* =========================
버튼·입력 요소
========================= */
body.skin-timeless .mw-body button,
body.skin-timeless .mw-body input[type="button"],
body.skin-timeless .mw-body input[type="submit"],
body.skin-timeless .mw-body .mw-ui-button,
body.skin-timeless .mw-body .oo-ui-buttonElement-button,
body.skin-timeless .mw-body .cdx-button {
border: 2px solid var(--pvz-mobile-green-dark) !important;
border-radius: 10px !important;
background: var(--pvz-mobile-green) !important;
background-image: none !important;
box-shadow: none !important;
color: #ffffff !important;
font-family: var(--pvz-mobile-font-medium) !important;
font-weight: 500 !important;
text-shadow: none !important;
}
body.skin-timeless .mw-body button:hover,
body.skin-timeless .mw-body input[type="button"]:hover,
body.skin-timeless .mw-body input[type="submit"]:hover,
body.skin-timeless .mw-body .mw-ui-button:hover,
body.skin-timeless .mw-body .oo-ui-buttonElement-button:hover,
body.skin-timeless .mw-body .cdx-button:hover {
background: var(--pvz-mobile-green-hover) !important;
}
body.skin-timeless .mw-body input[type="text"],
body.skin-timeless .mw-body input[type="search"],
body.skin-timeless .mw-body input[type="password"],
body.skin-timeless .mw-body input[type="email"],
body.skin-timeless .mw-body input[type="url"],
body.skin-timeless .mw-body textarea,
body.skin-timeless .mw-body select,
body.skin-timeless .mw-body .oo-ui-inputWidget-input,
body.skin-timeless .mw-body .cdx-text-input__input {
border: 1px solid var(--pvz-mobile-border) !important;
border-radius: 9px !important;
background: var(--pvz-mobile-paper) !important;
background-image: none !important;
color: var(--pvz-mobile-text) !important;
box-shadow: none !important;
font-family: var(--pvz-mobile-font-light) !important;
font-weight: 300 !important;
}
/* =========================
표·분류·각주·알림
========================= */
body.skin-timeless .wikitable {
border: 1px solid var(--pvz-mobile-border) !important;
border-collapse: separate !important;
border-spacing: 0 !important;
border-radius: 10px !important;
background: var(--pvz-mobile-paper) !important;
background-image: none !important;
color: var(--pvz-mobile-text) !important;
overflow: hidden !important;
}
body.skin-timeless .wikitable > tr > th,
body.skin-timeless .wikitable > * > tr > th {
border-color: var(--pvz-mobile-border) !important;
background: var(--pvz-mobile-paper-strong) !important;
color: var(--pvz-mobile-text) !important;
}
body.skin-timeless .wikitable > tr > td,
body.skin-timeless .wikitable > * > tr > td {
border-color: var(--pvz-mobile-border) !important;
background: var(--pvz-mobile-paper) !important;
color: var(--pvz-mobile-text) !important;
}
body.skin-timeless #catlinks,
body.skin-timeless .catlinks,
body.skin-timeless .mw-references-wrap,
body.skin-timeless ol.references {
margin-top: 16px !important;
padding: 10px 12px !important;
border: 1px solid var(--pvz-mobile-border) !important;
border-radius: 11px !important;
box-sizing: border-box !important;
background: var(--pvz-mobile-paper-soft) !important;
background-image: none !important;
color: var(--pvz-mobile-text) !important;
box-shadow: none !important;
}
body.skin-timeless .mw-message-box,
body.skin-timeless .cdx-message,
body.skin-timeless .mw-notification {
border-radius: 11px !important;
box-shadow: var(--pvz-mobile-shadow) !important;
font-family: var(--pvz-mobile-font-light) !important;
}
/* =========================
최하단
========================= */
body.skin-timeless #mw-footer-container {
width: 100% !important;
max-width: none !important;
margin: 0 !important;
padding:
16px
max(14px, env(safe-area-inset-right))
calc(18px + env(safe-area-inset-bottom))
max(14px, env(safe-area-inset-left)) !important;
border: 0 !important;
border-top: 3px solid var(--pvz-mobile-brown-dark) !important;
box-sizing: border-box !important;
background: var(--pvz-mobile-brown) !important;
background-image: none !important;
box-shadow: none !important;
color: #f5eadf !important;
}
body.skin-timeless #mw-footer {
width: 100% !important;
max-width: 1120px !important;
margin: 0 auto !important;
padding: 0 !important;
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
color: inherit !important;
}
body.skin-timeless #mw-footer ul {
display: flex !important;
flex-wrap: wrap !important;
gap: 6px 14px !important;
margin: 0 0 8px !important;
padding: 0 !important;
list-style: none !important;
}
body.skin-timeless #mw-footer li {
margin: 0 !important;
padding: 0 !important;
}
body.skin-timeless #mw-footer a {
color: #fff4e8 !important;
text-decoration: none !important;
}
body.skin-timeless #mw-footer a:hover {
color: #ffffff !important;
text-decoration: underline !important;
}
/* =========================
작은 화면 보정
========================= */
@media (max-width: 480px) {
body.skin-timeless #mw-content,
body.skin-timeless #content,
body.skin-timeless .mw-body {
width: calc(100% - 12px) !important;
margin-top: 8px !important;
margin-bottom: 12px !important;
padding:
14px
max(11px, env(safe-area-inset-right))
16px
max(11px, env(safe-area-inset-left)) !important;
border-width: 4px !important;
border-radius: 15px !important;
}
body.skin-timeless #firstHeading,
body.skin-timeless .firstHeading,
body.skin-timeless .mw-first-heading {
width: calc(100% + 22px) !important;
margin-right: -11px !important;
margin-left: -11px !important;
padding-right: 11px !important;
padding-left: 11px !important;
border-radius: 6px !important;
}
body.skin-timeless #p-namespaces a,
body.skin-timeless #p-views a,
body.skin-timeless #p-cactions-label,
body.skin-timeless .mw-portlet-namespaces a,
body.skin-timeless .mw-portlet-views a {
min-height: 32px !important;
padding: 5px 8px !important;
font-size: 0.73rem !important;
}
}
@media (prefers-reduced-motion: reduce) {
body.skin-timeless *,
body.skin-timeless *::before,
body.skin-timeless *::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}
}