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

식물 vs 좀비 위키
둘러보기로 이동 검색으로 이동
편집 요약 없음
편집 요약 없음
5번째 줄: 5번째 줄:
max-width: 100%;
max-width: 100%;
margin: 0 0 1.25rem 1.25rem;
margin: 0 0 1.25rem 1.25rem;
padding: 0.72rem;
padding: 0.78rem;
border: 3px solid #815e45;
border: 3px solid #7b5b45;
border-radius: 4px;
border-radius: 22px;
box-sizing: border-box;
box-sizing: border-box;
background: #d8c0a6;
background: #d9c3a8;
color: #3e3027;
color: #433127;
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(77, 52, 35, 0.3);
box-shadow: 0 8px 22px rgba(72, 51, 35, 0.22);
}
}


.infobox__title {
.infobox__title {
padding: 0.28rem 1.35rem;
margin: 0 0.28rem;
border: 0;
padding: 0.4rem 1rem;
border-radius: 0;
border: 1px solid #6e503b;
background: #67412d;
border-radius: 16px;
color: #fffaf3;
background: #8a6a50;
color: #fff8ef;
font-family:
font-family:
"SB Aggro B",
"SB Aggro B",
38번째 줄: 39번째 줄:
font-size: 1.22rem;
font-size: 1.22rem;
font-weight: 700;
font-weight: 700;
line-height: 1.3;
letter-spacing: -0.02em;
letter-spacing: -0.02em;
line-height: 1.3;
text-align: center;
text-align: center;
overflow-wrap: anywhere;
overflow-wrap: anywhere;
word-break: keep-all;
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);
}
}


60번째 줄: 54번째 줄:


.infobox__panel {
.infobox__panel {
margin: 0.7rem 0.45rem 0.55rem;
margin: 0.72rem 0.22rem 0.22rem;
border: 1px solid #d4b99c;
border: 2px solid #ccb296;
border-radius: 3px;
border-radius: 18px;
box-sizing: border-box;
box-sizing: border-box;
background: #fff7eb;
background: #efe1ce;
overflow: hidden;
overflow: hidden;
}
}
72번째 줄: 66번째 줄:
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
width: 100%;
min-height: 210px;
min-height: 190px;
max-height: 280px;
max-height: 240px;
padding: 1.05rem 1rem 1rem;
padding: 1rem;
border: 0;
border-bottom: 1px solid #d4b99c;
box-sizing: border-box;
box-sizing: border-box;
background: transparent;
background: #efe1ce;
overflow: hidden;
border-bottom: 1px solid #ccb296;
}
}


88번째 줄: 79번째 줄:
max-width: 100%;
max-width: 100%;
height: auto;
height: auto;
max-height: 210px;
max-height: 220px;
margin: 0 auto;
margin: 0 auto;
object-fit: contain;
object-fit: contain;
filter: drop-shadow(0 11px 9px rgba(74, 49, 32, 0.3));
filter: drop-shadow(0 8px 8px rgba(86, 60, 40, 0.2));
}
}


