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

식물 vs 좀비 위키
편집 요약 없음
태그: 되돌려진 기여 모바일 편집 모바일 웹 편집
편집 요약 없음
태그: 되돌려진 기여 모바일 편집 모바일 웹 편집
1번째 줄: 1번째 줄:
.infobox {
.infobox {
--infobox-frame: #895f54;
--infobox-outer: #6d473a;
--infobox-frame-dark: #69453d;
--infobox-outer-dark: #55362c;
--infobox-shell: #d8b9a9;
--infobox-inner: #ead6b3;
--infobox-paper: #fff8f1;
--infobox-inner-edge: #ccb186;
--infobox-rule: #d2afa0;
--infobox-line: #9a6b4f;
--infobox-label: #9a695c;
--infobox-line-soft: #c3a286;
--infobox-label-border: #744b42;
--infobox-paper: #efe5d7;
--infobox-label-divider: #c99e8e;
--infobox-paper-dark: #e6d8c3;
--infobox-label-text: #fffaf6;
--infobox-ribbon: #8d5a45;
--infobox-title: #78483b;
--infobox-ribbon-dark: #6f4332;
--infobox-title-border: #5b342c;
--infobox-label: #a06a52;
--infobox-text-outline: #4f2d25;
--infobox-label-dark: #7c4e3b;
--infobox-ink: #50382f;
--infobox-value: #f4ece0;
--infobox-link: #925744;
--infobox-value-border: #b89a7f;
--infobox-link-hover: #683a2d;
--infobox-ink: #463229;
--infobox-focus: #aa7564;
--infobox-link: #8a573f;
--infobox-stitch: rgba(111, 70, 61, 0.38);
--infobox-link-hover: #643d2d;
--infobox-shadow: rgba(83, 46, 38, 0.2);
--infobox-focus: #a7755e;
--infobox-cell-shadow: rgba(99, 57, 46, 0.08);
--infobox-title-text: #fffaf3;
--infobox-nail: #aaa29d;
--infobox-text-outline: #4c3025;
--infobox-nail-border: #746d69;
--infobox-shadow: rgba(74, 46, 35, 0.24);
--infobox-nail-highlight: #ece9e6;
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Light.png");


position: relative;
position: relative;
isolation: isolate;
float: right;
float: right;
clear: right;
clear: right;
30번째 줄: 29번째 줄:
max-width: 100%;
max-width: 100%;
margin: 0 0 1.25rem 1.25rem;
margin: 0 0 1.25rem 1.25rem;
padding: 0.78rem;
padding: 1rem 0.88rem;
border: 2px solid var(--infobox-frame-dark);
border: 0;
border-radius: 22px;
border-radius: 30px;
box-sizing: border-box;
box-sizing: border-box;
background: var(--infobox-shell);
background: var(--infobox-outer);
color: var(--infobox-ink);
color: var(--infobox-ink);
font-family:
font-family:
48번째 줄: 47번째 줄:
font-weight: 300;
font-weight: 300;
line-height: 1.55;
line-height: 1.55;
box-shadow: 0 10px 25px var(--infobox-shadow);
box-shadow: 0 10px 24px var(--infobox-shadow);
overflow: hidden;
overflow: hidden;
}
}
54번째 줄: 53번째 줄:
.infobox::before {
.infobox::before {
position: absolute;
position: absolute;
z-index: -2;
top: 18px;
top: 0;
right: 16px;
right: 0;
bottom: 18px;
bottom: 0;
left: 16px;
left: 0;
border: 3px solid var(--infobox-inner-edge);
border-radius: 20px;
border-radius: 28px;
background-image: url("/wiki/Special:Redirect/file/paper_texture.png");
box-sizing: border-box;
background-repeat: repeat;
background: var(--infobox-inner);
background-position: left top;
background-size: 520px auto;
content: "";
content: "";
opacity: 0.025;
pointer-events: none;
}
}


.infobox::after {
.infobox::after {
position: absolute;
position: absolute;
z-index: -1;
top: 28px;
top: 5px;
right: 24px;
right: 5px;
bottom: 28px;
bottom: 5px;
left: 24px;
left: 5px;
border: 1px solid rgba(154, 107, 79, 0.32);
border: 1px dashed var(--infobox-stitch);
border-radius: 22px;
border-radius: 16px;
box-sizing: border-box;
box-sizing: border-box;
content: "";
content: "";
pointer-events: none;
}
}


