:정보상자/styles.css

식물 vs 좀비 위키
Brokey (토론 | 기여)님의 2026년 7월 22일 (수) 19:03 판
둘러보기로 이동 검색으로 이동
.infobox {
	position: relative;
	float: right;
	clear: right;
	width: 340px;
	max-width: 100%;
	margin: 0 0 1.3rem 1.3rem;
	padding: 0.82rem;
	border: 1px solid #bca58c;
	border-left: 6px solid #79533b;
	border-radius: 22px 8px 18px 8px;
	box-sizing: border-box;
	background: #ded0bd;
	color: #40342c;
	font-family:
		"SB Aggro L",
		"SB 어그로 L",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 0.95rem;
	font-weight: 300;
	line-height: 1.6;
	box-shadow: 0 8px 20px rgba(69, 48, 34, 0.14);
	overflow: visible;
}

.infobox__head {
	margin: 0 0.35rem 0 -1.15rem;
}

.infobox__title {
	padding: 0.58rem 1rem 0.52rem 1.25rem;
	border: 1px solid #654531;
	border-left: 0;
	border-radius: 0 13px 5px 0;
	box-sizing: border-box;
	background: #79533b;
	color: #fff8ef;
	font-family:
		"SB Aggro B",
		"SB 어그로 B",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 1.38rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.35;
	text-align: left;
	overflow-wrap: anywhere;
	word-break: keep-all;
}

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

.infobox__body {
	margin-top: 0.72rem;
	border: 1px solid #c5ad91;
	border-radius: 13px 5px 15px 5px;
	box-sizing: border-box;
	background: #f2e7d7;
	overflow: hidden;
}

.infobox__media {
	margin: 0;
}

.infobox__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 195px;
	max-height: 265px;
	padding: 1rem;
	border: 0;
	border-bottom: 1px solid #c8b298;
	box-sizing: border-box;
	background: #f7eee2;
	overflow: hidden;
}

.infobox__image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 225px;
	margin: 0 auto;
	object-fit: contain;
	filter: drop-shadow(0 7px 7px rgba(76, 53, 37, 0.18));
}

.infobox__section {
	position: relative;
	padding: 0.78rem 0.8rem 0.38rem;
	box-sizing: border-box;
	background: #eadcca;
}

.infobox__section-title {
	display: inline-block;
	margin: 0 0 0.42rem -0.8rem;
	padding: 0.3rem 0.75rem 0.28rem 0.85rem;
	border-left: 4px solid #9e6844;
	border-radius: 0 7px 7px 0;
	background: #d5bea1;
	color: #594234;
	font-family:
		"SB Aggro M",
		"SB 어그로 M",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 0.84rem;
	font-weight: 500;
	line-height: 1.4;
}

.infobox__details {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
	background: transparent;
}

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

.infobox__details tr + tr th,
.infobox__details tr + tr td {
	border-top: 1px solid #d0bba1;
}

.infobox__details th {
	position: relative;
	width: 35%;
	padding-right: 0.72rem;
	padding-left: 0.78rem;
	color: #4d392d;
	font-family:
		"SB Aggro M",
		"SB 어그로 M",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 0.87rem;
	font-weight: 500;
	text-align: left;
	white-space: normal;
}

.infobox__details th::before {
	content: "";
	position: absolute;
	top: 0.92rem;
	left: 0;
	width: 3px;
	height: 0.82rem;
	border-radius: 2px;
	background: #9e6844;
}

