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

식물 vs 좀비 위키
편집 요약 없음
편집 요약 없음
태그: 모바일 편집 모바일 웹 편집
 
(같은 사용자의 중간 판 101개는 보이지 않습니다)
1번째 줄: 1번째 줄:
.infobox {
.infobox {
--infobox-outer: #5d3b30;
--infobox-outer-edge: #45291f;
--infobox-inner: #ead5af;
--infobox-inner-edge: #c8aa7e;
--infobox-panel: #f3e8d7;
--infobox-image-box: #f7f1e7;
--infobox-image-pattern: rgba(145, 87, 70, 0.025);
--infobox-image-line: #875340;
--infobox-ribbon: #875340;
--infobox-row-bg: #f7efe4;
--infobox-row-edge: #bca184;
--infobox-row-divider: #d5c0aa;
--infobox-details-bg: #f1e4d2;
--infobox-detail-label-bg: #ead9c2;
--infobox-detail-value-bg: #f6ecde;
--infobox-caption-bg: #efe2d2;
--infobox-label-text: #231915;
--infobox-text: #493329;
--infobox-link: #8f573f;
--infobox-link-hover: #653929;
--infobox-focus: #ad775f;
--infobox-title-text: #fffaf4;
--infobox-text-outline: #472b20;
--infobox-shadow: rgba(68, 42, 31, 0.16);
--infobox-shape-shadow: rgba(69, 41, 31, 0.24);
--infobox-background-shadow: rgba(69, 41, 31, 0.2);
position: relative;
position: relative;
float: right;
float: right;
6번째 줄: 33번째 줄:
max-width: 100%;
max-width: 100%;
margin: 0 0 1.25rem 1.25rem;
margin: 0 0 1.25rem 1.25rem;
padding: 0.78rem;
padding: 1.05rem 0.48rem 1.18rem;
border: 2px solid #826950;
border: 3px solid var(--infobox-outer-edge);
border-radius: 20px;
border-radius: 24px;
box-sizing: border-box;
box-sizing: border-box;
background: #e8ddc9;
background: var(--infobox-inner);
color: #3b3028;
color: var(--infobox-text);
font-family:
font-family:
"SB Aggro L",
"SB Aggro L",
24번째 줄: 51번째 줄:
font-weight: 300;
font-weight: 300;
line-height: 1.55;
line-height: 1.55;
box-shadow: 0 9px 24px rgba(70, 52, 39, 0.15);
box-shadow: 0 0 22px 3px var(--infobox-shadow);
overflow: hidden;
filter: drop-shadow(0 0 5px rgba(69, 41, 31, 0.34));
overflow: visible;
}
}


.infobox::before {
.infobox::before {
position: absolute;
position: absolute;
z-index: 0;
top: 6px;
top: 0;
right: 6px;
right: 0;
bottom: 6px;
bottom: 0;
left: 6px;
left: 0;
border: 3px solid var(--infobox-inner-edge);
border-radius: 18px;
border-radius: 18px;
background-image: url("/wiki/Special:Redirect/file/paper_texture.png");
box-sizing: border-box;
background-repeat: repeat;
background-position: left top;
background-size: 520px auto;
content: "";
content: "";
opacity: 0.015;
pointer-events: none;
}
 
.infobox__hanger {
display: none;
}
}


54번째 줄: 75번째 줄:
}
}


