미디어위키:Gadget-CreatePageUw.css

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

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

  • 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
  • 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
  • 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
/* 문서 재배하기 전용 스타일 */


/* 기본 문구 숨김 */
body.mw-special-CreatePage .oo-ui-fieldsetLayout-header,
body.mw-special-CreatePage .oo-ui-fieldLayout-header,
body.mw-special-CreatePage label[for="mw-input-wptitle"] {
	display: none !important;
}


/* 입력 양식 전체 배치 */
body.mw-special-CreatePage .mw-body-content .mw-htmlform {
	width: 100%;
	max-width: 700px;
	margin-right: auto;
	margin-left: auto;
	box-sizing: border-box;
}

body.mw-special-CreatePage .mw-htmlform fieldset,
body.mw-special-CreatePage .oo-ui-fieldsetLayout,
body.mw-special-CreatePage .oo-ui-fieldsetLayout-group,
body.mw-special-CreatePage .oo-ui-fieldLayout,
body.mw-special-CreatePage .oo-ui-fieldLayout-body,
body.mw-special-CreatePage .oo-ui-fieldLayout-field {
	width: 100%;
	max-width: 700px;
	margin-right: auto;
	margin-left: auto;
	box-sizing: border-box;
}


/* Sprout 이미지 */
body.mw-special-CreatePage .pvz-createpage-sprout {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	margin: 0 0 0.6rem;
	box-sizing: border-box;
}

body.mw-special-CreatePage .pvz-createpage-sprout img {
	display: block;
	width: 96px !important;
	max-width: 96px !important;
	height: auto !important;
	margin: 0 auto;
	object-fit: contain;
	filter:
		drop-shadow(
			0 4px 6px
			rgba(45, 33, 24, 0.16)
		);
}


/* 입력창 OOUI 기본 디자인 초기화 */
body.mw-special-CreatePage .oo-ui-textInputWidget,
body.mw-special-CreatePage
	.oo-ui-textInputWidget.oo-ui-widget-enabled,
body.mw-special-CreatePage
	.oo-ui-textInputWidget.oo-ui-widget-disabled {
	display: block;
	width: 100%;
	max-width: 700px;
	margin-right: auto;
	margin-left: auto;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	box-sizing: border-box;
}

body.mw-special-CreatePage
	.oo-ui-textInputWidget::before,
body.mw-special-CreatePage
	.oo-ui-textInputWidget::after {
	display: none !important;
}


/* 문서명 입력창 */
body.mw-special-CreatePage #mw-input-wptitle,
body.mw-special-CreatePage
	#mw-input-wptitle.oo-ui-inputWidget-input,
body.mw-special-CreatePage
	.oo-ui-textInputWidget.oo-ui-widget-enabled
	#mw-input-wptitle {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: block;
	width: 100% !important;
	max-width: 700px !important;
	min-height: 48px;
	margin: 0 auto !important;
	padding: 0.72rem 1rem !important;
	border: 2px solid #8e9f78 !important;
	border-radius: 19px !important;
	outline: 0 !important;
	background: #fffdf7 !important;
	background-color: #fffdf7 !important;
	background-image: none !important;
	box-shadow:
		inset 0 2px 5px
		rgba(74, 55, 37, 0.07),
		0 2px 5px
		rgba(71, 91, 53, 0.06) !important;
	color: #493b31 !important;
	font-family:
		"SB Aggro L",
		"SB 어그로 L",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif !important;
	font-size: 0.98rem;
	font-weight: 300;
	line-height: 1.45;
	box-sizing: border-box !important;
	transition:
		border-color 0.15s ease,
		background-color 0.15s ease,
		box-shadow 0.15s ease;
}


/* 입력창 안내 문구 */
body.mw-special-CreatePage
	#mw-input-wptitle::placeholder {
	color: rgba(73, 51, 41, 0.42) !important;
	font-family:
		"SB Aggro L",
		"SB 어그로 L",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif !important;
	font-weight: 300;
	opacity: 1;
}


/* 입력창 마우스 올림 */
body.mw-special-CreatePage
	#mw-input-wptitle:hover,
body.mw-special-CreatePage
	.oo-ui-textInputWidget.oo-ui-widget-enabled
	#mw-input-wptitle:hover {
	border-color: #6f9560 !important;
	background: #fffefb !important;
	background-image: none !important;
	box-shadow:
		inset 0 2px 5px
		rgba(74, 55, 37, 0.06),
		0 2px 7px
		rgba(76, 119, 62, 0.1) !important;
}


/* 입력창 선택 */
body.mw-special-CreatePage
	#mw-input-wptitle:focus,
body.mw-special-CreatePage
	#mw-input-wptitle:focus-visible,
body.mw-special-CreatePage
	.oo-ui-textInputWidget.oo-ui-widget-enabled
	#mw-input-wptitle:focus {
	border-color: #4f913f !important;
	outline: 0 !important;
	background: #ffffff !important;
	background-image: none !important;
	box-shadow:
		0 0 0 3px
		rgba(79, 145, 63, 0.19),
		inset 0 2px 5px
		rgba(74, 55, 37, 0.05) !important;
}


/* OOUI 포커스 기본 파란색 제거 */
body.mw-special-CreatePage
	.oo-ui-textInputWidget.oo-ui-widget-enabled:focus-within,
body.mw-special-CreatePage
	.oo-ui-textInputWidget.oo-ui-widget-enabled:hover {
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}


/* 제출 버튼 영역 가운데 정렬 */
body.mw-special-CreatePage
	.mw-htmlform
	.oo-ui-buttonInputWidget,