94번째 줄: 87번째 줄:
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
width: 100%;
width: calc(100% - 26px);
min-height: 0;
margin: 0 auto;
padding: 0.9rem 2.7rem;
padding: 0.95rem 2.4rem;
border: 2px solid var(--infobox-title-border);
border: 2px solid var(--infobox-ribbon-dark);
border-radius: 0;
box-sizing: border-box;
background: var(--infobox-ribbon);
clip-path: polygon(
clip-path: polygon(
8px 0,
4% 0,
calc(100% - 8px) 0,
96% 0,
100% 8px,
100% 100%,
100% calc(100% - 8px),
0 100%
calc(100% - 8px) 100%,
8px 100%,
0 calc(100% - 8px),
0 8px
);
);
box-sizing: border-box;
color: var(--infobox-title-text);
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:
font-family:
"SB Aggro B",
"SB Aggro B",
136번째 줄: 109번째 줄:
"Noto Sans KR",
"Noto Sans KR",
sans-serif;
sans-serif;
font-size: 1.3rem;
font-size: 1.28rem;
font-weight: 700;
font-weight: 700;
letter-spacing: -0.025em;
line-height: 1.16;
line-height: 1.12;
letter-spacing: -0.03em;
text-align: center;
text-align: center;
text-shadow:
text-shadow:
149번째 줄: 122번째 줄:
-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;
215번째 줄: 134번째 줄:
}
}


/* 내용 패널 */
.infobox__panel {
.infobox__panel {
margin-top: 0.68rem;
margin: 0.95rem 0 0;
padding: 0;
padding: 0 0.16rem 0.1rem;
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;
position: relative;
align-items: center;
width: calc(100% - 18px);
justify-content: center;
min-height: 90px;
width: 100%;
max-height: 246px;
min-height: 82px;
margin: 0 auto 0.82rem;
max-height: 225px;
padding: 0.9rem 0.9rem 1rem;
padding: 0.58rem;
border: 3px solid var(--infobox-line);
border: 1px solid var(--infobox-rule);
border-radius: 0;
border-radius: 11px;
box-sizing: border-box;
box-sizing: border-box;
background: var(--infobox-paper);
background-color: var(--infobox-paper);
box-shadow: 0 3px 8px var(--infobox-cell-shadow);
background-image: var(--infobox-image-bg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
box-shadow: inset 0 0 0 1px rgba(255, 248, 238, 0.55);
clip-path: polygon(
0 0,
100% 0,
100% 82%,
97% 82%,
97% 100%,
60% 100%,
56% 96%,
52% 100%,
6% 100%,
6% 15%,
0 12%
);
overflow: hidden;
overflow: hidden;
text-align: center;
}
}


.infobox__image::before {
.infobox__image::before {
position: absolute;
position: absolute;
top: 0;
top: 8px;
right: 0;
right: 8px;
bottom: 0;
bottom: 8px;
left: 0;
left: 8px;
background-image:
border: 1px solid rgba(154, 107, 79, 0.28);
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;
}
}


299번째 줄: 197번째 줄:
max-width: 100%;
max-width: 100%;
height: auto;
height: auto;
max-height: 198px;
max-height: 208px;
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: 100%;
width: calc(100% - 18px);
margin: 0.3rem 0 -0.22rem;
margin: 0 auto;
border: 0;
border: 0;
border-collapse: separate;
border-collapse: separate;
border-spacing: 0 0.3rem;
border-spacing: 0 0.42rem;
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;
}
}


338번째 줄: 220번째 줄:
.infobox__details th,
.infobox__details th,
.infobox__details td {
.infobox__details td {
position: relative;
padding: 0.52rem 0.8rem;
min-width: 0;
padding: 0.54rem;
box-sizing: border-box;
box-sizing: border-box;
vertical-align: middle;
vertical-align: middle;
line-height: 1.42;
line-height: 1.36;
overflow: hidden;
}
}