/* 이름칸 */
.infobox__title {
.infobox__title {
position: relative;
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
width: 100%;
width: calc(100% - 24px);
min-height: 58px;
margin: 0.46rem auto 0;
padding: 0.72rem 3.3rem 0.68rem;
padding: 0.76rem 2.35rem 0.7rem;
border: 1px solid #765b45;
border: 0;
border-radius: 0;
box-sizing: border-box;
box-sizing: border-box;
background: #927159;
background: transparent;
color: #fff9f1;
color: var(--infobox-title-text);
isolation: isolate;
font-family:
font-family:
"SB Aggro B",
"SB Aggro B",
76번째 줄: 97번째 줄:
"Noto Sans KR",
"Noto Sans KR",
sans-serif;
sans-serif;
font-size: 1.3rem;
font-size: 1.36rem;
font-weight: 700;
font-weight: 700;
letter-spacing: -0.025em;
line-height: 1.14;
line-height: 1.28;
letter-spacing: -0.03em;
text-align: center;
text-align: center;
filter:
drop-shadow(0 3px 2px rgba(69, 41, 31, 0.38))
drop-shadow(0 1px 1px rgba(69, 41, 31, 0.24));
text-shadow:
-2px -2px 0 var(--infobox-text-outline),
0 -2px 0 var(--infobox-text-outline),
2px -2px 0 var(--infobox-text-outline),
-2px 0 0 var(--infobox-text-outline),
2px 0 0 var(--infobox-text-outline),
-2px 2px 0 var(--infobox-text-outline),
0 2px 0 var(--infobox-text-outline),
2px 2px 0 var(--infobox-text-outline),
-1px -2px 0 var(--infobox-text-outline),
1px -2px 0 var(--infobox-text-outline),
-2px -1px 0 var(--infobox-text-outline),
2px -1px 0 var(--infobox-text-outline),
-2px 1px 0 var(--infobox-text-outline),
2px 1px 0 var(--infobox-text-outline),
-1px 2px 0 var(--infobox-text-outline),
1px 2px 0 var(--infobox-text-outline);
overflow-wrap: anywhere;
overflow-wrap: anywhere;
word-break: keep-all;
word-break: keep-all;
}
.infobox__title::before,
.infobox__title::after {
position: absolute;
z-index: 2;
top: 50%;
width: 0;
height: 0;
margin-top: -30px;
border-top: 30px solid transparent;
border-bottom: 30px solid transparent;
content: "";
}
.infobox__title::before {
left: -1px;
border-left: 38px solid #e8ddc9;
}
.infobox__title::after {
right: -1px;
border-right: 38px solid #e8ddc9;
}
}


.infobox__title p {
.infobox__title p {
position: relative;
z-index: 3;
margin: 0;
margin: 0;
font: inherit;
font: inherit;
117번째 줄: 133번째 줄:
}
}


.infobox__panel {
.infobox__title::before {
margin-top: 0.66rem;
padding: 0.62rem;
border: 1px solid #cbb99e;
border-radius: 14px;
box-sizing: border-box;
background: #f5eddf;
overflow: hidden;
}
 
.infobox__panel::before {
position: absolute;
position: absolute;
z-index: 0;
z-index: -1;
top: 0;
inset: 0;
right: 0;
background: var(--infobox-ribbon);
bottom: 0;
clip-path: polygon(
left: 0;
0 0,
border-radius: 13px;
100% 0,
background-image: url("/wiki/Special:Redirect/file/paper_texture.png");
calc(100% - 16px) 50%,
background-repeat: repeat;
100% 100%,
background-position: left top;
0 100%,
background-size: 520px auto;
16px 50%
);
content: "";
content: "";
opacity: 0.012;
pointer-events: none;
}
}


.infobox__image,
/* 내부 영역 */
.infobox__details,
.infobox__panel {
.infobox__section {
margin-top: 0.58rem;
position: relative;
padding: 0 0.08rem 0.1rem;
z-index: 1;
background: transparent;
}
}


/* 이미지칸 */
.infobox__image {
.infobox__image {
display: flex;
position: relative;
align-items: center;
display: block;
justify-content: center;
width: calc(100% - 24px);
width: 100%;
margin: 1.55rem auto 1.75rem;
min-height: 82px;
padding: 0.5rem;
max-height: 225px;
border: 1px solid var(--infobox-row-edge);
padding: 0.58rem;
border-radius: 11px;
border: 1px solid #d3c2a6;
border-radius: 10px;
box-sizing: border-box;
box-sizing: border-box;
background: rgba(252, 248, 240, 0.94);
background-color: var(--infobox-image-box);
overflow: hidden;
background-image:
linear-gradient(
45deg,
var(--infobox-image-pattern) 25%,
transparent 25%,
transparent 75%,
var(--infobox-image-pattern) 75%
),
linear-gradient(
-45deg,
var(--infobox-image-pattern) 25%,
transparent 25%,
transparent 75%,
var(--infobox-image-pattern) 75%
);
background-repeat: repeat;
background-position:
0 0,
8px 8px;
background-size: 16px 16px;
box-shadow:
0 4px 11px rgba(68, 42, 31, 0.1),
inset 0 0 0 3px rgba(255, 250, 242, 0.16);
overflow: visible;
text-align: center;
}
}


.infobox__image::before {
.infobox__image::before {
position: absolute;
position: absolute;
top: 0.34rem;
z-index: 0;
right: 0.34rem;
top: 6px;
bottom: 0.34rem;
right: 6px;
left: 0.34rem;
bottom: 6px;
border: 1px solid #e7dcc9;
left: 6px;
border: 1px solid rgba(135, 83, 64, 0.14);
border-radius: 7px;
border-radius: 7px;
box-sizing: border-box;
content: "";
content: "";
pointer-events: none;
}
}


