틀:정보상자/styles.css: 두 판 사이의 차이
식물 vs 좀비 위키
편집 요약 없음 태그: 되돌려진 기여 모바일 편집 모바일 웹 편집 |
편집 요약 없음 태그: 모바일 편집 모바일 웹 편집 |
||
| (같은 사용자의 중간 판 76개는 보이지 않습니다) | |||
| 3번째 줄: | 3번째 줄: | ||
--infobox-outer-edge: #45291f; | --infobox-outer-edge: #45291f; | ||
--infobox-inner: #ead5af; | --infobox-inner: #ead5af; | ||
--infobox-inner-edge: # | --infobox-inner-edge: #c8aa7e; | ||
--infobox-panel: #f3e8d7; | --infobox-panel: #f3e8d7; | ||
--infobox- | --infobox-image-box: #f7f1e7; | ||
--infobox-image- | --infobox-image-pattern: rgba(145, 87, 70, 0.025); | ||
--infobox-image- | --infobox-image-line: #875340; | ||
--infobox-ribbon: #875340; | --infobox-ribbon: #875340; | ||
--infobox- | --infobox-row-bg: #f7efe4; | ||
--infobox-row- | --infobox-row-edge: #bca184; | ||
--infobox- | --infobox-row-divider: #d5c0aa; | ||
--infobox- | --infobox-details-bg: #f1e4d2; | ||
--infobox- | --infobox-detail-label-bg: #ead9c2; | ||
--infobox-detail-value-bg: #f6ecde; | |||
--infobox-caption-bg: #efe2d2; | |||
--infobox-label-text: #231915; | |||
--infobox-text: #493329; | --infobox-text: #493329; | ||
--infobox-link: #8f573f; | --infobox-link: #8f573f; | ||
| 21번째 줄: | 23번째 줄: | ||
--infobox-title-text: #fffaf4; | --infobox-title-text: #fffaf4; | ||
--infobox-text-outline: #472b20; | --infobox-text-outline: #472b20; | ||
--infobox-shadow: rgba(68, 42, 31, 0.24); | --infobox-shadow: rgba(68, 42, 31, 0.16); | ||
--infobox-shape-shadow: rgba(69, 41, 31, 0.24); | |||
--infobox-background-shadow: rgba(69, 41, 31, 0.2); | |||
position: relative; | position: relative; | ||
| 29번째 줄: | 33번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.25rem 1.25rem; | margin: 0 0 1.25rem 1.25rem; | ||
padding: 0. | padding: 1.05rem 0.48rem 1.18rem; | ||
border: | border: 3px solid var(--infobox-outer-edge); | ||
border-radius: | border-radius: 24px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox- | background: var(--infobox-inner); | ||
color: var(--infobox-text); | color: var(--infobox-text); | ||
font-family: | font-family: | ||
| 47번째 줄: | 51번째 줄: | ||
font-weight: 300; | font-weight: 300; | ||
line-height: 1.55; | line-height: 1.55; | ||
box-shadow: 0 | box-shadow: 0 0 22px 3px var(--infobox-shadow); | ||
overflow: | filter: drop-shadow(0 0 5px rgba(69, 41, 31, 0.34)); | ||
overflow: visible; | |||
} | } | ||
.infobox::before { | .infobox::before { | ||
position: absolute; | position: absolute; | ||
top: | top: 6px; | ||
right: | right: 6px; | ||
bottom: | bottom: 6px; | ||
left: | left: 6px; | ||
border: | border: 3px solid var(--infobox-inner-edge); | ||
border-radius: | border-radius: 18px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
content: ""; | content: ""; | ||
pointer-events: none; | |||
} | } | ||
| 88번째 줄: | 81번째 줄: | ||
justify-content: center; | justify-content: center; | ||
width: calc(100% - 24px); | width: calc(100% - 24px); | ||
margin: 0 auto; | margin: 0.46rem auto 0; | ||
padding: 0. | padding: 0.76rem 2.35rem 0.7rem; | ||
border: | border: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: | background: transparent; | ||
color: var(--infobox-title-text); | color: var(--infobox-title-text); | ||
isolation: isolate; | |||
font-family: | font-family: | ||
"SB Aggro B", | "SB Aggro B", | ||
| 104번째 줄: | 97번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 1. | font-size: 1.36rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.14; | line-height: 1.14; | ||
letter-spacing: -0.03em; | letter-spacing: -0.03em; | ||
text-align: center; | text-align: center; | ||
filter: | |||
drop-shadow(0 3px 2px rgba(69, 41, 31, 0.38)) | |||
drop-shadow(0 1px 1px rgba(69, 41, 31, 0.24)); | |||
text-shadow: | text-shadow: | ||
- | -2px -2px 0 var(--infobox-text-outline), | ||
0 - | 0 -2px 0 var(--infobox-text-outline), | ||
2px -2px 0 var(--infobox-text-outline), | |||
- | -2px 0 0 var(--infobox-text-outline), | ||
1px 0 0 var(--infobox-text-outline), | 2px 0 0 var(--infobox-text-outline), | ||
-1px 1px 0 var(--infobox-text-outline), | -2px 2px 0 var(--infobox-text-outline), | ||
0 1px 0 var(--infobox-text-outline), | 0 2px 0 var(--infobox-text-outline), | ||
1px 1px 0 var(--infobox-text-outline); | 2px 2px 0 var(--infobox-text-outline), | ||
-1px -2px 0 var(--infobox-text-outline), | |||
1px -2px 0 var(--infobox-text-outline), | |||
-2px -1px 0 var(--infobox-text-outline), | |||
2px -1px 0 var(--infobox-text-outline), | |||
-2px 1px 0 var(--infobox-text-outline), | |||
2px 1px 0 var(--infobox-text-outline), | |||
-1px 2px 0 var(--infobox-text-outline), | |||
1px 2px 0 var(--infobox-text-outline); | |||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: keep-all; | word-break: keep-all; | ||
| 127번째 줄: | 131번째 줄: | ||
color: inherit; | color: inherit; | ||
line-height: inherit; | line-height: inherit; | ||
} | |||
.infobox__title::before { | |||
position: absolute; | |||
z-index: -1; | |||
inset: 0; | |||
background: var(--infobox-ribbon); | |||
clip-path: polygon( | |||
0 0, | |||
100% 0, | |||
calc(100% - 16px) 50%, | |||
100% 100%, | |||
0 100%, | |||
16px 50% | |||
); | |||
content: ""; | |||
pointer-events: none; | |||
} | } | ||
/* 내부 영역 */ | /* 내부 영역 */ | ||
.infobox__panel { | .infobox__panel { | ||
margin-top: 0. | margin-top: 0.58rem; | ||
padding: 0 0. | padding: 0 0.08rem 0.1rem; | ||
background: transparent; | background: transparent; | ||
} | } | ||
| 139번째 줄: | 160번째 줄: | ||
.infobox__image { | .infobox__image { | ||
position: relative; | position: relative; | ||
width: calc(100% - | display: block; | ||
width: calc(100% - 24px); | |||
margin: 1.55rem auto 1.75rem; | |||
margin: | padding: 0.5rem; | ||
padding: 0. | border: 1px solid var(--infobox-row-edge); | ||
border: | border-radius: 11px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background-color: var(--infobox-image- | background-color: var(--infobox-image-box); | ||
background-image: var(--infobox-image- | background-image: | ||
linear-gradient( | |||
45deg, | |||
background- | var(--infobox-image-pattern) 25%, | ||
transparent 25%, | |||
transparent 75%, | |||
var(--infobox-image-pattern) 75% | |||
), | |||
linear-gradient( | |||
-45deg, | |||
var(--infobox-image-pattern) 25%, | |||
transparent 25%, | |||
transparent 75%, | |||
var(--infobox-image-pattern) 75% | |||
); | |||
background-repeat: repeat; | |||
background-position: | |||
0 0, | 0 0, | ||
8px 8px; | |||
background-size: 16px 16px; | |||
box-shadow: | |||
0 4px 11px rgba(68, 42, 31, 0.1), | |||
inset 0 0 0 3px rgba(255, 250, 242, 0.16); | |||
overflow: visible; | |||
overflow: | |||
text-align: center; | text-align: center; | ||
} | } | ||
| 171번째 줄: | 197번째 줄: | ||
.infobox__image::before { | .infobox__image::before { | ||
position: absolute; | position: absolute; | ||
top: | z-index: 0; | ||
right: | top: 6px; | ||
bottom: | right: 6px; | ||
left: | bottom: 6px; | ||
border: 1px solid rgba( | left: 6px; | ||
border: 1px solid rgba(135, 83, 64, 0.14); | |||
border-radius: 7px; | |||
box-sizing: border-box; | |||
content: ""; | content: ""; | ||
pointer-events: none; | pointer-events: none; | ||
} | } | ||
.infobox__image | /* 오른쪽 아래 짧은 선 */ | ||
.infobox__image | .infobox__image::after { | ||
position: absolute; | |||
z-index: 1; | |||
right: 0.78rem; | |||
bottom: 0.54rem; | |||
width: 30px; | |||
height: 3px; | |||
border-radius: 3px; | |||
background: var(--infobox-image-line); | |||
content: ""; | |||
opacity: 0.52; | |||
pointer-events: none; | |||
} | |||
/* 이미지 */ | |||
.infobox__image-media { | |||
position: relative; | position: relative; | ||
z-index: | z-index: 2; | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 100%; | |||
min-height: 0; | |||
max-height: 320px; | |||
box-sizing: border-box; | |||
} | |||
.infobox__image-media > a { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 100%; | |||
} | } | ||
.infobox__image img { | .infobox__image-media img, | ||
.infobox__image-media .mw-file-element { | |||
display: block; | display: block; | ||
width: auto; | width: auto; | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
max-height: | max-height: 320px; | ||
margin: 0 auto; | margin: 0 auto; | ||
object-fit: contain; | object-fit: contain; | ||
filter: | |||
drop-shadow(0 3px 2px rgba(69, 41, 31, 0.68)) | |||
drop-shadow(0 1px 1px rgba(69, 41, 31, 0.48)) !important; | |||
} | } | ||
/* | /* 별도 설명문 */ | ||
.infobox__image-caption { | |||
position: relative; | |||
z-index: 5; | |||
width: calc(100% - 0.8rem); | |||
margin: -1.8rem auto -0.9rem; | |||
padding: 0.56rem 0.66rem; | |||
border: 1px solid var(--infobox-row-edge); | |||
border-radius: 9px; | |||
box-sizing: border-box; | |||
background: var(--infobox-caption-bg); | |||
box-shadow: 0 3px 8px rgba(68, 42, 31, 0.1); | |||
color: #5a463d; | |||
font-family: | |||
"SB Aggro L", | |||
"SB 어그로 L", | |||
-apple-system, | |||
BlinkMacSystemFont, | |||
"Segoe UI", | |||
"Apple SD Gothic Neo", | |||
"Noto Sans KR", | |||
sans-serif; | |||
font-size: 0.78rem; | |||
font-weight: 300; | |||
font-style: italic; | |||
line-height: 1.42; | |||
text-align: center; | |||
overflow-wrap: anywhere; | |||
word-break: keep-all; | |||
transform: translateY(1.18rem); | |||
} | |||
.infobox__image-caption p { | |||
margin: 0; | |||
font: inherit; | |||
} | |||
/* 정보칸 */ | |||
.infobox__details { | .infobox__details { | ||
width: calc(100% - | width: calc(100% - 24px); | ||
margin: 0 auto; | margin: 0 auto; | ||
border: | padding: 0; | ||
border: 1px solid var(--infobox-row-edge); | |||
border-collapse: separate; | border-collapse: separate; | ||
border-spacing: 0 | border-spacing: 0; | ||
border-radius: 12px; | |||
table-layout: fixed; | table-layout: fixed; | ||
background: | background: var(--infobox-detail-value-bg); | ||
box-sizing: border-box; | box-sizing: border-box; | ||
box-shadow: none; | |||
overflow: hidden; | |||
} | |||
.infobox__details tbody { | |||
display: block; | |||
width: 100%; | |||
} | } | ||
.infobox__details tr { | .infobox__details tr { | ||
position: relative; | |||
display: grid; | |||
grid-template-columns: minmax(0, 31%) minmax(0, 69%); | |||
width: 100%; | |||
background: transparent; | background: transparent; | ||
} | |||
.infobox__details tr::before { | |||
position: absolute; | |||
z-index: 0; | |||
top: 0; | |||
bottom: 0; | |||
left: 0; | |||
width: 31%; | |||
background: var(--infobox-detail-label-bg); | |||
content: ""; | |||
pointer-events: none; | |||
} | } | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | position: relative; | ||
z-index: 1; | |||
display: block; | |||
width: auto; | |||
min-width: 0; | |||
max-width: 100%; | |||
padding: 0.62rem 0.72rem; | |||
border: 0; | |||
border-radius: 0; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: transparent; | |||
line-height: 1.4; | |||
text-align: left; | |||
max-height: 11.2em; | |||
overflow-x: hidden; | |||
overflow-y: auto; | |||
white-space: normal; | |||
word-break: break-word; | |||
overflow-wrap: anywhere; | |||
} | |||
.infobox__details tr:not(:last-child) { | |||
border-bottom: 1px solid var(--infobox-row-divider); | |||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: auto; | ||
background: transparent; | |||
color: var(--infobox-label-text); | |||
background: | |||
color: var(--infobox- | |||
font-family: | font-family: | ||
"SB Aggro M", | "SB Aggro M", | ||
| 238번째 줄: | 379번째 줄: | ||
font-size: 0.83rem; | font-size: 0.83rem; | ||
font-weight: 500; | font-weight: 500; | ||
vertical-align: top; | |||
text-shadow: | text-shadow: none; | ||
word-break: keep-all; | word-break: keep-all; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
width: | width: auto; | ||
color: var(--infobox-text); | color: var(--infobox-text); | ||
font-family: | font-family: | ||
| 269번째 줄: | 398번째 줄: | ||
font-size: 0.9rem; | font-size: 0.9rem; | ||
font-weight: 300; | font-weight: 300; | ||
vertical-align: middle; | |||
word-break: break-word; | word-break: break-word; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
} | |||
.infobox b, | |||
.infobox strong { | |||
font-family: | |||
"SB Aggro M", | |||
"SB 어그로 M", | |||
-apple-system, | |||
BlinkMacSystemFont, | |||
"Segoe UI", | |||
"Apple SD Gothic Neo", | |||
"Noto Sans KR", | |||
sans-serif; | |||
font-weight: 500; | |||
} | |||
.infobox b a, | |||
.infobox strong a, | |||
.infobox a b, | |||
.infobox a strong { | |||
font-family: inherit; | |||
font-weight: inherit; | |||
} | } | ||
| 281번째 줄: | 433번째 줄: | ||
position: relative; | position: relative; | ||
display: block; | display: block; | ||
width: calc(100% - | width: calc(100% - 14px); | ||
margin: 0. | margin: 0.9rem auto 0.62rem; | ||
padding: 0. | padding: 0.7rem 2.04rem 0.7rem 1.18rem; | ||
border: | border: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox-ribbon); | background: var(--infobox-ribbon); | ||
clip-path: polygon( | clip-path: polygon( | ||
0 0, | |||
100% 0, | |||
calc(100% - 12px) 50%, | |||
100% 100%, | |||
0 100%, | |||
12px 50% | |||
); | |||
color: var(--infobox-title-text); | color: var(--infobox-title-text); | ||
font-family: | font-family: | ||
| 319번째 줄: | 478번째 줄: | ||
position: absolute; | position: absolute; | ||
top: 50%; | top: 50%; | ||
right: 0. | right: 0.84rem; | ||
width: 0; | width: 0; | ||
height: 0; | height: 0; | ||
border-top: | border-top: 8px solid var(--infobox-outer-edge); | ||
border-right: | border-right: 8px solid transparent; | ||
border-left: | border-left: 8px solid transparent; | ||
content: ""; | content: ""; | ||
transform: translateY(-34%); | transform: translateY(-34%); | ||
| 334번째 줄: | 493번째 줄: | ||
.infobox__games, | .infobox__games, | ||
.infobox__appearance-list { | .infobox__appearance-list { | ||
width: calc(100% - | width: calc(100% - 14px); | ||
margin: 0 auto 0. | margin: 0 auto 0.36rem; | ||
padding: 0. | padding: 0.84rem 0.92rem; | ||
border: | border: 1px solid var(--infobox-row-edge); | ||
border-radius: | border-radius: 7px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--infobox-panel); | background: var(--infobox-panel); | ||
| 352번째 줄: | 511번째 줄: | ||
.infobox__games p, | .infobox__games p, | ||
.infobox__appearance-list p { | .infobox__appearance-list p { | ||
margin: 0. | margin: 0.1em 0; | ||
font: inherit; | font: inherit; | ||
} | } | ||
| 366번째 줄: | 525번째 줄: | ||
.infobox__appearance-list ul, | .infobox__appearance-list ul, | ||
.infobox__appearance-list ol { | .infobox__appearance-list ol { | ||
margin: 0. | margin: 0.14em 0 0.14em 1.12em; | ||
padding: 0; | padding: 0; | ||
font: inherit; | font: inherit; | ||
| 376번째 줄: | 535번째 줄: | ||
.infobox__games li, | .infobox__games li, | ||
.infobox__appearance-list li { | .infobox__appearance-list li { | ||
margin: 0. | margin: 0.1em 0; | ||
font: inherit; | font: inherit; | ||
} | } | ||
| 425번째 줄: | 584번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.1rem; | margin: 0 0 1.1rem; | ||
padding: 0. | padding: 1rem 0.42rem 1.08rem; | ||
border-radius: | border-radius: 22px; | ||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
.infobox::before { | .infobox::before { | ||
top: | top: 5px; | ||
right: | right: 5px; | ||
bottom: | bottom: 5px; | ||
left: | left: 5px; | ||
border-radius: | border-radius: 17px; | ||
} | } | ||
. | .infobox__title { | ||
width: calc(100% - 20px); | |||
margin: 0.42rem auto 0; | |||
padding: 0.72rem 2rem 0.66rem; | |||
font-size: 1.54rem; | |||
} | } | ||
.infobox__image { | |||
.infobox__image | width: calc(100% - 20px); | ||
margin-top: 1.45rem; | |||
margin-bottom: 1.65rem; | |||
padding: 0.48rem; | |||
width: calc(100% - | |||
} | } | ||
. | .infobox__image-caption { | ||
transform: translateY(1rem); | |||
} | } | ||
. | .infobox__details { | ||
width: calc(100% - 20px); | |||
border-radius: 12px; | |||
overflow: hidden; | |||
} | } | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | padding: 0.52rem 0.72rem; | ||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: auto; | ||
font-size: 0.96rem; | font-size: 0.96rem; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
width: | width: auto; | ||
font-size: 1rem; | 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); | |||
} | } | ||
| 494번째 줄: | 652번째 줄: | ||
.infobox__panel > h2, | .infobox__panel > h2, | ||
.infobox__panel > h3 { | .infobox__panel > h3 { | ||
font-size: 1.2rem; | font-size: 1.2rem; | ||
} | } | ||
| 509번째 줄: | 666번째 줄: | ||
@media screen and (max-width: 480px) { | @media screen and (max-width: 480px) { | ||
.infobox { | .infobox { | ||
padding: 0. | padding: 0.92rem 0.34rem 0.96rem; | ||
border-radius: | border-radius: 19px; | ||
} | } | ||
.infobox::before { | .infobox::before { | ||
top: | top: 4px; | ||
right: | right: 4px; | ||
bottom: | bottom: 4px; | ||
left: | left: 4px; | ||
border-radius: 14px; | border-radius: 14px; | ||
} | } | ||
.infobox__title { | .infobox__title { | ||
padding: 0. | width: calc(100% - 16px); | ||
font-size: 1. | margin: 0.36rem auto 0; | ||
padding: 0.66rem 1.72rem 0.6rem; | |||
font-size: 1.36rem; | |||
} | } | ||
.infobox__image { | .infobox__image { | ||
width: calc(100% - 16px); | |||
margin-top: 1.35rem; | |||
padding: 0. | margin-bottom: 1.55rem; | ||
padding: 0.44rem; | |||
} | } | ||
.infobox__image | .infobox__image-caption { | ||
width: calc(100% - 0.7rem); | |||
padding: 0.52rem 0.58rem; | |||
font-size: 0.84rem; | |||
transform: translateY(0.9rem); | |||
} | } | ||
.infobox__details { | .infobox__details { | ||
border- | width: calc(100% - 16px); | ||
border-radius: 12px; | |||
overflow: hidden; | |||
} | } | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | padding: 0.52rem 0.72rem; | ||
} | |||
.infobox__details tr { | |||
grid-template-columns: minmax(0, 33%) minmax(0, 67%); | |||
} | |||
.infobox__details tr::before { | |||
width: 33%; | |||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: auto; | ||
font-size: 0.89rem; | font-size: 0.89rem; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
width: | width: auto; | ||
font-size: 0.95rem; | 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% - 6px); | |||
} | } | ||
| 581번째 줄: | 744번째 줄: | ||
.infobox__panel > h2, | .infobox__panel > h2, | ||
.infobox__panel > h3 { | .infobox__panel > h3 { | ||
padding: 0. | padding: 0.64rem 1.78rem 0.64rem 1rem; | ||
font-size: 1. | font-size: 1.04rem; | ||
} | } | ||
| 589번째 줄: | 752번째 줄: | ||
.infobox__games, | .infobox__games, | ||
.infobox__appearance-list { | .infobox__appearance-list { | ||
padding: 0. | padding: 0.76rem 0.8rem; | ||
font-size: 0.95rem; | font-size: 0.95rem; | ||
} | } | ||
| 597번째 줄: | 760번째 줄: | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .infobox { | html.skin-theme-clientpref-night .infobox { | ||
--infobox-outer: # | --infobox-outer: #574036; | ||
--infobox-outer-edge: # | --infobox-outer-edge: #3f2c25; | ||
--infobox-inner: # | --infobox-inner: #cfb894; | ||
--infobox-inner-edge: # | --infobox-inner-edge: #aa8e69; | ||
--infobox-panel: # | --infobox-panel: #ddd0bf; | ||
--infobox- | --infobox-image-box: #ded4c7; | ||
--infobox-image- | --infobox-image-pattern: rgba(119, 76, 59, 0.035); | ||
--infobox-image- | --infobox-image-line: #93634e; | ||
--infobox- | --infobox-ribbon: #7d5543; | ||
--infobox- | --infobox-row-bg: #e4d7c8; | ||
--infobox- | --infobox-row-edge: #a98e72; | ||
--infobox- | --infobox-row-divider: #c4ad96; | ||
--infobox- | --infobox-details-bg: #e1d5c7; | ||
--infobox- | --infobox-detail-label-bg: #d5c4b0; | ||
--infobox- | --infobox-detail-value-bg: #e1d5c7; | ||
--infobox-text: # | --infobox-caption-bg: #ddd0c0; | ||
--infobox-link: # | --infobox-label-text: #2b211d; | ||
--infobox-link-hover: # | --infobox-text: #43332c; | ||
--infobox-focus: # | --infobox-link: #7d4e3b; | ||
--infobox-title-text: # | --infobox-link-hover: #5d372a; | ||
--infobox-text-outline: # | --infobox-focus: #9e6d58; | ||
--infobox-shadow: rgba(0, 0, | --infobox-title-text: #fff8f3; | ||
--infobox-text-outline: #3d261e; | |||
--infobox-shadow: rgba(55, 38, 30, 0.2); | |||
--infobox-shape-shadow: rgba(55, 38, 30, 0.23); | |||
--infobox-background-shadow: rgba(55, 38, 30, 0.2); | |||
} | } | ||
} | } | ||
| 625번째 줄: | 792번째 줄: | ||
@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: #574036; | ||
--infobox-outer-edge: # | --infobox-outer-edge: #3f2c25; | ||
--infobox-inner: # | --infobox-inner: #cfb894; | ||
--infobox-inner-edge: # | --infobox-inner-edge: #aa8e69; | ||
--infobox-panel: # | --infobox-panel: #ddd0bf; | ||
--infobox- | --infobox-image-box: #ded4c7; | ||
--infobox-image- | --infobox-image-pattern: rgba(119, 76, 59, 0.035); | ||
--infobox-image- | --infobox-image-line: #93634e; | ||
--infobox- | --infobox-ribbon: #7d5543; | ||
--infobox- | --infobox-row-bg: #e4d7c8; | ||
--infobox- | --infobox-row-edge: #a98e72; | ||
--infobox- | --infobox-row-divider: #c4ad96; | ||
--infobox- | --infobox-details-bg: #e1d5c7; | ||
--infobox- | --infobox-detail-label-bg: #d5c4b0; | ||
--infobox- | --infobox-detail-value-bg: #e1d5c7; | ||
--infobox-text: # | --infobox-caption-bg: #ddd0c0; | ||
--infobox-link: # | --infobox-label-text: #2b211d; | ||
--infobox-link-hover: # | --infobox-text: #43332c; | ||
--infobox-focus: # | --infobox-link: #7d4e3b; | ||
--infobox-title-text: # | --infobox-link-hover: #5d372a; | ||
--infobox-text-outline: # | --infobox-focus: #9e6d58; | ||
--infobox-shadow: rgba(0, 0, 0, 0. | --infobox-title-text: #fff8f3; | ||
--infobox-text-outline: #3d261e; | |||
--infobox-shadow: rgba(55, 38, 30, 0.2); | |||
--infobox-shape-shadow: rgba(55, 38, 30, 0.23); | |||
--infobox-background-shadow: rgba(55, 38, 30, 0.2); | |||
} | |||
} | |||
html.skin-theme-clientpref-night .infobox__image-caption { | |||
color: rgba(82, 65, 57, 0.64); | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .infobox__image-caption { | |||
color: rgba(82, 65, 57, 0.64); | |||
} | |||
} | |||
html.skin-theme-clientpref-night .infobox__image-media img, | |||
html.skin-theme-clientpref-night .infobox__image-media .mw-file-element { | |||
filter: | |||
drop-shadow(0 3px 2px rgba(32, 24, 20, 0.72)) | |||
drop-shadow(0 1px 1px rgba(32, 24, 20, 0.5)) !important; | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .infobox__image-media img, | |||
html.skin-theme-clientpref-os .infobox__image-media .mw-file-element { | |||
filter: | |||
drop-shadow(0 3px 2px rgba(32, 24, 20, 0.72)) | |||
drop-shadow(0 1px 1px rgba(32, 24, 20, 0.5)) !important; | |||
} | |||
} | |||
html.skin-theme-clientpref-night .infobox { | |||
filter: drop-shadow(0 0 5px rgba(42, 28, 22, 0.4)); | |||
} | |||
html.skin-theme-clientpref-night .infobox__title { | |||
filter: drop-shadow(0 3px 2px rgba(42, 28, 22, 0.36)); | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .infobox { | |||
filter: drop-shadow(0 0 5px rgba(42, 28, 22, 0.4)); | |||
} | |||
html.skin-theme-clientpref-os .infobox__title { | |||
filter: drop-shadow(0 3px 2px rgba(42, 28, 22, 0.36)); | |||
} | |||
} | |||
@media screen and (max-width: 720px) { | |||
.infobox__image-media, | |||
.infobox__image-media img, | |||
.infobox__image-media .mw-file-element { | |||
max-height: 380px; | |||
} | |||
} | |||
@media screen and (max-width: 480px) { | |||
.infobox__image-media, | |||
.infobox__image-media img, | |||
.infobox__image-media .mw-file-element { | |||
max-height: 340px; | |||
} | } | ||
} | } | ||
