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

식물 vs 좀비 위키
둘러보기로 이동 검색으로 이동
편집 요약 없음
편집 요약 없음
6번째 줄: 6번째 줄:
margin: 0 0 1.25rem 1.25rem;
margin: 0 0 1.25rem 1.25rem;
padding: 0.72rem;
padding: 0.72rem;
border: 1px solid #c5a979;
border: 1px solid #9b7658;
border-radius: 18px;
border-radius: 4px;
box-sizing: border-box;
box-sizing: border-box;
background: #f2e6cf;
background: #d8c0a6;
color: #3a3028;
color: #3e3027;
font-family:
font-family:
-apple-system,
-apple-system,
20번째 줄: 20번째 줄:
font-size: 0.92rem;
font-size: 0.92rem;
line-height: 1.5;
line-height: 1.5;
box-shadow: 0 0 24px rgba(92, 72, 47, 0.3);
box-shadow: 0 0 24px rgba(77, 52, 35, 0.3);
}
}


.infobox__title {
.infobox__title {
padding: 0.28rem 0.85rem;
padding: 0.28rem 1.35rem;
border: 0;
border: 0;
border-radius: 11px;
border-radius: 0;
background: #326b3a;
background: #67412d;
color: #fffdf7;
color: #fffaf3;
font-family:
font-family:
"SB Aggro B",
"SB Aggro B",
43번째 줄: 43번째 줄:
overflow-wrap: anywhere;
overflow-wrap: anywhere;
word-break: keep-all;
word-break: keep-all;
box-shadow: 0 4px 9px rgba(60, 48, 33, 0.2);
clip-path: polygon(
4% 0,
100% 0,
96% 100%,
0 100%
);
box-shadow: 0 4px 9px rgba(67, 43, 29, 0.22);
}
}


49번째 줄: 55번째 줄:
margin-top: 0.7rem;
margin-top: 0.7rem;
border: 0;
border: 0;
border-radius: 14px;
border-radius: 3px;
overflow: hidden;
overflow: hidden;
background: #fff9ed;
background: #fff7eb;
}
}


61번째 줄: 67번째 줄:
padding: 1.5rem 1rem 1.35rem;
padding: 1.5rem 1rem 1.35rem;
box-sizing: border-box;
box-sizing: border-box;
background: #fff9ed;
background: #fff7eb;
}
}


70번째 줄: 76번째 줄:
left: 1rem;
left: 1rem;
height: 1px;
height: 1px;
background: #dcc7a4;
background: #d4b99c;
content: "";
content: "";
}
}
82번째 줄: 88번째 줄:
margin: 0 auto;
margin: 0 auto;
object-fit: contain;
object-fit: contain;
filter: drop-shadow(0 11px 9px rgba(84, 65, 43, 0.23));
filter: drop-shadow(0 11px 9px rgba(74, 49, 32, 0.24));
}
}


127번째 줄: 133번째 줄:
width: 35%;
width: 35%;
padding-right: 0.75rem;
padding-right: 0.75rem;
color: #3d342c;
color: #47372d;
font-size: 0.86rem;
font-size: 0.86rem;
font-weight: 700;
font-weight: 700;
135번째 줄: 141번째 줄:


.infobox__details td {
.infobox__details td {
color: #3d342c;
color: #47372d;
font-size: 0.9rem;
font-size: 0.9rem;
font-weight: 300;
font-weight: 300;
162번째 줄: 168번째 줄:


.infobox a {
.infobox a {
color: #926435;
color: #8a562f;
text-decoration: none;
text-decoration: none;
}
}


.infobox a:hover {
.infobox a:hover {
color: #654322;
color: #5d351f;
text-decoration: underline;
text-decoration: underline;
}
}
179번째 줄: 185번째 줄:
margin: 0 0 1.1rem;
margin: 0 0 1.1rem;
padding: 0.62rem;
padding: 0.62rem;
border-radius: 16px;
border-radius: 3px;
box-shadow: 0 0 21px rgba(92, 72, 47, 0.28);
box-shadow: 0 0 21px rgba(77, 52, 35, 0.28);
}
}


.infobox__title {
.infobox__title {
padding: 0.25rem 0.75rem;
padding: 0.25rem 1.2rem;
border-radius: 10px;
font-size: 1.16rem;
font-size: 1.16rem;
clip-path: polygon(
3% 0,
100% 0,
97% 100%,
0 100%
);
}
}


.infobox__panel {
.infobox__panel {
margin-top: 0.62rem;
margin-top: 0.62rem;
border-radius: 12px;
border-radius: 2px;
}
}


222번째 줄: 233번째 줄:
.infobox {
.infobox {
padding: 0.52rem;
padding: 0.52rem;
border-radius: 14px;
border-radius: 2px;
}
}