/* 오른쪽 아래 짧은 선 */
.infobox__image::after {
.infobox__image::after {
position: absolute;
position: absolute;
right: 0.7rem;
z-index: 1;
bottom: 0.52rem;
right: 0.78rem;
bottom: 0.54rem;
width: 30px;
width: 30px;
height: 3px;
height: 3px;
border-radius: 3px;
border-radius: 3px;
background: #bc9870;
background: var(--infobox-image-line);
content: "";
content: "";
opacity: 0.42;
opacity: 0.52;
pointer-events: none;
}
}


.infobox__image a,
/* 이미지 */
.infobox__image img {
.infobox__image-media {
position: relative;
position: relative;
z-index: 1;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 0;
max-height: 320px;
box-sizing: border-box;
}
 
.infobox__image-media > a {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
}


.infobox__image img {
.infobox__image-media img,
.infobox__image-media .mw-file-element {
display: block;
display: block;
width: auto;
width: auto;
max-width: 100%;
max-width: 100%;
height: auto;
height: auto;
max-height: 198px;
max-height: 320px;
margin: 0 auto;
margin: 0 auto;
object-fit: contain;
object-fit: contain;
filter:
drop-shadow(0 3px 2px rgba(69, 41, 31, 0.68))
drop-shadow(0 1px 1px rgba(69, 41, 31, 0.48)) !important;
}
}


.infobox__section {
/* 별도 설명문 */
display: flex;
.infobox__image-caption {
align-items: center;
position: relative;
margin: 0.72rem 0 0.38rem;
z-index: 5;
padding: 0.34rem 0;
width: calc(100% - 0.8rem);
color: #5a4637;
margin: -1.8rem auto -0.9rem;
padding: 0.56rem 0.66rem;
border: 1px solid var(--infobox-row-edge);
border-radius: 9px;
box-sizing: border-box;
background: var(--infobox-caption-bg);
box-shadow: 0 3px 8px rgba(68, 42, 31, 0.1);
color: #5a463d;
font-family:
font-family:
"SB Aggro M",
"SB Aggro L",
"SB 어그로 M",
"SB 어그로 L",
-apple-system,
-apple-system,
BlinkMacSystemFont,
BlinkMacSystemFont,
219번째 줄: 280번째 줄:
"Noto Sans KR",
"Noto Sans KR",
sans-serif;
sans-serif;
font-size: 0.86rem;
font-size: 0.78rem;
font-weight: 500;
font-weight: 300;
line-height: 1.4;
font-style: italic;
line-height: 1.42;
text-align: center;
overflow-wrap: anywhere;
word-break: keep-all;
transform: translateY(1.18rem);
}
 
.infobox__image-caption p {
margin: 0;
font: inherit;
}
 
/* 정보칸 */
.infobox__details {
width: calc(100% - 24px);
margin: 0 auto;
padding: 0;
border: 1px solid var(--infobox-row-edge);
border-collapse: separate;
border-spacing: 0;
border-radius: 12px;
table-layout: fixed;
background: var(--infobox-detail-value-bg);
box-sizing: border-box;
box-shadow: none;
overflow: hidden;
}
 
.infobox__details tbody {
display: block;
width: 100%;
}
}


.infobox__section::before {
.infobox__details tr {
width: 5px;
position: relative;
height: 20px;
display: grid;
margin-right: 0.52rem;
grid-template-columns: minmax(0, 31%) minmax(0, 69%);
border-radius: 4px;
width: 100%;
background: #9b7658;
background: transparent;
content: "";
}
}


.infobox__section::after {
.infobox__details tr::before {
flex: 1;
position: absolute;
height: 1px;
z-index: 0;
margin-left: 0.62rem;
top: 0;
background: #d0bea3;
bottom: 0;
left: 0;
width: 31%;
background: var(--infobox-detail-label-bg);
content: "";
content: "";
pointer-events: none;
}
}


.infobox__details {
.infobox__details th,
width: 100%;
.infobox__details td {
margin: 0;
position: relative;
z-index: 1;
display: block;
width: auto;
min-width: 0;
max-width: 100%;
padding: 0.62rem 0.72rem;
border: 0;
border: 0;
border-collapse: separate;
border-radius: 0;
border-spacing: 0 0.42rem;
box-sizing: border-box;
table-layout: fixed;
background: transparent;
line-height: 1.4;
text-align: left;
max-height: 11.2em;
overflow-x: hidden;
overflow-y: auto;
white-space: normal;
word-break: break-word;
overflow-wrap: anywhere;
}
 
 
.infobox__details tr:not(:last-child) {
border-bottom: 1px solid var(--infobox-row-divider);
}
 
.infobox__details th {
width: auto;
background: transparent;
background: transparent;
color: var(--infobox-label-text);
font-family:
font-family:
"SB Aggro L",
"SB Aggro M",
"SB 어그로 L",
"SB 어그로 M",
-apple-system,
-apple-system,
BlinkMacSystemFont,
BlinkMacSystemFont,
258번째 줄: 377번째 줄:
"Noto Sans KR",
"Noto Sans KR",
sans-serif;
sans-serif;
font-size: 0.83rem;
font-weight: 500;
vertical-align: top;
text-shadow: none;
word-break: keep-all;
}
}


.infobox__image + .infobox__details {
margin-top: 0.62rem;
}
.infobox__details th,
.infobox__details td {
.infobox__details td {
min-width: 0;
width: auto;
padding-top: 0.62rem;
color: var(--infobox-text);
padding-bottom: 0.62rem;
font-family:
box-sizing: border-box;
"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;
vertical-align: middle;
vertical-align: middle;
line-height: 1.5;
word-break: break-word;
overflow-wrap: anywhere;
}
}


.infobox__details th {
 
position: relative;
.infobox b,
z-index: 2;
.infobox strong {
width: 35%;
padding-right: 1rem;
padding-left: 0.82rem;
border: 1px solid #ae9272;
border-right: 0;
border-left-width: 5px;
border-radius: 10px 0 0 10px;
background: #d5c2a4;
color: #49372c;
font-family:
font-family:
"SB Aggro M",
"SB Aggro M",
295번째 줄: 415번째 줄:
"Noto Sans KR",
"Noto Sans KR",
sans-serif;
sans-serif;
font-size: 0.84rem;
font-weight: 500;
font-weight: 500;
text-align: left;
white-space: normal;
}
}


.infobox__details th::after {
.infobox b a,
position: absolute;
.infobox strong a,
z-index: 3;
.infobox a b,
top: 50%;
.infobox a strong {
right: -11px;
font-family: inherit;
width: 0;
font-weight: inherit;
height: 0;
margin-top: -11px;
border-top: 11px solid transparent;
border-bottom: 11px solid transparent;
border-left: 11px solid #d5c2a4;
content: "";
}
}


.infobox__details td {
/* 섹션 제목 */
width: 65%;
.infobox__section-title,
padding-right: 0.76rem;
.infobox__subtitle,
padding-left: 1.15rem;
.infobox__panel > h2,
border: 1px solid #cbb79b;
.infobox__panel > h3 {
border-left: 0;
position: relative;
border-radius: 0 10px 10px 0;
display: block;
background: rgba(253, 249, 241, 0.96);
width: calc(100% - 14px);
color: #3b3028;
margin: 0.9rem auto 0.62rem;
padding: 0.7rem 2.04rem 0.7rem 1.18rem;
border: 0;
box-sizing: border-box;
background: var(--infobox-ribbon);
clip-path: polygon(
0 0,
100% 0,
calc(100% - 12px) 50%,
100% 100%,
0 100%,
12px 50%
);
color: var(--infobox-title-text);
font-family:
font-family:
"SB Aggro L",
"SB Aggro B",
"SB 어그로 L",
"SB 어그로 B",
-apple-system,
-apple-system,
BlinkMacSystemFont,
BlinkMacSystemFont,
333번째 줄: 457번째 줄:
"Noto Sans KR",
"Noto Sans KR",
sans-serif;
sans-serif;
font-size: 0.91rem;
font-size: 1.08rem;
font-weight: 300;
font-weight: 700;
text-align: left;
line-height: 1.14;
overflow-wrap: anywhere;
text-align: center;
word-break: break-word;
text-shadow:
-1px -1px 0 var(--infobox-text-outline),
0 -1px 0 var(--infobox-text-outline),
1px -1px 0 var(--infobox-text-outline),
-1px 0 0 var(--infobox-text-outline),
1px 0 0 var(--infobox-text-outline),
-1px 1px 0 var(--infobox-text-outline),
0 1px 0 var(--infobox-text-outline),
1px 1px 0 var(--infobox-text-outline);
}
 
.infobox__section-title::after,
.infobox__subtitle::after,
.infobox__panel > h2::after,
.infobox__panel > h3::after {
position: absolute;
top: 50%;
right: 0.84rem;
width: 0;
height: 0;
border-top: 8px solid var(--infobox-outer-edge);
border-right: 8px solid transparent;
border-left: 8px solid transparent;
content: "";
transform: translateY(-34%);
}
 
/* 섹션 본문 */
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
width: calc(100% - 14px);
margin: 0 auto 0.36rem;
padding: 0.84rem 0.92rem;
border: 1px solid var(--infobox-row-edge);
border-radius: 7px;
box-sizing: border-box;
background: var(--infobox-panel);
color: var(--infobox-text);
font-size: 0.92rem;
line-height: 1.48;
}
}