.infobox__details {
.infobox__details {
width: calc(100% - 2rem);
width: calc(100% - 1rem);
margin: 0.45rem 1rem 0.8rem;
margin: 0.55rem 0.5rem 0.65rem;
border: 0;
border-collapse: separate;
border-collapse: collapse;
border-spacing: 0 0.42rem;
border-spacing: 0;
table-layout: fixed;
table-layout: fixed;
background: transparent;
background: transparent;
116번째 줄: 106번째 줄:
.infobox__details td {
.infobox__details td {
min-width: 0;
min-width: 0;
padding: 0.48rem 0;
padding: 0.46rem 0.68rem;
border: 0;
border: 1px solid #b59678;
box-sizing: border-box;
box-sizing: border-box;
vertical-align: top;
vertical-align: top;
line-height: 1.5;
line-height: 1.45;
}
}


.infobox__details th {
.infobox__details th {
width: 35%;
width: 38%;
padding-right: 0.75rem;
border-right: 0;
color: #47372d;
border-radius: 10px 0 0 10px;
background: #baa084;
color: #47342a;
font-family:
font-family:
"SB Aggro M",
"SB Aggro M",
143번째 줄: 135번째 줄:


.infobox__details td {
.infobox__details td {
color: #47372d;
border-left: 0;
border-radius: 0 10px 10px 0;
background: #f7eee2;
color: #47342a;
font-family:
font-family:
"SB Aggro L",
"SB Aggro L",
161번째 줄: 156번째 줄:


.infobox__details p {
.infobox__details p {
margin: 0.2em 0;
margin: 0.18em 0;
}
}


195번째 줄: 190번째 줄:
max-width: 100%;
max-width: 100%;
margin: 0 0 1.1rem;
margin: 0 0 1.1rem;
padding: 0.62rem;
padding: 0.68rem;
border-width: 3px;
border-radius: 20px;
border-radius: 3px;
font-size: inherit;
font-size: inherit;
line-height: inherit;
line-height: inherit;
box-shadow: 0 0 21px rgba(77, 52, 35, 0.28);
}
}


.infobox .infobox__title {
.infobox .infobox__title {
padding: 0.45rem 1.2rem;
padding: 0.52rem 1rem;
border-radius: 15px;
font-size: 2.8rem;
font-size: 2.8rem;
line-height: 1.2;
line-height: 1.15;
clip-path: polygon(
3% 0,
100% 0,
97% 100%,
0 100%
);
}
}


223번째 줄: 211번째 줄:


.infobox__panel {
.infobox__panel {
margin: 0.62rem 0.35rem 0.45rem;
margin: 0.68rem 0.18rem 0.18rem;
border-radius: 2px;
border-radius: 16px;
}
}


.infobox__image {
.infobox__image {
min-height: 180px;
min-height: 200px;
max-height: 230px;
max-height: 260px;
padding: 0.85rem;
padding: 0.95rem 0.9rem;
}
}


238번째 줄: 226번째 줄:


.infobox__details {
.infobox__details {
width: calc(100% - 1.6rem);
width: calc(100% - 0.9rem);
margin: 0.45rem 0.8rem 0.75rem;
margin: 0.5rem 0.45rem 0.6rem;
border-spacing: 0 0.38rem;
}
}


250번째 줄: 239번째 줄:


.infobox__details th {
.infobox__details th {
width: 34%;
width: 36%;
padding-right: 0.6rem;
padding-right: 0.55rem;
}
}
}
}
257번째 줄: 246번째 줄:
@media screen and (max-width: 420px) {
@media screen and (max-width: 420px) {
.infobox {
.infobox {
padding: 0.52rem;
padding: 0.58rem;
border-radius: 2px;
border-radius: 18px;
}
}


.infobox .infobox__title {
.infobox .infobox__title {
padding: 0.4rem 1rem;
padding: 0.48rem 0.9rem;
border-radius: 14px;
font-size: 2.5rem;
font-size: 2.5rem;
line-height: 1.2;
}
.infobox .infobox__title p {
margin: 0;
font: inherit;
color: inherit;
line-height: inherit;
}
}


.infobox__panel {
.infobox__panel {
margin-right: 0.3rem;
border-radius: 14px;
margin-bottom: 0.4rem;
margin-left: 0.3rem;
}
}


.infobox__image {
.infobox__image {
min-height: 170px;
min-height: 180px;
max-height: 220px;
max-height: 235px;
padding: 0.75rem;
padding: 0.85rem 0.8rem;
}
}


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


.infobox__details {
.infobox__details {
width: calc(100% - 1.3rem);
width: calc(100% - 0.8rem);
margin-right: 0.65rem;
margin: 0.46rem 0.4rem 0.55rem;
margin-bottom: 0.7rem;
margin-left: 0.65rem;
}
}


.infobox__details th {
.infobox__details th {
width: 36%;
width: 37%;
padding-right: 0.5rem;
padding-right: 0.45rem;
}
}


.infobox__details th,
.infobox__details th,
.infobox__details td {
.infobox__details td {
padding: 0.42rem 0.56rem;
font-size: 1em;
font-size: 1em;
}
}
310번째 줄: 289번째 줄:
@media screen {
@media screen {
html.skin-theme-clientpref-night .infobox {
html.skin-theme-clientpref-night .infobox {
border-color: #76533b;
border-color: #8b6d55;
background: #3c2e25;
background: #4a392d;
color: #eee2d5;
color: #eee2d5;
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
}


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


html.skin-theme-clientpref-night .infobox__panel {
html.skin-theme-clientpref-night .infobox__panel {
border-color: #66503e;
border-color: #7a624f;
background: #30241e;
background: #3c2f27;
}
}


html.skin-theme-clientpref-night .infobox__image {
html.skin-theme-clientpref-night .infobox__image {
border-bottom-color: #66503e;
background: #3c2f27;
background: transparent;
border-bottom-color: #7a624f;
}
}


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


html.skin-theme-clientpref-night .infobox__details th,
html.skin-theme-clientpref-night .infobox__details th {
html.skin-theme-clientpref-night .infobox__details td {
border-color: #8a6e57;
color: #eee2d5;
background: #6a5646;
color: #f1e5d9;
}
}


html.skin-theme-clientpref-night .infobox__details th {
html.skin-theme-clientpref-night .infobox__details td {
font-weight: 500;
border-color: #8a6e57;
background: #4a3a30;
color: #f1e5d9;
}
}


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


html.skin-theme-clientpref-night .infobox a:hover {
html.skin-theme-clientpref-night .infobox a:hover {
color: #f0c99f;
color: #f3cfab;
}
}
}
}
356번째 줄: 338번째 줄:
@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: #76533b;
border-color: #8b6d55;
background: #3c2e25;
background: #4a392d;
color: #eee2d5;
color: #eee2d5;
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
}


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


html.skin-theme-clientpref-os .infobox__panel {
html.skin-theme-clientpref-os .infobox__panel {
border-color: #66503e;
border-color: #7a624f;
background: #30241e;
background: #3c2f27;
}
}


html.skin-theme-clientpref-os .infobox__image {
html.skin-theme-clientpref-os .infobox__image {
border-bottom-color: #66503e;
background: #3c2f27;
background: transparent;
border-bottom-color: #7a624f;
}
}


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


html.skin-theme-clientpref-os .infobox__details th,
html.skin-theme-clientpref-os .infobox__details th {
html.skin-theme-clientpref-os .infobox__details td {
border-color: #8a6e57;
color: #eee2d5;
background: #6a5646;
color: #f1e5d9;
}
}


html.skin-theme-clientpref-os .infobox__details th {
html.skin-theme-clientpref-os .infobox__details td {
font-weight: 500;
border-color: #8a6e57;
background: #4a3a30;
color: #f1e5d9;
}
}


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


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

2026년 7월 22일 (수) 18:15 판

.infobox {
	float: right;
	clear: right;
	width: 320px;
	max-width: 100%;
	margin: 0 0 1.25rem 1.25rem;
	padding: 0.78rem;
	border: 3px solid #7b5b45;
	border-radius: 22px;
	box-sizing: border-box;
	background: #d9c3a8;
	color: #433127;
	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 8px 22px rgba(72, 51, 35, 0.22);
}

.infobox__title {
	margin: 0 0.28rem;
	padding: 0.4rem 1rem;
	border: 1px solid #6e503b;
	border-radius: 16px;
	background: #8a6a50;
	color: #fff8ef;
	font-family:
		"SB Aggro B",
		"SB 어그로 B",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	font-size: 1.22rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
	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: 0.72rem 0.22rem 0.22rem;
	border: 2px solid #ccb296;
	border-radius: 18px;
	box-sizing: border-box;
	background: #efe1ce;
	overflow: hidden;
}

.infobox__image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 210px;
	max-height: 280px;
	padding: 1.05rem 1rem 1rem;
	box-sizing: border-box;
	background: #efe1ce;
	border-bottom: 1px solid #ccb296;
}

.infobox__image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 220px;
	margin: 0 auto;
	object-fit: contain;
	filter: drop-shadow(0 8px 8px rgba(86, 60, 40, 0.2));
}

.infobox__details {
	width: calc(100% - 1rem);
	margin: 0.55rem 0.5rem 0.65rem;
	border-collapse: separate;
	border-spacing: 0 0.42rem;
	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.46rem 0.68rem;
	border: 1px solid #b59678;
	box-sizing: border-box;
	vertical-align: top;
	line-height: 1.45;
}

.infobox__details th {
	width: 38%;
	border-right: 0;
	border-radius: 10px 0 0 10px;
	background: #baa084;
	color: #47342a;
	font-family:
		"SB Aggro M",
		"SB 어그로 M",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 0.86rem;
	font-weight: 500;
	text-align: left;
	white-space: normal;
}

.infobox__details td {
	border-left: 0;
	border-radius: 0 10px 10px 0;
	background: #f7eee2;
	color: #47342a;
	font-family:
		"SB Aggro L",
		"SB 어그로 L",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	font-size: 0.9rem;
	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.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.68rem;
		border-radius: 20px;
		font-size: inherit;
		line-height: inherit;
	}

	.infobox .infobox__title {
		padding: 0.52rem 1rem;
		border-radius: 15px;
		font-size: 2.8rem;
		line-height: 1.15;
	}

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

	.infobox__panel {
		margin: 0.68rem 0.18rem 0.18rem;
		border-radius: 16px;
	}

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

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

	.infobox__details {
		width: calc(100% - 0.9rem);
		margin: 0.5rem 0.45rem 0.6rem;
		border-spacing: 0 0.38rem;
	}

	.infobox__details,
	.infobox__details th,
	.infobox__details td {
		font-size: 1em;
		line-height: inherit;
	}

	.infobox__details th {
		width: 36%;
		padding-right: 0.55rem;
	}
}

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

	.infobox .infobox__title {
		padding: 0.48rem 0.9rem;
		border-radius: 14px;
		font-size: 2.5rem;
	}

	.infobox__panel {
		border-radius: 14px;
	}

	.infobox__image {
		min-height: 180px;
		max-height: 235px;
		padding: 0.85rem 0.8rem;
	}

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

	.infobox__details {
		width: calc(100% - 0.8rem);
		margin: 0.46rem 0.4rem 0.55rem;
	}

	.infobox__details th {
		width: 37%;
		padding-right: 0.45rem;
	}

	.infobox__details th,
	.infobox__details td {
		padding: 0.42rem 0.56rem;
		font-size: 1em;
	}
}