/* 항목명 */
.infobox__details th {
.infobox__details th {
width: 32%;
width: 29%;
border: 1px solid var(--infobox-label-border);
border: 2px solid var(--infobox-line-soft);
border-right-color: var(--infobox-label-divider);
border-right: 0;
border-radius: 10px 0 0 10px;
border-radius: 6px 0 0 6px;
background: var(--infobox-label);
background: var(--infobox-label);
color: var(--infobox-label-text);
color: var(--infobox-title-text);
font-family:
font-family:
"SB Aggro M",
"SB Aggro M",
364번째 줄: 242번째 줄:
"Noto Sans KR",
"Noto Sans KR",
sans-serif;
sans-serif;
font-size: 0.82rem;
font-size: 0.84rem;
font-weight: 500;
font-weight: 500;
text-align: left;
text-align: left;
377번째 줄: 255번째 줄:
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: 68%;
width: 71%;
border: 1px solid var(--infobox-rule);
border: 2px solid var(--infobox-value-border);
border-left: 0;
border-left: 0;
border-radius: 0 10px 10px 0;
border-radius: 0 6px 6px 0;
background: var(--infobox-paper);
background: var(--infobox-value);
color: var(--infobox-ink);
color: var(--infobox-ink);
font-family:
font-family:
401번째 줄: 273번째 줄:
"Noto Sans KR",
"Noto Sans KR",
sans-serif;
sans-serif;
font-size: 0.89rem;
font-size: 0.9rem;
font-weight: 300;
font-weight: 300;
text-align: left;
text-align: left;
word-break: break-word;
overflow-wrap: anywhere;
overflow-wrap: anywhere;
word-break: break-word;
box-shadow: 0 2px 5px var(--infobox-cell-shadow);
}
}


/* 섹션 제목 */
.infobox__section-title,
.infobox__subtitle,
.infobox__panel > h2,
.infobox__panel > h3 {
display: block;
width: calc(100% - 18px);
margin: 0.96rem auto 0.72rem;
padding: 0.72rem 2.2rem 0.72rem 1.45rem;
border: 2px solid var(--infobox-ribbon-dark);
box-sizing: border-box;
background: var(--infobox-ribbon);
clip-path: polygon(
3% 0,
97% 0,
100% 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.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);
}
.infobox__section-title::after,
.infobox__subtitle::after,
.infobox__panel > h2::after,
.infobox__panel > h3::after {
position: absolute;
top: 50%;
right: 0.92rem;
width: 0;
height: 0;
border-top: 9px solid var(--infobox-outer-dark);
border-right: 9px solid transparent;
border-left: 9px solid transparent;
content: "";
transform: translateY(-35%);
}
/* 섹션 본문 박스 */
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
width: calc(100% - 18px);
margin: 0 auto 0.4rem;
padding: 0.92rem 1rem;
border: 2px solid var(--infobox-value-border);
border-radius: 8px;
box-sizing: border-box;
background: var(--infobox-paper);
color: var(--infobox-ink);
font-size: 0.92rem;
line-height: 1.48;
}
.infobox__section-body p,
.infobox__listbox p,
.infobox__games p,
.infobox__appearance-list p,
.infobox__details p {
.infobox__details p {
margin: 0.14em 0;
margin: 0.12em 0;
font: inherit;
font: inherit;
}
}


.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,
.infobox__details ul,
.infobox__details ul,
.infobox__details ol {
.infobox__details ol {
margin: 0.18em 0 0.18em 1.1em;
margin: 0.16em 0 0.16em 1.15em;
padding: 0;
padding: 0;
font: inherit;
font: inherit;
}
}


.infobox__section-body li,
.infobox__listbox li,
.infobox__games li,
.infobox__appearance-list li,
.infobox__details li {
.infobox__details li {
margin: 0.1em 0;
margin: 0.12em 0;
font: inherit;
font: inherit;
}
}
429번째 줄: 392번째 줄:
.infobox sup,
.infobox sup,
.infobox__details small,
.infobox__details small,
.infobox__details sup {
.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;
position: static;
top: auto;
top: auto;
435번째 줄: 406번째 줄:
vertical-align: baseline;
vertical-align: baseline;
line-height: inherit;
line-height: inherit;
font-size: 0.85em;
}
}


450번째 줄: 422번째 줄:


.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 {
462번째 줄: 434번째 줄:
max-width: 100%;
max-width: 100%;
margin: 0 0 1.1rem;
margin: 0 0 1.1rem;
padding: 0.68rem;
padding: 0.92rem 0.76rem;
border-radius: 20px;
border-radius: 26px;
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;
top: 14px;
right: 12px;
bottom: 14px;
left: 12px;
border-radius: 24px;
}
}


.infobox::after {
.infobox::after {
border-radius: 15px;
top: 22px;
right: 19px;
bottom: 22px;
left: 19px;
border-radius: 18px;
}
}


.infobox__title {
.infobox__title,
padding: 1rem 2.9rem;
.infobox__section-title,
font-size: 1.65rem;
.infobox__subtitle,
line-height: 1.12;
.infobox__panel > h2,
.infobox__panel > h3,
.infobox__image,
.infobox__details,
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
width: calc(100% - 12px);
}
}