.infobox__details p {
/* 공통 텍스트 */
margin: 0.18em 0;
.infobox__details p,
.infobox__section-body p,
.infobox__listbox p,
.infobox__games p,
.infobox__appearance-list p {
margin: 0.1em 0;
font: inherit;
font: inherit;
}
}


.infobox__details ul,
.infobox__details ul,
.infobox__details ol {
.infobox__details ol,
margin: 0.22em 0 0.22em 1.2em;
.infobox__section-body ul,
.infobox__section-body ol,
.infobox__listbox ul,
.infobox__listbox ol,
.infobox__games ul,
.infobox__games ol,
.infobox__appearance-list ul,
.infobox__appearance-list ol {
margin: 0.14em 0 0.14em 1.12em;
padding: 0;
padding: 0;
font: inherit;
font: inherit;
}
}


.infobox__details li {
.infobox__details li,
margin: 0.12em 0;
.infobox__section-body li,
.infobox__listbox li,
.infobox__games li,
.infobox__appearance-list li {
margin: 0.1em 0;
font: inherit;
font: inherit;
}
}


.infobox__details sup {
.infobox small,
line-height: 1;
.infobox sup,
.infobox__details small,
.infobox__details sup,
.infobox__section-body small,
.infobox__section-body sup,
.infobox__listbox small,
.infobox__listbox sup,
.infobox__games small,
.infobox__games sup,
.infobox__appearance-list small,
.infobox__appearance-list sup {
position: static;
top: auto;
bottom: auto;
vertical-align: baseline;
line-height: inherit;
font-size: 0.85em;
}
}


