:정보상자/styles.css

식물 vs 좀비 위키
Brokey (토론 | 기여)님의 2026년 7월 21일 (화) 22:20 판
둘러보기로 이동 검색으로 이동
.company-infobox {
	float: right;
	clear: right;
	width: 320px;
	max-width: 100%;
	margin: 0 0 1.25rem 1.25rem;
	padding: 0.38rem;
	border: 1px solid #b9a084;
	border-collapse: separate;
	border-spacing: 0.34rem 0.4rem;
	border-radius: 20px;
	box-sizing: border-box;
	table-layout: fixed;
	background:
		linear-gradient(
			180deg,
			#f8efdf 0%,
			#f2e4d0 55%,
			#ead8bf 100%
		);
	color: #41362d;
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 0.92rem;
	line-height: 1.5;
	box-shadow:
		0 14px 34px rgba(87, 61, 38, 0.13),
		0 3px 9px rgba(87, 61, 38, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.company-infobox th,
.company-infobox td {
	box-sizing: border-box;
	min-width: 0;
	vertical-align: middle;
}

.company-infobox__title {
	padding: 0.78rem 0.95rem;
	border: 1px solid #715946;
	border-radius: 12px;
	background-color: #806650;
	background-image:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.08) 25%,
			transparent 25%,
			transparent 50%,
			rgba(255, 255, 255, 0.08) 50%,
			rgba(255, 255, 255, 0.08) 75%,
			transparent 75%
		);
	background-size: 14px 14px;
	color: #fff8ec;
	font-size: 1.19rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	text-align: center;
	text-shadow: 0 1px 2px rgba(49, 32, 20, 0.34);
	overflow-wrap: anywhere;
	word-break: keep-all;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		0 2px 5px rgba(83, 55, 34, 0.12);
}

.company-infobox__logo {
	padding: 1rem;
	border: 1px solid #d5bea2;
	border-radius: 15px;
	background:
		linear-gradient(
			180deg,
			#fffdf8 0%,
			#fff8ed 100%
		);
	text-align: center;
	box-shadow:
		inset 0 0 0 4px rgba(239, 220, 194, 0.38),
		inset 0 1px 4px rgba(102, 72, 45, 0.06);
}

.company-infobox__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 210px;
	margin: 0 auto;
	border-radius: 9px;
	object-fit: contain;
}

.company-infobox th[scope="row"] {
	width: 32%;
	padding: 0.56rem 0.62rem;
	border: 1px solid #bda183;
	border-radius: 10px;
	background-color: #d2b99f;
	background-image:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.16) 25%,
			transparent 25%,
			transparent 50%,
			rgba(255, 255, 255, 0.16) 50%,
			rgba(255, 255, 255, 0.16) 75%,
			transparent 75%
		);
	background-size: 12px 12px;
	color: #4d3e32;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: -0.012em;
	line-height: 1.4;
	text-align: left;
	white-space: normal;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		0 1px 2px rgba(87, 61, 38, 0.05);
}

.company-infobox th[scope="row"] + td {
	padding: 0.56rem 0.7rem;
	border: 1px solid #d1b798;
	border-radius: 10px;
	background:
		linear-gradient(
			180deg,
			#fff9ef 0%,
			#f8ecdc 100%
		);
	color: #342b24;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.48;
	text-align: left;
	overflow-wrap: anywhere;
	word-break: break-word;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.7),
		0 1px 2px rgba(87, 61, 38, 0.04);
}

.company-infobox p {
	margin: 0.22em 0;
}

.company-infobox ul,
.company-infobox ol {
	margin: 0.25em 0 0.25em 1.2em;
	padding: 0;
}

.company-infobox li {
	margin: 0.12em 0;
}

.company-infobox sup {
	line-height: 1;
}

