틀:정보상자/styles.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
편집 요약 없음 |
편집 요약 없음 태그: 되돌려진 기여 |
||
| 1번째 줄: | 1번째 줄: | ||
.infobox { | .infobox { | ||
--infobox-outer: # | --infobox-outer: #5a382d; | ||
--infobox-outer-edge: # | --infobox-outer-edge: #382117; | ||
--infobox-inner: # | --infobox-outer-highlight: #7a5143; | ||
--infobox-inner-edge: # | --infobox-inner: #ead2aa; | ||
--infobox-panel: # | --infobox-inner-edge: #c59d6d; | ||
--infobox-inner-glow: rgba(255, 246, 224, 0.42); | |||
--infobox-panel: #f5e9d7; | |||
--infobox-panel-soft: #efe0ca; | |||
--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: #8a533f; | ||
--infobox-row-bg: # | --infobox-ribbon-dark: #603628; | ||
--infobox-row-edge: # | --infobox-ribbon-light: #a66b55; | ||
--infobox-row-divider: # | --infobox-row-bg: #f8efe3; | ||
--infobox-label-text: # | --infobox-row-edge: #b99471; | ||
--infobox-row-divider: #d4b99d; | |||
--infobox-label-text: #2c1d17; | |||
--infobox-text: #493329; | --infobox-text: #493329; | ||
--infobox-link: # | --infobox-link: #8c543e; | ||
--infobox-link-hover: # | --infobox-link-hover: #5f3326; | ||
--infobox-focus: # | --infobox-focus: #b47b5f; | ||
--infobox-title-text: #fffaf4; | --infobox-title-text: #fffaf4; | ||
--infobox-text-outline: # | --infobox-text-outline: #3e241a; | ||
--infobox-shadow: rgba( | --infobox-shadow: rgba(60, 34, 24, 0.3); | ||
--infobox-pin: #c4a17e; | |||
--infobox-pin-edge: #7f5d45; | |||
--infobox-pin-light: #f1d9bd; | |||
position: relative; | position: relative; | ||
| 25번째 줄: | 33번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.25rem 1.25rem; | margin: 0 0 1.25rem 1.25rem; | ||
padding: 1. | padding: 1.2rem 0.58rem 0.8rem; | ||
border: | border: 4px solid var(--infobox-outer-edge); | ||
border-radius: | border-radius: 27px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox- | background: | ||
linear-gradient( | |||
180deg, | |||
var(--infobox-outer-highlight) 0, | |||
var(--infobox-outer) 14%, | |||
var(--infobox-outer) 86%, | |||
var(--infobox-outer-edge) 100% | |||
); | |||
color: var(--infobox-text); | color: var(--infobox-text); | ||
font-family: | font-family: | ||
| 43번째 줄: | 58번째 줄: | ||
font-weight: 300; | font-weight: 300; | ||
line-height: 1.55; | line-height: 1.55; | ||
box-shadow: 0 | box-shadow: | ||
0 14px 30px var(--infobox-shadow), | |||
0 4px 0 rgba(56, 33, 23, 0.32), | |||
inset 0 1px 0 rgba(255, 255, 255, 0.12); | |||
overflow: visible; | overflow: visible; | ||
} | } | ||
| 49번째 줄: | 67번째 줄: | ||
.infobox::before { | .infobox::before { | ||
position: absolute; | position: absolute; | ||
top: | top: 8px; | ||
right: | right: 8px; | ||
bottom: | bottom: 8px; | ||
left: | left: 8px; | ||
border: | border: 2px solid var(--infobox-inner-edge); | ||
border-radius: | border-radius: 20px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: | |||
radial-gradient( | |||
circle at 50% 0, | |||
var(--infobox-inner-glow), | |||
transparent 34% | |||
), | |||
var(--infobox-inner); | |||
box-shadow: | |||
inset 0 0 0 1px rgba(255, 250, 237, 0.52), | |||
inset 0 -10px 24px rgba(121, 82, 52, 0.08); | |||
content: ""; | |||
pointer-events: none; | |||
} | |||
.infobox::after { | |||
position: absolute; | |||
right: 20px; | |||
bottom: 18px; | |||
left: 20px; | |||
height: 4px; | |||
border-radius: 999px; | |||
background: | |||
linear-gradient( | |||
90deg, | |||
transparent, | |||
rgba(103, 66, 45, 0.25) 18%, | |||
rgba(103, 66, 45, 0.25) 82%, | |||
transparent | |||
); | |||
content: ""; | content: ""; | ||
pointer-events: none; | pointer-events: none; | ||
| 71번째 줄: | 118번째 줄: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
width: calc(100% | width: calc(100% + 10px); | ||
margin: -1. | margin: -1.95rem -5px 0; | ||
padding: | padding: 1rem 2.65rem; | ||
border: 0; | border: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox-ribbon); | background: | ||
linear-gradient( | |||
180deg, | |||
var(--infobox-ribbon-light) 0, | |||
var(--infobox-ribbon) 42%, | |||
var(--infobox-ribbon-dark) 100% | |||
); | |||
clip-path: polygon( | clip-path: polygon( | ||
0 0, | 0 0, | ||
100% 0, | 100% 0, | ||
calc(100% - | calc(100% - 18px) 50%, | ||
100% 100%, | 100% 100%, | ||
0 100%, | 0 100%, | ||
18px 50% | |||
); | ); | ||
color: var(--infobox-title-text); | color: var(--infobox-title-text); | ||
| 95번째 줄: | 148번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 1. | font-size: 1.3rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.14; | line-height: 1.14; | ||
| 109번째 줄: | 162번째 줄: | ||
0 2px 0 var(--infobox-text-outline), | 0 2px 0 var(--infobox-text-outline), | ||
2px 2px 0 var(--infobox-text-outline), | 2px 2px 0 var(--infobox-text-outline), | ||
0 3px 2px rgba(45, 24, 17, 0.38); | |||
filter: drop-shadow(0 5px 3px rgba(56, 31, 21, 0.28)); | |||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: keep-all; | word-break: keep-all; | ||
} | |||
.infobox__title::before, | |||
.infobox__title::after { | |||
position: absolute; | |||
top: 50%; | |||
width: 11px; | |||
height: 11px; | |||
border: 1px solid var(--infobox-pin-edge); | |||
border-radius: 50%; | |||
box-sizing: border-box; | |||
background: | |||
radial-gradient( | |||
circle at 68% 28%, | |||
var(--infobox-pin-light) 0, | |||
var(--infobox-pin-light) 1px, | |||
transparent 2px | |||
), | |||
var(--infobox-pin); | |||
box-shadow: | |||
0 1px 1px rgba(50, 31, 23, 0.45), | |||
inset 0 -1px rgba(92, 62, 45, 0.3); | |||
content: ""; | |||
transform: translateY(-50%); | |||
} | |||
.infobox__title::before { | |||
left: 0.9rem; | |||
} | |||
.infobox__title::after { | |||
right: 0.9rem; | |||
} | } | ||
| 130번째 줄: | 209번째 줄: | ||
/* 내부 영역 */ | /* 내부 영역 */ | ||
.infobox__panel { | .infobox__panel { | ||
margin-top: 0. | margin-top: 0.72rem; | ||
padding: 0 0. | padding: 0 0.1rem 0.2rem; | ||
background: transparent; | background: transparent; | ||
} | } | ||
| 141번째 줄: | 220번째 줄: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
width: calc(100% - | width: calc(100% - 12px); | ||
aspect-ratio: 1 / 1; | aspect-ratio: 1 / 1; | ||
margin: 0 auto 0. | margin: 0 auto 0.9rem; | ||
padding: 0. | padding: 0.78rem; | ||
border: 0; | border: 0; | ||
border-radius: 0; | border-radius: 0; | ||
| 185번째 줄: | 264번째 줄: | ||
margin: 0 auto; | margin: 0 auto; | ||
object-fit: contain; | object-fit: contain; | ||
filter: drop-shadow(0 7px 5px rgba(72, 45, 32, 0.18)); | |||
} | } | ||
/* 정보칸 */ | /* 정보칸 */ | ||
.infobox__details { | .infobox__details { | ||
width: calc(100% - | width: calc(100% - 20px); | ||
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: 16px; | ||
table-layout: fixed; | table-layout: fixed; | ||
background: var(--infobox-row-bg); | background: | ||
linear-gradient( | |||
180deg, | |||
var(--infobox-row-bg), | |||
var(--infobox-panel-soft) | |||
); | |||
box-sizing: border-box; | box-sizing: border-box; | ||
box-shadow: | |||
0 6px 14px rgba(89, 58, 41, 0.12), | |||
inset 0 1px 0 rgba(255, 255, 255, 0.62); | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| 207번째 줄: | 295번째 줄: | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | padding: 0.58rem 0.76rem; | ||
border: 0; | border: 0; | ||
border-radius: 0; | border-radius: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background-color: | background-color: transparent; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
line-height: 1. | line-height: 1.4; | ||
text-align: left; | text-align: left; | ||
} | } | ||
| 224번째 줄: | 312번째 줄: | ||
); | ); | ||
background-position: right bottom; | background-position: right bottom; | ||
background-size: calc(100% - 0. | background-size: calc(100% - 0.76rem) 1px; | ||
} | } | ||
| 234번째 줄: | 322번째 줄: | ||
); | ); | ||
background-position: left bottom; | background-position: left bottom; | ||
background-size: calc(100% - 0. | background-size: calc(100% - 0.76rem) 1px; | ||
} | } | ||
| 249번째 줄: | 337번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 0. | font-size: 0.84rem; | ||
font-weight: 500; | font-weight: 500; | ||
vertical-align: top; | vertical-align: top; | ||
| 282번째 줄: | 370번째 줄: | ||
position: relative; | position: relative; | ||
display: block; | display: block; | ||
width: calc(100% - | width: calc(100% - 12px); | ||
margin: | margin: 1rem auto 0.64rem; | ||
padding: 0. | padding: 0.74rem 2.1rem 0.74rem 1.2rem; | ||
border: 0; | border: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox-ribbon); | background: | ||
linear-gradient( | |||
180deg, | |||
var(--infobox-ribbon-light), | |||
var(--infobox-ribbon-dark) | |||
); | |||
clip-path: polygon( | clip-path: polygon( | ||
0 0, | 0 0, | ||
100% 0, | 100% 0, | ||
calc(100% - | calc(100% - 13px) 50%, | ||
100% 100%, | 100% 100%, | ||
0 100%, | 0 100%, | ||
13px 50% | |||
); | ); | ||
color: var(--infobox-title-text); | color: var(--infobox-title-text); | ||
| 306번째 줄: | 399번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 1. | font-size: 1.1rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.14; | line-height: 1.14; | ||
| 319번째 줄: | 412번째 줄: | ||
0 1px 0 var(--infobox-text-outline), | 0 1px 0 var(--infobox-text-outline), | ||
1px 1px 0 var(--infobox-text-outline); | 1px 1px 0 var(--infobox-text-outline); | ||
filter: drop-shadow(0 3px 2px rgba(56, 31, 21, 0.22)); | |||
} | } | ||
| 327번째 줄: | 421번째 줄: | ||
position: absolute; | position: absolute; | ||
top: 50%; | top: 50%; | ||
right: 0. | right: 0.86rem; | ||
width: 0; | width: 0; | ||
height: 0; | height: 0; | ||
| 342번째 줄: | 436번째 줄: | ||
.infobox__games, | .infobox__games, | ||
.infobox__appearance-list { | .infobox__appearance-list { | ||
width: calc(100% - | width: calc(100% - 12px); | ||
margin: 0 auto 0. | margin: 0 auto 0.42rem; | ||
padding: 0. | padding: 0.9rem 0.96rem; | ||
border: | border: 2px solid var(--infobox-row-edge); | ||
border-radius: | border-radius: 12px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox-panel); | background: | ||
linear-gradient( | |||
180deg, | |||
var(--infobox-panel), | |||
var(--infobox-panel-soft) | |||
); | |||
color: var(--infobox-text); | color: var(--infobox-text); | ||
font-size: 0.92rem; | font-size: 0.92rem; | ||
line-height: 1.48; | line-height: 1.48; | ||
box-shadow: | |||
0 5px 12px rgba(89, 58, 41, 0.1), | |||
inset 0 1px 0 rgba(255, 255, 255, 0.5); | |||
} | } | ||
| 433번째 줄: | 535번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.1rem; | margin: 0 0 1.1rem; | ||
padding: 1rem 0. | padding: 1.1rem 0.46rem 0.74rem; | ||
border-radius: | border-radius: 24px; | ||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
.infobox::before { | .infobox::before { | ||
top: | top: 7px; | ||
right: | right: 7px; | ||
bottom: | bottom: 7px; | ||
left: | left: 7px; | ||
border-radius: | border-radius: 18px; | ||
} | } | ||
.infobox__title { | .infobox__title { | ||
width: 100%; | width: calc(100% + 6px); | ||
margin | margin: -1.8rem -3px 0; | ||
padding: 0. | padding: 0.92rem 2.1rem; | ||
font-size: 1. | font-size: 1.48rem; | ||
} | } | ||
.infobox__image { | .infobox__image { | ||
width: calc(100% - | width: calc(100% - 10px); | ||
padding: 0. | padding: 0.74rem; | ||
} | } | ||
.infobox__details { | .infobox__details { | ||
width: calc(100% - | width: calc(100% - 18px); | ||
border-radius: | border-radius: 15px; | ||
} | } | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | padding: 0.56rem 0.7rem; | ||
} | } | ||
.infobox__details tr:not(:last-child) th { | .infobox__details tr:not(:last-child) th { | ||
background-size: calc(100% - 0. | background-size: calc(100% - 0.7rem) 1px; | ||
} | } | ||
.infobox__details tr:not(:last-child) td { | .infobox__details tr:not(:last-child) td { | ||
background-size: calc(100% - 0. | background-size: calc(100% - 0.7rem) 1px; | ||
} | } | ||
| 515번째 줄: | 617번째 줄: | ||
@media screen and (max-width: 480px) { | @media screen and (max-width: 480px) { | ||
.infobox { | .infobox { | ||
padding: 0. | padding: 1rem 0.36rem 0.64rem; | ||
border-radius: | border-radius: 21px; | ||
} | } | ||
.infobox::before { | .infobox::before { | ||
top: | top: 6px; | ||
right: | right: 6px; | ||
bottom: | bottom: 6px; | ||
left: | left: 6px; | ||
border-radius: | border-radius: 15px; | ||
} | } | ||
.infobox__title { | .infobox__title { | ||
margin | width: calc(100% + 4px); | ||
padding: 0. | margin: -1.58rem -2px 0; | ||
font-size: 1. | padding: 0.8rem 1.78rem; | ||
font-size: 1.3rem; | |||
} | |||
.infobox__title::before, | |||
.infobox__title::after { | |||
width: 9px; | |||
height: 9px; | |||
} | |||
.infobox__title::before { | |||
left: 0.68rem; | |||
} | |||
.infobox__title::after { | |||
right: 0.68rem; | |||
} | } | ||
.infobox__image { | .infobox__image { | ||
width: calc(100% - 8px); | width: calc(100% - 8px); | ||
padding: 0. | padding: 0.64rem; | ||
} | } | ||
.infobox__details { | .infobox__details { | ||
width: calc(100% - | width: calc(100% - 14px); | ||
border-radius: | border-radius: 13px; | ||
} | } | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | padding: 0.5rem 0.6rem; | ||
} | } | ||
.infobox__details tr:not(:last-child) th { | .infobox__details tr:not(:last-child) th { | ||
background-size: calc(100% - 0. | background-size: calc(100% - 0.6rem) 1px; | ||
} | } | ||
.infobox__details tr:not(:last-child) td { | .infobox__details tr:not(:last-child) td { | ||
background-size: calc(100% - 0. | background-size: calc(100% - 0.6rem) 1px; | ||
} | } | ||
| 574번째 줄: | 691번째 줄: | ||
.infobox__games, | .infobox__games, | ||
.infobox__appearance-list { | .infobox__appearance-list { | ||
width: calc(100% - | width: calc(100% - 8px); | ||
} | } | ||
| 581번째 줄: | 698번째 줄: | ||
.infobox__panel > h2, | .infobox__panel > h2, | ||
.infobox__panel > h3 { | .infobox__panel > h3 { | ||
padding: 0. | padding: 0.66rem 1.82rem 0.66rem 1rem; | ||
font-size: 1. | font-size: 1.05rem; | ||
} | } | ||
| 589번째 줄: | 706번째 줄: | ||
.infobox__games, | .infobox__games, | ||
.infobox__appearance-list { | .infobox__appearance-list { | ||
padding: 0. | padding: 0.78rem 0.82rem; | ||
font-size: 0.95rem; | font-size: 0.95rem; | ||
} | } | ||
| 597번째 줄: | 714번째 줄: | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .infobox { | html.skin-theme-clientpref-night .infobox { | ||
--infobox-outer: # | --infobox-outer: #452c24; | ||
--infobox-outer-edge: # | --infobox-outer-edge: #2f1d17; | ||
--infobox-inner: # | --infobox-outer-highlight: #624238; | ||
--infobox-inner-edge: # | --infobox-inner: #6a5242; | ||
--infobox-panel: # | --infobox-inner-edge: #8a6b53; | ||
--infobox-inner-glow: rgba(255, 233, 207, 0.08); | |||
--infobox-panel: #3b302b; | |||
--infobox-panel-soft: #332a26; | |||
--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: #7e4f3d; | ||
--infobox-row-bg: # | --infobox-ribbon-dark: #593326; | ||
--infobox-row-edge: # | --infobox-ribbon-light: #99634f; | ||
--infobox-row-divider: # | --infobox-row-bg: #41342f; | ||
--infobox-label-text: # | --infobox-row-edge: #856650; | ||
--infobox-text: # | --infobox-row-divider: #695142; | ||
--infobox-link: # | --infobox-label-text: #f1e5dc; | ||
--infobox-link-hover: # | --infobox-text: #f1e5dc; | ||
--infobox-focus: # | --infobox-link: #edbea5; | ||
--infobox-link-hover: #ffe0cf; | |||
--infobox-focus: #d2a187; | |||
--infobox-title-text: #fff8f2; | --infobox-title-text: #fff8f2; | ||
--infobox-text-outline: # | --infobox-text-outline: #2d1b15; | ||
--infobox-shadow: rgba(0, 0, 0, 0. | --infobox-shadow: rgba(0, 0, 0, 0.4); | ||
--infobox-pin: #98806a; | |||
--infobox-pin-edge: #4f4034; | |||
--infobox-pin-light: #d8c2aa; | |||
} | } | ||
} | } | ||
| 621번째 줄: | 746번째 줄: | ||
@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: # | --infobox-outer: #452c24; | ||
--infobox-outer-edge: # | --infobox-outer-edge: #2f1d17; | ||
--infobox-inner: # | --infobox-outer-highlight: #624238; | ||
--infobox-inner-edge: # | --infobox-inner: #6a5242; | ||
--infobox-panel: # | --infobox-inner-edge: #8a6b53; | ||
--infobox-inner-glow: rgba(255, 233, 207, 0.08); | |||
--infobox-panel: #3b302b; | |||
--infobox-panel-soft: #332a26; | |||
--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: #7e4f3d; | ||
--infobox-row-bg: # | --infobox-ribbon-dark: #593326; | ||
--infobox-row-edge: # | --infobox-ribbon-light: #99634f; | ||
--infobox-row-divider: # | --infobox-row-bg: #41342f; | ||
--infobox-label-text: # | --infobox-row-edge: #856650; | ||
--infobox-text: # | --infobox-row-divider: #695142; | ||
--infobox-link: # | --infobox-label-text: #f1e5dc; | ||
--infobox-link-hover: # | --infobox-text: #f1e5dc; | ||
--infobox-focus: # | --infobox-link: #edbea5; | ||
--infobox-link-hover: #ffe0cf; | |||
--infobox-focus: #d2a187; | |||
--infobox-title-text: #fff8f2; | --infobox-title-text: #fff8f2; | ||
--infobox-text-outline: # | --infobox-text-outline: #2d1b15; | ||
--infobox-shadow: rgba(0, 0, 0, 0. | --infobox-shadow: rgba(0, 0, 0, 0.4); | ||
--infobox-pin: #98806a; | |||
--infobox-pin-edge: #4f4034; | |||
--infobox-pin-light: #d8c2aa; | |||
} | } | ||
} | } | ||
2026년 7월 23일 (목) 18:31 판
.infobox {
--infobox-outer: #5a382d;
--infobox-outer-edge: #382117;
--infobox-outer-highlight: #7a5143;
--infobox-inner: #ead2aa;
--infobox-inner-edge: #c59d6d;
--infobox-inner-glow: rgba(255, 246, 224, 0.42);
--infobox-panel: #f5e9d7;
--infobox-panel-soft: #efe0ca;
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Light.png");
--infobox-ribbon: #8a533f;
--infobox-ribbon-dark: #603628;
--infobox-ribbon-light: #a66b55;
--infobox-row-bg: #f8efe3;
--infobox-row-edge: #b99471;
--infobox-row-divider: #d4b99d;
--infobox-label-text: #2c1d17;
--infobox-text: #493329;
--infobox-link: #8c543e;
--infobox-link-hover: #5f3326;
--infobox-focus: #b47b5f;
--infobox-title-text: #fffaf4;
--infobox-text-outline: #3e241a;
--infobox-shadow: rgba(60, 34, 24, 0.3);
--infobox-pin: #c4a17e;
--infobox-pin-edge: #7f5d45;
--infobox-pin-light: #f1d9bd;
position: relative;
float: right;
clear: right;
width: 328px;
max-width: 100%;
margin: 0 0 1.25rem 1.25rem;
padding: 1.2rem 0.58rem 0.8rem;
border: 4px solid var(--infobox-outer-edge);
border-radius: 27px;
box-sizing: border-box;
background:
linear-gradient(
180deg,
var(--infobox-outer-highlight) 0,
var(--infobox-outer) 14%,
var(--infobox-outer) 86%,
var(--infobox-outer-edge) 100%
);
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.55;
box-shadow:
0 14px 30px var(--infobox-shadow),
0 4px 0 rgba(56, 33, 23, 0.32),
inset 0 1px 0 rgba(255, 255, 255, 0.12);
overflow: visible;
}
.infobox::before {
position: absolute;
top: 8px;
right: 8px;
bottom: 8px;
left: 8px;
border: 2px solid var(--infobox-inner-edge);
border-radius: 20px;
box-sizing: border-box;
background:
radial-gradient(
circle at 50% 0,
var(--infobox-inner-glow),
transparent 34%
),
var(--infobox-inner);
box-shadow:
inset 0 0 0 1px rgba(255, 250, 237, 0.52),
inset 0 -10px 24px rgba(121, 82, 52, 0.08);
content: "";
pointer-events: none;
}
.infobox::after {
position: absolute;
right: 20px;
bottom: 18px;
left: 20px;
height: 4px;
border-radius: 999px;
background:
linear-gradient(
90deg,
transparent,
rgba(103, 66, 45, 0.25) 18%,
rgba(103, 66, 45, 0.25) 82%,
transparent
);
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% + 10px);
margin: -1.95rem -5px 0;
padding: 1rem 2.65rem;
border: 0;
box-sizing: border-box;
background:
linear-gradient(
180deg,
var(--infobox-ribbon-light) 0,
var(--infobox-ribbon) 42%,
var(--infobox-ribbon-dark) 100%
);
clip-path: polygon(
0 0,
100% 0,
calc(100% - 18px) 50%,
100% 100%,
0 100%,
18px 50%
);
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.3rem;
font-weight: 700;
line-height: 1.14;
letter-spacing: -0.03em;
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),
0 3px 2px rgba(45, 24, 17, 0.38);
filter: drop-shadow(0 5px 3px rgba(56, 31, 21, 0.28));
overflow-wrap: anywhere;
word-break: keep-all;
}
.infobox__title::before,
.infobox__title::after {
position: absolute;
top: 50%;
width: 11px;
height: 11px;
border: 1px solid var(--infobox-pin-edge);
border-radius: 50%;
box-sizing: border-box;
background:
radial-gradient(
circle at 68% 28%,
var(--infobox-pin-light) 0,
var(--infobox-pin-light) 1px,
transparent 2px
),
var(--infobox-pin);
box-shadow:
0 1px 1px rgba(50, 31, 23, 0.45),
inset 0 -1px rgba(92, 62, 45, 0.3);
content: "";
transform: translateY(-50%);
}
.infobox__title::before {
left: 0.9rem;
}
.infobox__title::after {
right: 0.9rem;
}
.infobox__title p {
margin: 0;
font: inherit;
color: inherit;
line-height: inherit;
}
/* 내부 영역 */
.infobox__panel {
margin-top: 0.72rem;
padding: 0 0.1rem 0.2rem;
background: transparent;
}
/* 이미지칸 */
.infobox__image {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: calc(100% - 12px);
aspect-ratio: 1 / 1;
margin: 0 auto 0.9rem;
padding: 0.78rem;
border: 0;
border-radius: 0;
box-sizing: border-box;
background-color: transparent;
background-image: var(--infobox-image-bg);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
box-shadow: none;
overflow: visible;
text-align: center;
}
.infobox__image::before,
.infobox__image::after {
display: 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 7px 5px rgba(72, 45, 32, 0.18));
}
/* 정보칸 */
.infobox__details {
width: calc(100% - 20px);
margin: 0 auto;
border: 2px solid var(--infobox-row-edge);
border-collapse: separate;
border-spacing: 0;
border-radius: 16px;
table-layout: fixed;
background:
linear-gradient(
180deg,
var(--infobox-row-bg),
var(--infobox-panel-soft)
);
box-sizing: border-box;
box-shadow:
0 6px 14px rgba(89, 58, 41, 0.12),
inset 0 1px 0 rgba(255, 255, 255, 0.62);
overflow: hidden;
}
.infobox__details tr {
background: transparent;
}
.infobox__details th,
.infobox__details td {
padding: 0.58rem 0.76rem;
border: 0;
border-radius: 0;
box-sizing: border-box;
background-color: transparent;
background-repeat: no-repeat;
line-height: 1.4;
text-align: left;
}
.infobox__details tr:not(:last-child) th {
background-image:
linear-gradient(
var(--infobox-row-divider),
var(--infobox-row-divider)
);
background-position: right bottom;
background-size: calc(100% - 0.76rem) 1px;
}
.infobox__details tr:not(:last-child) td {
background-image:
linear-gradient(
var(--infobox-row-divider),
var(--infobox-row-divider)
);
background-position: left bottom;
background-size: calc(100% - 0.76rem) 1px;
}
.infobox__details th {
width: 31%;
color: var(--infobox-label-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.84rem;
font-weight: 500;
vertical-align: top;
text-shadow: none;
word-break: keep-all;
}
.infobox__details td {
width: 69%;
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.9rem;
font-weight: 300;
vertical-align: middle;
word-break: break-word;
overflow-wrap: anywhere;
}
/* 섹션 제목 */
.infobox__section-title,
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3 {
position: relative;
display: block;
width: calc(100% - 12px);
margin: 1rem auto 0.64rem;
padding: 0.74rem 2.1rem 0.74rem 1.2rem;
border: 0;
box-sizing: border-box;
background:
linear-gradient(
180deg,
var(--infobox-ribbon-light),
var(--infobox-ribbon-dark)
);
clip-path: polygon(
0 0,
100% 0,
calc(100% - 13px) 50%,
100% 100%,
0 100%,
13px 50%
);
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.1rem;
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);
filter: drop-shadow(0 3px 2px rgba(56, 31, 21, 0.22));
}
.infobox__section-title::after,
.infobox__subtitle::after,
.infobox__panel > h2::after,
.infobox__panel > h3::after {
position: absolute;
top: 50%;
right: 0.86rem;
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% - 12px);
margin: 0 auto 0.42rem;
padding: 0.9rem 0.96rem;
border: 2px solid var(--infobox-row-edge);
border-radius: 12px;
box-sizing: border-box;
background:
linear-gradient(
180deg,
var(--infobox-panel),
var(--infobox-panel-soft)
);
color: var(--infobox-text);
font-size: 0.92rem;
line-height: 1.48;
box-shadow:
0 5px 12px rgba(89, 58, 41, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
/* 공통 텍스트 */
.infobox__details p,
.infobox__section-body p,
.infobox__listbox p,
.infobox__games p,
.infobox__appearance-list p {
margin: 0.1em 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: 1.1rem 0.46rem 0.74rem;
border-radius: 24px;
font-size: 1rem;
}
.infobox::before {
top: 7px;
right: 7px;
bottom: 7px;
left: 7px;
border-radius: 18px;
}
.infobox__title {
width: calc(100% + 6px);
margin: -1.8rem -3px 0;
padding: 0.92rem 2.1rem;
font-size: 1.48rem;
}
.infobox__image {
width: calc(100% - 10px);
padding: 0.74rem;
}
.infobox__details {
width: calc(100% - 18px);
border-radius: 15px;
}
.infobox__details th,
.infobox__details td {
padding: 0.56rem 0.7rem;
}
.infobox__details tr:not(:last-child) th {
background-size: calc(100% - 0.7rem) 1px;
}
.infobox__details tr:not(:last-child) td {
background-size: calc(100% - 0.7rem) 1px;
}
.infobox__details th {
width: 31%;
font-size: 0.96rem;
}
.infobox__details td {
width: 69%;
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% - 10px);
}
.infobox__section-title,
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3 {
font-size: 1.2rem;
}
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
font-size: 1rem;
}
}
/* 480px 이하 */
@media screen and (max-width: 480px) {
.infobox {
padding: 1rem 0.36rem 0.64rem;
border-radius: 21px;
}
.infobox::before {
top: 6px;
right: 6px;
bottom: 6px;
left: 6px;
border-radius: 15px;
}
.infobox__title {
width: calc(100% + 4px);
margin: -1.58rem -2px 0;
padding: 0.8rem 1.78rem;
font-size: 1.3rem;
}
.infobox__title::before,
.infobox__title::after {
width: 9px;
height: 9px;
}
.infobox__title::before {
left: 0.68rem;
}
.infobox__title::after {
right: 0.68rem;
}
.infobox__image {
width: calc(100% - 8px);
padding: 0.64rem;
}
.infobox__details {
width: calc(100% - 14px);
border-radius: 13px;
}
.infobox__details th,
.infobox__details td {
padding: 0.5rem 0.6rem;
}
.infobox__details tr:not(:last-child) th {
background-size: calc(100% - 0.6rem) 1px;
}
.infobox__details tr:not(:last-child) td {
background-size: calc(100% - 0.6rem) 1px;
}
.infobox__details th {
width: 33%;
font-size: 0.89rem;
}
.infobox__details td {
width: 67%;
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% - 8px);
}
.infobox__section-title,
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3 {
padding: 0.66rem 1.82rem 0.66rem 1rem;
font-size: 1.05rem;
}
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
padding: 0.78rem 0.82rem;
font-size: 0.95rem;
}
}
/* 수동 다크 모드 */
@media screen {
html.skin-theme-clientpref-night .infobox {
--infobox-outer: #452c24;
--infobox-outer-edge: #2f1d17;
--infobox-outer-highlight: #624238;
--infobox-inner: #6a5242;
--infobox-inner-edge: #8a6b53;
--infobox-inner-glow: rgba(255, 233, 207, 0.08);
--infobox-panel: #3b302b;
--infobox-panel-soft: #332a26;
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png");
--infobox-ribbon: #7e4f3d;
--infobox-ribbon-dark: #593326;
--infobox-ribbon-light: #99634f;
--infobox-row-bg: #41342f;
--infobox-row-edge: #856650;
--infobox-row-divider: #695142;
--infobox-label-text: #f1e5dc;
--infobox-text: #f1e5dc;
--infobox-link: #edbea5;
--infobox-link-hover: #ffe0cf;
--infobox-focus: #d2a187;
--infobox-title-text: #fff8f2;
--infobox-text-outline: #2d1b15;
--infobox-shadow: rgba(0, 0, 0, 0.4);
--infobox-pin: #98806a;
--infobox-pin-edge: #4f4034;
--infobox-pin-light: #d8c2aa;
}
}
/* OS 다크 모드 */
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox {
--infobox-outer: #452c24;
--infobox-outer-edge: #2f1d17;
--infobox-outer-highlight: #624238;
--infobox-inner: #6a5242;
--infobox-inner-edge: #8a6b53;
--infobox-inner-glow: rgba(255, 233, 207, 0.08);
--infobox-panel: #3b302b;
--infobox-panel-soft: #332a26;
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png");
--infobox-ribbon: #7e4f3d;
--infobox-ribbon-dark: #593326;
--infobox-ribbon-light: #99634f;
--infobox-row-bg: #41342f;
--infobox-row-edge: #856650;
--infobox-row-divider: #695142;
--infobox-label-text: #f1e5dc;
--infobox-text: #f1e5dc;
--infobox-link: #edbea5;
--infobox-link-hover: #ffe0cf;
--infobox-focus: #d2a187;
--infobox-title-text: #fff8f2;
--infobox-text-outline: #2d1b15;
--infobox-shadow: rgba(0, 0, 0, 0.4);
--infobox-pin: #98806a;
--infobox-pin-edge: #4f4034;
--infobox-pin-light: #d8c2aa;
}
}