.infobox a {
.infobox a {
color: #75563e;
color: var(--infobox-link);
font-family: inherit;
font-family: inherit;
font-weight: inherit;
font-weight: inherit;
369번째 줄: 567번째 줄:


.infobox a:hover {
.infobox a:hover {
color: #4f3727;
color: var(--infobox-link-hover);
text-decoration: underline;
text-decoration: underline;
}
}


.infobox a:focus {
.infobox a:focus {
outline: 2px solid #a17d5f;
outline: 2px solid var(--infobox-focus);
outline-offset: 2px;
}
}


/* 720px 이하 */
@media screen and (max-width: 720px) {
@media screen and (max-width: 720px) {
.infobox {
.infobox {
384번째 줄: 584번째 줄:
max-width: 100%;
max-width: 100%;
margin: 0 0 1.1rem;
margin: 0 0 1.1rem;
padding: 0.68rem;
padding: 1rem 0.42rem 1.08rem;
border-radius: 18px;
border-radius: 22px;
font-size: 1rem;
font-size: 1rem;
line-height: 1.55;
box-shadow: 0 7px 18px rgba(70, 52, 39, 0.13);
}
}


.infobox::before {
.infobox::before {
border-radius: 16px;
top: 5px;
right: 5px;
bottom: 5px;
left: 5px;
border-radius: 17px;
}
}


.infobox__title {
.infobox__title {
min-height: 64px;
width: calc(100% - 20px);
padding: 0.82rem 4rem 0.78rem;
margin: 0.42rem auto 0;
font-size: 1.9rem;
padding: 0.72rem 2rem 0.66rem;
line-height: 1.18;
font-size: 1.54rem;
}
}


.infobox__title::before,
.infobox__image {
.infobox__title::after {
width: calc(100% - 20px);
margin-top: -33px;
margin-top: 1.45rem;
border-top-width: 33px;
margin-bottom: 1.65rem;
border-bottom-width: 33px;
padding: 0.48rem;
}
}


.infobox__title::before {
.infobox__image-caption {
border-left-width: 44px;
transform: translateY(1rem);
}
}


.infobox__title::after {
.infobox__details {
border-right-width: 44px;
width: calc(100% - 20px);
border-radius: 12px;
overflow: hidden;
}
}


.infobox__panel {
.infobox__details th,
margin-top: 0.6rem;
.infobox__details td {
padding: 0.56rem;
padding: 0.52rem 0.72rem;
border-radius: 12px;
}
}


.infobox__image {
min-height: 90px;
max-height: 235px;
padding: 0.58rem;
border-radius: 9px;
}


.infobox__image img {
.infobox__details th {
max-height: 208px;
width: auto;
font-size: 0.96rem;
}
}


.infobox__section {
.infobox__details td {
font-size: 0.98rem;
width: auto;
font-size: 1rem;
}
}


.infobox__details {
.infobox__section-title,
border-spacing: 0 0.44rem;
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3,
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
width: calc(100% - 10px);
}
}


.infobox__details th {
.infobox__section-title,
width: 34%;
.infobox__subtitle,
padding-right: 1rem;
.infobox__panel > h2,
padding-left: 0.78rem;
.infobox__panel > h3 {
font-size: 0.98rem;
font-size: 1.2rem;
}
}


.infobox__details td {
.infobox__section-body,
width: 66%;
.infobox__listbox,
padding-right: 0.76rem;
.infobox__games,
padding-left: 1.18rem;
.infobox__appearance-list {
font-size: 1rem;
font-size: 1rem;
}
}
}
}


/* 480px 이하 */
@media screen and (max-width: 480px) {
@media screen and (max-width: 480px) {
.infobox {
.infobox {
padding: 0.56rem;
padding: 0.92rem 0.34rem 0.96rem;
border-radius: 16px;
border-radius: 19px;
}
}


.infobox__title {
.infobox::before {
min-height: 58px;
top: 4px;
padding: 0.72rem 3.35rem 0.68rem;
right: 4px;
font-size: 1.7rem;
bottom: 4px;
left: 4px;
border-radius: 14px;
}
}


.infobox__title::before,
.infobox__title {
.infobox__title::after {
width: calc(100% - 16px);
margin-top: -30px;
margin: 0.36rem auto 0;
border-top-width: 30px;
padding: 0.66rem 1.72rem 0.6rem;
border-bottom-width: 30px;
font-size: 1.36rem;
}
 
.infobox__title::before {
border-left-width: 37px;
}
 
.infobox__title::after {
border-right-width: 37px;
}
 
.infobox__panel {
padding: 0.46rem;
border-radius: 10px;
}
}


.infobox__image {
.infobox__image {
min-height: 72px;
width: calc(100% - 16px);
max-height: 205px;
margin-top: 1.35rem;
padding: 0.46rem;
margin-bottom: 1.55rem;
border-radius: 8px;
padding: 0.44rem;
}
 
.infobox__image::before {
top: 0.28rem;
right: 0.28rem;
bottom: 0.28rem;
left: 0.28rem;
border-radius: 6px;
}
}


.infobox__image img {
.infobox__image-caption {
max-height: 180px;
width: calc(100% - 0.7rem);
}
padding: 0.52rem 0.58rem;
 
font-size: 0.84rem;
.infobox__section {
transform: translateY(0.9rem);
margin-top: 0.6rem;
font-size: 0.94rem;
}
}


.infobox__details {
.infobox__details {
border-spacing: 0 0.36rem;
width: calc(100% - 16px);
}
border-radius: 12px;
 
overflow: hidden;
.infobox__details th {
width: 38%;
padding-right: 0.82rem;
padding-left: 0.62rem;
border-left-width: 4px;
border-radius: 8px 0 0 8px;
font-size: 0.92rem;
line-height: 1.4;
}
 
.infobox__details th::after {
right: -8px;
margin-top: -8px;
border-top-width: 8px;
border-bottom-width: 8px;
border-left-width: 8px;
}
}


.infobox__details th,
.infobox__details td {
.infobox__details td {
width: 62%;
padding: 0.52rem 0.72rem;
padding-right: 0.58rem;
padding-left: 0.92rem;
border-radius: 0 8px 8px 0;
font-size: 0.96rem;
line-height: 1.5;
}
}
}


@media screen {
html.skin-theme-clientpref-night .infobox {
border-color: #705d4b;
background: #39312b;
color: #eee5da;
box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
}


html.skin-theme-clientpref-night .infobox::before {
.infobox__details tr {
opacity: 0.007;
grid-template-columns: minmax(0, 33%) minmax(0, 67%);
}
}


html.skin-theme-clientpref-night .infobox__title {
.infobox__details tr::before {
border-color: #755f4d;
width: 33%;
background: #6b5546;
color: #fff5e9;
}
}


html.skin-theme-clientpref-night .infobox__title::before {
.infobox__details th {
border-left-color: #39312b;
width: auto;
font-size: 0.89rem;
}
}


html.skin-theme-clientpref-night .infobox__title::after {
.infobox__details td {
border-right-color: #39312b;
width: auto;
font-size: 0.95rem;
}
}


html.skin-theme-clientpref-night .infobox__panel {
.infobox__section-title,
border-color: #645646;
.infobox__subtitle,
background: #2e2823;
.infobox__panel > h2,
.infobox__panel > h3,
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
width: calc(100% - 6px);
}
}


html.skin-theme-clientpref-night .infobox__panel::before {
.infobox__section-title,
opacity: 0.006;
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3 {
padding: 0.64rem 1.78rem 0.64rem 1rem;
font-size: 1.04rem;
}
}


html.skin-theme-clientpref-night .infobox__image {
.infobox__section-body,
border-color: #68594a;
.infobox__listbox,
background: #39322c;
.infobox__games,
.infobox__appearance-list {
padding: 0.76rem 0.8rem;
font-size: 0.95rem;
}
}
}


html.skin-theme-clientpref-night .infobox__image::before {
/* 수동 다크 모드 */
border-color: #50463e;
@media screen {
html.skin-theme-clientpref-night .infobox {
--infobox-outer: #574036;
--infobox-outer-edge: #3f2c25;
--infobox-inner: #cfb894;
--infobox-inner-edge: #aa8e69;
--infobox-panel: #ddd0bf;
--infobox-image-box: #ded4c7;
--infobox-image-pattern: rgba(119, 76, 59, 0.035);
--infobox-image-line: #93634e;
--infobox-ribbon: #7d5543;
--infobox-row-bg: #e4d7c8;
--infobox-row-edge: #a98e72;
--infobox-row-divider: #c4ad96;
--infobox-details-bg: #e1d5c7;
--infobox-detail-label-bg: #d5c4b0;
--infobox-detail-value-bg: #e1d5c7;
--infobox-caption-bg: #ddd0c0;
--infobox-label-text: #2b211d;
--infobox-text: #43332c;
--infobox-link: #7d4e3b;
--infobox-link-hover: #5d372a;
--infobox-focus: #9e6d58;
--infobox-title-text: #fff8f3;
--infobox-text-outline: #3d261e;
--infobox-shadow: rgba(55, 38, 30, 0.2);
--infobox-shape-shadow: rgba(55, 38, 30, 0.23);
--infobox-background-shadow: rgba(55, 38, 30, 0.2);
}
}
}


html.skin-theme-clientpref-night .infobox__image::after {
/* OS 다크 모드 */
background: #aa8462;
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox {
--infobox-outer: #574036;
--infobox-outer-edge: #3f2c25;
--infobox-inner: #cfb894;
--infobox-inner-edge: #aa8e69;
--infobox-panel: #ddd0bf;
--infobox-image-box: #ded4c7;
--infobox-image-pattern: rgba(119, 76, 59, 0.035);
--infobox-image-line: #93634e;
--infobox-ribbon: #7d5543;
--infobox-row-bg: #e4d7c8;
--infobox-row-edge: #a98e72;
--infobox-row-divider: #c4ad96;
--infobox-details-bg: #e1d5c7;
--infobox-detail-label-bg: #d5c4b0;
--infobox-detail-value-bg: #e1d5c7;
--infobox-caption-bg: #ddd0c0;
--infobox-label-text: #2b211d;
--infobox-text: #43332c;
--infobox-link: #7d4e3b;
--infobox-link-hover: #5d372a;
--infobox-focus: #9e6d58;
--infobox-title-text: #fff8f3;
--infobox-text-outline: #3d261e;
--infobox-shadow: rgba(55, 38, 30, 0.2);
--infobox-shape-shadow: rgba(55, 38, 30, 0.23);
--infobox-background-shadow: rgba(55, 38, 30, 0.2);
}
}
}


