미디어위키:Gadget-CreatePageUw.css

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

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

  • 파이어폭스 / 사파리: 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 {
	width: 100%;
	max-width: 700px;
	margin-right: auto;
	margin-left: auto;
	box-sizing: border-box;
}


/* 입력창이 들어 있는 OOUI 배치 초기화 */
body.mw-special-CreatePage
	.pvz-createpage-input-layout,
body.mw-special-CreatePage
	.pvz-createpage-input-layout
	.oo-ui-fieldLayout-body,
body.mw-special-CreatePage
	.pvz-createpage-input-layout
	.oo-ui-fieldLayout-field {
	display: block !important;
	width: 100% !important;
	max-width: 700px !important;
	min-width: 0 !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}


/* 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)
		);
}


/* 커스텀 문서명 입력창 */
body.mw-special-CreatePage
	.pvz-createpage-input {
	all: unset !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	display: block !important;
	width: 100% !important;
	max-width: 700px !important;
	min-width: 0 !important;
	min-height: 48px !important;
	margin: 0 auto !important;
	padding: 0.72rem 1rem !important;
	border: 2px solid #829b73 !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;
	caret-color: #4f913f !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 !important;
	font-weight: 300 !important;
	line-height: 1.45 !important;
	text-align: left !important;
	box-sizing: border-box !important;
	cursor: text !important;
	transition:
		border-color 0.15s ease,
		background-color 0.15s ease,
		box-shadow 0.15s ease !important;
}


/* 입력창 안내 문구 */
body.mw-special-CreatePage
	.pvz-createpage-input::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 !important;
	opacity: 1 !important;
}


/* 입력창 자동 완성 디자인 제거 */
body.mw-special-CreatePage
	.pvz-createpage-input:-webkit-autofill,
body.mw-special-CreatePage
	.pvz-createpage-input:-webkit-autofill:hover,
body.mw-special-CreatePage
	.pvz-createpage-input:-webkit-autofill:focus {
	-webkit-text-fill-color: #493b31 !important;
	caret-color: #4f913f !important;
	border: 2px solid #829b73 !important;
	box-shadow:
		inset 0 0 0 1000px
		#fffdf7,
		inset 0 2px 5px
		rgba(74, 55, 37, 0.07) !important;
	transition:
		background-color 9999s ease-out
		0s !important;
}