228번째 줄: 239번째 줄:
padding-top: 0.2rem;
padding-top: 0.2rem;
padding-bottom: 0.2rem;
padding-bottom: 0.2rem;
border-radius: 9px;
font-size: 1.12rem;
font-size: 1.12rem;
}
}


.infobox__panel {
.infobox__panel {
border-radius: 11px;
border-radius: 2px;
}
}


264번째 줄: 274번째 줄:
@media screen {
@media screen {
html.skin-theme-clientpref-night .infobox {
html.skin-theme-clientpref-night .infobox {
border-color: #806d50;
border-color: #70543e;
background: #3b3329;
background: #3c2e25;
color: #eee4d5;
color: #eee2d5;
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
}
}


html.skin-theme-clientpref-night .infobox__title {
html.skin-theme-clientpref-night .infobox__title {
background: #2c5f34;
background: #4d2f20;
color: #fffaf1;
color: #fff8ef;
box-shadow: 0 4px 9px rgba(0, 0, 0, 0.27);
box-shadow: 0 4px 9px rgba(0, 0, 0, 0.28);
}
}


html.skin-theme-clientpref-night .infobox__panel {
html.skin-theme-clientpref-night .infobox__panel {
background: #302a23;
background: #30241e;
}
}


html.skin-theme-clientpref-night .infobox__image {
html.skin-theme-clientpref-night .infobox__image {
background: #302a23;
background: #30241e;
}
}


html.skin-theme-clientpref-night .infobox__image::after {
html.skin-theme-clientpref-night .infobox__image::after {
background: #6e5d47;
background: #66503e;
}
}


294번째 줄: 304번째 줄:
html.skin-theme-clientpref-night .infobox__details th,
html.skin-theme-clientpref-night .infobox__details th,
html.skin-theme-clientpref-night .infobox__details td {
html.skin-theme-clientpref-night .infobox__details td {
color: #eee5d8;
color: #eee2d5;
}
}


302번째 줄: 312번째 줄:


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


html.skin-theme-clientpref-night .infobox a:hover {
html.skin-theme-clientpref-night .infobox a:hover {
color: #f3d2a5;
color: #f0c99f;
}
}
}
}
312번째 줄: 322번째 줄:
@media screen and (prefers-color-scheme: dark) {
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox {
html.skin-theme-clientpref-os .infobox {
border-color: #806d50;
border-color: #70543e;
background: #3b3329;
background: #3c2e25;
color: #eee4d5;
color: #eee2d5;
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
}
}


html.skin-theme-clientpref-os .infobox__title {
html.skin-theme-clientpref-os .infobox__title {
background: #2c5f34;
background: #4d2f20;
color: #fffaf1;
color: #fff8ef;
box-shadow: 0 4px 9px rgba(0, 0, 0, 0.27);
box-shadow: 0 4px 9px rgba(0, 0, 0, 0.28);
}
}


html.skin-theme-clientpref-os .infobox__panel {
html.skin-theme-clientpref-os .infobox__panel {
background: #302a23;
background: #30241e;
}
}


html.skin-theme-clientpref-os .infobox__image {
html.skin-theme-clientpref-os .infobox__image {
background: #302a23;
background: #30241e;
}
}


html.skin-theme-clientpref-os .infobox__image::after {
html.skin-theme-clientpref-os .infobox__image::after {
background: #6e5d47;
background: #66503e;
}
}


342번째 줄: 352번째 줄:
html.skin-theme-clientpref-os .infobox__details th,
html.skin-theme-clientpref-os .infobox__details th,
html.skin-theme-clientpref-os .infobox__details td {
html.skin-theme-clientpref-os .infobox__details td {
color: #eee5d8;
color: #eee2d5;
}
}


350번째 줄: 360번째 줄:


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


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

2026년 7월 22일 (수) 09:34 판

.infobox {
	float: right;
	clear: right;
	width: 320px;
	max-width: 100%;
	margin: 0 0 1.25rem 1.25rem;
	padding: 0.72rem;
	border: 1px solid #9b7658;
	border-radius: 4px;
	box-sizing: border-box;
	background: #d8c0a6;
	color: #3e3027;
	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 0 24px rgba(77, 52, 35, 0.3);
}

.infobox__title {
	padding: 0.28rem 1.35rem;
	border: 0;
	border-radius: 0;
	background: #67412d;
	color: #fffaf3;
	font-family:
		"SB Aggro B",
		"SB 어그로 B",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	font-size: 1.22rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	text-align: center;
	overflow-wrap: anywhere;
	word-break: keep-all;
	clip-path: polygon(
		4% 0,
		100% 0,
		96% 100%,
		0 100%
	);
	box-shadow: 0 4px 9px rgba(67, 43, 29, 0.22);
}

.infobox__panel {
	margin-top: 0.7rem;
	border: 0;
	border-radius: 3px;
	overflow: hidden;
	background: #fff7eb;
}

.infobox__image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 1rem 1.35rem;
	box-sizing: border-box;
	background: #fff7eb;
}

