틀:정보상자/styles.css: 두 판 사이의 차이

식물 vs 좀비 위키
둘러보기로 이동 검색으로 이동
편집 요약 없음
태그: 모바일 편집 모바일 웹 편집
편집 요약 없음
태그: 되돌려진 기여 모바일 편집 모바일 웹 편집
7번째 줄: 7번째 줄:
margin: 0 0 1.25rem 1.25rem;
margin: 0 0 1.25rem 1.25rem;
padding: 0.78rem;
padding: 0.78rem;
border: 2px solid #805e47;
border: 3px solid #7f5f49;
border-radius: 20px;
border-radius: 10px;
box-sizing: border-box;
box-sizing: border-box;
background: #d9c1a4;
background: #d2c0aa;
color: #453329;
color: #47372d;
font-family:
font-family:
"SB Aggro L",
"SB Aggro L",
24번째 줄: 24번째 줄:
font-weight: 300;
font-weight: 300;
line-height: 1.55;
line-height: 1.55;
box-shadow: 0 9px 24px rgba(79, 51, 35, 0.17);
box-shadow: 0 10px 24px rgba(76, 56, 42, 0.16);
overflow: hidden;
overflow: hidden;
}
}


.infobox::before {
/* 이름칸은 기존 스타일 유지 */
position: absolute;
z-index: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 18px;
background-image: url("/wiki/Special:Redirect/file/paper_texture.png");
background-repeat: repeat;
background-position: left top;
background-size: 520px auto;
content: "";
opacity: 0.015;
}
 
.infobox__title,
.infobox__title,
.infobox__panel {
.infobox__panel {
95번째 줄: 80번째 줄:
}
}


/* 아래부터 새 디자인 */
.infobox__panel {
.infobox__panel {
margin-top: 0.66rem;
margin-top: 0.72rem;
padding: 0.62rem;
padding: 0;
border: 1px solid #b99472;
border: 0;
border-radius: 14px;
border-radius: 0;
box-sizing: border-box;
background: transparent;
background: #f1dfc5;
overflow: visible;
overflow: hidden;
}
 
.infobox__panel::before {
position: absolute;
z-index: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 13px;
background-image: url("/wiki/Special:Redirect/file/paper_texture.png");
background-repeat: repeat;
background-position: left top;
background-size: 520px auto;
content: "";
opacity: 0.012;
}
}


127번째 줄: 96번째 줄:
}
}


/* 이미지칸 */
.infobox__image {
.infobox__image {
position: relative;
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
width: 100%;
width: 100%;
min-height: 82px;
min-height: 330px;
max-height: 225px;
padding: 1rem;
padding: 0.58rem;
margin: 0 0 1rem;
border: 1px solid #9e6945;
border: 0;
border-radius: 10px;
box-sizing: border-box;
box-sizing: border-box;
background: rgba(255, 237, 201, 0.94);
background: transparent;
overflow: hidden;
overflow: visible;
}
 
.infobox__image::before {
position: absolute;
inset: 0;
border: 2px solid #934f2c;
background:
url("/wiki/Special:Redirect/file/Template%20Bg.png") center center / cover no-repeat,
#efdfbf;
clip-path: polygon(
0 0,
100% 1.2%,
99% 37%,
100% 37.8%,
100% 58%,
97.9% 60.5%,
100% 100%,
61.5% 100%,
58% 95.6%,
54% 100%,
1.5% 100%,
1% 14%,
0 13.2%,
0 9%,
3.2% 6.2%,
0 3.8%
);
border-radius: 2px;
content: "";
}
}


.infobox__image::after {
.infobox__image::after {
position: absolute;
position: absolute;
right: 0.7rem;
inset: 2.35rem 2.35rem 2.45rem;
bottom: 0.52rem;
background: rgba(243, 226, 194, 0.96);
width: 30px;
border-radius: 2px;
height: 3px;
border-radius: 3px;
background: #9b6745;
content: "";
content: "";
opacity: 0.42;
}
}