html.skin-theme-clientpref-night .infobox__section {
html.skin-theme-clientpref-night .infobox__image-caption {
color: #eee1d3;
color: rgba(82, 65, 57, 0.64);
}
}


html.skin-theme-clientpref-night .infobox__section::before {
@media screen and (prefers-color-scheme: dark) {
background: #ae8867;
html.skin-theme-clientpref-os .infobox__image-caption {
color: rgba(82, 65, 57, 0.64);
}
}
}


html.skin-theme-clientpref-night .infobox__section::after {
html.skin-theme-clientpref-night .infobox__image-media img,
background: #635446;
html.skin-theme-clientpref-night .infobox__image-media .mw-file-element {
}
filter:
drop-shadow(0 3px 2px rgba(32, 24, 20, 0.72))
drop-shadow(0 1px 1px rgba(32, 24, 20, 0.5)) !important;
}


html.skin-theme-clientpref-night .infobox__details th {
@media screen and (prefers-color-scheme: dark) {
border-color: #765f4b;
html.skin-theme-clientpref-os .infobox__image-media img,
background: #59483b;
html.skin-theme-clientpref-os .infobox__image-media .mw-file-element {
color: #f0e4d7;
filter:
drop-shadow(0 3px 2px rgba(32, 24, 20, 0.72))
drop-shadow(0 1px 1px rgba(32, 24, 20, 0.5)) !important;
}
}
}