@media screen {
	html.skin-theme-clientpref-night .infobox {
		border-color: #8b6d55;
		background: #4a392d;
		color: #eee2d5;
		box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
	}

	html.skin-theme-clientpref-night .infobox__title {
		border-color: #745641;
		background: #6b4b39;
		color: #fff7ed;
	}

	html.skin-theme-clientpref-night .infobox__panel {
		border-color: #7a624f;
		background: #3c2f27;
	}

	html.skin-theme-clientpref-night .infobox__image {
		background: #3c2f27;
		border-bottom-color: #7a624f;
	}

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

	html.skin-theme-clientpref-night .infobox__details th {
		border-color: #8a6e57;
		background: #6a5646;
		color: #f1e5d9;
	}

	html.skin-theme-clientpref-night .infobox__details td {
		border-color: #8a6e57;
		background: #4a3a30;
		color: #f1e5d9;
	}

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

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

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .infobox {
		border-color: #8b6d55;
		background: #4a392d;
		color: #eee2d5;
		box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
	}

	html.skin-theme-clientpref-os .infobox__title {
		border-color: #745641;
		background: #6b4b39;
		color: #fff7ed;
	}

	html.skin-theme-clientpref-os .infobox__panel {
		border-color: #7a624f;
		background: #3c2f27;
	}

	html.skin-theme-clientpref-os .infobox__image {
		background: #3c2f27;
		border-bottom-color: #7a624f;
	}

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

	html.skin-theme-clientpref-os .infobox__details th {
		border-color: #8a6e57;
		background: #6a5646;
		color: #f1e5d9;
	}

	html.skin-theme-clientpref-os .infobox__details td {
		border-color: #8a6e57;
		background: #4a3a30;
		color: #f1e5d9;
	}

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

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