163번째 줄: 158번째 줄:
display: block;
display: block;
width: auto;
width: auto;
max-width: 100%;
max-width: calc(100% - 3.6rem);
height: auto;
height: auto;
max-height: 198px;
max-height: 230px;
margin: 0 auto;
margin: 0 auto;
object-fit: contain;
object-fit: contain;
filter: drop-shadow(0 8px 18px rgba(84, 55, 37, 0.2));
}
}


/* 정보칸 */
.infobox__details {
.infobox__details {
width: 100%;
width: 100%;
margin: 0.31rem 0 -0.42rem;
margin: 0;
border: 0;
padding: 0.45rem 0.55rem;
border: 2px solid #d3c2ab;
border-radius: 6px;
border-collapse: separate;
border-collapse: separate;
border-spacing: 0 0.42rem;
border-spacing: 0;
table-layout: fixed;
table-layout: fixed;
background: transparent;
background: #f4eee4;
box-sizing: border-box;
font-family:
font-family:
"SB Aggro L",
"SB Aggro L",
187번째 줄: 187번째 줄:
"Noto Sans KR",
"Noto Sans KR",
sans-serif;
sans-serif;
}
.infobox__image + .infobox__details {
margin-top: 0.31rem;
}
}


196번째 줄: 192번째 줄:
.infobox__details td {
.infobox__details td {
min-width: 0;
min-width: 0;
padding-top: 0.5rem;
padding-top: 0.72rem;
padding-bottom: 0.5rem;
padding-bottom: 0.72rem;
box-sizing: border-box;
box-sizing: border-box;
vertical-align: middle;
vertical-align: top;
line-height: 1.44;
line-height: 1.46;
border: 0;
background: transparent;
}
}


.infobox__details th {
.infobox__details th {
width: 31%;
width: 34%;
padding-right: 0.64rem;
padding-right: 0.95rem;
padding-left: 0.64rem;
padding-left: 0.75rem;
border: 1px solid #b89878;
color: #3e3128;
border-right: 0;
border-radius: 9px 0 0 9px;
background: #ddc5a7;
color: #49352b;
font-family:
font-family:
"SB Aggro M",
"SB Aggro M",
221번째 줄: 215번째 줄:
"Noto Sans KR",
"Noto Sans KR",
sans-serif;
sans-serif;
font-size: 0.84rem;
font-size: 0.85rem;
font-weight: 500;
font-weight: 500;
text-align: left;
text-align: left;
228번째 줄: 222번째 줄:


.infobox__details td {
.infobox__details td {
width: 69%;
width: 66%;
padding-right: 0.7rem;
padding-right: 0.72rem;
padding-left: 0.7rem;
padding-left: 0.25rem;
border: 1px solid #cfb99e;
color: #7f5a3e;
border-left: 0;
border-radius: 0 9px 9px 0;
background: rgba(255, 250, 241, 0.96);
color: #49362c;
font-family:
font-family:
"SB Aggro L",
"SB Aggro L",
250번째 줄: 240번째 줄:
overflow-wrap: anywhere;
overflow-wrap: anywhere;
word-break: break-word;
word-break: break-word;
}
.infobox__details tr:first-child th,
.infobox__details tr:first-child td {
padding-top: 0.58rem;
}
.infobox__details tr:last-child th,
.infobox__details tr:last-child td {
padding-bottom: 0.58rem;
}
}


287번째 줄: 287번째 줄:
.infobox a:focus {
.infobox a:focus {
outline: 2px solid #a87959;
outline: 2px solid #a87959;
outline-offset: 1px;
}
}


297번째 줄: 298번째 줄:
margin: 0 0 1.1rem;
margin: 0 0 1.1rem;
padding: 0.68rem;
padding: 0.68rem;
border-radius: 18px;
border-width: 3px;
border-radius: 9px;
font-size: 1rem;
font-size: 1rem;
line-height: 1.55;
line-height: 1.55;
box-shadow: 0 7px 18px rgba(79, 51, 35, 0.15);
box-shadow: 0 8px 18px rgba(76, 56, 42, 0.14);
}
 
.infobox::before {
border-radius: 16px;
}
}