html.skin-theme-clientpref-night .infobox__details th::after {
html.skin-theme-clientpref-night .infobox {
border-left-color: #59483b;
filter: drop-shadow(0 0 5px rgba(42, 28, 22, 0.4));
}
}


html.skin-theme-clientpref-night .infobox__details td {
html.skin-theme-clientpref-night .infobox__title {
border-color: #695849;
filter: drop-shadow(0 3px 2px rgba(42, 28, 22, 0.36));
background: #40362f;
color: #eee5da;
}
 
html.skin-theme-clientpref-night .infobox a {
color: #dcb28b;
}
 
html.skin-theme-clientpref-night .infobox a:hover {
color: #f1cfad;
}
 
html.skin-theme-clientpref-night .infobox a:focus {
outline-color: #c39a76;
}
}
}


@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: #705d4b;
filter: drop-shadow(0 0 5px rgba(42, 28, 22, 0.4));
background: #39312b;
color: #eee5da;
box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
}
 
html.skin-theme-clientpref-os .infobox::before {
opacity: 0.007;
}
}


html.skin-theme-clientpref-os .infobox__title {
html.skin-theme-clientpref-os .infobox__title {
border-color: #755f4d;
filter: drop-shadow(0 3px 2px rgba(42, 28, 22, 0.36));
background: #6b5546;
color: #fff5e9;
}
}
}