.infobox__title::before {
.infobox__title {
left: 0.84rem;
padding: 0.92rem 2.2rem;
width: 12px;
font-size: 1.5rem;
height: 12px;
}
 
.infobox__title::after {
right: 0.84rem;
width: 12px;
height: 12px;
}
 
.infobox__panel {
margin-top: 0.62rem;
}
}


.infobox__image {
.infobox__image {
min-height: 90px;
min-height: 94px;
max-height: 235px;
max-height: 250px;
padding: 0.58rem;
padding: 0.82rem 0.82rem 0.94rem;
}
}


.infobox__image img {
.infobox__image img {
max-height: 208px;
max-height: 212px;
}
}


.infobox__details {
.infobox__details th,
width: 100%;
.infobox__details td {
margin-right: 0;
padding: 0.54rem 0.72rem;
margin-left: 0;
border-spacing: 0 0.28rem;
}
}


.infobox__image + .infobox__details {
.infobox__details th {
margin-top: 0.28rem;
width: 31%;
font-size: 0.97rem;
}
}


.infobox__details th,
.infobox__details td {
.infobox__details td {
padding: 0.58rem;
width: 69%;
line-height: 1.42;
font-size: 1rem;
}
}


.infobox__details th {
.infobox__section-title,
width: 30%;
.infobox__subtitle,
font-size: 0.96rem;
.infobox__panel > h2,
.infobox__panel > h3 {
padding: 0.74rem 2.05rem 0.74rem 1.35rem;
font-size: 1.24rem;
}
}


.infobox__details td {
.infobox__section-body,
width: 70%;
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
font-size: 1rem;
font-size: 1rem;
}
}
539번째 줄: 517번째 줄:
@media screen and (max-width: 480px) {
@media screen and (max-width: 480px) {
.infobox {
.infobox {
padding: 0.56rem;
padding: 0.82rem 0.62rem;
border-radius: 18px;
border-radius: 22px;
}
}


.infobox::before {
.infobox::before {
border-radius: 16px;
top: 12px;
right: 10px;
bottom: 12px;
left: 10px;
border-radius: 20px;
}
}


.infobox::after {
.infobox::after {
top: 4px;
top: 18px;
right: 4px;
right: 16px;
bottom: 4px;
bottom: 18px;
left: 4px;
left: 16px;
border-radius: 14px;
border-radius: 15px;
}
}


.infobox__title {
.infobox__title,
padding: 0.9rem 2.4rem;
.infobox__section-title,
font-size: 1.48rem;
.infobox__subtitle,
line-height: 1.12;
.infobox__panel > h2,
.infobox__panel > h3,
.infobox__image,
.infobox__details,
.infobox__section-body,
.infobox__listbox,
.infobox__games,
.infobox__appearance-list {
width: calc(100% - 8px);
}
}


.infobox__title::before {
.infobox__title {
left: 0.68rem;
padding: 0.82rem 1.9rem;
width: 10px;
font-size: 1.34rem;
height: 10px;
}
 
.infobox__title::after {
right: 0.68rem;
width: 10px;
height: 10px;
}
 
.infobox__panel {
margin-top: 0.58rem;
}
}


.infobox__image {
.infobox__image {
min-height: 72px;
min-height: 80px;
max-height: 205px;
max-height: 220px;
padding: 0.46rem;
padding: 0.72rem 0.7rem 0.84rem;
border-radius: 9px;
}
}


.infobox__image img {
.infobox__image img {
max-height: 180px;
max-height: 178px;
}
}


.infobox__details {
.infobox__details {
display: block;
border-spacing: 0 0.34rem;
width: 100%;
margin: 0.28rem 0 -0.16rem;
border-spacing: 0;
}
}


.infobox__details tbody {
.infobox__details th,
display: block;
.infobox__details td {
width: 100%;
padding: 0.5rem 0.62rem;
}
}


.infobox__details tr {
.infobox__details th {
display: grid;
width: 33%;
grid-template-columns: minmax(88px, 31%) minmax(0, 1fr);
font-size: 0.9rem;
gap: 0;
width: 100%;
margin: 0 0 0.3rem;
}
}


.infobox__details th,
.infobox__details td {
.infobox__details td {
display: flex;
width: 67%;
align-items: center;
font-size: 0.95rem;
width: auto;
min-height: 0;
padding: 0.54rem;
line-height: 1.4;
}
}


.infobox__details th {
.infobox__section-title,
justify-content: flex-start;
.infobox__subtitle,
border-radius: 9px 0 0 9px;
.infobox__panel > h2,
font-size: 0.87rem;
.infobox__panel > h3 {
text-align: left;
padding: 0.68rem 1.88rem 0.68rem 1.12rem;
font-size: 1.08rem;
}
}


.infobox__details td {
.infobox__section-body,
border-radius: 0 9px 9px 0;
.infobox__listbox,
font-size: 0.94rem;
.infobox__games,
.infobox__appearance-list {
padding: 0.82rem 0.86rem;
font-size: 0.95rem;
}
}
}
}