.infobox__title {
.infobox__title {
min-height: 0;
padding: 0.62rem 2.3rem 0.58rem;
padding: 0.62rem 2.3rem 0.58rem;
clip-path: polygon(
clip-path: polygon(
323번째 줄: 320번째 줄:


.infobox__panel {
.infobox__panel {
margin-top: 0.6rem;
margin-top: 0.66rem;
padding: 0.56rem;
border-radius: 12px;
}
}


.infobox__image {
.infobox__image {
min-height: 90px;
min-height: 300px;
max-height: 235px;
padding: 0.92rem;
padding: 0.58rem;
margin-bottom: 0.92rem;
border-radius: 9px;
}
 
.infobox__image::after {
inset: 2.1rem 2.1rem 2.2rem;
}
}


.infobox__image img {
.infobox__image img {
max-height: 208px;
max-width: calc(100% - 3.1rem);
max-height: 215px;
}
}


.infobox__details {
.infobox__details {
margin-top: 0.3rem;
padding: 0.38rem 0.46rem;
margin-bottom: -0.44rem;
border-spacing: 0 0.44rem;
}
 
.infobox__image + .infobox__details {
margin-top: 0.3rem;
}
}


.infobox__details th,
.infobox__details th,
.infobox__details td {
.infobox__details td {
padding-top: 0.52rem;
padding-top: 0.68rem;
padding-bottom: 0.52rem;
padding-bottom: 0.68rem;
line-height: 1.42;
line-height: 1.44;
}
}


.infobox__details th {
.infobox__details th {
width: 30%;
width: 32%;
padding-right: 0.64rem;
padding-right: 0.82rem;
padding-left: 0.64rem;
padding-left: 0.66rem;
font-size: 0.98rem;
font-size: 0.98rem;
}
}


.infobox__details td {
.infobox__details td {
width: 70%;
width: 68%;
padding-right: 0.7rem;
padding-right: 0.62rem;
padding-left: 0.7rem;
padding-left: 0.18rem;
font-size: 1rem;
font-size: 1rem;
}
}
374번째 줄: 367번째 줄:
.infobox {
.infobox {
padding: 0.56rem;
padding: 0.56rem;
border-radius: 16px;
border-radius: 8px;
}
}


.infobox__title {
.infobox__title {
min-height: 0;
padding: 0.58rem 1.9rem 0.54rem;
padding: 0.58rem 1.9rem 0.54rem;
clip-path: polygon(
clip-path: polygon(
393번째 줄: 385번째 줄:


.infobox__panel {
.infobox__panel {
padding: 0.46rem;
margin-top: 0.58rem;
border-radius: 10px;
}
}


.infobox__image {
.infobox__image {
min-height: 72px;
min-height: 258px;
max-height: 205px;
padding: 0.78rem;
padding: 0.46rem;
margin-bottom: 0.82rem;
border-radius: 8px;
}
 
.infobox__image::after {
inset: 1.78rem 1.78rem 1.9rem;
}
}


.infobox__image img {
.infobox__image img {
max-height: 180px;
max-width: calc(100% - 2.6rem);
max-height: 188px;
}
}


.infobox__details {
.infobox__details {
margin-top: 0.25rem;
padding: 0.28rem 0.34rem;
margin-bottom: -0.36rem;
border-radius: 5px;
border-spacing: 0 0.36rem;
}
 
.infobox__image + .infobox__details {
margin-top: 0.25rem;
}
}


.infobox__details th,
.infobox__details th,
.infobox__details td {
.infobox__details td {
padding-top: 0.46rem;
padding-top: 0.58rem;
padding-bottom: 0.46rem;
padding-bottom: 0.58rem;
line-height: 1.4;
line-height: 1.42;
}
}


.infobox__details th {
.infobox__details th {
width: 34%;
width: 34%;
padding-right: 0.56rem;
padding-right: 0.62rem;
padding-left: 0.56rem;
padding-left: 0.5rem;
border-radius: 8px 0 0 8px;
font-size: 0.92rem;
font-size: 0.92rem;
}
}
435번째 줄: 424번째 줄:
.infobox__details td {
.infobox__details td {
width: 66%;
width: 66%;
padding-right: 0.6rem;
padding-right: 0.46rem;
padding-left: 0.6rem;
padding-left: 0.12rem;
border-radius: 0 8px 8px 0;
font-size: 0.96rem;
font-size: 0.96rem;
}
}
448번째 줄: 436번째 줄:
color: #eee4d9;
color: #eee4d9;
box-shadow: 0 9px 24px rgba(0, 0, 0, 0.3);
box-shadow: 0 9px 24px rgba(0, 0, 0, 0.3);
}
html.skin-theme-clientpref-night .infobox::before {
opacity: 0.007;
}
}


459번째 줄: 443번째 줄:
}
}


html.skin-theme-clientpref-night .infobox__panel {
html.skin-theme-clientpref-night .infobox__image::before {
border-color: #69513f;
border-color: #8c5c3d;
background: #302720;
background:
url("/wiki/Special:Redirect/file/Template%20Bg.png") center center / cover no-repeat,
#58473a;
}
}


html.skin-theme-clientpref-night .infobox__panel::before {
html.skin-theme-clientpref-night .infobox__image::after {
opacity: 0.006;
background: rgba(80, 62, 47, 0.94);
}
}


html.skin-theme-clientpref-night .infobox__image {
html.skin-theme-clientpref-night .infobox__details {
border-color: #805838;
border-color: #69513f;
background: #44352a;
background: #302720;
}
 
html.skin-theme-clientpref-night .infobox__image::after {
background: #aa7650;
}
}


html.skin-theme-clientpref-night .infobox__details th {
html.skin-theme-clientpref-night .infobox__details th {
border-color: #765a45;
background: #594536;
color: #f0e5d9;
color: #f0e5d9;
}
}


html.skin-theme-clientpref-night .infobox__details td {
html.skin-theme-clientpref-night .infobox__details td {
border-color: #665244;
color: #d9b48f;
background: #40342b;
color: #eee4d9;
}
}


508번째 줄: 486번째 줄:
color: #eee4d9;
color: #eee4d9;
box-shadow: 0 9px 24px rgba(0, 0, 0, 0.3);
box-shadow: 0 9px 24px rgba(0, 0, 0, 0.3);
}
html.skin-theme-clientpref-os .infobox::before {
opacity: 0.007;
}
}


519번째 줄: 493번째 줄:
}
}