html.skin-theme-clientpref-os .infobox__title::before {
@media screen and (max-width: 720px) {
border-left-color: #39312b;
.infobox__image-media,
.infobox__image-media img,
.infobox__image-media .mw-file-element {
max-height: 380px;
}
}
}


html.skin-theme-clientpref-os .infobox__title::after {
@media screen and (max-width: 480px) {
border-right-color: #39312b;
.infobox__image-media,
}
.infobox__image-media img,
 
.infobox__image-media .mw-file-element {
html.skin-theme-clientpref-os .infobox__panel {
max-height: 340px;
border-color: #645646;
background: #2e2823;
}
 
html.skin-theme-clientpref-os .infobox__panel::before {
opacity: 0.006;
}
 
html.skin-theme-clientpref-os .infobox__image {
border-color: #68594a;
background: #39322c;
}
 
html.skin-theme-clientpref-os .infobox__image::before {
border-color: #50463e;
}
 
html.skin-theme-clientpref-os .infobox__image::after {
background: #aa8462;
}
 
html.skin-theme-clientpref-os .infobox__section {
color: #eee1d3;
}
 
html.skin-theme-clientpref-os .infobox__section::before {
background: #ae8867;
}
 
html.skin-theme-clientpref-os .infobox__section::after {
background: #635446;
}
 
html.skin-theme-clientpref-os .infobox__details th {
border-color: #765f4b;
background: #59483b;
color: #f0e4d7;
}
 
html.skin-theme-clientpref-os .infobox__details th::after {
border-left-color: #59483b;
}
 
html.skin-theme-clientpref-os .infobox__details td {
border-color: #695849;
background: #40362f;
color: #eee5da;
}
 
html.skin-theme-clientpref-os .infobox a {
color: #dcb28b;
}
 
html.skin-theme-clientpref-os .infobox a:hover {
color: #f1cfad;
}
 
html.skin-theme-clientpref-os .infobox a:focus {
outline-color: #c39a76;
}
}
}
}