body.mw-special-CreatePage
	.mw-htmlform
	.oo-ui-buttonWidget,
body.mw-special-CreatePage
	.mw-htmlform-submit {
	display: block;
	width: max-content;
	max-width: 100%;
	margin: 0.65rem auto 0;
}


/* 일반 제출 버튼 */
body.mw-special-CreatePage
	.mw-htmlform
	input[type="submit"],
body.mw-special-CreatePage
	.mw-htmlform
	button[type="submit"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: block;
	width: auto;
	min-width: 0;
	min-height: 32px;
	margin: 0.65rem auto 0;
	padding: 0.25rem 0.72rem !important;
	border: 2px solid #3f7737 !important;
	border-radius: 999px !important;
	outline: 0 !important;
	background:
		linear-gradient(
			180deg,
			#71b957 0%,
			#58a044 100%
		) !important;
	background-image:
		linear-gradient(
			180deg,
			#71b957 0%,
			#58a044 100%
		) !important;
	box-shadow:
		inset 0 -2px 0
		rgba(39, 91, 34, 0.25),
		0 2px 5px
		rgba(56, 91, 42, 0.14) !important;
	color: #fffbea !important;
	-webkit-text-stroke: 0.55px #285f2d;
	paint-order: stroke fill;
	text-shadow:
		1px 0 0 #285f2d,
		-1px 0 0 #285f2d,
		0 1px 0 #285f2d,
		0 -1px 0 #285f2d;
	font-family:
		"SB Aggro M",
		"SB 어그로 M",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif !important;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.15;
	cursor: pointer;
	box-sizing: border-box;
	transition:
		transform 0.12s ease,
		filter 0.12s ease,
		box-shadow 0.12s ease;
}


/* OOUI 제출 버튼 */
body.mw-special-CreatePage
	.oo-ui-buttonElement-framed
	> .oo-ui-buttonElement-button,
body.mw-special-CreatePage
	.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive
	> .oo-ui-buttonElement-button {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0 !important;
	min-height: 32px !important;
	padding: 0.25rem 0.72rem !important;
	border: 2px solid #3f7737 !important;
	border-radius: 999px !important;
	outline: 0 !important;
	background:
		linear-gradient(
			180deg,
			#71b957 0%,
			#58a044 100%
		) !important;
	background-image:
		linear-gradient(
			180deg,
			#71b957 0%,
			#58a044 100%
		) !important;
	box-shadow:
		inset 0 -2px 0
		rgba(39, 91, 34, 0.25),
		0 2px 5px
		rgba(56, 91, 42, 0.14) !important;
	color: #fffbea !important;
	-webkit-text-stroke: 0.55px #285f2d;
	paint-order: stroke fill;
	text-shadow:
		1px 0 0 #285f2d,
		-1px 0 0 #285f2d,
		0 1px 0 #285f2d,
		0 -1px 0 #285f2d;
	font-family:
		"SB Aggro M",
		"SB 어그로 M",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif !important;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.15;
	cursor: pointer;
	box-sizing: border-box;
	transition:
		transform 0.12s ease,
		filter 0.12s ease,
		box-shadow 0.12s ease;
}


/* OOUI 버튼 내부 기본 여백 제거 */
body.mw-special-CreatePage
	.oo-ui-buttonElement-button
	.oo-ui-labelElement-label {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	-webkit-text-stroke: inherit;
	line-height: 1.15;
}


/* 제출 버튼 마우스 올림 */
body.mw-special-CreatePage
	.mw-htmlform
	input[type="submit"]:hover,
body.mw-special-CreatePage
	.mw-htmlform
	button[type="submit"]:hover,
body.mw-special-CreatePage
	.oo-ui-buttonElement-button:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}


/* 제출 버튼 클릭 */
body.mw-special-CreatePage
	.mw-htmlform
	input[type="submit"]:active,
body.mw-special-CreatePage
	.mw-htmlform
	button[type="submit"]:active,
body.mw-special-CreatePage
	.oo-ui-buttonElement-button:active {
	filter: brightness(0.98);
	transform: translateY(1px);
	box-shadow:
		inset 0 2px 3px
		rgba(39, 91, 34, 0.25) !important;
}


/* 제출 버튼 키보드 선택 */
body.mw-special-CreatePage
	.mw-htmlform
	input[type="submit"]:focus-visible,
body.mw-special-CreatePage
	.mw-htmlform
	button[type="submit"]:focus-visible,
body.mw-special-CreatePage
	.oo-ui-buttonElement-button:focus-visible {
	outline: 0 !important;
	box-shadow:
		0 0 0 3px
		rgba(79, 145, 63, 0.21),
		inset 0 -2px 0
		rgba(39, 91, 34, 0.25) !important;
}


/* 모바일 */
@media (max-width: 600px) {
	body.mw-special-CreatePage
		.mw-body-content
		.mw-htmlform {
		max-width: 100%;
	}

	body.mw-special-CreatePage
		.pvz-createpage-sprout img {
		width: 78px !important;
		max-width: 78px !important;
	}

	body.mw-special-CreatePage
		#mw-input-wptitle {
		min-height: 44px;
		padding: 0.68rem 0.9rem !important;
		border-radius: 17px !important;
		font-size: 0.93rem;
	}

	body.mw-special-CreatePage
		.mw-htmlform
		input[type="submit"],
	body.mw-special-CreatePage
		.mw-htmlform
		button[type="submit"],
	body.mw-special-CreatePage
		.oo-ui-buttonElement-framed
		> .oo-ui-buttonElement-button {
		min-height: 30px !important;
		padding: 0.22rem 0.65rem !important;
		font-size: 0.84rem;
	}
}