html.skin-theme-clientpref-os .infobox__panel {
html.skin-theme-clientpref-os .infobox__image::before {
border-color: #69513f;
border-color: #8c5c3d;
background: #302720;
background:
url("/wiki/Special:Redirect/file/Template%20Bg.png") center center / cover no-repeat,
#58473a;
}
}


html.skin-theme-clientpref-os .infobox__panel::before {
html.skin-theme-clientpref-os .infobox__image::after {
opacity: 0.006;
background: rgba(80, 62, 47, 0.94);
}
}


html.skin-theme-clientpref-os .infobox__image {
html.skin-theme-clientpref-os .infobox__details {
border-color: #805838;
border-color: #69513f;
background: #44352a;
background: #302720;
}
 
html.skin-theme-clientpref-os .infobox__image::after {
background: #aa7650;
}
}


html.skin-theme-clientpref-os .infobox__details th {
html.skin-theme-clientpref-os .infobox__details th {
border-color: #765a45;
background: #594536;
color: #f0e5d9;
color: #f0e5d9;
}
}


html.skin-theme-clientpref-os .infobox__details td {
html.skin-theme-clientpref-os .infobox__details td {
border-color: #665244;
color: #d9b48f;
background: #40342b;
color: #eee4d9;
}
}



2026년 7월 23일 (목) 01:40 판

.infobox {
	position: relative;
	float: right;
	clear: right;
	width: 328px;
	max-width: 100%;
	margin: 0 0 1.25rem 1.25rem;
	padding: 0.78rem;
	border: 3px solid #7f5f49;
	border-radius: 10px;
	box-sizing: border-box;
	background: #d2c0aa;
	color: #47372d;
	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;
	line-height: 1.55;
	box-shadow: 0 10px 24px rgba(76, 56, 42, 0.16);
	overflow: hidden;
}

/* 이름칸은 기존 스타일 유지 */
.infobox__title,
.infobox__panel {
	position: relative;
	z-index: 1;
}