.infobox__details td {
	padding-left: 0.42rem;
	color: #40342c;
	font-family:
		"SB Aggro L",
		"SB 어그로 L",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 0.92rem;
	font-weight: 300;
	text-align: left;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.infobox__details p {
	margin: 0.18em 0;
}

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

.infobox__details li {
	margin: 0.12em 0;
}

.infobox__details sup {
	line-height: 1;
}

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

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

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

@media screen and (max-width: 720px) {
	.infobox {
		float: none;
		clear: both;
		width: 100%;
		max-width: 100%;
		margin: 0 0 1.15rem;
		padding: 0.72rem;
		border-left-width: 6px;
		border-radius: 20px 7px 17px 7px;
		font-size: 1rem;
		line-height: 1.6;
		box-shadow: 0 7px 18px rgba(69, 48, 34, 0.13);
	}

	.infobox__head {
		margin-right: 0.25rem;
		margin-left: -1.05rem;
	}

	.infobox__title {
		padding: 0.62rem 0.95rem 0.58rem 1.1rem;
		border-radius: 0 12px 5px 0;
		font-size: 2.2rem;
		line-height: 1.25;
	}

	.infobox__body {
		margin-top: 0.65rem;
		border-radius: 12px 5px 14px 5px;
	}

	.infobox__image {
		min-height: 200px;
		max-height: 275px;
		padding: 0.95rem;
	}

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

	.infobox__section {
		padding-right: 0.72rem;
		padding-left: 0.72rem;
	}

	.infobox__section-title {
		margin-left: -0.72rem;
		font-size: 0.92rem;
	}

	.infobox__details th {
		width: 34%;
		padding-left: 0.78rem;
		font-size: 1rem;
	}

	.infobox__details td {
		font-size: 1rem;
	}
}

@media screen and (max-width: 520px) {
	.infobox {
		padding: 0.62rem;
		border-left-width: 5px;
		border-radius: 18px 6px 15px 6px;
	}

	.infobox__head {
		margin-left: -0.92rem;
	}

	.infobox__title {
		padding: 0.58rem 0.82rem 0.54rem 0.95rem;
		font-size: 2rem;
	}

	.infobox__image {
		min-height: 180px;
		max-height: 245px;
		padding: 0.82rem;
	}

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

	.infobox__section {
		padding-right: 0.62rem;
		padding-left: 0.62rem;
	}

	.infobox__section-title {
		margin-left: -0.62rem;
	}

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

	.infobox__details tr {
		padding: 0.62rem 0;
	}

	.infobox__details tr + tr {
		border-top: 1px solid #d0bba1;
	}

	.infobox__details tr + tr th,
	.infobox__details tr + tr td {
		border-top: 0;
	}

	.infobox__details th {
		padding: 0.04rem 0.18rem 0.22rem 0.78rem;
		font-size: 0.96rem;
	}

	.infobox__details th::before {
		top: 0.34rem;
		height: 0.74rem;
	}

	.infobox__details td {
		padding: 0.05rem 0.18rem 0.05rem 0.78rem;
		font-size: 1rem;
		line-height: 1.6;
	}
}

@media screen {
	html.skin-theme-clientpref-night .infobox {
		border-color: #5e4c3f;
		border-left-color: #a87350;
		background: #332a24;
		color: #ece3d8;
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
	}

	html.skin-theme-clientpref-night .infobox__title {
		border-color: #865c43;
		background: #684733;
		color: #f7eee4;
	}

	html.skin-theme-clientpref-night .infobox__body {
		border-color: #675548;
		background: #3a3029;
	}

	html.skin-theme-clientpref-night .infobox__image {
		border-bottom-color: #665448;
		background: #41362e;
	}

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

	html.skin-theme-clientpref-night .infobox__section {
		background: #3a3029;
	}

	html.skin-theme-clientpref-night .infobox__section-title {
		border-left-color: #bd8055;
		background: #4e3e33;
		color: #eddccc;
	}

	html.skin-theme-clientpref-night .infobox__details tr + tr th,
	html.skin-theme-clientpref-night .infobox__details tr + tr td,
	html.skin-theme-clientpref-night .infobox__details tr + tr {
		border-top-color: #594a3f;
	}

	html.skin-theme-clientpref-night .infobox__details th {
		color: #ead8c7;
	}

	html.skin-theme-clientpref-night .infobox__details th::before {
		background: #bd8055;
	}

	html.skin-theme-clientpref-night .infobox__details td {
		color: #ece3d8;
	}

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

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

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

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .infobox {
		border-color: #5e4c3f;
		border-left-color: #a87350;
		background: #332a24;
		color: #ece3d8;
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
	}

	html.skin-theme-clientpref-os .infobox__title {
		border-color: #865c43;
		background: #684733;
		color: #f7eee4;
	}

	html.skin-theme-clientpref-os .infobox__body {
		border-color: #675548;
		background: #3a3029;
	}

	html.skin-theme-clientpref-os .infobox__image {
		border-bottom-color: #665448;
		background: #41362e;
	}

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

	html.skin-theme-clientpref-os .infobox__section {
		background: #3a3029;
	}

	html.skin-theme-clientpref-os .infobox__section-title {
		border-left-color: #bd8055;
		background: #4e3e33;
		color: #eddccc;
	}

	html.skin-theme-clientpref-os .infobox__details tr + tr th,
	html.skin-theme-clientpref-os .infobox__details tr + tr td,
	html.skin-theme-clientpref-os .infobox__details tr + tr {
		border-top-color: #594a3f;
	}

	html.skin-theme-clientpref-os .infobox__details th {
		color: #ead8c7;
	}

	html.skin-theme-clientpref-os .infobox__details th::before {
		background: #bd8055;
	}

	html.skin-theme-clientpref-os .infobox__details td {
		color: #ece3d8;
	}

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

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

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