.company-infobox a {
	color: #8a552f;
	font-weight: 500;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.company-infobox a:hover {
	color: #653b21;
	text-decoration: underline;
}

.company-infobox a:focus {
	outline: 2px solid rgba(151, 98, 53, 0.55);
	outline-offset: 2px;
	border-radius: 3px;
}

@media screen and (max-width: 720px) {
	.company-infobox {
		float: none;
		clear: both;
		width: 100%;
		max-width: 100%;
		margin: 0 0 1.1rem;
		padding: 0.28rem;
		border: 0;
		border-radius: 0;
		border-spacing: 0.3rem 0.38rem;
		box-shadow: none;
	}

	.company-infobox__title {
		padding: 0.74rem 0.8rem;
		font-size: 1.13rem;
	}

	.company-infobox__logo {
		padding: 0.85rem;
	}

	.company-infobox__logo img {
		max-height: 190px;
	}

	.company-infobox th[scope="row"] {
		width: 31%;
		padding: 0.54rem 0.56rem;
	}

	.company-infobox th[scope="row"] + td {
		padding: 0.54rem 0.62rem;
	}
}

@media screen and (max-width: 420px) {
	.company-infobox {
		border-spacing: 0.24rem 0.34rem;
		font-size: 0.9rem;
	}

	.company-infobox th[scope="row"] {
		width: 34%;
		padding: 0.5rem;
		font-size: 0.77rem;
	}

	.company-infobox th[scope="row"] + td {
		padding: 0.5rem 0.56rem;
		font-size: 0.87rem;
	}
}

@media screen {
	html.skin-theme-clientpref-night .company-infobox {
		border-color: #776454;
		background:
			linear-gradient(
				180deg,
				#3b332d 0%,
				#332b26 55%,
				#2c2521 100%
			);
		color: #eee3d5;
		box-shadow:
			0 16px 36px rgba(0, 0, 0, 0.3),
			0 3px 9px rgba(0, 0, 0, 0.2),
			inset 0 1px 0 rgba(255, 255, 255, 0.04);
	}

	html.skin-theme-clientpref-night .company-infobox__title {
		border-color: #96775e;
		background-color: #725946;
		color: #fff3e4;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.08),
			0 2px 5px rgba(0, 0, 0, 0.25);
	}

	html.skin-theme-clientpref-night .company-infobox__logo {
		border-color: #695748;
		background:
			linear-gradient(
				180deg,
				#39312c 0%,
				#302925 100%
			);
		box-shadow:
			inset 0 0 0 4px rgba(159, 127, 96, 0.08),
			inset 0 1px 4px rgba(0, 0, 0, 0.2);
	}

	html.skin-theme-clientpref-night .company-infobox th[scope="row"] {
		border-color: #806b59;
		background-color: #675547;
		color: #f0dfcf;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.06),
			0 1px 2px rgba(0, 0, 0, 0.15);
	}

	html.skin-theme-clientpref-night .company-infobox th[scope="row"] + td {
		border-color: #665548;
		background:
			linear-gradient(
				180deg,
				#413731 0%,
				#382f2a 100%
			);
		color: #eee6dc;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.035),
			0 1px 2px rgba(0, 0, 0, 0.14);
	}

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

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

	html.skin-theme-clientpref-night .company-infobox a:focus {
		outline-color: rgba(232, 184, 137, 0.7);
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .company-infobox {
		border-color: #776454;
		background:
			linear-gradient(
				180deg,
				#3b332d 0%,
				#332b26 55%,
				#2c2521 100%
			);
		color: #eee3d5;
		box-shadow:
			0 16px 36px rgba(0, 0, 0, 0.3),
			0 3px 9px rgba(0, 0, 0, 0.2),
			inset 0 1px 0 rgba(255, 255, 255, 0.04);
	}

	html.skin-theme-clientpref-os .company-infobox__title {
		border-color: #96775e;
		background-color: #725946;
		color: #fff3e4;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.08),
			0 2px 5px rgba(0, 0, 0, 0.25);
	}

	html.skin-theme-clientpref-os .company-infobox__logo {
		border-color: #695748;
		background:
			linear-gradient(
				180deg,
				#39312c 0%,
				#302925 100%
			);
		box-shadow:
			inset 0 0 0 4px rgba(159, 127, 96, 0.08),
			inset 0 1px 4px rgba(0, 0, 0, 0.2);
	}

	html.skin-theme-clientpref-os .company-infobox th[scope="row"] {
		border-color: #806b59;
		background-color: #675547;
		color: #f0dfcf;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.06),
			0 1px 2px rgba(0, 0, 0, 0.15);
	}

	html.skin-theme-clientpref-os .company-infobox th[scope="row"] + td {
		border-color: #665548;
		background:
			linear-gradient(
				180deg,
				#413731 0%,
				#382f2a 100%
			);
		color: #eee6dc;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.035),
			0 1px 2px rgba(0, 0, 0, 0.14);
	}

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

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

	html.skin-theme-clientpref-os .company-infobox a:focus {
		outline-color: rgba(232, 184, 137, 0.7);
	}
}

@media screen and (max-width: 720px) {
	html.skin-theme-clientpref-night .company-infobox {
		border: 0;
		box-shadow: none;
	}
}

@media screen and (max-width: 720px) and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .company-infobox {
		border: 0;
		box-shadow: none;
	}
}