.infobox__title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 0;
	padding: 0.56rem 2.1rem 0.52rem;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	background: #704830;
	clip-path: polygon(
		0 0,
		21px 50%,
		0 100%,
		100% 100%,
		calc(100% - 21px) 50%,
		100% 0
	);
	color: #fffaf1;
	font-family:
		"SB Aggro B",
		"SB 어그로 B",
		-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.12;
	text-align: center;
	overflow-wrap: anywhere;
	word-break: keep-all;
}

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

/* 아래부터 새 디자인 */
.infobox__panel {
	margin-top: 0.72rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

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

/* 이미지칸 */
.infobox__image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 330px;
	padding: 1rem;
	margin: 0 0 1rem;
	border: 0;
	box-sizing: border-box;
	background: transparent;
	overflow: visible;
}

.infobox__image::before {
	position: absolute;
	inset: 0;
	border: 2px solid #934f2c;
	background:
		url("/wiki/Special:Redirect/file/Template%20Bg.png") center center / cover no-repeat,
		#efdfbf;
	clip-path: polygon(
		0 0,
		100% 1.2%,
		99% 37%,
		100% 37.8%,
		100% 58%,
		97.9% 60.5%,
		100% 100%,
		61.5% 100%,
		58% 95.6%,
		54% 100%,
		1.5% 100%,
		1% 14%,
		0 13.2%,
		0 9%,
		3.2% 6.2%,
		0 3.8%
	);
	border-radius: 2px;
	content: "";
}

.infobox__image::after {
	position: absolute;
	inset: 2.35rem 2.35rem 2.45rem;
	background: rgba(243, 226, 194, 0.96);
	border-radius: 2px;
	content: "";
}

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

.infobox__image img {
	display: block;
	width: auto;
	max-width: calc(100% - 3.6rem);
	height: auto;
	max-height: 230px;
	margin: 0 auto;
	object-fit: contain;
	filter: drop-shadow(0 8px 18px rgba(84, 55, 37, 0.2));
}

/* 정보칸 */
.infobox__details {
	width: 100%;
	margin: 0;
	padding: 0.45rem 0.55rem;
	border: 2px solid #d3c2ab;
	border-radius: 6px;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	background: #f4eee4;
	box-sizing: border-box;
	font-family:
		"SB Aggro L",
		"SB 어그로 L",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
}

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

.infobox__details th {
	width: 34%;
	padding-right: 0.95rem;
	padding-left: 0.75rem;
	color: #3e3128;
	font-family:
		"SB Aggro M",
		"SB 어그로 M",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	text-align: left;
	white-space: normal;
}

