미디어위키:Gadget-Vector.css

식물 vs 좀비 위키
Brokey (토론 | 기여)님의 2026년 7월 29일 (수) 13:40 판

참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.

  • 파이어폭스 / 사파리: 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;
}