미디어위키:Gadget-Vector.css
식물 vs 좀비 위키
참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
/* Vector 2010 액션바 전체 디자인 */
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views,
.skin-vector-legacy #p-cactions {
margin: 0;
background: none !important;
}
.skin-vector-legacy #p-namespaces .vector-menu-content,
.skin-vector-legacy #p-views .vector-menu-content,
.skin-vector-legacy #p-cactions .vector-menu-content,
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content-list,
.skin-vector-legacy #p-cactions .vector-menu-content-list {
background: none !important;
background-image: none !important;
border: 0 !important;
box-shadow: none !important;
}
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content-list {
display: flex;
align-items: flex-end;
gap: 3px;
}
/* 문서·토론·보기 탭을 더보기 버튼 높이에 맞춰 위로 정렬 */
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views {
top: -4px !important;
}
.skin-vector-legacy #p-namespaces li,
.skin-vector-legacy #p-views li,
.skin-vector-legacy #p-cactions li {
position: relative;
margin: 0;
padding: 0;
border: 0;
background: none !important;
background-image: none !important;
}
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a,
.skin-vector-legacy #p-cactions-label {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 2px;
height: 32px;
min-height: 32px;
margin: 0;
padding: 5px 10px 4px;
border: 3px solid #5c1f06;
border-radius: 10px 10px 0 0;
box-sizing: border-box;
background: #783b24 !important;
background-image: none !important;
color: #eee9e6 !important;
font-family:
"SB Aggro M",
"SB 어그로 M",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 0.74rem;
font-weight: 500;
line-height: 1;
text-decoration: none;
text-shadow:
#5c1f06 2px 0 0,
#5c1f06 1.75517px 0.958851px 0,
#5c1f06 1.0806px 1.68294px 0,
#5c1f06 0.141474px 1.99499px 0,
#5c1f06 -0.832294px 1.81859px 0,
#5c1f06 -1.60229px 1.19694px 0,
#5c1f06 -1.97999px 0.28224px 0,
#5c1f06 -1.87291px -0.701566px 0,
#5c1f06 -1.30729px -1.51361px 0,
#5c1f06 -0.421592px -1.95506px 0,
#5c1f06 0.567324px -1.91785px 0,
#5c1f06 1.41734px -1.41108px 0,
#5c1f06 1.92034px -0.558831px 0;
box-shadow:
inset 0 2px 0 #985d43,
inset 0 -3px 0 #552515;
transition:
height 140ms ease,
padding 140ms ease,
filter 120ms ease,
background-color 120ms ease;
}
.skin-vector-legacy #p-namespaces li.selected > a,
.skin-vector-legacy #p-views li.selected > a {
z-index: 2;
height: 39px;
min-height: 39px;
padding-top: 9px;
padding-bottom: 5px;
background: #b1837c !important;
color: #fff !important;
transform: none;
box-shadow:
inset 0 2px 0 #cfa392,
inset 0 -3px 0 #8a5c56;
}
.skin-vector-legacy #p-namespaces li > a:hover,
.skin-vector-legacy #p-views li > a:hover,
.skin-vector-legacy #p-cactions-label:hover {
filter: brightness(1.08);
text-decoration: none;
}
.skin-vector-legacy #p-namespaces li,
.skin-vector-legacy #p-views li,
.skin-vector-legacy #p-namespaces li.selected,
.skin-vector-legacy #p-views li.selected,
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a,
.skin-vector-legacy #p-cactions-label,
.skin-vector-legacy #p-cactions-label span {
background-image: none !important;
}
.skin-vector-legacy #ca-nstab-main > a::before,
.skin-vector-legacy #ca-talk > a::before,
.skin-vector-legacy #ca-view > a::before,
.skin-vector-legacy #ca-edit > a::before,
.skin-vector-legacy #ca-history > a::before {
content: "";
display: block;
flex: 0 0 14px;
width: 14px;
height: 14px;
margin-right: 0;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.skin-vector-legacy #ca-nstab-main > a::before {
background-image: url("/wiki/Special:Redirect/file/Actionbar-document.svg");
}
.skin-vector-legacy #ca-talk > a::before {
background-image: url("/wiki/Special:Redirect/file/Actionbar-talk.svg");
}
.skin-vector-legacy #ca-view > a::before {
background-image: url("/wiki/Special:Redirect/file/Actionbar-read.svg");
}
.skin-vector-legacy #ca-edit > a::before {
background-image: url("/wiki/Special:Redirect/file/Actionbar-edit.svg");
}
.skin-vector-legacy #ca-history > a::before {
background-image: url("/wiki/Special:Redirect/file/Actionbar-history.svg");
}
.skin-vector-legacy #p-cactions {
margin-left: 4px;
}
.skin-vector-legacy #p-cactions-label {
min-width: 36px;
cursor: pointer;
}
.skin-vector-legacy #p-cactions-label span {
display: block;
color: inherit !important;
font: inherit;
text-shadow: inherit;
}
/* 주시 버튼 */
.skin-vector-legacy #ca-watch > a,
.skin-vector-legacy #ca-unwatch > a,
.skin-vector-legacy li.mw-watchlink > a,
.skin-vector-legacy a.mw-watchlink {
width: 36px;
min-width: 36px;
padding-right: 8px;
padding-left: 8px;
gap: 0;
overflow: visible;
font-size: 0 !important;
color: transparent !important;
text-shadow: none !important;
}
.skin-vector-legacy #ca-watch > a > *,
.skin-vector-legacy #ca-unwatch > a > *,
.skin-vector-legacy li.mw-watchlink > a > *,
.skin-vector-legacy a.mw-watchlink > * {
visibility: hidden !important;
width: 0 !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
}
.skin-vector-legacy #ca-watch > a::before,
.skin-vector-legacy #ca-unwatch > a::before,
.skin-vector-legacy li.mw-watchlink > a::before,
.skin-vector-legacy a.mw-watchlink::before {
content: "" !important;
display: block !important;
width: 18px;
height: 18px;
flex: 0 0 18px;
margin: 0;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
transform-origin: 50% 50%;
}
.skin-vector-legacy #ca-watch > a::before,
.skin-vector-legacy .pvz-watch-not-watched > a::before,
.skin-vector-legacy a.pvz-watch-not-watched::before {
background-image: url("/wiki/Special:Redirect/file/GW2_Star2.png") !important;
}
.skin-vector-legacy #ca-unwatch > a::before,
.skin-vector-legacy .pvz-watch-watched > a::before,
.skin-vector-legacy a.pvz-watch-watched::before {
background-image: url("/wiki/Special:Redirect/file/GW2_Star.png") !important;
}
.skin-vector-legacy #ca-watch > a::after,
.skin-vector-legacy #ca-unwatch > a::after,
.skin-vector-legacy li.mw-watchlink > a::after,
.skin-vector-legacy a.mw-watchlink::after {
content: none !important;
display: none !important;
}
.skin-vector-legacy .pvz-watch-spinning > a::before,
.skin-vector-legacy a.pvz-watch-spinning::before {
animation: pvz-watch-star-spin 360ms cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes pvz-watch-star-spin {
0% { transform: rotate(0deg) scale(1); }
45% { transform: rotate(180deg) scale(0.82); }
100% { transform: rotate(360deg) scale(1); }
}
.skin-vector-legacy #p-cactions .vector-menu-content {
margin-top: 0;
}
.skin-vector-legacy #p-cactions .vector-menu-content li > a {
display: block;
min-height: 0;
padding: 6px 12px;
border: 0;
border-radius: 0;
background: transparent !important;
color: inherit !important;
font-family: inherit;
font-weight: inherit;
text-shadow: none;
box-shadow: none;
transform: none;
}
@media (max-width: 1100px) {
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content-list {
gap: 2px;
}
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a,
.skin-vector-legacy #p-cactions-label {
padding-right: 10px;
padding-left: 10px;
font-size: 0.86rem;
}
}
@media (prefers-reduced-motion: reduce) {
.skin-vector-legacy .pvz-watch-spinning > a::before,
.skin-vector-legacy a.pvz-watch-spinning::before {
animation-duration: 1ms;
}
}
/* 본문창: 같은 굵기의 매우 두꺼운 이중 테두리 */
.skin-vector-legacy #content,
.skin-vector-legacy .mw-body {
background: #e6d2b2 !important;
border: 15px solid #5b1f09 !important;
border-radius: 28px !important;
box-shadow:
inset 0 0 0 15px #e6d2b2 !important;
box-sizing: border-box;
padding:
calc(1.25em + 15px)
calc(1.5em + 15px)
calc(1.5em + 15px) !important;
overflow: hidden;
}
/* 더보기 버튼을 나머지 액션바 버튼의 기준선에 맞춤 */
.skin-vector-legacy #p-cactions {
top: -4px !important;
}
/* 문서 제목과 문단 제목 */
.skin-vector-legacy #firstHeading,
.skin-vector-legacy .mw-first-heading,
.skin-vector-legacy .mw-parser-output h1,
.skin-vector-legacy .mw-parser-output h2,
.skin-vector-legacy .mw-parser-output h3,
.skin-vector-legacy .mw-parser-output h4,
.skin-vector-legacy .mw-parser-output h5,
.skin-vector-legacy .mw-parser-output h6 {
font-family:
"SB Aggro B",
"SB 어그로 B",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-weight: 700;
}
/* 액션바 위치 */
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views {
top: -10px !important;
}
.skin-vector-legacy #p-cactions {
top: -4px !important;
}
.skin-vector-legacy #p-namespaces .vector-menu-content,
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content,
.skin-vector-legacy #p-views .vector-menu-content-list,
.skin-vector-legacy #p-cactions .vector-menu-content,
.skin-vector-legacy #p-cactions .vector-menu-content-list,
.skin-vector-legacy #p-cactions-label {
top: 0 !important;
margin-top: 0 !important;
transform: none !important;
}
/* 본문창 */
.skin-vector-legacy #content,
.skin-vector-legacy .mw-body {
position: relative;
isolation: isolate;
background: #e6d2b2 !important;
border: 15px solid #5b1f09 !important;
border-radius: 30px !important;
box-shadow: none !important;
box-sizing: border-box;
padding:
calc(1em + 15px)
calc(1.2em + 15px)
calc(1.25em + 15px) !important;
overflow: hidden;
}
.skin-vector-legacy #content::before,
.skin-vector-legacy .mw-body::before {
content: "" !important;
display: block !important;
position: absolute;
inset: 15px;
z-index: -1;
border-radius: 18px;
background: #fffae9;
pointer-events: none;
}
.skin-vector-legacy #content::after,
.skin-vector-legacy .mw-body::after {
content: none !important;
display: none !important;
}
/* 문서 제목 */
.skin-vector-legacy #firstHeading,
.skin-vector-legacy .mw-first-heading {
display: table;
width: auto;
max-width: calc(100% + 1.2em + 15px);
margin:
0
0
0.6em
calc(-1.2em - 15px) !important;
padding:
0.38em
calc(1.25em + 32px)
0.32em
calc(1.2em + 15px);
box-sizing: border-box;
border: 0 !important;
background: #b9d9c8;
-webkit-clip-path: polygon(
0 0,
100% 0,
calc(100% - 30px) 100%,
0 100%
);
clip-path: polygon(
0 0,
100% 0,
calc(100% - 30px) 100%,
0 100%
);
}
/* ===== v14 문서 제목 색상 및 액션바 정렬 ===== */
/* 문서 제목 색상 */
.skin-vector-legacy #firstHeading,
.skin-vector-legacy .mw-first-heading {
background-color: #106a40 !important;
color: #ffffff !important;
}
.skin-vector-legacy #firstHeading *,
.skin-vector-legacy .mw-first-heading * {
color: #ffffff !important;
}
/* 문서·토론 버튼 묶음을 오른쪽으로 15px 이동 */
.skin-vector-legacy #p-namespaces {
margin-left: 15px !important;
}
/* 메뉴 컨테이너의 서로 다른 세로 보정값 제거 */
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views,
.skin-vector-legacy #p-cactions {
top: 0 !important;
transform: none !important;
}
/* 실제 버튼 면을 모두 같은 기준으로 2px 아래 이동 */
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a,
.skin-vector-legacy #p-cactions-label {
position: relative !important;
top: 2px !important;
margin-top: 0 !important;
transform: none !important;
}
/* 내부 목록에 남은 위치 보정 제거 */
.skin-vector-legacy #p-namespaces .vector-menu-content,
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content,
.skin-vector-legacy #p-views .vector-menu-content-list,
.skin-vector-legacy #p-cactions .vector-menu-content,
.skin-vector-legacy #p-cactions .vector-menu-content-list {
top: 0 !important;
margin-top: 0 !important;
transform: none !important;
}
/* ===== v15 액션바 및 왼쪽 보조창 디자인 ===== */
/* 왼쪽 문서·토론 버튼 묶음을 기존보다 3px 더 오른쪽으로 이동 */
.skin-vector-legacy #p-namespaces {
margin-left: 18px !important;
}
/* 모든 액션바 버튼을 현재보다 2px 더 아래로 이동 */
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views,
.skin-vector-legacy #p-cactions {
top: 0 !important;
transform: none !important;
}
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a,
.skin-vector-legacy #p-cactions-label {
position: relative !important;
top: 4px !important;
margin-top: 0 !important;
transform: none !important;
}
/* 더보기 버튼도 다른 버튼의 실제 위치값을 그대로 따르도록 강제 */
.skin-vector-legacy #p-cactions-label,
.skin-vector-legacy #p-cactions-label span {
top: 4px !important;
transform: none !important;
}
.skin-vector-legacy #p-cactions-label span {
position: static !important;
}
/* 내부 목록과 메뉴 컨테이너의 별도 위치값 제거 */
.skin-vector-legacy #p-namespaces .vector-menu-content,
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content,
.skin-vector-legacy #p-views .vector-menu-content-list,
.skin-vector-legacy #p-cactions .vector-menu-content,
.skin-vector-legacy #p-cactions .vector-menu-content-list {
top: 0 !important;
margin-top: 0 !important;
transform: none !important;
}
/* 왼쪽 보조창 전체: PvZ 나무판 패널 디자인 */
.skin-vector-legacy #mw-panel {
box-sizing: border-box;
margin-top: 0.45rem;
padding: 0.7rem 0.55rem 1rem;
border: 3px solid #5b220e;
border-radius: 13px;
background:
linear-gradient(
90deg,
rgba(255, 255, 255, 0.06) 0,
transparent 10%,
transparent 90%,
rgba(64, 19, 4, 0.18) 100%
),
linear-gradient(180deg, #a94f24 0%, #893819 48%, #9a421d 100%);
box-shadow:
inset 0 0 0 2px rgba(218, 114, 58, 0.52),
inset 0 12px 20px rgba(255, 165, 94, 0.1),
inset 0 -12px 20px rgba(73, 20, 5, 0.22),
0 3px 8px rgba(63, 24, 8, 0.32);
}
/* 로고 영역을 나무판 안쪽의 오목한 액자처럼 처리 */
.skin-vector-legacy #mw-panel #p-logo {
box-sizing: border-box;
margin: 0 0 0.9rem;
padding: 0.45rem;
border: 3px solid #60230d;
border-radius: 12px;
background:
linear-gradient(180deg, rgba(255,255,255,0.08), transparent 22%),
#6c2b12;
box-shadow:
inset 0 2px 3px rgba(255, 168, 98, 0.22),
inset 0 -3px 6px rgba(48, 12, 2, 0.42),
0 2px 3px rgba(60, 20, 6, 0.28);
}
/* 메뉴 묶음 간격 */
.skin-vector-legacy #mw-panel .vector-menu-portal,
.skin-vector-legacy #mw-panel .portal {
margin: 0 0 0.9rem !important;
padding: 0 !important;
background: none !important;
border: 0 !important;
box-shadow: none !important;
}
/* 보조창 제목: 금색 각인 글자 */
.skin-vector-legacy #mw-panel .vector-menu-heading,
.skin-vector-legacy #mw-panel .portal h3 {
margin: 0 0 0.42rem !important;
padding: 0 0.35rem !important;
border: 0 !important;
background: none !important;
color: #e8b94f !important;
font-family:
"SB Aggro B",
"SB 어그로 B",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 0.82rem !important;
font-weight: 700 !important;
line-height: 1.35 !important;
text-align: center;
text-shadow:
0 1px 0 #65300f,
0 2px 2px rgba(61, 19, 3, 0.42);
letter-spacing: 0.015em;
}
/* 링크 영역: 종이 쪽지 카드 */
.skin-vector-legacy #mw-panel .vector-menu-content,
.skin-vector-legacy #mw-panel .portal .body {
position: relative;
box-sizing: border-box;
margin: 0 !important;
padding: 0.68rem 0.72rem 0.72rem !important;
border: 2px solid #6e2d13 !important;
border-radius: 5px 7px 6px 5px;
background:
linear-gradient(175deg, rgba(255,255,255,0.18), transparent 24%),
linear-gradient(180deg, #ffd18d 0%, #f5b96f 100%) !important;
box-shadow:
inset 0 0 0 1px rgba(255, 231, 184, 0.45),
0 4px 5px rgba(56, 18, 4, 0.36) !important;
transform: rotate(-0.25deg);
}
/* 종이 모서리가 살짝 비정형으로 보이게 */
.skin-vector-legacy #mw-panel .vector-menu-content::before,
.skin-vector-legacy #mw-panel .portal .body::before {
content: "";
position: absolute;
inset: 2px;
border-radius: 4px 5px 6px 4px;
border: 1px solid rgba(124, 63, 26, 0.17);
pointer-events: none;
}
/* 목록 기본값 정리 */
.skin-vector-legacy #mw-panel .vector-menu-content-list,
.skin-vector-legacy #mw-panel .portal .body ul {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
/* 보조창 링크 */
.skin-vector-legacy #mw-panel .vector-menu-content li,
.skin-vector-legacy #mw-panel .portal .body li {
margin: 0 !important;
padding: 0 !important;
line-height: 1.3 !important;
}
.skin-vector-legacy #mw-panel .vector-menu-content li + li,
.skin-vector-legacy #mw-panel .portal .body li + li {
margin-top: 0.26rem !important;
}
.skin-vector-legacy #mw-panel .vector-menu-content a,
.skin-vector-legacy #mw-panel .portal .body a {
display: block;
padding: 0.08rem 0.08rem;
color: #313452 !important;
font-family:
"SB Aggro L",
"SB 어그로 L",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 0.78rem !important;
font-weight: 300 !important;
line-height: 1.35 !important;
text-decoration: none !important;
text-shadow: 0 1px 0 rgba(255, 239, 204, 0.38);
transition:
color 120ms ease,
transform 120ms ease;
}
.skin-vector-legacy #mw-panel .vector-menu-content a:hover,
.skin-vector-legacy #mw-panel .portal .body a:hover {
color: #12673f !important;
text-decoration: none !important;
transform: translateX(2px);
}
/* 빈 메뉴나 숨겨진 메뉴가 불필요한 종이 카드로 보이지 않게 */
.skin-vector-legacy #mw-panel .vector-menu-empty,
.skin-vector-legacy #mw-panel .emptyPortlet {
display: none !important;
}
/* ===== v16 보조창·액션바·상단 사용자 바·검색바 ===== */
/* 왼쪽 보조창 바깥 왼쪽 여백 */
.skin-vector-legacy #mw-panel {
left: 0.6rem !important;
width: calc(10em - 0.9rem) !important;
margin-left: 0 !important;
}
/* 종이 쪽지의 그라데이션 제거 */
.skin-vector-legacy #mw-panel .vector-menu-content,
.skin-vector-legacy #mw-panel .portal .body {
background: #f6bf7b !important;
background-image: none !important;
}
/* 로고칸이 패널 밖으로 튀어나오지 않도록 고정 */
.skin-vector-legacy #mw-panel #p-logo {
position: relative !important;
top: auto !important;
right: auto !important;
bottom: auto !important;
left: auto !important;
display: block !important;
width: 100% !important;
max-width: 100% !important;
height: 150px !important;
margin: 0 0 0.9rem !important;
padding: 0.45rem !important;
overflow: hidden !important;
box-sizing: border-box !important;
}
/* 로고 이미지 전체 표시 */
.skin-vector-legacy #mw-panel #p-logo a,
.skin-vector-legacy #mw-panel #p-logo .mw-wiki-logo {
display: block !important;
width: 100% !important;
height: 100% !important;
margin: 0 !important;
background-position: center !important;
background-repeat: no-repeat !important;
background-size: contain !important;
}
.skin-vector-legacy #mw-panel #p-logo img {
display: block !important;
width: 100% !important;
height: 100% !important;
max-width: 100% !important;
max-height: 100% !important;
margin: 0 auto !important;
object-fit: contain !important;
}
/* 액션바 버튼 내부 여백 확대 */
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a,
.skin-vector-legacy #p-cactions-label {
height: 36px !important;
min-height: 36px !important;
padding: 7px 12px 6px !important;
}
/* 선택된 액션바 버튼도 확대된 크기에 맞춤 */
.skin-vector-legacy #p-namespaces li.selected > a,
.skin-vector-legacy #p-views li.selected > a {
height: 43px !important;
min-height: 43px !important;
padding-top: 10px !important;
padding-bottom: 7px !important;
}
/* 일반 버튼은 기존 위치 유지, 더보기만 아래로 4px 추가 이동 */
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a {
top: 4px !important;
}
.skin-vector-legacy #p-cactions-label {
top: 8px !important;
}
/* 더보기 내부 글자에 별도 위치값이 적용되지 않도록 제거 */
.skin-vector-legacy #p-cactions-label span {
position: static !important;
top: auto !important;
margin: 0 !important;
transform: none !important;
}
/* 주시 문서 버튼과 별 아이콘을 정중앙에 배치 */
.skin-vector-legacy #ca-watch > a,
.skin-vector-legacy #ca-unwatch > a,
.skin-vector-legacy li.mw-watchlink > a,
.skin-vector-legacy a.mw-watchlink {
position: relative !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 40px !important;
min-width: 40px !important;
padding: 0 !important;
}
.skin-vector-legacy #ca-watch > a::before,
.skin-vector-legacy #ca-unwatch > a::before,
.skin-vector-legacy li.mw-watchlink > a::before,
.skin-vector-legacy a.mw-watchlink::before {
position: absolute !important;
top: 50% !important;
left: 50% !important;
margin: 0 !important;
transform: translate(-50%, -50%);
background-position: center center !important;
}
.skin-vector-legacy .pvz-watch-spinning > a::before,
.skin-vector-legacy a.pvz-watch-spinning::before {
animation-name: pvz-watch-star-spin-centered !important;
}
@keyframes pvz-watch-star-spin-centered {
0% {
transform: translate(-50%, -50%) rotate(0deg) scale(1);
}
45% {
transform: translate(-50%, -50%) rotate(180deg) scale(0.82);
}
100% {
transform: translate(-50%, -50%) rotate(360deg) scale(1);
}
}
/* 오른쪽 맨 위 사용자 메뉴 바 */
.skin-vector-legacy #p-personal {
top: 0 !important;
right: 0 !important;
margin: 0 !important;
padding: 0.48rem 0.8rem 0.42rem 1rem !important;
border: 0 !important;
border-radius: 0 0 0 12px;
background: #479745 !important;
background-image: none !important;
box-shadow:
inset 0 -2px 0 rgba(41, 102, 40, 0.45),
0 2px 5px rgba(39, 78, 32, 0.2);
}
.skin-vector-legacy #p-personal ul {
margin: 0 !important;
padding: 0 !important;
}
.skin-vector-legacy #p-personal li {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.skin-vector-legacy #p-personal a,
.skin-vector-legacy #p-personal span {
color: #ffffff !important;
text-shadow: 0 1px 1px rgba(35, 83, 32, 0.5);
}
/* JS가 기존 검색 폼을 본문창 상단으로 옮긴 뒤 기본 검색 영역 숨김 */
html.pvz-content-search-ready .skin-vector-legacy #p-search {
display: none !important;
}
/* 본문창 상단 커스텀 검색바 */
.skin-vector-legacy #pvz-content-search {
display: flex;
justify-content: center;
width: 100%;
margin: 0 0 0.8rem;
padding: 0;
}
.skin-vector-legacy #pvz-content-search #searchform {
display: block;
width: min(500px, 100%);
margin: 0;
}
.skin-vector-legacy #pvz-content-search #simpleSearch {
position: relative;
display: flex;
align-items: stretch;
width: 100%;
height: 44px;
margin: 0;
padding: 0;
overflow: hidden;
border: 3px solid #5b1f09;
border-radius: 15px;
background: #fffdf8 !important;
background-image: none !important;
box-shadow:
inset 0 2px 0 rgba(255, 255, 255, 0.85),
0 3px 6px rgba(72, 38, 20, 0.18);
}
.skin-vector-legacy #pvz-content-search #simpleSearch:focus-within {
border-color: #3f7737;
box-shadow:
inset 0 2px 0 rgba(255, 255, 255, 0.9),
0 0 0 3px rgba(71, 151, 69, 0.2);
}
.skin-vector-legacy #pvz-content-search #searchInput {
flex: 1 1 auto;
min-width: 0;
height: 100%;
margin: 0 !important;
padding: 0 0.9rem !important;
border: 0 !important;
outline: 0 !important;
background: transparent !important;
color: #453329 !important;
font-family:
"SB Aggro L",
"SB 어그로 L",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 0.9rem !important;
box-shadow: none !important;
}
.skin-vector-legacy #pvz-content-search .searchButton,
.skin-vector-legacy #pvz-content-search #searchButton,
.skin-vector-legacy #pvz-content-search #mw-searchButton {
position: relative !important;
top: auto !important;
right: auto !important;
display: block !important;
flex: 0 0 42px;
width: 42px !important;
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
border-left: 1px solid rgba(63, 119, 55, 0.3) !important;
border-radius: 0 !important;
background-color: #71b957 !important;
background-position: center !important;
background-repeat: no-repeat !important;
box-shadow: none !important;
cursor: pointer;
}
/* 기본 검색바가 사라진 뒤 오른쪽 액션바를 본문창 오른쪽 끝 가까이 배치 */
.skin-vector-legacy #right-navigation {
margin-right: 0.45rem !important;
}
.skin-vector-legacy #p-views {
margin-right: 0 !important;
}
@media (max-width: 800px) {
.skin-vector-legacy #pvz-content-search #searchform {
width: 100%;
}
}
/* ===== v17 검색바 위치·디자인, 로고칸, 액션바 위치 조정 ===== */
/* 로고칸의 고정 높이·최소 높이와 상하 여백 제거 */
.skin-vector-legacy #mw-panel #p-logo {
height: auto !important;
min-height: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.skin-vector-legacy #mw-panel #p-logo a,
.skin-vector-legacy #mw-panel #p-logo .mw-wiki-logo {
height: auto !important;
min-height: 0 !important;
aspect-ratio: 1 / 1;
background-size: contain !important;
}
/* 더보기를 제외한 액션바 버튼은 기존보다 3px 위로 */
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a {
top: 1px !important;
}
/* 더보기 버튼은 기존보다 1px 위로 */
.skin-vector-legacy #p-cactions-label {
top: 7px !important;
}
/* 검색바를 본문창 바깥, 화면 상단 가까이에 배치 */
.skin-vector-legacy #pvz-content-search {
position: absolute !important;
top: 7px !important;
left: 50% !important;
z-index: 120 !important;
display: block !important;
width: min(500px, calc(100vw - 34rem)) !important;
min-width: 320px;
margin: 0 !important;
padding: 0 !important;
transform: translateX(-50%);
}
.skin-vector-legacy #pvz-content-search #searchform {
width: 100% !important;
margin: 0 !important;
}
/* 초록색 계열의 세련된 검색바 */
.skin-vector-legacy #pvz-content-search #simpleSearch {
position: relative;
display: flex;
align-items: stretch;
width: 100%;
height: 42px;
overflow: hidden;
border: 1px solid #2f6f45 !important;
border-radius: 14px !important;
background: #f4fbf5 !important;
background-image: none !important;
box-shadow:
0 6px 18px rgba(24, 85, 51, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}
.skin-vector-legacy #pvz-content-search #simpleSearch::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
box-shadow: inset 0 0 0 1px rgba(102, 170, 116, 0.22);
}
.skin-vector-legacy #pvz-content-search #simpleSearch:focus-within {
border-color: #106a40 !important;
box-shadow:
0 7px 20px rgba(16, 106, 64, 0.24),
0 0 0 3px rgba(71, 151, 69, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}
.skin-vector-legacy #pvz-content-search #searchInput {
flex: 1 1 auto;
min-width: 0;
height: 100%;
padding: 0 1rem !important;
border: 0 !important;
outline: 0 !important;
background: transparent !important;
color: #214b35 !important;
font-family:
"SB Aggro L",
"SB 어그로 L",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 0.88rem !important;
box-shadow: none !important;
}
.skin-vector-legacy #pvz-content-search #searchInput::placeholder {
color: rgba(43, 103, 67, 0.58) !important;
}
.skin-vector-legacy #pvz-content-search .searchButton,
.skin-vector-legacy #pvz-content-search #searchButton,
.skin-vector-legacy #pvz-content-search #mw-searchButton {
position: relative !important;
flex: 0 0 46px;
width: 46px !important;
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
border-radius: 0 !important;
background-color: #106a40 !important;
background-position: center !important;
background-repeat: no-repeat !important;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.16),
inset 1px 0 0 rgba(20, 79, 48, 0.34) !important;
cursor: pointer;
transition:
background-color 120ms ease,
filter 120ms ease;
}
.skin-vector-legacy #pvz-content-search .searchButton:hover,
.skin-vector-legacy #pvz-content-search #searchButton:hover,
.skin-vector-legacy #pvz-content-search #mw-searchButton:hover {
background-color: #0c5a35 !important;
filter: brightness(1.04);
}
/* 본문 내부에 남는 검색바 자리 제거 */
.skin-vector-legacy #content > #pvz-content-search,
.skin-vector-legacy .mw-body > #pvz-content-search {
margin: 0 !important;
}
/* 화면이 좁을 때 사용자 메뉴와 겹치지 않도록 폭 축소 */
@media (max-width: 1100px) {
.skin-vector-legacy #pvz-content-search {
width: min(420px, calc(100vw - 24rem)) !important;
min-width: 280px;
}
}
