미디어위키:Common.css

식물 vs 좀비 위키
Brokey (토론 | 기여)님의 2026년 7월 24일 (금) 23:13 판
둘러보기로 이동 검색으로 이동

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

  • 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
  • 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
  • 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
@font-face {
	font-family: "SB 어그로 B";
	src: url("/wiki/Special:Redirect/file/SB_어그로_B.ttf") format("truetype");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "SB 어그로 M";
	src: url("/wiki/Special:Redirect/file/SB_어그로_M.ttf") format("truetype");
	font-style: normal;
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: "SB 어그로 L";
	src: url("/wiki/Special:Redirect/file/SB_어그로_L.ttf") format("truetype");
	font-style: normal;
	font-weight: 300;
	font-display: swap;
}

/* CreatePageUw - PvZ styled article creation page */
.mw-special-CreatePage .mw-body-content,
body.page-Special_CreatePage .mw-body-content {
	background:
		linear-gradient(rgba(255,255,255,0.18), rgba(255,255,255,0.18)),
		repeating-linear-gradient(
			0deg,
			transparent 0,
			transparent 54px,
			rgba(145, 167, 116, 0.12) 54px,
			rgba(145, 167, 116, 0.12) 58px
		),
		repeating-linear-gradient(
			90deg,
			transparent 0,
			transparent 54px,
			rgba(145, 167, 116, 0.12) 54px,
			rgba(145, 167, 116, 0.12) 58px
		),
		#f4e8ce;
	border: 2px solid #ccb48d;
	border-radius: 24px;
	padding: 1.25rem;
	box-sizing: border-box;
}