.infobox__details td {
	width: 66%;
	padding-right: 0.72rem;
	padding-left: 0.25rem;
	color: #7f5a3e;
	font-family:
		"SB Aggro L",
		"SB 어그로 L",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 0.91rem;
	font-weight: 300;
	text-align: left;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.infobox__details tr:first-child th,
.infobox__details tr:first-child td {
	padding-top: 0.58rem;
}

.infobox__details tr:last-child th,
.infobox__details tr:last-child td {
	padding-bottom: 0.58rem;
}

.infobox__details p {
	margin: 0.14em 0;
	font: inherit;
}

.infobox__details ul,
.infobox__details ol {
	margin: 0.18em 0 0.18em 1.1em;
	padding: 0;
	font: inherit;
}

.infobox__details li {
	margin: 0.1em 0;
	font: inherit;
}

.infobox__details sup {
	line-height: 1;
}

.infobox a {
	color: #8a5837;
	font-family: inherit;
	font-weight: inherit;
	text-decoration: none;
}

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

.infobox a:focus {
	outline: 2px solid #a87959;
	outline-offset: 1px;
}

@media screen and (max-width: 720px) {
	.infobox {
		float: none;
		clear: both;
		width: 100%;
		max-width: 100%;
		margin: 0 0 1.1rem;
		padding: 0.68rem;
		border-width: 3px;
		border-radius: 9px;
		font-size: 1rem;
		line-height: 1.55;
		box-shadow: 0 8px 18px rgba(76, 56, 42, 0.14);
	}

	.infobox__title {
		padding: 0.62rem 2.3rem 0.58rem;
		clip-path: polygon(
			0 0,
			23px 50%,
			0 100%,
			100% 100%,
			calc(100% - 23px) 50%,
			100% 0
		);
		font-size: 1.9rem;
		line-height: 1.12;
	}

	.infobox__panel {
		margin-top: 0.66rem;
	}

	.infobox__image {
		min-height: 300px;
		padding: 0.92rem;
		margin-bottom: 0.92rem;
	}

	.infobox__image::after {
		inset: 2.1rem 2.1rem 2.2rem;
	}

	.infobox__image img {
		max-width: calc(100% - 3.1rem);
		max-height: 215px;
	}

	.infobox__details {
		padding: 0.38rem 0.46rem;
	}

	.infobox__details th,
	.infobox__details td {
		padding-top: 0.68rem;
		padding-bottom: 0.68rem;
		line-height: 1.44;
	}

	.infobox__details th {
		width: 32%;
		padding-right: 0.82rem;
		padding-left: 0.66rem;
		font-size: 0.98rem;
	}

	.infobox__details td {
		width: 68%;
		padding-right: 0.62rem;
		padding-left: 0.18rem;
		font-size: 1rem;
	}
}

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

	.infobox__title {
		padding: 0.58rem 1.9rem 0.54rem;
		clip-path: polygon(
			0 0,
			18px 50%,
			0 100%,
			100% 100%,
			calc(100% - 18px) 50%,
			100% 0
		);
		font-size: 1.7rem;
		line-height: 1.12;
	}

	.infobox__panel {
		margin-top: 0.58rem;
	}

	.infobox__image {
		min-height: 258px;
		padding: 0.78rem;
		margin-bottom: 0.82rem;
	}

	.infobox__image::after {
		inset: 1.78rem 1.78rem 1.9rem;
	}

	.infobox__image img {
		max-width: calc(100% - 2.6rem);
		max-height: 188px;
	}

	.infobox__details {
		padding: 0.28rem 0.34rem;
		border-radius: 5px;
	}

	.infobox__details th,
	.infobox__details td {
		padding-top: 0.58rem;
		padding-bottom: 0.58rem;
		line-height: 1.42;
	}

	.infobox__details th {
		width: 34%;
		padding-right: 0.62rem;
		padding-left: 0.5rem;
		font-size: 0.92rem;
	}

	.infobox__details td {
		width: 66%;
		padding-right: 0.46rem;
		padding-left: 0.12rem;
		font-size: 0.96rem;
	}
}

@media screen {
	html.skin-theme-clientpref-night .infobox {
		border-color: #715442;
		background: #3d3027;
		color: #eee4d9;
		box-shadow: 0 9px 24px rgba(0, 0, 0, 0.3);
	}

	html.skin-theme-clientpref-night .infobox__title {
		background: #603d29;
		color: #fff7ed;
	}

	html.skin-theme-clientpref-night .infobox__image::before {
		border-color: #8c5c3d;
		background:
			url("/wiki/Special:Redirect/file/Template%20Bg.png") center center / cover no-repeat,
			#58473a;
	}

	html.skin-theme-clientpref-night .infobox__image::after {
		background: rgba(80, 62, 47, 0.94);
	}

	html.skin-theme-clientpref-night .infobox__details {
		border-color: #69513f;
		background: #302720;
	}

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

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

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

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

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

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .infobox {
		border-color: #715442;
		background: #3d3027;
		color: #eee4d9;
		box-shadow: 0 9px 24px rgba(0, 0, 0, 0.3);
	}

	html.skin-theme-clientpref-os .infobox__title {
		background: #603d29;
		color: #fff7ed;
	}

	html.skin-theme-clientpref-os .infobox__image::before {
		border-color: #8c5c3d;
		background:
			url("/wiki/Special:Redirect/file/Template%20Bg.png") center center / cover no-repeat,
			#58473a;
	}

	html.skin-theme-clientpref-os .infobox__image::after {
		background: rgba(80, 62, 47, 0.94);
	}

	html.skin-theme-clientpref-os .infobox__details {
		border-color: #69513f;
		background: #302720;
	}

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

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

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

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

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