.infobox__image::after {
	position: absolute;
	right: 1rem;
	bottom: 0;
	left: 1rem;
	height: 1px;
	background: #d4b99c;
	content: "";
}

.infobox__image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 210px;
	margin: 0 auto;
	object-fit: contain;
	filter: drop-shadow(0 11px 9px rgba(74, 49, 32, 0.24));
}

.infobox__details {
	width: calc(100% - 2rem);
	margin: 0 1rem 0.8rem;
	padding-top: 0.45rem;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
	background: transparent;
	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: 0.48rem 0;
	border: 0;
	box-sizing: border-box;
	vertical-align: top;
	font-family:
		"SB Aggro L",
		"SB 어그로 L",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	line-height: 1.5;
}

.infobox__details th {
	width: 35%;
	padding-right: 0.75rem;
	color: #47372d;
	font-size: 0.86rem;
	font-weight: 700;
	text-align: left;
	white-space: normal;
}

.infobox__details td {
	color: #47372d;
	font-size: 0.9rem;
	font-weight: 300;
	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.2em 0 0.2em 1.2em;
	padding: 0;
}

.infobox__details li {
	margin: 0.1em 0;
}

.infobox__details sup {
	line-height: 1;
}

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

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

@media screen and (max-width: 720px) {
	.infobox {
		float: none;
		clear: both;
		width: 100%;
		max-width: 100%;
		margin: 0 0 1.1rem;
		padding: 0.62rem;
		border-radius: 3px;
		box-shadow: 0 0 21px rgba(77, 52, 35, 0.28);
	}

	.infobox__title {
		padding: 0.25rem 1.2rem;
		font-size: 1.16rem;
		clip-path: polygon(
			3% 0,
			100% 0,
			97% 100%,
			0 100%
		);
	}

	.infobox__panel {
		margin-top: 0.62rem;
		border-radius: 2px;
	}

	.infobox__image {
		padding: 1.25rem 0.85rem;
	}

	.infobox__image::after {
		right: 0.8rem;
		left: 0.8rem;
	}

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

	.infobox__details {
		width: calc(100% - 1.6rem);
		margin-right: 0.8rem;
		margin-left: 0.8rem;
	}

	.infobox__details th {
		width: 34%;
		padding-right: 0.6rem;
	}
}

@media screen and (max-width: 420px) {
	.infobox {
		padding: 0.52rem;
		border-radius: 2px;
	}

	.infobox__title {
		padding-top: 0.2rem;
		padding-bottom: 0.2rem;
		font-size: 1.12rem;
	}

	.infobox__panel {
		border-radius: 2px;
	}

	.infobox__image::after {
		right: 0.65rem;
		left: 0.65rem;
	}

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

	.infobox__details {
		width: calc(100% - 1.3rem);
		margin-right: 0.65rem;
		margin-left: 0.65rem;
	}

	.infobox__details th {
		width: 36%;
		padding-right: 0.5rem;
		font-size: 0.8rem;
	}

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

@media screen {
	html.skin-theme-clientpref-night .infobox {
		border-color: #70543e;
		background: #3c2e25;
		color: #eee2d5;
		box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
	}

	html.skin-theme-clientpref-night .infobox__title {
		background: #4d2f20;
		color: #fff8ef;
		box-shadow: 0 4px 9px rgba(0, 0, 0, 0.28);
	}

	html.skin-theme-clientpref-night .infobox__panel {
		background: #30241e;
	}

	html.skin-theme-clientpref-night .infobox__image {
		background: #30241e;
	}

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

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

	html.skin-theme-clientpref-night .infobox__details th,
	html.skin-theme-clientpref-night .infobox__details td {
		color: #eee2d5;
	}

	html.skin-theme-clientpref-night .infobox__details th {
		font-weight: 700;
	}

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

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

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .infobox {
		border-color: #70543e;
		background: #3c2e25;
		color: #eee2d5;
		box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
	}

	html.skin-theme-clientpref-os .infobox__title {
		background: #4d2f20;
		color: #fff8ef;
		box-shadow: 0 4px 9px rgba(0, 0, 0, 0.28);
	}

	html.skin-theme-clientpref-os .infobox__panel {
		background: #30241e;
	}

	html.skin-theme-clientpref-os .infobox__image {
		background: #30241e;
	}

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

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

	html.skin-theme-clientpref-os .infobox__details th,
	html.skin-theme-clientpref-os .infobox__details td {
		color: #eee2d5;
	}

	html.skin-theme-clientpref-os .infobox__details th {
		font-weight: 700;
	}

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

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