틀:정보상자/styles.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
편집 요약 없음 태그: 되돌려진 기여 모바일 편집 모바일 웹 편집 |
편집 요약 없음 태그: 수동 되돌리기 되돌려진 기여 모바일 편집 모바일 웹 편집 |
||
| 1번째 줄: | 1번째 줄: | ||
.infobox { | .infobox { | ||
--infobox- | --infobox-frame: #895f54; | ||
--infobox- | --infobox-frame-dark: #69453d; | ||
--infobox- | --infobox-shell: #d8b9a9; | ||
--infobox- | --infobox-paper: #fff8f1; | ||
--infobox- | --infobox-rule: #d2afa0; | ||
--infobox- | --infobox-label: #9a695c; | ||
--infobox- | --infobox-label-border: #744b42; | ||
--infobox- | --infobox-label-divider: #c99e8e; | ||
--infobox- | --infobox-label-text: #fffaf6; | ||
--infobox- | --infobox-title: #78483b; | ||
--infobox- | --infobox-title-border: #5b342c; | ||
--infobox- | --infobox-text-outline: #4f2d25; | ||
--infobox- | --infobox-ink: #50382f; | ||
--infobox- | --infobox-link: #925744; | ||
--infobox- | --infobox-link-hover: #683a2d; | ||
--infobox- | --infobox-focus: #aa7564; | ||
--infobox- | --infobox-stitch: rgba(111, 70, 61, 0.38); | ||
--infobox- | --infobox-shadow: rgba(83, 46, 38, 0.2); | ||
--infobox- | --infobox-cell-shadow: rgba(99, 57, 46, 0.08); | ||
--infobox- | --infobox-nail: #aaa29d; | ||
--infobox- | --infobox-nail-border: #746d69; | ||
--infobox- | --infobox-nail-highlight: #ece9e6; | ||
position: relative; | position: relative; | ||
isolation: isolate; | |||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
| 29번째 줄: | 30번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.25rem 1.25rem; | margin: 0 0 1.25rem 1.25rem; | ||
padding: 0. | padding: 0.78rem; | ||
border: | border: 2px solid var(--infobox-frame-dark); | ||
border-radius: | border-radius: 22px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox- | background: var(--infobox-shell); | ||
color: var(--infobox- | color: var(--infobox-ink); | ||
font-family: | font-family: | ||
"SB Aggro L", | "SB Aggro L", | ||
| 47번째 줄: | 48번째 줄: | ||
font-weight: 300; | font-weight: 300; | ||
line-height: 1.55; | line-height: 1.55; | ||
box-shadow: 0 10px | box-shadow: 0 10px 25px var(--infobox-shadow); | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| 53번째 줄: | 54번째 줄: | ||
.infobox::before { | .infobox::before { | ||
position: absolute; | position: absolute; | ||
top: | z-index: -2; | ||
right: | top: 0; | ||
bottom: | right: 0; | ||
left: | bottom: 0; | ||
border: | left: 0; | ||
border-radius: 20px; | |||
background-image: url("/wiki/Special:Redirect/file/paper_texture.png"); | |||
background: | background-repeat: repeat; | ||
background-position: left top; | |||
background-size: 520px auto; | |||
content: ""; | content: ""; | ||
opacity: 0.025; | |||
pointer-events: none; | |||
} | } | ||
.infobox::after { | .infobox::after { | ||
position: absolute; | position: absolute; | ||
top: | z-index: -1; | ||
right: | top: 5px; | ||
bottom: | right: 5px; | ||
left: | bottom: 5px; | ||
border: 1px | left: 5px; | ||
border-radius: | border: 1px dashed var(--infobox-stitch); | ||
border-radius: 16px; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
content: ""; | content: ""; | ||
pointer-events: none; | |||
} | } | ||
| 87번째 줄: | 94번째 줄: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
width: | width: 100%; | ||
min-height: 0; | |||
padding: 0. | padding: 0.9rem 2.7rem; | ||
border: 2px solid var(--infobox- | border: 2px solid var(--infobox-title-border); | ||
border-radius: 0; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox- | background-color: var(--infobox-title); | ||
background-image: | |||
color: | linear-gradient( | ||
rgba(120, 72, 59, 0.9), | |||
rgba(120, 72, 59, 0.9) | |||
), | |||
url("/wiki/Special:Redirect/file/wood_texture.png"); | |||
background-repeat: | |||
no-repeat, | |||
repeat; | |||
background-position: | |||
center, | |||
center; | |||
background-size: | |||
100% 100%, | |||
360px auto; | |||
color: #fffaf6; | |||
font-family: | font-family: | ||
"SB Aggro B", | "SB Aggro B", | ||
| 104번째 줄: | 126번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 1. | font-size: 1.3rem; | ||
font-weight: 700; | font-weight: 700; | ||
letter-spacing: -0.025em; | |||
line-height: 1.12; | |||
text-align: center; | text-align: center; | ||
text-shadow: | text-shadow: | ||
| 117번째 줄: | 139번째 줄: | ||
-1px 1px 0 var(--infobox-text-outline), | -1px 1px 0 var(--infobox-text-outline), | ||
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), | ||
0 2px 2px rgba(55, 29, 24, 0.35); | |||
filter: drop-shadow(0 3px 2px rgba(79, 42, 34, 0.25)); | |||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: keep-all; | word-break: keep-all; | ||
} | |||
/* 이름칸 왼쪽 못 */ | |||
.infobox__title::before { | |||
position: absolute; | |||
top: 50%; | |||
left: 0.72rem; | |||
width: 10px; | |||
height: 10px; | |||
border: 1px solid var(--infobox-nail-border); | |||
border-radius: 50%; | |||
box-sizing: border-box; | |||
background-color: var(--infobox-nail); | |||
background-image: | |||
radial-gradient( | |||
circle at 68% 28%, | |||
var(--infobox-nail-highlight) 0, | |||
var(--infobox-nail-highlight) 1px, | |||
transparent 2px | |||
); | |||
box-shadow: | |||
0 1px 1px rgba(54, 44, 40, 0.45), | |||
inset 0 -1px rgba(75, 68, 64, 0.25); | |||
content: ""; | |||
transform: translateY(-50%); | |||
} | |||
/* 이름칸 오른쪽 못 */ | |||
.infobox__title::after { | |||
position: absolute; | |||
top: 50%; | |||
right: 0.72rem; | |||
width: 10px; | |||
height: 10px; | |||
border: 1px solid var(--infobox-nail-border); | |||
border-radius: 50%; | |||
box-sizing: border-box; | |||
background-color: var(--infobox-nail); | |||
background-image: | |||
radial-gradient( | |||
circle at 68% 28%, | |||
var(--infobox-nail-highlight) 0, | |||
var(--infobox-nail-highlight) 1px, | |||
transparent 2px | |||
); | |||
box-shadow: | |||
0 1px 1px rgba(54, 44, 40, 0.45), | |||
inset 0 -1px rgba(75, 68, 64, 0.25); | |||
content: ""; | |||
transform: translateY(-50%); | |||
} | } | ||
.infobox__title p { | .infobox__title p { | ||
position: relative; | |||
z-index: 1; | |||
margin: 0; | margin: 0; | ||
font: inherit; | font: inherit; | ||
| 129번째 줄: | 205번째 줄: | ||
} | } | ||
.infobox__panel { | .infobox__panel { | ||
margin-top: 0. | margin-top: 0.68rem; | ||
padding: 0 0 | padding: 0; | ||
border: 0; | |||
border-radius: 0; | |||
background: transparent; | background: transparent; | ||
overflow: visible; | |||
} | |||
.infobox__image, | |||
.infobox__details { | |||
position: relative; | |||
z-index: 1; | |||
} | } | ||
/* | /* 사진칸 */ | ||
.infobox__image { | .infobox__image { | ||
display: flex; | |||
width: | align-items: center; | ||
min-height: | justify-content: center; | ||
max-height: | width: 100%; | ||
min-height: 82px; | |||
padding: 0. | max-height: 225px; | ||
border: | padding: 0.58rem; | ||
border: 1px solid var(--infobox-rule); | |||
border-radius: 11px; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background | background: var(--infobox-paper); | ||
box-shadow: 0 3px 8px var(--infobox-cell-shadow); | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.infobox__image::before { | .infobox__image::before { | ||
position: absolute; | position: absolute; | ||
top: | top: 0; | ||
right: | right: 0; | ||
bottom: | bottom: 0; | ||
left: | left: 0; | ||
background-image: | |||
linear-gradient( | |||
45deg, | |||
rgba(145, 87, 70, 0.025) 25%, | |||
transparent 25%, | |||
transparent 75%, | |||
rgba(145, 87, 70, 0.025) 75% | |||
), | |||
linear-gradient( | |||
-45deg, | |||
rgba(145, 87, 70, 0.025) 25%, | |||
transparent 25%, | |||
transparent 75%, | |||
rgba(145, 87, 70, 0.025) 75% | |||
); | |||
background-position: | |||
0 0, | |||
8px 8px; | |||
background-size: 16px 16px; | |||
content: ""; | content: ""; | ||
pointer-events: none; | pointer-events: none; | ||
} | |||
.infobox__image::after { | |||
position: absolute; | |||
right: 0.7rem; | |||
bottom: 0.52rem; | |||
width: 30px; | |||
height: 3px; | |||
border-radius: 3px; | |||
background: var(--infobox-label); | |||
content: ""; | |||
opacity: 0.38; | |||
} | } | ||
| 191번째 줄: | 289번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
max-height: | max-height: 198px; | ||
margin: 0 auto; | margin: 0 auto; | ||
object-fit: contain; | object-fit: contain; | ||
filter: drop-shadow(0 3px 2px rgba(82, 48, 39, 0.14)); | |||
} | } | ||
/* | /* 정보칸 */ | ||
.infobox__details { | .infobox__details { | ||
width: | width: 100%; | ||
margin: 0 | margin: 0.3rem 0 -0.22rem; | ||
border: 0; | border: 0; | ||
border-collapse: separate; | border-collapse: separate; | ||
border-spacing: 0 0. | border-spacing: 0 0.3rem; | ||
table-layout: fixed; | table-layout: fixed; | ||
background: transparent; | background: transparent; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
font-family: | |||
"SB Aggro L", | |||
"SB 어그로 L", | |||
-apple-system, | |||
BlinkMacSystemFont, | |||
"Segoe UI", | |||
"Apple SD Gothic Neo", | |||
"Noto Sans KR", | |||
sans-serif; | |||
box-shadow: none; | |||
overflow: visible; | |||
} | |||
.infobox__image + .infobox__details { | |||
margin-top: 0.3rem; | |||
} | } | ||
| 214번째 줄: | 328번째 줄: | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | position: relative; | ||
min-width: 0; | |||
padding: 0.54rem; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
vertical-align: middle; | vertical-align: middle; | ||
line-height: 1. | line-height: 1.42; | ||
overflow: hidden; | |||
} | } | ||
/* 항목명 */ | |||
.infobox__details th { | .infobox__details th { | ||
width: | width: 32%; | ||
border: | border: 1px solid var(--infobox-label-border); | ||
border-right: | border-right-color: var(--infobox-label-divider); | ||
border-radius: | border-radius: 10px 0 0 10px; | ||
background: var(--infobox | background: var(--infobox-label); | ||
color: var(--infobox- | color: var(--infobox-label-text); | ||
font-family: | font-family: | ||
"SB Aggro M", | "SB Aggro M", | ||
| 236번째 줄: | 354번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 0. | font-size: 0.82rem; | ||
font-weight: 500; | font-weight: 500; | ||
text-align: left; | text-align: left; | ||
| 249번째 줄: | 367번째 줄: | ||
1px 1px 0 var(--infobox-text-outline); | 1px 1px 0 var(--infobox-text-outline); | ||
word-break: keep-all; | word-break: keep-all; | ||
box-shadow: 0 2px 4px rgba(86, 49, 41, 0.13); | |||
} | |||
.infobox__details th::after { | |||
display: none; | |||
} | } | ||
/* 항목값 */ | |||
.infobox__details td { | .infobox__details td { | ||
width: | width: 68%; | ||
border: | border: 1px solid var(--infobox-rule); | ||
border-left: 0; | border-left: 0; | ||
border-radius: 0 | border-radius: 0 10px 10px 0; | ||
background: var(--infobox- | background: var(--infobox-paper); | ||
color: var(--infobox- | color: var(--infobox-ink); | ||
font-family: | font-family: | ||
"SB Aggro L", | "SB Aggro L", | ||
| 267번째 줄: | 391번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 0. | font-size: 0.89rem; | ||
font-weight: 300; | font-weight: 300; | ||
text-align: left; | text-align: left; | ||
overflow-wrap: anywhere; | |||
word-break: break-word; | word-break: break-word; | ||
box-shadow: 0 2px 5px var(--infobox-cell-shadow); | |||
} | } | ||
.infobox__details p { | |||
margin: 0.14em 0; | |||
.infobox__details | |||
margin: 0. | |||
font: inherit; | font: inherit; | ||
} | } | ||
.infobox__details ul, | .infobox__details ul, | ||
.infobox__details | .infobox__details ol { | ||
margin: 0.18em 0 0.18em 1.1em; | |||
margin: 0. | |||
padding: 0; | padding: 0; | ||
font: inherit; | font: inherit; | ||
} | } | ||
.infobox__details | .infobox__details li { | ||
margin: 0.1em 0; | |||
margin: 0. | |||
font: inherit; | font: inherit; | ||
} | } | ||
.infobox__details sup { | |||
line-height: 1; | |||
.infobox__details | |||
line-height: | |||
} | } | ||
| 404번째 줄: | 424번째 줄: | ||
font-family: inherit; | font-family: inherit; | ||
font-weight: inherit; | font-weight: inherit; | ||
text-decoration: | text-decoration: underline; | ||
} | } | ||
| 413번째 줄: | 433번째 줄: | ||
.infobox a:focus { | .infobox a:focus { | ||
border-radius: 3px; | |||
outline: 2px solid var(--infobox-focus); | outline: 2px solid var(--infobox-focus); | ||
outline-offset: 2px; | outline-offset: 2px; | ||
} | } | ||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
.infobox { | .infobox { | ||
| 425번째 줄: | 445번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.1rem; | margin: 0 0 1.1rem; | ||
padding: 0. | padding: 0.68rem; | ||
border-radius: | border-radius: 20px; | ||
font-size: 1rem; | font-size: 1rem; | ||
line-height: 1.55; | |||
box-shadow: 0 8px 20px var(--infobox-shadow); | |||
} | } | ||
.infobox::before { | .infobox::before { | ||
border-radius: 18px; | |||
border-radius: | |||
} | } | ||
.infobox::after { | .infobox::after { | ||
border-radius: 15px; | |||
} | |||
left: | .infobox__title { | ||
padding: 1rem 2.9rem; | |||
font-size: 1.65rem; | |||
line-height: 1.12; | |||
} | |||
.infobox__title::before { | |||
left: 0.84rem; | |||
width: 12px; | |||
height: 12px; | |||
} | } | ||
.infobox__title | .infobox__title::after { | ||
right: 0.84rem; | |||
width: 12px; | |||
height: 12px; | |||
} | } | ||
. | .infobox__panel { | ||
margin-top: 0.62rem; | |||
} | } | ||
.infobox__image { | .infobox__image { | ||
min-height: | min-height: 90px; | ||
max-height: | max-height: 235px; | ||
padding: 0. | padding: 0.58rem; | ||
} | } | ||
.infobox__image img { | .infobox__image img { | ||
max-height: | max-height: 208px; | ||
} | |||
.infobox__details { | |||
width: 100%; | |||
margin-right: 0; | |||
margin-left: 0; | |||
border-spacing: 0 0.28rem; | |||
} | |||
.infobox__image + .infobox__details { | |||
margin-top: 0.28rem; | |||
} | } | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | padding: 0.58rem; | ||
line-height: 1.42; | |||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: 30%; | ||
font-size: 0.96rem; | font-size: 0.96rem; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
width: | width: 70%; | ||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
} | } | ||
@media screen and (max-width: 480px) { | @media screen and (max-width: 480px) { | ||
.infobox { | .infobox { | ||
padding: 0. | padding: 0.56rem; | ||
border-radius: | border-radius: 18px; | ||
} | } | ||
.infobox::before { | .infobox::before { | ||
border-radius: 16px; | |||
border-radius: | |||
} | } | ||
.infobox::after { | .infobox::after { | ||
top: | top: 4px; | ||
right: | right: 4px; | ||
bottom: | bottom: 4px; | ||
left: | left: 4px; | ||
border-radius: 14px; | border-radius: 14px; | ||
} | } | ||
.infobox__title | .infobox__title { | ||
padding: 0.9rem 2.4rem; | |||
font-size: 1.48rem; | |||
line-height: 1.12; | |||
} | |||
. | |||
.infobox__title::before { | |||
left: 0.68rem; | |||
width: 10px; | |||
. | height: 10px; | ||
} | |||
width: | |||
.infobox__title::after { | |||
right: 0.68rem; | |||
width: 10px; | |||
height: 10px; | |||
} | } | ||
. | .infobox__panel { | ||
margin-top: 0.58rem; | |||
} | } | ||
.infobox__image { | .infobox__image { | ||
min-height: | min-height: 72px; | ||
max-height: | max-height: 205px; | ||
padding: 0. | padding: 0.46rem; | ||
border-radius: 9px; | |||
} | } | ||
.infobox__image img { | .infobox__image img { | ||
max-height: | max-height: 180px; | ||
} | } | ||
.infobox__details { | .infobox__details { | ||
border-spacing: 0 0. | display: block; | ||
width: 100%; | |||
margin: 0.28rem 0 -0.16rem; | |||
border-spacing: 0; | |||
} | |||
.infobox__details tbody { | |||
display: block; | |||
width: 100%; | |||
} | |||
.infobox__details tr { | |||
display: grid; | |||
grid-template-columns: minmax(88px, 31%) minmax(0, 1fr); | |||
gap: 0; | |||
width: 100%; | |||
margin: 0 0 0.3rem; | |||
} | } | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | display: flex; | ||
align-items: center; | |||
width: auto; | |||
min-height: 0; | |||
padding: 0.54rem; | |||
line-height: 1.4; | |||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
justify-content: flex-start; | |||
font-size: 0. | border-radius: 9px 0 0 9px; | ||
font-size: 0.87rem; | |||
text-align: left; | |||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
border-radius: 0 9px 9px 0; | |||
font-size: 0. | font-size: 0.94rem; | ||
} | |||
} | |||
@media screen { | |||
html.skin-theme-clientpref-night .infobox { | |||
--infobox-frame: #825d54; | |||
--infobox-frame-dark: #573d37; | |||
--infobox-shell: #3d302d; | |||
--infobox-paper: #352b28; | |||
--infobox-rule: #67504a; | |||
--infobox-label: #704d45; | |||
--infobox-label-border: #4e342f; | |||
--infobox-label-divider: #8b675d; | |||
--infobox-label-text: #f8efeb; | |||
--infobox-title: #70463b; | |||
--infobox-title-border: #503027; | |||
--infobox-text-outline: #321e19; | |||
--infobox-ink: #f0e5df; | |||
--infobox-link: #e1aa91; | |||
--infobox-link-hover: #f4c7b2; | |||
--infobox-focus: #bd8978; | |||
--infobox-stitch: rgba(187, 133, 116, 0.32); | |||
--infobox-shadow: rgba(0, 0, 0, 0.34); | |||
--infobox-cell-shadow: rgba(0, 0, 0, 0.18); | |||
--infobox-nail: #918a86; | |||
--infobox-nail-border: #5d5753; | |||
--infobox-nail-highlight: #d5d1ce; | |||
background: var(--infobox-shell); | |||
} | |||
html.skin-theme-clientpref-night .infobox::before { | |||
opacity: 0.009; | |||
} | |||
html.skin-theme-clientpref-night .infobox__title { | |||
background-color: var(--infobox-title); | |||
background-image: | |||
linear-gradient( | |||
rgba(112, 70, 59, 0.92), | |||
rgba(112, 70, 59, 0.92) | |||
), | |||
url("/wiki/Special:Redirect/file/wood_texture.png"); | |||
background-repeat: | |||
no-repeat, | |||
repeat; | |||
background-position: | |||
center, | |||
center; | |||
background-size: | |||
100% 100%, | |||
360px auto; | |||
} | } | ||
. | html.skin-theme-clientpref-night .infobox__image { | ||
background: var(--infobox-paper); | |||
} | } | ||
. | html.skin-theme-clientpref-night .infobox__details th { | ||
background: var(--infobox-label); | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__details td { | |||
background: var(--infobox-paper); | |||
html.skin-theme-clientpref-night . | |||
} | } | ||
} | } | ||
@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- | --infobox-frame: #825d54; | ||
--infobox- | --infobox-frame-dark: #573d37; | ||
--infobox- | --infobox-shell: #3d302d; | ||
--infobox- | --infobox-paper: #352b28; | ||
--infobox- | --infobox-rule: #67504a; | ||
--infobox- | --infobox-label: #704d45; | ||
--infobox- | --infobox-label-border: #4e342f; | ||
--infobox- | --infobox-label-divider: #8b675d; | ||
--infobox- | --infobox-label-text: #f8efeb; | ||
--infobox- | --infobox-title: #70463b; | ||
--infobox- | --infobox-title-border: #503027; | ||
--infobox- | --infobox-text-outline: #321e19; | ||
--infobox- | --infobox-ink: #f0e5df; | ||
--infobox- | --infobox-link: #e1aa91; | ||
--infobox- | --infobox-link-hover: #f4c7b2; | ||
--infobox- | --infobox-focus: #bd8978; | ||
--infobox- | --infobox-stitch: rgba(187, 133, 116, 0.32); | ||
--infobox- | --infobox-shadow: rgba(0, 0, 0, 0.34); | ||
--infobox- | --infobox-cell-shadow: rgba(0, 0, 0, 0.18); | ||
--infobox- | --infobox-nail: #918a86; | ||
--infobox- | --infobox-nail-border: #5d5753; | ||
--infobox- | --infobox-nail-highlight: #d5d1ce; | ||
background: var(--infobox-shell); | |||
} | |||
html.skin-theme-clientpref-os .infobox::before { | |||
opacity: 0.009; | |||
} | |||
html.skin-theme-clientpref-os .infobox__title { | |||
background-color: var(--infobox-title); | |||
background-image: | |||
linear-gradient( | |||
rgba(112, 70, 59, 0.92), | |||
rgba(112, 70, 59, 0.92) | |||
), | |||
url("/wiki/Special:Redirect/file/wood_texture.png"); | |||
background-repeat: | |||
no-repeat, | |||
repeat; | |||
background-position: | |||
center, | |||
center; | |||
background-size: | |||
100% 100%, | |||
360px auto; | |||
} | |||
html.skin-theme-clientpref-os .infobox__image { | |||
background: var(--infobox-paper); | |||
} | |||
html.skin-theme-clientpref-os .infobox__details th { | |||
background: var(--infobox-label); | |||
} | |||
html.skin-theme-clientpref-os .infobox__details td { | |||
background: var(--infobox-paper); | |||
} | } | ||
} | } | ||
2026년 7월 23일 (목) 17:40 판
.infobox {
--infobox-frame: #895f54;
--infobox-frame-dark: #69453d;
--infobox-shell: #d8b9a9;
--infobox-paper: #fff8f1;
--infobox-rule: #d2afa0;
--infobox-label: #9a695c;
--infobox-label-border: #744b42;
--infobox-label-divider: #c99e8e;
--infobox-label-text: #fffaf6;
--infobox-title: #78483b;
--infobox-title-border: #5b342c;
--infobox-text-outline: #4f2d25;
--infobox-ink: #50382f;
--infobox-link: #925744;
--infobox-link-hover: #683a2d;
--infobox-focus: #aa7564;
--infobox-stitch: rgba(111, 70, 61, 0.38);
--infobox-shadow: rgba(83, 46, 38, 0.2);
--infobox-cell-shadow: rgba(99, 57, 46, 0.08);
--infobox-nail: #aaa29d;
--infobox-nail-border: #746d69;
--infobox-nail-highlight: #ece9e6;
position: relative;
isolation: isolate;
float: right;
clear: right;
width: 328px;
max-width: 100%;
margin: 0 0 1.25rem 1.25rem;
padding: 0.78rem;
border: 2px solid var(--infobox-frame-dark);
border-radius: 22px;
box-sizing: border-box;
background: var(--infobox-shell);
color: var(--infobox-ink);
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 10px 25px var(--infobox-shadow);
overflow: hidden;
}
.infobox::before {
position: absolute;
z-index: -2;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 20px;
background-image: url("/wiki/Special:Redirect/file/paper_texture.png");
background-repeat: repeat;
background-position: left top;
background-size: 520px auto;
content: "";
opacity: 0.025;
pointer-events: none;
}
.infobox::after {
position: absolute;
z-index: -1;
top: 5px;
right: 5px;
bottom: 5px;
left: 5px;
border: 1px dashed var(--infobox-stitch);
border-radius: 16px;
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: 100%;
min-height: 0;
padding: 0.9rem 2.7rem;
border: 2px solid var(--infobox-title-border);
border-radius: 0;
box-sizing: border-box;
background-color: var(--infobox-title);
background-image:
linear-gradient(
rgba(120, 72, 59, 0.9),
rgba(120, 72, 59, 0.9)
),
url("/wiki/Special:Redirect/file/wood_texture.png");
background-repeat:
no-repeat,
repeat;
background-position:
center,
center;
background-size:
100% 100%,
360px auto;
color: #fffaf6;
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;
letter-spacing: -0.025em;
line-height: 1.12;
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),
0 2px 2px rgba(55, 29, 24, 0.35);
filter: drop-shadow(0 3px 2px rgba(79, 42, 34, 0.25));
overflow-wrap: anywhere;
word-break: keep-all;
}
/* 이름칸 왼쪽 못 */
.infobox__title::before {
position: absolute;
top: 50%;
left: 0.72rem;
width: 10px;
height: 10px;
border: 1px solid var(--infobox-nail-border);
border-radius: 50%;
box-sizing: border-box;
background-color: var(--infobox-nail);
background-image:
radial-gradient(
circle at 68% 28%,
var(--infobox-nail-highlight) 0,
var(--infobox-nail-highlight) 1px,
transparent 2px
);
box-shadow:
0 1px 1px rgba(54, 44, 40, 0.45),
inset 0 -1px rgba(75, 68, 64, 0.25);
content: "";
transform: translateY(-50%);
}
/* 이름칸 오른쪽 못 */
.infobox__title::after {
position: absolute;
top: 50%;
right: 0.72rem;
width: 10px;
height: 10px;
border: 1px solid var(--infobox-nail-border);
border-radius: 50%;
box-sizing: border-box;
background-color: var(--infobox-nail);
background-image:
radial-gradient(
circle at 68% 28%,
var(--infobox-nail-highlight) 0,
var(--infobox-nail-highlight) 1px,
transparent 2px
);
box-shadow:
0 1px 1px rgba(54, 44, 40, 0.45),
inset 0 -1px rgba(75, 68, 64, 0.25);
content: "";
transform: translateY(-50%);
}
.infobox__title p {
position: relative;
z-index: 1;
margin: 0;
font: inherit;
color: inherit;
line-height: inherit;
}
.infobox__panel {
margin-top: 0.68rem;
padding: 0;
border: 0;
border-radius: 0;
background: transparent;
overflow: visible;
}
.infobox__image,
.infobox__details {
position: relative;
z-index: 1;
}
/* 사진칸 */
.infobox__image {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 82px;
max-height: 225px;
padding: 0.58rem;
border: 1px solid var(--infobox-rule);
border-radius: 11px;
box-sizing: border-box;
background: var(--infobox-paper);
box-shadow: 0 3px 8px var(--infobox-cell-shadow);
overflow: hidden;
}
.infobox__image::before {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-image:
linear-gradient(
45deg,
rgba(145, 87, 70, 0.025) 25%,
transparent 25%,
transparent 75%,
rgba(145, 87, 70, 0.025) 75%
),
linear-gradient(
-45deg,
rgba(145, 87, 70, 0.025) 25%,
transparent 25%,
transparent 75%,
rgba(145, 87, 70, 0.025) 75%
);
background-position:
0 0,
8px 8px;
background-size: 16px 16px;
content: "";
pointer-events: none;
}
.infobox__image::after {
position: absolute;
right: 0.7rem;
bottom: 0.52rem;
width: 30px;
height: 3px;
border-radius: 3px;
background: var(--infobox-label);
content: "";
opacity: 0.38;
}
.infobox__image a,
.infobox__image img {
position: relative;
z-index: 1;
}
.infobox__image img {
display: block;
width: auto;
max-width: 100%;
height: auto;
max-height: 198px;
margin: 0 auto;
object-fit: contain;
filter: drop-shadow(0 3px 2px rgba(82, 48, 39, 0.14));
}
/* 정보칸 */
.infobox__details {
width: 100%;
margin: 0.3rem 0 -0.22rem;
border: 0;
border-collapse: separate;
border-spacing: 0 0.3rem;
table-layout: fixed;
background: transparent;
box-sizing: border-box;
font-family:
"SB Aggro L",
"SB 어그로 L",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
box-shadow: none;
overflow: visible;
}
.infobox__image + .infobox__details {
margin-top: 0.3rem;
}
.infobox__details tr {
background: transparent;
}
.infobox__details th,
.infobox__details td {
position: relative;
min-width: 0;
padding: 0.54rem;
box-sizing: border-box;
vertical-align: middle;
line-height: 1.42;
overflow: hidden;
}
/* 항목명 */
.infobox__details th {
width: 32%;
border: 1px solid var(--infobox-label-border);
border-right-color: var(--infobox-label-divider);
border-radius: 10px 0 0 10px;
background: var(--infobox-label);
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.82rem;
font-weight: 500;
text-align: left;
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);
word-break: keep-all;
box-shadow: 0 2px 4px rgba(86, 49, 41, 0.13);
}
.infobox__details th::after {
display: none;
}
/* 항목값 */
.infobox__details td {
width: 68%;
border: 1px solid var(--infobox-rule);
border-left: 0;
border-radius: 0 10px 10px 0;
background: var(--infobox-paper);
color: var(--infobox-ink);
font-family:
"SB Aggro L",
"SB 어그로 L",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
font-size: 0.89rem;
font-weight: 300;
text-align: left;
overflow-wrap: anywhere;
word-break: break-word;
box-shadow: 0 2px 5px var(--infobox-cell-shadow);
}
.infobox__details p {
margin: 0.14em 0;
font: inherit;
}
.infobox__details ul,
.infobox__details ol {
margin: 0.18em 0 0.18em 1.1em;
padding: 0;
font: inherit;
}
.infobox__details li {
margin: 0.1em 0;
font: inherit;
}
.infobox__details sup {
line-height: 1;
}
.infobox a {
color: var(--infobox-link);
font-family: inherit;
font-weight: inherit;
text-decoration: underline;
}
.infobox a:hover {
color: var(--infobox-link-hover);
text-decoration: underline;
}
.infobox a:focus {
border-radius: 3px;
outline: 2px solid var(--infobox-focus);
outline-offset: 2px;
}
@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: 1rem;
line-height: 1.55;
box-shadow: 0 8px 20px var(--infobox-shadow);
}
.infobox::before {
border-radius: 18px;
}
.infobox::after {
border-radius: 15px;
}
.infobox__title {
padding: 1rem 2.9rem;
font-size: 1.65rem;
line-height: 1.12;
}
.infobox__title::before {
left: 0.84rem;
width: 12px;
height: 12px;
}
.infobox__title::after {
right: 0.84rem;
width: 12px;
height: 12px;
}
.infobox__panel {
margin-top: 0.62rem;
}
.infobox__image {
min-height: 90px;
max-height: 235px;
padding: 0.58rem;
}
.infobox__image img {
max-height: 208px;
}
.infobox__details {
width: 100%;
margin-right: 0;
margin-left: 0;
border-spacing: 0 0.28rem;
}
.infobox__image + .infobox__details {
margin-top: 0.28rem;
}
.infobox__details th,
.infobox__details td {
padding: 0.58rem;
line-height: 1.42;
}
.infobox__details th {
width: 30%;
font-size: 0.96rem;
}
.infobox__details td {
width: 70%;
font-size: 1rem;
}
}
@media screen and (max-width: 480px) {
.infobox {
padding: 0.56rem;
border-radius: 18px;
}
.infobox::before {
border-radius: 16px;
}
.infobox::after {
top: 4px;
right: 4px;
bottom: 4px;
left: 4px;
border-radius: 14px;
}
.infobox__title {
padding: 0.9rem 2.4rem;
font-size: 1.48rem;
line-height: 1.12;
}
.infobox__title::before {
left: 0.68rem;
width: 10px;
height: 10px;
}
.infobox__title::after {
right: 0.68rem;
width: 10px;
height: 10px;
}
.infobox__panel {
margin-top: 0.58rem;
}
.infobox__image {
min-height: 72px;
max-height: 205px;
padding: 0.46rem;
border-radius: 9px;
}
.infobox__image img {
max-height: 180px;
}
.infobox__details {
display: block;
width: 100%;
margin: 0.28rem 0 -0.16rem;
border-spacing: 0;
}
.infobox__details tbody {
display: block;
width: 100%;
}
.infobox__details tr {
display: grid;
grid-template-columns: minmax(88px, 31%) minmax(0, 1fr);
gap: 0;
width: 100%;
margin: 0 0 0.3rem;
}
.infobox__details th,
.infobox__details td {
display: flex;
align-items: center;
width: auto;
min-height: 0;
padding: 0.54rem;
line-height: 1.4;
}
.infobox__details th {
justify-content: flex-start;
border-radius: 9px 0 0 9px;
font-size: 0.87rem;
text-align: left;
}
.infobox__details td {
border-radius: 0 9px 9px 0;
font-size: 0.94rem;
}
}
@media screen {
html.skin-theme-clientpref-night .infobox {
--infobox-frame: #825d54;
--infobox-frame-dark: #573d37;
--infobox-shell: #3d302d;
--infobox-paper: #352b28;
--infobox-rule: #67504a;
--infobox-label: #704d45;
--infobox-label-border: #4e342f;
--infobox-label-divider: #8b675d;
--infobox-label-text: #f8efeb;
--infobox-title: #70463b;
--infobox-title-border: #503027;
--infobox-text-outline: #321e19;
--infobox-ink: #f0e5df;
--infobox-link: #e1aa91;
--infobox-link-hover: #f4c7b2;
--infobox-focus: #bd8978;
--infobox-stitch: rgba(187, 133, 116, 0.32);
--infobox-shadow: rgba(0, 0, 0, 0.34);
--infobox-cell-shadow: rgba(0, 0, 0, 0.18);
--infobox-nail: #918a86;
--infobox-nail-border: #5d5753;
--infobox-nail-highlight: #d5d1ce;
background: var(--infobox-shell);
}
html.skin-theme-clientpref-night .infobox::before {
opacity: 0.009;
}
html.skin-theme-clientpref-night .infobox__title {
background-color: var(--infobox-title);
background-image:
linear-gradient(
rgba(112, 70, 59, 0.92),
rgba(112, 70, 59, 0.92)
),
url("/wiki/Special:Redirect/file/wood_texture.png");
background-repeat:
no-repeat,
repeat;
background-position:
center,
center;
background-size:
100% 100%,
360px auto;
}
html.skin-theme-clientpref-night .infobox__image {
background: var(--infobox-paper);
}
html.skin-theme-clientpref-night .infobox__details th {
background: var(--infobox-label);
}
html.skin-theme-clientpref-night .infobox__details td {
background: var(--infobox-paper);
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox {
--infobox-frame: #825d54;
--infobox-frame-dark: #573d37;
--infobox-shell: #3d302d;
--infobox-paper: #352b28;
--infobox-rule: #67504a;
--infobox-label: #704d45;
--infobox-label-border: #4e342f;
--infobox-label-divider: #8b675d;
--infobox-label-text: #f8efeb;
--infobox-title: #70463b;
--infobox-title-border: #503027;
--infobox-text-outline: #321e19;
--infobox-ink: #f0e5df;
--infobox-link: #e1aa91;
--infobox-link-hover: #f4c7b2;
--infobox-focus: #bd8978;
--infobox-stitch: rgba(187, 133, 116, 0.32);
--infobox-shadow: rgba(0, 0, 0, 0.34);
--infobox-cell-shadow: rgba(0, 0, 0, 0.18);
--infobox-nail: #918a86;
--infobox-nail-border: #5d5753;
--infobox-nail-highlight: #d5d1ce;
background: var(--infobox-shell);
}
html.skin-theme-clientpref-os .infobox::before {
opacity: 0.009;
}
html.skin-theme-clientpref-os .infobox__title {
background-color: var(--infobox-title);
background-image:
linear-gradient(
rgba(112, 70, 59, 0.92),
rgba(112, 70, 59, 0.92)
),
url("/wiki/Special:Redirect/file/wood_texture.png");
background-repeat:
no-repeat,
repeat;
background-position:
center,
center;
background-size:
100% 100%,
360px auto;
}
html.skin-theme-clientpref-os .infobox__image {
background: var(--infobox-paper);
}
html.skin-theme-clientpref-os .infobox__details th {
background: var(--infobox-label);
}
html.skin-theme-clientpref-os .infobox__details td {
background: var(--infobox-paper);
}
}