/* 입력창 마우스 올림 */
body.mw-special-CreatePage
	.pvz-createpage-input:hover {
	border-color: #679158 !important;
	background: #fffefb !important;
	background-color: #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
	.pvz-createpage-input:focus,
body.mw-special-CreatePage
	.pvz-createpage-input:focus-visible {
	border-color: #4a8b3b !important;
	outline: 0 !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	box-shadow:
		0 0 0 3px
		rgba(74, 139, 59, 0.19),
		inset 0 2px 5px
		rgba(74, 55, 37, 0.05) !important;
}


/* 제출 버튼 배치 초기화 */
body.mw-special-CreatePage
	.pvz-createpage-submit-layout,
body.mw-special-CreatePage
	.pvz-createpage-submit-layout
	.oo-ui-fieldLayout-body {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

body.mw-special-CreatePage
	.pvz-createpage-submit-layout
	.oo-ui-fieldLayout-field {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}


/* 커스텀 제출 버튼 */
body.mw-special-CreatePage
	.pvz-createpage-submit-button {
	all: unset !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 30px !important;
	margin: 0.65rem auto 0 !important;
	padding: 0.2rem 0.58rem !important;
	border: 2px solid #173f1d !important;
	border-radius: 11px !important;
	outline: 0 !important;
	background:
		linear-gradient(
			180deg,
			#70b758 0%,
			#559c43 100%
		) !important;
	background-color: #5ca249 !important;
	background-image:
		linear-gradient(
			180deg,
			#70b758 0%,
			#559c43 100%
		) !important;
	box-shadow:
		inset 0 -2px 0
		rgba(26, 69, 29, 0.35),
		0 2px 4px
		rgba(44, 81, 38, 0.14) !important;
	color: #fffbed !important;
	text-shadow:
		#173f1d 1.6px 0 0,
		#173f1d 1.51193px 0.52351px 0,
		#173f1d 1.25742px 0.98939px 0,
		#173f1d 0.86449px 1.34635px 0,
		#173f1d 0.37638px 1.55510px 0,
		#173f1d -0.15316px 1.59265px 0,
		#173f1d -0.66583px 1.45488px 0,
		#173f1d -1.10521px 1.15694px 0,
		#173f1d -1.42292px 0.73164px 0,
		#173f1d -1.58399px 0.22579px 0,
		#173f1d -1.57068px -0.30491px 0,
		#173f1d -1.38446px -0.80204px 0,
		#173f1d -1.04583px -1.21089px 0,
		#173f1d -0.59207px -1.48642px 0,
		#173f1d -0.07313px -1.59833px 0,
		#173f1d 0.45386px -1.53428px 0,
		#173f1d 0.93089px -1.30133px 0,
		#173f1d 1.30543px -0.92511px 0,
		#173f1d 1.53627px -0.44707px 0,
		rgba(20, 55, 25, 0.28) 0 1.5px 1px !important;
	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 !important;
	font-weight: 500 !important;
	line-height: 1.15 !important;
	text-align: center !important;
	white-space: nowrap !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	transition:
		border-color 0.12s ease,
		background-color 0.12s ease,
		background-image 0.12s ease,
		box-shadow 0.12s ease !important;
}


/* 제출 버튼 마우스 올림 */
body.mw-special-CreatePage
	.pvz-createpage-submit-button:hover {
	border-color: #123617 !important;
	background:
		linear-gradient(
			180deg,
			#62a94d 0%,
			#47883a 100%
		) !important;
	background-color: #4f9140 !important;
	background-image:
		linear-gradient(
			180deg,
			#62a94d 0%,
			#47883a 100%
		) !important;
	box-shadow:
		inset 0 -2px 0
		rgba(20, 59, 24, 0.4),
		0 2px 4px
		rgba(38, 73, 33, 0.16) !important;
	transform: none !important;
	filter: none !important;
}


/* 제출 버튼 클릭 */
body.mw-special-CreatePage
	.pvz-createpage-submit-button:active {
	border-color: #0f3014 !important;
	background:
		linear-gradient(
			180deg,
			#559b43 0%,
			#3f7d34 100%
		) !important;
	background-color: #468338 !important;
	background-image:
		linear-gradient(
			180deg,
			#559b43 0%,
			#3f7d34 100%
		) !important;
	box-shadow:
		inset 0 2px 3px
		rgba(18, 53, 22, 0.34) !important;
	transform: none !important;
	filter: none !important;
}


/* 제출 버튼 키보드 선택 */
body.mw-special-CreatePage
	.pvz-createpage-submit-button:focus,
body.mw-special-CreatePage
	.pvz-createpage-submit-button:focus-visible {
	outline: 0 !important;
	border-color: #173f1d !important;
	box-shadow:
		0 0 0 3px
		rgba(74, 139, 59, 0.22),
		inset 0 -2px 0
		rgba(26, 69, 29, 0.35) !important;
}


/* 비활성화된 제출 버튼 */
body.mw-special-CreatePage
	.pvz-createpage-submit-button:disabled {
	opacity: 0.55 !important;
	cursor: default !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
		.pvz-createpage-input {
		min-height: 44px !important;
		padding: 0.68rem 0.9rem !important;
		border-radius: 17px !important;
		font-size: 0.93rem !important;
	}

	body.mw-special-CreatePage
		.pvz-createpage-submit-button {
		min-height: 29px !important;
		padding: 0.18rem 0.54rem !important;
		border-radius: 10px !important;
		font-size: 0.84rem !important;
	}
}