미디어위키:Gadget-Vector.css

식물 vs 좀비 위키
Brokey (토론 | 기여)님의 2026년 7월 28일 (화) 15:41 판

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

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