.mw-special-CreatePage .firstHeading,
body.page-Special_CreatePage .firstHeading {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.7rem 1.5rem 0.8rem;
	border-radius: 999px;
	background: linear-gradient(180deg, #466f42, #335635);
	box-shadow: inset 0 -4px 0 rgba(24, 44, 26, 0.28);
	color: #fff3d2;
	font-family:
		"SB Aggro M",
		"SB 어그로 M",
		"SB Aggro B",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 2rem;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.mw-special-CreatePage .pvz-createpage-shell,
body.page-Special_CreatePage .pvz-createpage-shell {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.mw-special-CreatePage .pvz-createpage-steps,
body.page-Special_CreatePage .pvz-createpage-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: center;
	margin-bottom: 0.1rem;
}

.mw-special-CreatePage .pvz-createpage-step,
body.page-Special_CreatePage .pvz-createpage-step {
	padding: 0.45rem 0.85rem;
	border: 2px solid #b79973;
	border-radius: 999px;
	background: #fbf3e5;
	color: #6b563e;
	font-size: 0.95rem;
	font-weight: 700;
}

.mw-special-CreatePage .pvz-createpage-step.is-current,
body.page-Special_CreatePage .pvz-createpage-step.is-current {
	background: linear-gradient(180deg, #79bb5e, #5ea046);
	border-color: #4d7d40;
	color: #fffbea;
}

.mw-special-CreatePage .pvz-createpage-hero,
body.page-Special_CreatePage .pvz-createpage-hero {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 1.25rem;
	align-items: center;
	padding: 1rem 1rem 0.4rem;
}

.mw-special-CreatePage .pvz-createpage-sprout-wrap,
body.page-Special_CreatePage .pvz-createpage-sprout-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
}

.mw-special-CreatePage .pvz-createpage-sprout,
body.page-Special_CreatePage .pvz-createpage-sprout {
	display: block;
	max-width: 210px;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 7px 12px rgba(61, 44, 24, 0.18));
}

.mw-special-CreatePage .pvz-createpage-bubble,
body.page-Special_CreatePage .pvz-createpage-bubble {
	position: relative;
	padding: 1.2rem 1.35rem;
	border: 3px solid #4d493c;
	border-radius: 28px;
	background: #fffaf0;
	box-shadow: 0 6px 0 rgba(77, 73, 60, 0.18);
	color: #2d2b27;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.6;
}

.mw-special-CreatePage .pvz-createpage-bubble::before,
body.page-Special_CreatePage .pvz-createpage-bubble::before {
	content: "";
	position: absolute;
	left: -24px;
	top: 50%;
	width: 0;
	height: 0;
	border-top: 18px solid transparent;
	border-bottom: 18px solid transparent;
	border-right: 24px solid #4d493c;
	transform: translateY(-50%);
}

.mw-special-CreatePage .pvz-createpage-bubble::after,
body.page-Special_CreatePage .pvz-createpage-bubble::after {
	content: "";
	position: absolute;
	left: -18px;
	top: 50%;
	width: 0;
	height: 0;
	border-top: 14px solid transparent;
	border-bottom: 14px solid transparent;
	border-right: 20px solid #fffaf0;
	transform: translateY(-50%);
}

.mw-special-CreatePage .pvz-createpage-panel,
body.page-Special_CreatePage .pvz-createpage-panel {
	padding: 1.1rem 1rem 1rem;
	border: 2px solid #dbc39f;
	border-radius: 20px;
	background: rgba(255, 250, 241, 0.62);
	backdrop-filter: blur(1px);
}

.mw-special-CreatePage .pvz-createpage-panel form,
body.page-Special_CreatePage .pvz-createpage-panel form {
	margin: 0;
}

.mw-special-CreatePage .pvz-createpage-note,
body.page-Special_CreatePage .pvz-createpage-note {
	margin-top: 0.95rem;
	padding: 0.9rem 1rem;
	border: 2px solid #d7be94;
	border-radius: 18px;
	background: #fff7e8;
	color: #645341;
	font-size: 0.96rem;
	line-height: 1.65;
}

.mw-special-CreatePage input[type="text"],
.mw-special-CreatePage input[type="search"],
body.page-Special_CreatePage input[type="text"],
body.page-Special_CreatePage input[type="search"] {
	width: 100%;
	max-width: 760px;
	padding: 0.9rem 1rem;
	border: 2px solid #b99977;
	border-radius: 16px;
	background: #fffaf2;
	box-shadow: inset 0 2px 6px rgba(102, 76, 48, 0.08);
	color: #473729;
	font-size: 1.08rem;
	box-sizing: border-box;
}

.mw-special-CreatePage input[type="text"]:focus,
.mw-special-CreatePage input[type="search"]:focus,
body.page-Special_CreatePage input[type="text"]:focus,
body.page-Special_CreatePage input[type="search"]:focus {
	border-color: #5f994b;
	outline: none;
	box-shadow:
		0 0 0 3px rgba(106, 173, 84, 0.18),
		inset 0 2px 6px rgba(102, 76, 48, 0.08);
}

.mw-special-CreatePage input[type="submit"],
.mw-special-CreatePage button,
body.page-Special_CreatePage input[type="submit"],
body.page-Special_CreatePage button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 170px;
	padding: 0.82rem 1.25rem;
	border: 2px solid #3f6c36;
	border-radius: 999px;
	background: linear-gradient(180deg, #79bb5e, #5ea046);
	box-shadow: inset 0 -4px 0 rgba(48, 88, 41, 0.26);
	color: #fff9eb;
	font-family:
		"SB Aggro M",
		"SB 어그로 M",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 1.04rem;
	font-weight: 700;
	cursor: pointer;
}

.mw-special-CreatePage input[type="submit"]:hover,
.mw-special-CreatePage button:hover,
body.page-Special_CreatePage input[type="submit"]:hover,
body.page-Special_CreatePage button:hover {
	filter: brightness(1.03);
	transform: translateY(-1px);
}

.mw-special-CreatePage a,
body.page-Special_CreatePage a {
	text-decoration-color: rgba(95, 130, 72, 0.55);
	text-underline-offset: 2px;
}

.mw-special-CreatePage ul,
.mw-special-CreatePage ol,
body.page-Special_CreatePage ul,
body.page-Special_CreatePage ol {
	padding-left: 1.4rem;
}

@media (max-width: 860px) {
	.mw-special-CreatePage .pvz-createpage-hero,
	body.page-Special_CreatePage .pvz-createpage-hero {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.mw-special-CreatePage .pvz-createpage-bubble::before,
	.mw-special-CreatePage .pvz-createpage-bubble::after,
	body.page-Special_CreatePage .pvz-createpage-bubble::before,
	body.page-Special_CreatePage .pvz-createpage-bubble::after {
		display: none;
	}

	.mw-special-CreatePage .pvz-createpage-sprout-wrap,
	body.page-Special_CreatePage .pvz-createpage-sprout-wrap {
		min-height: auto;
	}

	.mw-special-CreatePage .pvz-createpage-sprout,
	body.page-Special_CreatePage .pvz-createpage-sprout {
		max-width: 170px;
	}
}

@media (max-width: 640px) {
	.mw-special-CreatePage .firstHeading,
	body.page-Special_CreatePage .firstHeading {
		display: block;
		font-size: 1.6rem;
		text-align: center;
	}

	.mw-special-CreatePage .mw-body-content,
	body.page-Special_CreatePage .mw-body-content {
		padding: 0.9rem;
	}

	.mw-special-CreatePage .pvz-createpage-bubble,
	body.page-Special_CreatePage .pvz-createpage-bubble {
		font-size: 1.04rem;
		padding: 1rem;
	}

	.mw-special-CreatePage .pvz-createpage-step,
	body.page-Special_CreatePage .pvz-createpage-step {
		font-size: 0.88rem;
	}
}