:정보상자/styles.css

식물 vs 좀비 위키
Brokey (토론 | 기여)님의 2026년 7월 23일 (목) 00:06 판
.infobox {
	position: relative;
	float: right;
	clear: right;
	width: 328px;
	max-width: 100%;
	margin: 0 0 1.25rem 1.25rem;
	padding: 0.82rem;
	border: 2px solid #846951;
	border-radius: 22px;
	box-sizing: border-box;
	background-color: #e9dec9;
	background-image: url("/wiki/Special:Redirect/file/paper_texture.png");
	background-repeat: repeat;
	background-position: left top;
	background-size: 360px auto;
	color: #3b3028;
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 0.92rem;
	line-height: 1.55;
	box-shadow: 0 10px 26px rgba(70, 52, 39, 0.16);
	overflow: visible;
}

.infobox__hanger {
	position: absolute;
	z-index: 3;
	top: 1.08rem;
	left: 1.12rem;
	width: 27px;
	height: 27px;
	background-image: url("/wiki/Special:Redirect/file/tag.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	filter:
		invert(96%)
		sepia(8%)
		saturate(448%)
		hue-rotate(329deg)
		brightness(106%)
		contrast(101%);
}

.infobox__title {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 60px;
	padding: 0.76rem 3.45rem 0.72rem 3.3rem;
	border: 1px solid #765a45;
	border-radius: 16px 12px 16px 12px;
	box-sizing: border-box;
	background: #92715a;
	color: #fff9f0;
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.28;
	text-align: center;
	overflow-wrap: anywhere;
	word-break: keep-all;
}

.infobox__title::after {
	position: absolute;
	top: 50%;
	right: 1rem;
	width: 25px;
	height: 25px;
	margin-top: -12px;
	background-image: url("/wiki/Special:Redirect/file/letter.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	content: "";
	opacity: 0.88;
	filter:
		invert(96%)
		sepia(8%)
		saturate(448%)
		hue-rotate(329deg)
		brightness(106%)
		contrast(101%);
}

.infobox__title p {
	margin: 0;
	font: inherit;
	color: inherit;
	line-height: inherit;
}

.infobox__panel {
	margin-top: 0.7rem;
	padding: 0.68rem;
	border: 1px solid #cbb99e;
	border-radius: 15px;
	box-sizing: border-box;
	background-color: #f5eddf;
	background-image: url("/wiki/Special:Redirect/file/paper_texture.png");
	background-repeat: repeat;
	background-position: left top;
	background-size: 360px auto;
	overflow: hidden;
}

.infobox__image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 205px;
	max-height: 285px;
	padding: 1.1rem;
	border: 1px solid #d5c4a8;
	border-radius: 12px;
	box-sizing: border-box;
	background: rgba(252, 248, 239, 0.88);
	overflow: hidden;
}

.infobox__image::before {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	bottom: 0.55rem;
	left: 0.55rem;
	border: 1px solid #e6dac6;
	border-radius: 8px;
	content: "";
}

.infobox__image::after {
	position: absolute;
	right: 0.9rem;
	bottom: 0.78rem;
	width: 38px;
	height: 4px;
	border-radius: 4px;
	background: #c29c72;
	content: "";
	opacity: 0.65;
}

.infobox__image a,
.infobox__image img {
	position: relative;
	z-index: 1;
}

.infobox__image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 230px;
	margin: 0 auto;
	object-fit: contain;
	filter: drop-shadow(0 4px 4px rgba(68, 49, 36, 0.12));
}

.infobox__section {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 34px;
	margin: 0.76rem 0 0.36rem;
	padding: 0.38rem 0.75rem 0.38rem 2.05rem;
	border-left: 4px solid #997456;
	border-radius: 0 9px 9px 0;
	box-sizing: border-box;
	background: #dfcfb5;
	color: #49382d;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.4;
}