/* 수동 다크 모드 */
@media screen {
@media screen {
html.skin-theme-clientpref-night .infobox {
html.skin-theme-clientpref-night .infobox {
--infobox-frame: #825d54;
--infobox-outer: #52392f;
--infobox-frame-dark: #573d37;
--infobox-outer-dark: #3d2a23;
--infobox-shell: #3d302d;
--infobox-inner: #725a48;
--infobox-paper: #352b28;
--infobox-inner-edge: #8f735c;
--infobox-rule: #67504a;
--infobox-line: #ad8464;
--infobox-label: #704d45;
--infobox-line-soft: #98775d;
--infobox-label-border: #4e342f;
--infobox-paper: #3a312c;
--infobox-label-divider: #8b675d;
--infobox-paper-dark: #493d36;
--infobox-label-text: #f8efeb;
--infobox-ribbon: #875a45;
--infobox-title: #70463b;
--infobox-ribbon-dark: #694332;
--infobox-title-border: #503027;
--infobox-label: #94634d;
--infobox-text-outline: #321e19;
--infobox-label-dark: #774d3b;
--infobox-ink: #f0e5df;
--infobox-value: #3f342f;
--infobox-link: #e1aa91;
--infobox-value-border: #866956;
--infobox-link-hover: #f4c7b2;
--infobox-ink: #f2e7df;
--infobox-focus: #bd8978;
--infobox-link: #edc1a9;
--infobox-stitch: rgba(187, 133, 116, 0.32);
--infobox-link-hover: #ffe0d0;
--infobox-shadow: rgba(0, 0, 0, 0.34);
--infobox-focus: #d0a388;
--infobox-cell-shadow: rgba(0, 0, 0, 0.18);
--infobox-title-text: #fff8f2;
--infobox-nail: #918a86;
--infobox-text-outline: #311f18;
--infobox-nail-border: #5d5753;
--infobox-shadow: rgba(0, 0, 0, 0.35);
--infobox-nail-highlight: #d5d1ce;
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png");
 
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);
}
}
}
}


/* OS 다크 모드 */
@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-frame: #825d54;
--infobox-outer: #52392f;
--infobox-frame-dark: #573d37;
--infobox-outer-dark: #3d2a23;
--infobox-shell: #3d302d;
--infobox-inner: #725a48;
--infobox-paper: #352b28;
--infobox-inner-edge: #8f735c;
--infobox-rule: #67504a;
--infobox-line: #ad8464;
--infobox-label: #704d45;
--infobox-line-soft: #98775d;
--infobox-label-border: #4e342f;
--infobox-paper: #3a312c;
--infobox-label-divider: #8b675d;
--infobox-paper-dark: #493d36;
--infobox-label-text: #f8efeb;
--infobox-ribbon: #875a45;
--infobox-title: #70463b;
--infobox-ribbon-dark: #694332;
--infobox-title-border: #503027;
--infobox-label: #94634d;
--infobox-text-outline: #321e19;
--infobox-label-dark: #774d3b;
--infobox-ink: #f0e5df;
--infobox-value: #3f342f;
--infobox-link: #e1aa91;
--infobox-value-border: #866956;
--infobox-link-hover: #f4c7b2;
--infobox-ink: #f2e7df;
--infobox-focus: #bd8978;
--infobox-link: #edc1a9;
--infobox-stitch: rgba(187, 133, 116, 0.32);
--infobox-link-hover: #ffe0d0;
--infobox-shadow: rgba(0, 0, 0, 0.34);
--infobox-focus: #d0a388;
--infobox-cell-shadow: rgba(0, 0, 0, 0.18);
--infobox-title-text: #fff8f2;
--infobox-nail: #918a86;
--infobox-text-outline: #311f18;
--infobox-nail-border: #5d5753;
--infobox-shadow: rgba(0, 0, 0, 0.35);
--infobox-nail-highlight: #d5d1ce;
--infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png");
 
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);
}
}
}
}