틀:정보상자/styles.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
편집 요약 없음 |
편집 요약 없음 태그: 되돌려진 기여 |
||
| 1번째 줄: | 1번째 줄: | ||
.infobox { | .infobox { | ||
--infobox-outer: # | --infobox-outer-edge: #896247; | ||
--infobox- | --infobox-inner: #d5c4ae; | ||
--infobox- | --infobox-inner-edge: #c2ad94; | ||
--infobox- | --infobox-panel: #f4efe5; | ||
--infobox- | --infobox-image-paper: #efe1bf; | ||
--infobox-image-frame: #9a5b32; | |||
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Light.png"); | --infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Light.png"); | ||
--infobox-ribbon: # | --infobox-ribbon: #6f4a34; | ||
--infobox-row-bg: # | --infobox-row-bg: #f3efe6; | ||
--infobox-row-edge: # | --infobox-row-edge: #d8cdc0; | ||
--infobox-label-text: #3f3026; | |||
--infobox-label-text: # | --infobox-text: #5d4434; | ||
--infobox-text: # | --infobox-link: #8b6044; | ||
--infobox-link: # | --infobox-link-hover: #68442d; | ||
--infobox-link-hover: # | --infobox-focus: #ae7d60; | ||
--infobox-focus: # | --infobox-title-text: #fffaf3; | ||
--infobox-title-text: # | --infobox-text-outline: #4e3426; | ||
--infobox-text-outline: # | --infobox-shadow: rgba(58, 39, 28, 0.12); | ||
--infobox-shadow: rgba( | |||
position: relative; | position: relative; | ||
| 27번째 줄: | 25번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.25rem 1.25rem; | margin: 0 0 1.25rem 1.25rem; | ||
padding: | padding: 0.9rem 0.9rem 1rem; | ||
border: | border: 4px solid var(--infobox-outer-edge); | ||
border-radius: | border-radius: 9px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox-inner); | background: var(--infobox-inner); | ||
| 44번째 줄: | 42번째 줄: | ||
font-size: 0.92rem; | font-size: 0.92rem; | ||
font-weight: 300; | font-weight: 300; | ||
line-height: 1. | line-height: 1.6; | ||
box-shadow: 0 | box-shadow: 0 8px 24px var(--infobox-shadow); | ||
overflow: | overflow: hidden; | ||
} | } | ||
.infobox::before { | .infobox::before { | ||
position: absolute; | position: absolute; | ||
top: | top: 12px; | ||
right: | right: 12px; | ||
bottom: | bottom: 12px; | ||
left: | left: 12px; | ||
border: | border: 1px solid var(--infobox-inner-edge); | ||
border-radius: | border-radius: 5px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
content: ""; | content: ""; | ||
| 73번째 줄: | 71번째 줄: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
width: calc(100% - | width: calc(100% - 12px); | ||
margin: | margin: 0.6rem auto 1rem; | ||
padding: 0. | padding: 0.92rem 1.4rem; | ||
border: 0; | border: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox-ribbon); | background: var(--infobox-ribbon); | ||
clip-path: polygon( | clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%); | ||
color: var(--infobox-title-text); | color: var(--infobox-title-text); | ||
font-family: | font-family: | ||
| 97번째 줄: | 88번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 1. | font-size: 1.34rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1. | line-height: 1.16; | ||
letter-spacing: -0. | letter-spacing: -0.025em; | ||
text-align: center; | text-align: center; | ||
text-shadow: | text-shadow: | ||
| 110번째 줄: | 101번째 줄: | ||
-2px 2px 0 var(--infobox-text-outline), | -2px 2px 0 var(--infobox-text-outline), | ||
0 2px 0 var(--infobox-text-outline), | 0 2px 0 var(--infobox-text-outline), | ||
2px | 2px 2px 0 var(--infobox-text-outline); | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: keep-all; | word-break: keep-all; | ||
| 132번째 줄: | 115번째 줄: | ||
/* 내부 영역 */ | /* 내부 영역 */ | ||
.infobox__panel { | .infobox__panel { | ||
margin-top: 0 | margin-top: 0; | ||
padding: 0 | padding: 0; | ||
background: transparent; | background: transparent; | ||
} | } | ||
| 143번째 줄: | 126번째 줄: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
width: calc(100% - | width: calc(100% - 18px); | ||
aspect-ratio: 1 / 1; | aspect-ratio: 1 / 1; | ||
margin: 0 auto | margin: 0 auto 1rem; | ||
padding: | padding: 1.1rem; | ||
border: 0; | border: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: | background: var(--infobox-image-paper); | ||
background-image: var(--infobox-image-bg); | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-size: cover; | |||
clip-path: polygon( | |||
0 0, | |||
100% 1.5%, | |||
98.5% 38%, | |||
98.5% 45%, | |||
100% 45%, | |||
100% 100%, | |||
61% 100%, | |||
56% 95%, | |||
50% 100%, | |||
2% 100%, | |||
2% 17%, | |||
0 16% | |||
); | |||
overflow: hidden; | |||
} | } | ||
.infobox__image::before { | .infobox__image::before { | ||
position: absolute; | position: absolute; | ||
inset: 4px; | |||
border: 6px solid var(--infobox-image-frame); | |||
border-radius: 2px; | |||
clip-path: polygon( | |||
0 0, | |||
100% 1.5%, | |||
98.5% 38%, | |||
98.5% 45%, | |||
100% 45%, | |||
100% 100%, | |||
61% 100%, | |||
56% 95%, | |||
50% 100%, | |||
2% 100%, | |||
2% 17%, | |||
0 16% | |||
); | |||
content: ""; | content: ""; | ||
pointer-events: none; | pointer-events: none; | ||
} | } | ||
.infobox__image::after { | .infobox__image::after { | ||
position: absolute; | |||
inset: 3rem; | |||
border-radius: 2px; | |||
background: rgba(247, 234, 206, 0.96); | |||
content: ""; | |||
pointer-events: none; | |||
} | } | ||
| 197번째 줄: | 207번째 줄: | ||
max-height: 100%; | max-height: 100%; | ||
margin: 0 auto; | margin: 0 auto; | ||
object-fit: | object-fit: contain; | ||
filter: drop-shadow(0 | filter: drop-shadow(0 10px 12px rgba(78, 52, 38, 0.18)); | ||
} | } | ||
/* 정보칸 */ | /* 정보칸 */ | ||
.infobox__details { | .infobox__details { | ||
width: calc(100% - | width: calc(100% - 12px); | ||
margin: 0 auto; | margin: 0 auto; | ||
border: | border: 2px solid var(--infobox-row-edge); | ||
border-collapse: separate; | border-collapse: separate; | ||
border-spacing: 0; | border-spacing: 0; | ||
border-radius: | border-radius: 6px; | ||
table-layout: fixed; | table-layout: fixed; | ||
background: var(--infobox-row-bg); | background: var(--infobox-row-bg); | ||
| 221번째 줄: | 231번째 줄: | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | padding: 0.78rem 0.86rem; | ||
border: 0; | border: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background | background: transparent; | ||
line-height: 1.5; | |||
line-height: 1. | |||
text-align: left; | text-align: left; | ||
vertical-align: top; | |||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: 36%; | ||
color: var(--infobox-label-text); | color: var(--infobox-label-text); | ||
font-family: | font-family: | ||
"SB Aggro | "SB Aggro B", | ||
"SB 어그로 | "SB 어그로 B", | ||
-apple-system, | -apple-system, | ||
BlinkMacSystemFont, | BlinkMacSystemFont, | ||
| 244번째 줄: | 252번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 0. | font-size: 0.82rem; | ||
font-weight: | font-weight: 700; | ||
word-break: keep-all; | word-break: keep-all; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
width: | width: 64%; | ||
color: var(--infobox-text); | color: var(--infobox-text); | ||
font-family: | font-family: | ||
"SB Aggro | "SB Aggro M", | ||
"SB 어그로 | "SB 어그로 M", | ||
-apple-system, | -apple-system, | ||
BlinkMacSystemFont, | BlinkMacSystemFont, | ||
| 264번째 줄: | 270번째 줄: | ||
sans-serif; | sans-serif; | ||
font-size: 0.9rem; | font-size: 0.9rem; | ||
font-weight: | font-weight: 400; | ||
word-break: break-word; | word-break: break-word; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
| 275번째 줄: | 280번째 줄: | ||
.infobox__panel > h2, | .infobox__panel > h2, | ||
.infobox__panel > h3 { | .infobox__panel > h3 { | ||
display: block; | display: block; | ||
width: calc(100% - | width: calc(100% - 12px); | ||
margin: | margin: 1rem auto 0.62rem; | ||
padding: 0. | padding: 0.82rem 1.12rem; | ||
border: 0; | border: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox-ribbon); | background: var(--infobox-ribbon); | ||
clip-path: polygon( | clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%); | ||
color: var(--infobox-title-text); | color: var(--infobox-title-text); | ||
font-family: | font-family: | ||
| 301번째 줄: | 298번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 1. | font-size: 1.06rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.14; | line-height: 1.14; | ||
| 320번째 줄: | 317번째 줄: | ||
.infobox__panel > h2::after, | .infobox__panel > h2::after, | ||
.infobox__panel > h3::after { | .infobox__panel > h3::after { | ||
display: none; | |||
} | } | ||
| 337번째 줄: | 325번째 줄: | ||
.infobox__games, | .infobox__games, | ||
.infobox__appearance-list { | .infobox__appearance-list { | ||
width: calc(100% - | width: calc(100% - 12px); | ||
margin: 0 auto | margin: 0 auto; | ||
padding: 0. | padding: 0.86rem 0.96rem; | ||
border: | border: 2px solid var(--infobox-row-edge); | ||
border-radius: | border-radius: 6px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox- | background: var(--infobox-row-bg); | ||
color: var(--infobox-text); | color: var(--infobox-text); | ||
font-size: 0.92rem; | font-size: 0.92rem; | ||
line-height: 1. | line-height: 1.55; | ||
} | } | ||
| 355번째 줄: | 343번째 줄: | ||
.infobox__games p, | .infobox__games p, | ||
.infobox__appearance-list p { | .infobox__appearance-list p { | ||
margin: 0. | margin: 0.12em 0; | ||
font: inherit; | font: inherit; | ||
} | } | ||
| 428번째 줄: | 416번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.1rem; | margin: 0 0 1.1rem; | ||
padding: | padding: 0.82rem 0.82rem 0.92rem; | ||
border-radius: | border-radius: 8px; | ||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
.infobox::before { | .infobox::before { | ||
top: | top: 10px; | ||
right: | right: 10px; | ||
bottom: | bottom: 10px; | ||
left: | left: 10px; | ||
border-radius: | border-radius: 4px; | ||
} | } | ||
.infobox__title { | .infobox__title { | ||
width: 100%; | width: calc(100% - 8px); | ||
margin | margin: 0.52rem auto 0.9rem; | ||
padding: 0. | padding: 0.92rem 1.1rem; | ||
font-size: 1. | font-size: 1.42rem; | ||
} | } | ||
.infobox__image { | .infobox__image { | ||
width: calc(100% - 12px); | width: calc(100% - 12px); | ||
padding: 0; | padding: 1rem; | ||
margin-bottom: 0.92rem; | |||
} | |||
.infobox__image::after { | |||
inset: 2.7rem; | |||
} | } | ||
.infobox__details { | .infobox__details { | ||
width: calc(100% - | width: calc(100% - 8px); | ||
} | } | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | padding: 0.74rem 0.82rem; | ||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: 36%; | ||
font-size: 0.96rem; | font-size: 0.96rem; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
width: | width: 64%; | ||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
| 482번째 줄: | 473번째 줄: | ||
.infobox__games, | .infobox__games, | ||
.infobox__appearance-list { | .infobox__appearance-list { | ||
width: calc(100% - | width: calc(100% - 8px); | ||
} | } | ||
| 489번째 줄: | 480번째 줄: | ||
.infobox__panel > h2, | .infobox__panel > h2, | ||
.infobox__panel > h3 { | .infobox__panel > h3 { | ||
font-size: 1. | font-size: 1.16rem; | ||
} | } | ||
} | } | ||
| 503번째 줄: | 487번째 줄: | ||
@media screen and (max-width: 480px) { | @media screen and (max-width: 480px) { | ||
.infobox { | .infobox { | ||
padding: 0. | padding: 0.72rem 0.72rem 0.82rem; | ||
} | } | ||
.infobox::before { | .infobox::before { | ||
top: | top: 8px; | ||
right: | right: 8px; | ||
bottom: | bottom: 8px; | ||
left: | left: 8px; | ||
} | } | ||
.infobox__title { | .infobox__title { | ||
margin | width: calc(100% - 4px); | ||
padding: 0. | margin: 0.44rem auto 0.78rem; | ||
font-size: 1. | padding: 0.82rem 0.92rem; | ||
font-size: 1.22rem; | |||
} | } | ||
.infobox__image { | .infobox__image { | ||
width: calc(100% - | width: calc(100% - 4px); | ||
padding: 0; | padding: 0.82rem; | ||
} | |||
.infobox__image::after { | |||
inset: 2.2rem; | |||
} | } | ||
.infobox__details { | .infobox__details { | ||
width: calc(100% - | width: calc(100% - 4px); | ||
} | } | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | padding: 0.68rem 0.72rem; | ||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: 38%; | ||
font-size: 0.89rem; | font-size: 0.89rem; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
width: | width: 62%; | ||
font-size: 0.95rem; | font-size: 0.95rem; | ||
} | } | ||
| 555번째 줄: | 540번째 줄: | ||
.infobox__games, | .infobox__games, | ||
.infobox__appearance-list { | .infobox__appearance-list { | ||
width: calc(100% - | width: calc(100% - 4px); | ||
} | } | ||
| 562번째 줄: | 547번째 줄: | ||
.infobox__panel > h2, | .infobox__panel > h2, | ||
.infobox__panel > h3 { | .infobox__panel > h3 { | ||
font-size: 1.02rem; | |||
font-size: 1. | |||
} | } | ||
| 570번째 줄: | 554번째 줄: | ||
.infobox__games, | .infobox__games, | ||
.infobox__appearance-list { | .infobox__appearance-list { | ||
padding: 0. | padding: 0.74rem 0.8rem; | ||
font-size: 0.95rem; | font-size: 0.95rem; | ||
} | } | ||
| 578번째 줄: | 562번째 줄: | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .infobox { | html.skin-theme-clientpref-night .infobox { | ||
--infobox-outer-edge: #5d4336; | |||
--infobox-outer-edge: # | --infobox-inner: #4a3c34; | ||
--infobox-inner: # | --infobox-inner-edge: #6c594b; | ||
--infobox-inner-edge: # | |||
--infobox-panel: #3d332d; | --infobox-panel: #3d332d; | ||
--infobox-image-paper: #51443a; | |||
--infobox-image-frame: #8f6546; | |||
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png"); | --infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png"); | ||
--infobox-ribbon: # | --infobox-ribbon: #6a4a3a; | ||
--infobox-row-bg: # | --infobox-row-bg: #efe7db; | ||
--infobox-row-edge: # | --infobox-row-edge: #d2c0ac; | ||
--infobox-label-text: #3a2c24; | |||
--infobox-label-text: # | --infobox-text: #5b4334; | ||
--infobox-text: # | --infobox-link: #925f45; | ||
--infobox-link: # | --infobox-link-hover: #6b432e; | ||
--infobox-link-hover: # | --infobox-focus: #d6a788; | ||
--infobox-focus: # | |||
--infobox-title-text: #fff8f2; | --infobox-title-text: #fff8f2; | ||
--infobox-text-outline: # | --infobox-text-outline: #2f1e17; | ||
--infobox | --infobox-shadow: rgba(0, 0, 0, 0.28); | ||
} | } | ||
} | } | ||
| 604번째 줄: | 586번째 줄: | ||
@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 { | ||
--infobox-outer-edge: #5d4336; | |||
--infobox-outer-edge: # | --infobox-inner: #4a3c34; | ||
--infobox-inner: # | --infobox-inner-edge: #6c594b; | ||
--infobox-inner-edge: # | |||
--infobox-panel: #3d332d; | --infobox-panel: #3d332d; | ||
--infobox-image-paper: #51443a; | |||
--infobox-image-frame: #8f6546; | |||
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png"); | --infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png"); | ||
--infobox-ribbon: # | --infobox-ribbon: #6a4a3a; | ||
--infobox-row-bg: # | --infobox-row-bg: #efe7db; | ||
--infobox-row-edge: # | --infobox-row-edge: #d2c0ac; | ||
--infobox-label-text: #3a2c24; | |||
--infobox-label-text: # | --infobox-text: #5b4334; | ||
--infobox-text: # | --infobox-link: #925f45; | ||
--infobox-link: # | --infobox-link-hover: #6b432e; | ||
--infobox-link-hover: # | --infobox-focus: #d6a788; | ||
--infobox-focus: # | |||
--infobox-title-text: #fff8f2; | --infobox-title-text: #fff8f2; | ||
--infobox-text-outline: # | --infobox-text-outline: #2f1e17; | ||
--infobox | --infobox-shadow: rgba(0, 0, 0, 0.28); | ||
} | } | ||
} | } | ||
2026년 7월 23일 (목) 19:38 판
.infobox {
--infobox-outer-edge: #896247;
--infobox-inner: #d5c4ae;
--infobox-inner-edge: #c2ad94;
--infobox-panel: #f4efe5;
--infobox-image-paper: #efe1bf;
--infobox-image-frame: #9a5b32;
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Light.png");
--infobox-ribbon: #6f4a34;
--infobox-row-bg: #f3efe6;
--infobox-row-edge: #d8cdc0;
--infobox-label-text: #3f3026;
--infobox-text: #5d4434;
--infobox-link: #8b6044;
--infobox-link-hover: #68442d;
--infobox-focus: #ae7d60;
--infobox-title-text: #fffaf3;
--infobox-text-outline: #4e3426;
--infobox-shadow: rgba(58, 39, 28, 0.12);
position: relative;
float: right;
clear: right;
width: 328px;
max-width: 100%;
margin: 0 0 1.25rem 1.25rem;
padding: 0.9rem 0.9rem 1rem;
border: 4px solid var(--infobox-outer-edge);
border-radius: 9px;
box-sizing: border-box;
background: var(--infobox-inner);
color: var(--infobox-text);
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.6;
box-shadow: 0 8px 24px var(--infobox-shadow);
overflow: hidden;
}
.infobox::before {
position: absolute;
top: 12px;
right: 12px;
bottom: 12px;
left: 12px;
border: 1px solid var(--infobox-inner-edge);
border-radius: 5px;
box-sizing: border-box;
content: "";
pointer-events: none;
}
.infobox__title,
.infobox__panel {
position: relative;
z-index: 1;
}
/* 이름칸 */
.infobox__title {
display: flex;
align-items: center;
justify-content: center;
width: calc(100% - 12px);
margin: 0.6rem auto 1rem;
padding: 0.92rem 1.4rem;
border: 0;
box-sizing: border-box;
background: var(--infobox-ribbon);
clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
color: var(--infobox-title-text);
font-family:
"SB Aggro B",
"SB 어그로 B",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
font-size: 1.34rem;
font-weight: 700;
line-height: 1.16;
letter-spacing: -0.025em;
text-align: center;
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);
overflow-wrap: anywhere;
word-break: keep-all;
}
.infobox__title p {
margin: 0;
font: inherit;
color: inherit;
line-height: inherit;
}
/* 내부 영역 */
.infobox__panel {
margin-top: 0;
padding: 0;
background: transparent;
}
/* 이미지칸 */
.infobox__image {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: calc(100% - 18px);
aspect-ratio: 1 / 1;
margin: 0 auto 1rem;
padding: 1.1rem;
border: 0;
box-sizing: border-box;
background: var(--infobox-image-paper);
background-image: var(--infobox-image-bg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
clip-path: polygon(
0 0,
100% 1.5%,
98.5% 38%,
98.5% 45%,
100% 45%,
100% 100%,
61% 100%,
56% 95%,
50% 100%,
2% 100%,
2% 17%,
0 16%
);
overflow: hidden;
}
.infobox__image::before {
position: absolute;
inset: 4px;
border: 6px solid var(--infobox-image-frame);
border-radius: 2px;
clip-path: polygon(
0 0,
100% 1.5%,
98.5% 38%,
98.5% 45%,
100% 45%,
100% 100%,
61% 100%,
56% 95%,
50% 100%,
2% 100%,
2% 17%,
0 16%
);
content: "";
pointer-events: none;
}
.infobox__image::after {
position: absolute;
inset: 3rem;
border-radius: 2px;
background: rgba(247, 234, 206, 0.96);
content: "";
pointer-events: none;
}
.infobox__image a,
.infobox__image img {
position: relative;
z-index: 1;
}
.infobox__image a {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.infobox__image img {
display: block;
width: 100%;
max-width: 100%;
height: 100%;
max-height: 100%;
margin: 0 auto;
object-fit: contain;
filter: drop-shadow(0 10px 12px rgba(78, 52, 38, 0.18));
}
/* 정보칸 */
.infobox__details {
width: calc(100% - 12px);
margin: 0 auto;
border: 2px solid var(--infobox-row-edge);
border-collapse: separate;
border-spacing: 0;
border-radius: 6px;
table-layout: fixed;
background: var(--infobox-row-bg);
box-sizing: border-box;
overflow: hidden;
}
.infobox__details tr {
background: transparent;
}
.infobox__details th,
.infobox__details td {
padding: 0.78rem 0.86rem;
border: 0;
box-sizing: border-box;
background: transparent;
line-height: 1.5;
text-align: left;
vertical-align: top;
}
.infobox__details th {
width: 36%;
color: var(--infobox-label-text);
font-family:
"SB Aggro B",
"SB 어그로 B",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
font-size: 0.82rem;
font-weight: 700;
word-break: keep-all;
}
.infobox__details td {
width: 64%;
color: var(--infobox-text);
font-family:
"SB Aggro M",
"SB 어그로 M",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
font-size: 0.9rem;
font-weight: 400;
word-break: break-word;
overflow-wrap: anywhere;
}
/* 섹션 제목 */
.infobox__section-title,
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3 {
display: block;
width: calc(100% - 12px);
margin: 1rem auto 0.62rem;
padding: 0.82rem 1.12rem;
border: 0;
box-sizing: border-box;
background: var(--infobox-ribbon);
clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
color: var(--infobox-title-text);
font-family:
"SB Aggro B",
"SB 어그로 B",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
font-size: 1.06rem;
font-weight: 700;
line-height: 1.14;
text-align: center;
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 {
display: none;
}
/* 섹션 본문 */
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
width: calc(100% - 12px);
margin: 0 auto;
padding: 0.86rem 0.96rem;
border: 2px solid var(--infobox-row-edge);
border-radius: 6px;
box-sizing: border-box;
background: var(--infobox-row-bg);
color: var(--infobox-text);
font-size: 0.92rem;
line-height: 1.55;
}
/* 공통 텍스트 */
.infobox__details p,
.infobox__section-body p,
.infobox__listbox p,
.infobox__games p,
.infobox__appearance-list p {
margin: 0.12em 0;
font: inherit;
}
.infobox__details ul,
.infobox__details ol,
.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;
font: inherit;
}
.infobox__details li,
.infobox__section-body li,
.infobox__listbox li,
.infobox__games li,
.infobox__appearance-list li {
margin: 0.1em 0;
font: inherit;
}
.infobox small,
.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 {
color: var(--infobox-link);
font-family: inherit;
font-weight: inherit;
text-decoration: none;
}
.infobox a:hover {
color: var(--infobox-link-hover);
text-decoration: underline;
}
.infobox a:focus {
outline: 2px solid var(--infobox-focus);
outline-offset: 2px;
}
/* 720px 이하 */
@media screen and (max-width: 720px) {
.infobox {
float: none;
clear: both;
width: 100%;
max-width: 100%;
margin: 0 0 1.1rem;
padding: 0.82rem 0.82rem 0.92rem;
border-radius: 8px;
font-size: 1rem;
}
.infobox::before {
top: 10px;
right: 10px;
bottom: 10px;
left: 10px;
border-radius: 4px;
}
.infobox__title {
width: calc(100% - 8px);
margin: 0.52rem auto 0.9rem;
padding: 0.92rem 1.1rem;
font-size: 1.42rem;
}
.infobox__image {
width: calc(100% - 12px);
padding: 1rem;
margin-bottom: 0.92rem;
}
.infobox__image::after {
inset: 2.7rem;
}
.infobox__details {
width: calc(100% - 8px);
}
.infobox__details th,
.infobox__details td {
padding: 0.74rem 0.82rem;
}
.infobox__details th {
width: 36%;
font-size: 0.96rem;
}
.infobox__details td {
width: 64%;
font-size: 1rem;
}
.infobox__section-title,
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3,
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
width: calc(100% - 8px);
}
.infobox__section-title,
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3 {
font-size: 1.16rem;
}
}
/* 480px 이하 */
@media screen and (max-width: 480px) {
.infobox {
padding: 0.72rem 0.72rem 0.82rem;
}
.infobox::before {
top: 8px;
right: 8px;
bottom: 8px;
left: 8px;
}
.infobox__title {
width: calc(100% - 4px);
margin: 0.44rem auto 0.78rem;
padding: 0.82rem 0.92rem;
font-size: 1.22rem;
}
.infobox__image {
width: calc(100% - 4px);
padding: 0.82rem;
}
.infobox__image::after {
inset: 2.2rem;
}
.infobox__details {
width: calc(100% - 4px);
}
.infobox__details th,
.infobox__details td {
padding: 0.68rem 0.72rem;
}
.infobox__details th {
width: 38%;
font-size: 0.89rem;
}
.infobox__details td {
width: 62%;
font-size: 0.95rem;
}
.infobox__section-title,
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3,
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
width: calc(100% - 4px);
}
.infobox__section-title,
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3 {
font-size: 1.02rem;
}
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
padding: 0.74rem 0.8rem;
font-size: 0.95rem;
}
}
/* 수동 다크 모드 */
@media screen {
html.skin-theme-clientpref-night .infobox {
--infobox-outer-edge: #5d4336;
--infobox-inner: #4a3c34;
--infobox-inner-edge: #6c594b;
--infobox-panel: #3d332d;
--infobox-image-paper: #51443a;
--infobox-image-frame: #8f6546;
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png");
--infobox-ribbon: #6a4a3a;
--infobox-row-bg: #efe7db;
--infobox-row-edge: #d2c0ac;
--infobox-label-text: #3a2c24;
--infobox-text: #5b4334;
--infobox-link: #925f45;
--infobox-link-hover: #6b432e;
--infobox-focus: #d6a788;
--infobox-title-text: #fff8f2;
--infobox-text-outline: #2f1e17;
--infobox-shadow: rgba(0, 0, 0, 0.28);
}
}
/* OS 다크 모드 */
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox {
--infobox-outer-edge: #5d4336;
--infobox-inner: #4a3c34;
--infobox-inner-edge: #6c594b;
--infobox-panel: #3d332d;
--infobox-image-paper: #51443a;
--infobox-image-frame: #8f6546;
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png");
--infobox-ribbon: #6a4a3a;
--infobox-row-bg: #efe7db;
--infobox-row-edge: #d2c0ac;
--infobox-label-text: #3a2c24;
--infobox-text: #5b4334;
--infobox-link: #925f45;
--infobox-link-hover: #6b432e;
--infobox-focus: #d6a788;
--infobox-title-text: #fff8f2;
--infobox-text-outline: #2f1e17;
--infobox-shadow: rgba(0, 0, 0, 0.28);
}
}