.infobox__section::before {
	position: absolute;
	top: 50%;
	left: 0.62rem;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background-image: url("/wiki/Special:Redirect/file/bookmark.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	content: "";
	opacity: 0.72;
	filter:
		invert(34%)
		sepia(16%)
		saturate(1129%)
		hue-rotate(342deg)
		brightness(89%)
		contrast(83%);
}

.infobox__details {
	width: 100%;
	margin: 0.05rem 0 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 0.42rem;
	table-layout: fixed;
	background: transparent;
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
}

.infobox__image + .infobox__details {
	margin-top: 0.7rem;
}

.infobox__details th,
.infobox__details td {
	min-width: 0;
	padding-top: 0.56rem;
	padding-bottom: 0.56rem;
	box-sizing: border-box;
	vertical-align: top;
	line-height: 1.5;
}

.infobox__details th {
	width: 36%;
	padding-right: 0.76rem;
	padding-left: 0.78rem;
	border: 1px solid #b89d7c;
	border-right: 0;
	border-left-width: 4px;
	border-radius: 10px 0 0 10px;
	background: #d7c5a8;
	color: #47372d;
	font-size: 0.86rem;
	font-weight: 600;
	text-align: left;
	white-space: normal;
}

.infobox__details td {
	padding-right: 0.72rem;
	padding-left: 0.76rem;
	border: 1px solid #cebaa0;
	border-left: 0;
	border-radius: 0 10px 10px 0;
	background: rgba(252, 247, 238, 0.94);
	color: #3b3028;
	font-size: 0.91rem;
	font-weight: 400;
	text-align: left;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.infobox__details p {
	margin: 0.2em 0;
}

.infobox__details ul,
.infobox__details ol {
	margin: 0.22em 0 0.22em 1.2em;
	padding: 0;
}

.infobox__details li {
	margin: 0.12em 0;
}

.infobox__details sup {
	line-height: 1;
}

.infobox a {
	color: #795940;
	text-decoration: none;
}

.infobox a:hover {
	color: #523927;
	text-decoration: underline;
}

.infobox a:focus {
	outline: 2px solid #a17d5f;
}

@media screen and (max-width: 720px) {
	.infobox {
		float: none;
		clear: both;
		width: 100%;
		max-width: 100%;
		margin: 0 0 1.1rem;
		padding: 0.7rem;
		border-radius: 20px;
		font-size: 1rem;
		line-height: 1.55;
		box-shadow: 0 8px 20px rgba(70, 52, 39, 0.14);
	}

	.infobox__hanger {
		top: 1.05rem;
		left: 1rem;
		width: 28px;
		height: 28px;
	}

	.infobox__title {
		min-height: 66px;
		padding: 0.86rem 3.7rem 0.82rem 3.35rem;
		border-radius: 15px 11px 15px 11px;
		font-size: 2rem;
		line-height: 1.18;
	}

	.infobox__title::after {
		right: 1.1rem;
		width: 27px;
		height: 27px;
		margin-top: -13px;
	}

	.infobox__panel {
		margin-top: 0.64rem;
		padding: 0.6rem;
		border-radius: 13px;
	}

	.infobox__image {
		min-height: 210px;
		max-height: 295px;
		padding: 1rem;
		border-radius: 11px;
	}

	.infobox__image img {
		max-height: 240px;
	}

	.infobox__section {
		min-height: 38px;
		padding-left: 2.2rem;
		font-size: 0.98rem;
	}

	.infobox__section::before {
		left: 0.7rem;
		width: 19px;
		height: 19px;
		margin-top: -9px;
	}

	.infobox__details th {
		width: 35%;
		padding-right: 0.7rem;
		padding-left: 0.74rem;
		font-size: 1rem;
	}

	.infobox__details td {
		padding-right: 0.68rem;
		padding-left: 0.7rem;
		font-size: 1rem;
	}
}

@media screen and (max-width: 480px) {
	.infobox {
		padding: 0.58rem;
		border-radius: 17px;
	}

	.infobox__hanger {
		top: 0.92rem;
		left: 0.85rem;
		width: 25px;
		height: 25px;
	}

	.infobox__title {
		min-height: 60px;
		padding: 0.76rem 3.2rem 0.72rem 2.95rem;
		font-size: 1.75rem;
	}

	.infobox__title::after {
		right: 0.85rem;
		width: 23px;
		height: 23px;
		margin-top: -11px;
	}

	.infobox__panel {
		padding: 0.5rem;
		border-radius: 11px;
	}

	.infobox__image {
		min-height: 180px;
		max-height: 250px;
		padding: 0.82rem;
		border-radius: 10px;
	}

	.infobox__image img {
		max-height: 205px;
	}

	.infobox__section {
		margin-top: 0.62rem;
		padding-left: 2.05rem;
		font-size: 0.94rem;
	}

	.infobox__details,
	.infobox__details tbody,
	.infobox__details tr,
	.infobox__details th,
	.infobox__details td {
		display: block;
		width: 100%;
	}

	.infobox__details {
		margin-top: 0;
		border-spacing: 0;
	}

	.infobox__image + .infobox__details {
		margin-top: 0.58rem;
	}

	.infobox__details tr {
		margin-bottom: 0.38rem;
	}

	.infobox__details th {
		padding: 0.48rem 0.7rem;
		border-right: 1px solid #b89d7c;
		border-bottom: 0;
		border-left-width: 4px;
		border-radius: 9px 9px 0 0;
		font-size: 0.96rem;
	}

	.infobox__details td {
		padding: 0.58rem 0.7rem;
		border-top: 0;
		border-left: 1px solid #cebaa0;
		border-radius: 0 0 9px 9px;
		font-size: 1rem;
	}
}

@media screen {
	html.skin-theme-clientpref-night .infobox {
		border-color: #715e4d;
		background-color: #3a322c;
		color: #eee5da;
		box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
	}

	html.skin-theme-clientpref-night .infobox__title {
		border-color: #7a6350;
		background: #6d5748;
		color: #fff5e9;
	}

	html.skin-theme-clientpref-night .infobox__panel {
		border-color: #665747;
		background-color: #2f2924;
	}

	html.skin-theme-clientpref-night .infobox__image {
		border-color: #685a4b;
		background: rgba(55, 48, 42, 0.94);
	}

	html.skin-theme-clientpref-night .infobox__image::before {
		border-color: #4f463e;
	}

	html.skin-theme-clientpref-night .infobox__image::after {
		background: #ad8765;
	}

	html.skin-theme-clientpref-night .infobox__image img {
		filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.28));
	}

	html.skin-theme-clientpref-night .infobox__section {
		border-left-color: #ad8765;
		background: #51443a;
		color: #f0e3d5;
	}

	html.skin-theme-clientpref-night .infobox__section::before {
		filter:
			invert(80%)
			sepia(18%)
			saturate(589%)
			hue-rotate(343deg)
			brightness(93%)
			contrast(87%);
	}

	html.skin-theme-clientpref-night .infobox__details th {
		border-color: #75624f;
		background: #594a3e;
		color: #f0e4d7;
	}

	html.skin-theme-clientpref-night .infobox__details td {
		border-color: #6b594a;
		background: rgba(68, 57, 48, 0.96);
		color: #eee5da;
	}

	html.skin-theme-clientpref-night .infobox a {
		color: #dcb28b;
	}

	html.skin-theme-clientpref-night .infobox a:hover {
		color: #f1cfad;
	}

	html.skin-theme-clientpref-night .infobox a:focus {
		outline-color: #c39a76;
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .infobox {
		border-color: #715e4d;
		background-color: #3a322c;
		color: #eee5da;
		box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
	}

	html.skin-theme-clientpref-os .infobox__title {
		border-color: #7a6350;
		background: #6d5748;
		color: #fff5e9;
	}

	html.skin-theme-clientpref-os .infobox__panel {
		border-color: #665747;
		background-color: #2f2924;
	}

	html.skin-theme-clientpref-os .infobox__image {
		border-color: #685a4b;
		background: rgba(55, 48, 42, 0.94);
	}

	html.skin-theme-clientpref-os .infobox__image::before {
		border-color: #4f463e;
	}

	html.skin-theme-clientpref-os .infobox__image::after {
		background: #ad8765;
	}

	html.skin-theme-clientpref-os .infobox__image img {
		filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.28));
	}

	html.skin-theme-clientpref-os .infobox__section {
		border-left-color: #ad8765;
		background: #51443a;
		color: #f0e3d5;
	}

	html.skin-theme-clientpref-os .infobox__section::before {
		filter:
			invert(80%)
			sepia(18%)
			saturate(589%)
			hue-rotate(343deg)
			brightness(93%)
			contrast(87%);
	}

	html.skin-theme-clientpref-os .infobox__details th {
		border-color: #75624f;
		background: #594a3e;
		color: #f0e4d7;
	}

	html.skin-theme-clientpref-os .infobox__details td {
		border-color: #6b594a;
		background: rgba(68, 57, 48, 0.96);
		color: #eee5da;
	}

	html.skin-theme-clientpref-os .infobox a {
		color: #dcb28b;
	}

	html.skin-theme-clientpref-os .infobox a:hover {
		color: #f1cfad;
	}

	html.skin-theme-clientpref-os .infobox a:focus {
		outline-color: #c39a76;
	}
}